/* Основные стили меню */
.main-menu {
    background-color: white;
    width: 100%;
    height: 120px;
    display: flex;
    align-items: center;
    position: relative;
    z-index: 100;
}

.menu-container {
    max-width: 1440px;
    width: 100%;
    height: 100%;
    margin: 0 auto;
    padding: 0 25px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.menu-nav {
    display: flex;
    gap: 40px;
}

/* Десктопные стили ссылок */
.menu-nav__link {
    font-family: 'Old Standard TT', serif;
    font-size: 1.3rem;
    color: #8B5A01;
    text-decoration: none;
    position: relative;
    padding: 5px 0;
    transition: color 0.3s ease;
}

.menu-nav__link:hover {
    color: #6d4500;
}

.menu-nav__link:not(.active):hover {
    color: #6d4500;
}

.menu-nav__link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #8B5A01;
    transition: width 0.3s ease;
}

.menu-nav__link:hover::after {
    width: 100%;
}

/* Стиль для активной ссылки */
.menu-nav__link.active {
    color: #6d4500;
    font-weight: 700;
    pointer-events: none; /* Отключает hover и другие события */
    cursor: default; /* Курсор по умолчанию вместо pointer */
}

.menu-nav__link.active::after {
    width: 100%;
}

.menu-nav__link:not(.active):hover::after {
    width: 100%;
}

/* Мобильное меню - изначально скрыто */
.menu-toggle {
    display: none; /* По умолчанию скрыт */
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    cursor: pointer;
    z-index: 101;
}

/* Хлебные крошки */
.breadcrumbs {
    padding: 20px 0;
    font-family: 'IBM Plex Serif', serif;
    font-size: 0.9rem;
    color: #666;
}

.breadcrumbs a {
    color: #d23c01;
    text-decoration: none;
}

.breadcrumbs span {
    color: #333;
}

/* Футер */
.site-footer {
    background:
            linear-gradient(to bottom, #FEF9EC, #F9F2DE);
    color: #5a4a30;
    padding: 20px 0 15px;
    font-family: 'IBM Plex Serif', serif;
    margin-top: 40px;
    border-top: 1px solid rgba(139, 90, 1, 0.1);
}

.footer-container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 25px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.footer-column {
    margin-bottom: 20px;
}

.footer-title {
    font-family: 'Old Standard TT', serif;
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: #8B5A01;
    position: relative;
    padding-bottom: 10px;
}

.footer-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 2px;
    background: #8B5A01;
    opacity: 0.3;
}

.site-footer p {
    margin: 0 0 12px;
    line-height: 1.6;
    color: #5a4a30;
}

.site-footer a {
    color: #8B5A01;
    text-decoration: none;
    transition: all 0.3s;
    font-weight: 500;
}


/* Адаптивность */
@media (max-width: 992px) {
    .main-menu {
        height: 80px;
    }

    .menu-container {
        justify-content: center;
    }

    .menu-nav {
        gap: 25px;
    }
    .menu-nav__link {
        font-size: 1rem;
    }
}

@media (max-width: 768px) {
    /* Прячем обычное меню */
    .menu-nav {
        display: none;
    }

    /* Показываем бургер */
    .menu-toggle {
        display: flex;
        margin-left: auto;
    }

    /* Стили для открытого меню */
    .menu-nav.active {
        display: flex;
        position: absolute;
        top: 80px;
        right: 0;
        background: white;
        width: 100%;
        flex-direction: column;
        gap: 0;
        padding: 20px 0;
    }

    .menu-nav__link {
        padding: 12px 25px;
        border-bottom: 1px solid #F9F2DE;
        text-align: right;
    }

    /* Анимация бургера */
    .menu-toggle span {
        height: 3px;
        width: 100%;
        background: #8B5A01;
        transition: all 0.3s;
    }

    .menu-toggle.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    /* футер */
    .site-footer {
        padding: 40px 0 30px;
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-title {
        font-size: 1.3rem;
    }
    .site-footer p {
        font-size: 0.8rem;
        line-height: 1;
    }
    .footer-column {
        margin-bottom: 0;
    }

}

@media (max-width: 480px) {
    .breadcrumbs {
        padding: 15px 25px;
    }
}
