

/*

██████╗░░█████╗░██████╗░██╗░░░██╗

██╔══██╗██╔══██╗██╔══██╗╚██╗░██╔╝

██████╦╝██║░░██║██║░░██║░╚████╔╝░

██╔══██╗██║░░██║██║░░██║░░╚██╔╝░░

██████╦╝╚█████╔╝██████╔╝░░░██║░░░

╚═════╝░░╚════╝░╚═════╝░░░░╚═╝░░░*/



body {

    background: var(--beige-dark);

    margin: 0;

    font-family: var(--font-text);

}



/*

██╗░░██╗███████╗░█████╗░██████╗░███████╗██████╗░

██║░░██║██╔════╝██╔══██╗██╔══██╗██╔════╝██╔══██╗

███████║█████╗░░███████║██║░░██║█████╗░░██████╔╝

██╔══██║██╔══╝░░██╔══██║██║░░██║██╔══╝░░██╔══██╗

██║░░██║███████╗██║░░██║██████╔╝███████╗██║░░██║

╚═╝░░╚═╝╚══════╝╚═╝░░╚═╝╚═════╝░╚══════╝╚═╝░░╚═╝ */

/* ======================================

   Хедер

====================================== */

.site-header {

    position: fixed;

    top: 0; left: 0;

    width: 100%;

    z-index: 1100;

    background: var(--header-bg);

    backdrop-filter: blur(20px) saturate(80%) brightness(0.5);

    -webkit-backdrop-filter: blur(20px) saturate(80%) brightness(0.5);

    border-bottom: 1px solid var(--header-border);

    background: var(--header-bg);

    display: flex;

    flex-direction: column;

}



/* Десктоп-контейнер */

.desktop-header {

    width: var(--content-width-desktop);

    max-width: 1200px;

    margin: 0 auto;

    height: var(--bar-height);

    display: flex;

    align-items: center;

    justify-content: space-between;

    padding: 0 1rem;

}



/* Лого */

.logo_nav img {

    height: 40px;       /* подбираешь по желанию */

    width: auto;

    display: block;

}



/* Десктоп-меню */

.nav-desktop {

    display: flex;

    gap: 2rem;

}



.nav-desktop a {

    text-decoration: none;

    color: var(--beige-light);

    font-family: var(--font-title);

    font-weight: 600;

}



.nav-desktop a:hover {

    color: var(--red-dark);

}

.nav-desktop .nav-link--button {

    background: var(--beige-dark);

    color: var(--brown-dark);

    padding: 6px 14px;

    border-radius: 999px;

    font-weight: 600;

}

.nav-desktop .nav-link--button:hover {

    background: var(--beige-light);

    color: var(--brown-dark);

}

.nav-mobile .nav-link--button {

    background: var(--beige-dark);

    color: var(--brown-dark);

    padding: 8px 14px;

    border-radius: 999px;

    display: inline-flex;

    align-items: center;

    width: fit-content;

}





/* ======================================

   Мобильная топ-панель

====================================== */

.mobile-top-bar {

    display: none;

    width: var(--content-width-mobile);

    max-width: 1200px;

    margin: 0 auto;

    height: var(--bar-height);

    justify-content: space-between;

    align-items: center;

}



/* Кнопка телефона */

.phone-btn {

    font-size: 1.5rem;

    color: var(--header-accent);

    text-decoration: none;

}



/* Бургер */

.burger {

    display: none;

    flex-direction: column;

    justify-content: center;

    gap: 5px;

    background: none;

    border: none;

    cursor: pointer;

    padding: 0;

    z-index: 2000;

}



.burger span {

    width: 24px;

    height: 2px;

    background: var(--header-accent);

}



/* ======================================

   Мобильное меню

====================================== */

.nav-mobile {

    position: fixed;

    top: 0; left: 0; right: 0; bottom: 0;

    background: var(--green-dark);

    display: flex;

    flex-direction: column;

    justify-content: flex-end;

    align-items: flex-end;

    padding: 4rem 2rem 2rem 2rem;

    transform: translateY(-100%);

    transition: transform 0.3s ease;

    z-index: 1100;

}



.nav-mobile a {

    color: var(--header-accent);

    text-decoration: none;

    font-family: var(--font-title);

    font-weight: 600;

    font-size: 1.2rem;

    margin-bottom: 1rem;

    text-align: right;

    width: 100%;

}



/* Кнопка закрытия */

.nav-mobile .close-btn {

    font-size: 2rem;

    background: none;

    border: none;

    color: var(--header-accent);

    cursor: pointer;

    align-self: flex-end;

    margin-bottom: 1rem;

}



/* Overlay */

.overlay {

    position: fixed; top: 0; left: 0; right: 0; bottom: 0;

    background: rgba(0,0,0,0.4);

    opacity: 0;

    visibility: hidden;

    transition: opacity 0.3s ease;

    z-index: 100;

    pointer-events: none;

}



/* Активное состояние */

.nav-mobile.active { 

    transform: translateY(0); 

}

.overlay.active { 

    opacity: 1; visibility: visible; pointer-events: auto; 

}



/* ======================================

   Адаптация для мобильных

====================================== */

@media (max-width: 1279px) {

    .desktop-header { display: none; }

    .mobile-top-bar { display: flex; }

    .burger { display: flex; }

    .nav-desktop { display: none; }

}









