@font-face {
    font-family: 'Mustica Pro';
    src: url('./fonts/Mustica Pro/MusticaproSemibold.otf') format('opentype');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Mustica Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #e0e0e0;
    background-color: #020639;
    overflow-x: hidden;
}

.nav__container,
.footer__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Заголовок и навигация */
.header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 50px;
    background: transparent;
    backdrop-filter: none;
    box-shadow: none;
    border-bottom: none;
}

.header::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 220px;
    background: linear-gradient(180deg,
            rgba(0, 0, 0, 0.95) 0%,
            rgba(0, 0, 0, 0.75) 35%,
            rgba(0, 0, 0, 0.55) 65%,
            rgba(0, 0, 0, 0.0) 100%);
    pointer-events: none;
    z-index: 0;
}

.nav {
    z-index: 10;
    padding: 12px 0;
}

.nav__container {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo__link {
    text-decoration: none
}

.logo-icon img {
    width: 70px;
    height: auto;
    display: block;
}

.logo p {
    line-height: 1;
    font-size: 25px;
    font-weight: 700;
    color: #FDCC68;
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.3);
    letter-spacing: 0.5px;
}

.nav__menu {
    display: flex;
    list-style: none;
    gap: 60px;
    font-size: 14px;
    align-items: center;
}

.nav__link {
    text-decoration: none;
    color: #c7c9d8;
    font-weight: 500;
    transition: color 0.2s ease, transform 0.2s ease;
    position: relative;
    font-size: 27px;
    letter-spacing: 0.02em;
}

.nav__link:hover,
.nav__link--active {
    color: #FDCC68;
}

.nav__link::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 0;
    height: 3px;
    background: #FDCC68;
    border-radius: 2px;
    transition: width 0.25s ease;
}

.nav__link:hover::after,
.nav__link--active::after {
    width: 100%;
}

.nav__toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.nav__toggle span {
    width: 25px;
    height: 3px;
    background: #FDCC68;
    margin: 3px 0;
    transition: 0.3s;
    transform-origin: center;
    border-radius: 2px;
}

.bg-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    z-index: 0;
}

.section__title {
    text-align: center;
    font-weight: 700;
    color: #FDCC68;
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.3);
}

.logo-icon:hover {
    transform: scale(1.1);
    filter: drop-shadow(0 0 20px rgba(255, 215, 0, 0.5));
}

.logo p .logo_sub {
    font-size: 17px;
}

.nav__link:hover {
    transform: translateY(-1px);
}

.bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('img/top_main.png');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    filter: grayscale(100%) contrast(130%) brightness(90%);
}

.bg-image::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    top: 0;
    background: linear-gradient(
        to bottom,
        rgba(2, 6, 57, 0.00) 0%,
        rgba(2, 6, 57, 0.06) 20%,
        rgba(2, 6, 57, 0.12) 40%,
        rgba(2, 6, 57, 0.20) 60%,
        rgba(2, 6, 57, 0.32) 80%,
        #020639 100%
    );
    pointer-events: none;
}

.content {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
    background-color: inherit;
}

.title {
    display: block;
    text-align: center;
    margin: 0 0 40px 0;
    font-size: 96px;
    font-weight: 700;
    line-height: 1.1;
    color: #FDCC68;
}

.text p {
    font-size: 30px;
    line-height: 1.6;
    color: #e6e7ec;
    margin-bottom: 60px;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.7);
    font-weight: 400;
}

.bottom_gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(2, 6, 57, 0) 0%,
        rgba(2, 6, 57, 0.1) 40%,
        rgba(2, 6, 57, 0.3) 70%,
        #020639 100%
    );
    z-index: 10;
    pointer-events: none;
}

.info {
    padding: 80px 0 0;
    margin: 0;
    position: relative;
    z-index: 2;
    margin-bottom: 200px;
}

.info__text {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

.info__text p {
    font-size: 24px;
    line-height: 1.5;
    color: #fff;
    margin-top: 0;
    max-width: 100%;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.7);
    font-weight: 400;
}

footer p {
    color: #FDCC68;
}

.footer__container {
    display: flex;
    flex-flow: column-reverse;
    gap: 1.5rem;
    align-items: start;
    padding-bottom: 30px;
}

.footer__logo {
    display: flex;
    align-items: center;
    gap: 1rem;
}


.footer__logo h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #FDCC68;
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.3);
    letter-spacing: 0.5px;
}

.footer__logo h3 .footer__logo_sub {
    font-size: 17px;
}

.footer__contacts {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.footer__phone a {
    color: #FDCC68;
    font-weight: 700;
    text-decoration: none;
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.3);
    transition: all 0.3s ease;
}

.footer__phone a:hover {
    color: #fff;
    text-shadow: 0 0 30px rgba(255, 255, 255, 0.5);
}

.footer__email a {
    color: #FDCC68;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.footer__email a:hover {
    color: #fff;
}

.hero::before,
.cooperation::before,
.fishing::before,
.purchase::before,
.products::before,
.contacts::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 70% 30%, rgba(45, 27, 105, 0.2) 0%, transparent 50%);
    pointer-events: none;
}

.slider { position: relative; width: 100%; }
.slider__viewport { 
    overflow: hidden; 
    border-radius: 16px; 
    position: relative;
    touch-action: pan-y pinch-zoom;
}
.slider__track { display: flex; transition: transform 0.4s ease; will-change: transform; }
.slider__slide { display: flex; align-items: center; flex: 0 0 auto; min-width: 0; user-select: none; }
.slider__slide img { display: block; width: 100%; height: auto; object-fit: cover; }

.slider__btn { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(2,6,57,0.6); color: #FDCC68; border: 1px solid rgba(253,204,104,0.5); width: 44px; height: 44px; border-radius: 50%; cursor: pointer; z-index: 3; }
.slider__btn:hover { background: rgba(2,6,57,0.8); }
.slider__btn--prev { left: 10px; }
.slider__btn--next { right: 10px; }

.slider__dots { display: flex; gap: 8px; justify-content: center; margin-top: 12px; }
.slider__dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,0.4); cursor: pointer; }
.slider__dot--active { background: #FDCC68; }


@media (max-width: 1200px) {
    .nav__link {
        font-size: 16px;
    }

    .nav__menu {
        gap: 20px;
    }

    .header::after {
        height: 180px;
    }
}

@media (max-width: 970px) {
    .nav__toggle {
        display: flex;
    }

    .logo p .logo_sub {
        font-size: 12px;
    }
    
    .footer__contacts {
        font-size: 12px;
        gap: 0.5rem;
    }

    .footer__container {
        padding-bottom: 50px;
    }

    .header::after {
        height: 160px;
        background: linear-gradient(180deg,
            rgba(0, 0, 0, 0.80) 0%,
            rgba(0, 0, 0, 0.50) 35%,
            rgba(0, 0, 0, 0.30) 65%,
            rgba(0, 0, 0, 0.0) 100%);
    }
    
    .logo p {
        font-size: 1.2rem;
    }

}

@media (max-width: 480px) {
.logo-icon img {
    width: 40px;
    height: auto;
    display: block;
}
.slider__btn { width: 36px; height: 36px; }


    .logo p {
        font-size: 12px;
    }
    .logo p .logo_sub {
        font-size: 8px;
    }
    
    .header::after {
        height: 140px;
        background: linear-gradient(180deg,
            rgba(0, 0, 0, 0.75) 0%,
            rgba(0, 0, 0, 0.45) 35%,
            rgba(0, 0, 0, 0.25) 65%,
            rgba(0, 0, 0, 0.0) 100%);
    }
    
    .header,
    .nav__container,
    .hero__container,
    .about__container,
    .services__container,
    .cooperation__container,
    .fishing__container,
    .purchase__container,
    .products__container,
    .contacts__container {
        padding: 0 15px;
    }
}

@media (max-width: 480px) {
    .bg-container { height: 48vh; min-height: 240px; }
    .bg-image { height: 48vh; min-height: 240px; }
}

@media (max-width: 400px) {
    .bg-container { height: 52vh; min-height: 260px; }
    .bg-image { height: 52vh; min-height: 260px; }
}

@media (max-width: 360px) {
    .bg-container { height: 56vh; min-height: 280px; }
    .bg-image { height: 56vh; min-height: 280px; }
}

@media (max-width: 360px) {
    .header::after {
        height: 120px;
        background: linear-gradient(180deg,
            rgba(0, 0, 0, 0.65) 0%,
            rgba(0, 0, 0, 0.40) 35%,
            rgba(0, 0, 0, 0.20) 65%,
            rgba(0, 0, 0, 0.0) 100%);
    }
}

@media (max-width: 970px) {
    .nav__toggle {
        width: 28px;
        height: 22px;
        padding: 0;
        position: relative;
    }
    .nav__toggle span {
        position: absolute;
        left: 0;
        width: 100%;
        height: 3px;
        margin: 0;
    }
    .nav__toggle span:nth-child(1) { top: 0; }
    .nav__toggle span:nth-child(2) { top: 50%; transform: translateY(-50%); }
    .nav__toggle span:nth-child(3) { bottom: 0; top: auto; }

    .nav__toggle--active span:nth-child(1) {
        top: 50%;
        transform: translateY(-50%) rotate(45deg);
    }

    .nav__toggle--active span:nth-child(2) {
        opacity: 0;
    }

    .nav__toggle--active span:nth-child(3) {
        top: 50%;
        bottom: auto;
        transform: translateY(-50%) rotate(-45deg);
    }
}

@media (min-width: 971px) {
    .nav__dropdown {
        position: relative;
    }
    .nav__link {
        white-space: nowrap;
        font-size: 22px;
    }
    
    .nav__dropdown-toggle {
        display: none;
    }
    
    .nav__submenu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        min-width: 260px;
        background: #FFD680;
        border-radius: 8px;
        padding: 8px 0;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
        z-index: 1001;
        border: 1px solid rgba(0, 0, 0, 0.05);
    }
    
    .nav__dropdown:hover > .nav__submenu,
    .nav__dropdown:focus-within > .nav__submenu {
        display: block;
    }
    
    .nav__submenu-item { list-style: none; }
    
    .nav__submenu-link {
        display: block;
        padding: 10px 16px;
        color: #020639;
        text-decoration: none;
        font-size: 16px;
        white-space: nowrap;
    }
    
    .nav__submenu-link:hover {
        background: rgba(2, 6, 57, 0.10);
        color: #020639;
    }
    
    .nav__contacts {
        display: none;
    }
}

@media (max-width: 970px) {
    .nav__dropdown .nav__link {
        display: none;
    }
    .bg-container {
        height: 70vh;
    }
    .bg-image {
        height: 70vh;
    }
    .nav__submenu {
        display: block;
    }
    
    .nav__contacts {
        padding: 0 20px;
        display: block;
    }
    
    .nav__toggle {
        z-index: 1001;
        position: relative;
    }
    
    .nav__toggle span {
        background: #FDCC68;
        box-shadow: 0 0 10px rgba(253, 204, 104, 0.3);
    transition: all 0.3s ease;
}

    .nav__toggle:active span {
        background: #d4a847;
        box-shadow: 0 0 15px rgba(253, 204, 104, 0.5);
    }
    
    .nav__toggle:active {
        transform: scale(0.95);
    }
    
    .nav__toggle--active {
        position: fixed;
        top: 20px;
        right: 20px;
        z-index: 1002;
        padding: 10px;
    }
    .nav__toggle--active span {
        background: #FDCC68;
        box-shadow: 0 0 10px rgba(253, 204, 104, 0.4);
    }
    
    .nav__menu {
    position: fixed;
    top: 0;
        right: -100%;
        gap: 5px;
        width: 300px;
        height: 100vh;
        background: #808BA7;
        backdrop-filter: blur(10px);
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding: 100px 0 2rem 0;
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
        transition: right 0.3s ease;
        z-index: 1000;
        border-left: 1px solid rgba(255, 255, 255, 0.2);
        overflow-y: auto;
    }
    
    .nav__menu--active {
    right: 0;
    }
    
    .nav__menu li {
        margin: 0px 0;
        text-align: center;
        width: 100%;
    }
    
    .nav__link {
        font-size: 15px;
        padding: 5px 35px;
        display: block;
        border-radius: 8px;
        transition: all 0.3s ease;
        width: 100%;
        text-align: right;
        color: #ffffff;
        text-decoration: none;
        box-sizing: border-box;
    }
    
    .nav__link:hover {
        background: rgba(255, 255, 255, 0.1);
        transform: scale(1.05);
        color: #ffffff;
    }
    
    .nav__link--active {
        background: rgba(255, 255, 255, 0.2);
        color: #ffffff;
    }
    
    /* Стили для выпадающих подменю */
    .nav__dropdown {
        position: relative;
    }
    
    .nav__dropdown-toggle {
        display: flex;
        position: relative;
        background: none;
        padding-right: 40px;
        border: none;
        font-weight: bold;
        color: #ffffff;
        font-size: 20px;
        cursor: pointer;
        transition: all 0.3s ease;
        box-sizing: border-box;
        text-align: right;
        width: 100%;
        padding: 15px 35px;
        justify-content: flex-end;
        align-items: center;
        gap: 10px;
    }
    
    .nav__dropdown-toggle::after {
        content: '';
        position: absolute;
        display: block;
        background-image: url('./img/arrow.png');
        background-repeat: no-repeat;
        background-position: center center;
        background-size: contain;
        width: 8px;
        height: 15px;
        position: absolute;
        right: 20px;
        top: 55%;
        transform: translateY(-50%);
        transition: transform 0.3s ease;
        flex-shrink: 0;
        z-index: 1;
    }
    
    .nav__dropdown-toggle--active::after {
        transform: translateY(-50%) rotate(-90deg);
    }
    
    .nav__dropdown-toggle--active:hover {
        text-decoration: underline solid #FFD680;
    }
    
    .nav__submenu {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        background: #FFD680;
        border-radius: 0;
        margin-top: 5px;
        width: 100%;
        box-sizing: border-box;
    }
    
    .nav__submenu--active {
        max-height: 500px;
    }
    
    .nav__submenu-item {
        margin: 0;
        width: 100%;
        box-sizing: border-box;
    }
    
    .nav__submenu-link {
        display: block;
        padding: 12px 30px;
        color: #020639;
        text-decoration: none;
        font-size: 10px;
        transition: all 0.3s ease;
        border-radius: 0;
        margin: 0;
        width: 100%;
        text-align: right;
        box-sizing: border-box;
    }
    
    .nav__submenu-link:hover {
        background: rgba(2, 6, 57, 0.1);
        color: #020639;
        transform: translateX(5px);
    }
    
    .nav__contacts {
        margin-top: 30px;
        padding-top: 20px;
        width: 100%;
    }
    
    .nav__contacts h3 {
        color: #ffffff;
        font-size: 18px;
        margin-bottom: 15px;
        text-align: center;
        font-weight: 600;
    }
    
    .nav__contacts p,
    .nav__contacts a {
        color: #ffffff;
        font-size: 14px;
        line-height: 1.4;
        margin-bottom: 8px;
        text-decoration: none;
    }
    
    .nav__contacts a:hover {
        color: #FDCC68;
    }
    
    .nav__contacts .nav__phone {
        font-weight: 600;
        font-size: 16px;
        margin-bottom: 10px;
    }
    
    .nav__contacts .nav__schedule {
        margin-bottom: 15px;
    }
    
    .nav__contacts .nav__addresses {
        margin-bottom: 15px;
    }
    
    .nav__contacts .nav__email {
        margin-bottom: 10px;
    }
}


@media (max-width: 767px) {
    .title {
        font-size: 42px;
        line-height: 1.2;
        margin-bottom: 24px;
    }
    .content {
        padding: 120px 20px 0;
    }
    .text p {
        font-size: 18px;
        line-height: 1.55;
        margin-bottom: 28px;
    }
    .info {
        padding: 60px 0 0;
        margin-bottom: 120px;
    }
    .info {
        padding: 0 16px;
    }
    .info p {
        font-size: 16px;
        line-height: 1.55;
    }
}

@media (max-width: 480px) {
    
    .nav__menu {
        width: 250px;
    }
    .bg-container {
        height: 40vh;
        min-height: 200px;
    }
    .bg-image {
        height: 40vh;
        min-height: 200px;
        max-width: 100vw;
        object-fit: cover;
        background-size: cover;
        background-position: center center;
        background-repeat: no-repeat;
    }
    .info {
        padding: 50px 0 0;
        margin-bottom: 90px;
    }
    .info__text {
        padding: 0 14px;
    }
    .info__text p {
        font-size: 14px;
        line-height: 1.5;
    }
    .nav__link {
        font-size: 20px;
    }
    .bg-image {
        height: 40vh;
        min-height: 200px;
    }
    .title {
        font-size: 32px;
        line-height: 1.2;
        margin-bottom: 20px;
    }
    .content {
        padding: 0 14px 50px;
    }
    .text p {
        font-size: 16px;
        line-height: 1.5;
        margin-bottom: 22px;
    }
}

