.head-container{
    display: flex;
    justify-content: center;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 95%, #fff), url('../img/main/header.png');
    background-size: cover;
    background-position: top;
    margin: 0 auto;
}

.nav-container{
    display: flex;
    width: 70%;
    justify-content: center;
    align-items: center;
    gap: 2.5vmax;
    padding: 2vmax 0;
    max-width: 100%;
}

#nav-icon{
    width: 9vmax;
    height: auto;
}

.navigation{
    display: flex;
    flex-direction: column;
    gap: 1vmax;
}

.name h1{
    font-family: "Snell Roundhand", sans-serif;
    font-size: 3vmax;
    text-shadow:
    0 0 10px #fff,   /* Легкое свечение */
    0 0 20px #fff,   /* Увеличенное свечение */
    0 0 30px #fff,   /* Еще большее свечение */
    0 0 40px #fff,   /* И еще большее свечение */
    0 0 50px #fff;   /* Самое сильное свечение */
}

.menu{
    display: flex;
    align-items: center;
    gap: 2vmax;
}

.nav-menu{
    display: flex;
    justify-content: center;
    font-size: 1vmax;
    gap: 2vmax;
    background-image: url("../img/main/menu.png");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    padding: 1vmax 4vmax;
}

.nav-menu a{
    text-decoration: none; /* Убираем подчеркивание */
    color: #421402;
}

.nav-menu a:hover{
    text-decoration: underline; /* Возвращаем подчеркивание */
    text-decoration-thickness: 1px;
}

#buy{
    display: flex;
    padding: 1vmax 3.5vmax;
    text-align: center;
    font-size: 1.1vmax;
    color: #fbe8bd;
    text-decoration: none;
    background-image: url('../img/main/buy.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    transition: transform 0.3s ease;
}

#buy:hover{
    transform: scale(1.05);
}

/* ===================== СЕКЦИЯ С БУРГЕРОМ И МЕНЮ ===================== */

.mobile-burger-section {
    display: none;                    /* Скрыто на десктопе */
    background-color: #ffffff;        /* Чистый фон без изображения */
    position: relative;
    z-index: 1001;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Блок с бургером */
.mobile-burger-block {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1.5vmax 0;
}

.burger {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 5vmax;
    height: 3vmax;
    cursor: pointer;
}

.burger span {
    width: 100%;
    height: 0.5vmax;
    background-color: #1d1d1d;        /* Чёрные линии */
    border-radius: 2px;
    transition: all 0.4s ease;
}

/* Анимация бургера → крестик */
.burger.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

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

.burger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ===================== МОБИЛЬНОЕ МЕНЮ ===================== */

.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 80%;
    max-width: 380px;
    height: 100vh;
    background-color: #5c2f18;
    transform: translateX(-100%);
    transition: transform 0.45s ease;
    z-index: 1002;
    box-shadow: 5px 0 20px rgba(0, 0, 0, 0.35);
    overflow-y: auto;
}

.mobile-menu.active {
    transform: translateX(0);
}

.mobile-menu-header {
    text-align: right;
    padding: 2vh 4vw 0 4vw;
}

.close-menu {
    background: none;
    border: none;
    font-size: 2.5rem;
    color: #fff;
    cursor: pointer;
}

.mobile-menu-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2vh;
    margin-top: 2vh;
    padding-bottom: 4vh;
}

.mobile-menu-links a {
    color: #fff;
    text-decoration: none;
    font-size: 1.7rem;
}

.mobile-buy-btn h4 {
    background: rgba(255, 255, 255, 0.15);
    padding: 14px 40px;
    border-radius: 50px;
}

/* Показываем всю секцию только на мобильных */
@media (max-width: 1024px) {
    .mobile-burger-section {
        display: block;
    }

    .nav-menu,
    .buy {
        display: none;
    }
}

