/* ---------------------------------------------------
   header.css (updated)
   Layout: logo (solda), dil / düymə / hamburger (sağda)
   Background: ağ (#ffffff)
----------------------------------------------------- */

.header {
    position: fixed;
    top: 24px;
    left: 24px;
    right: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: var(--a-color-primary);
    padding: 20px 32px;
    height: 96px;
    border-radius: 32px;
    z-index: 100;
    transition: background-color 0.4s ease, backdrop-filter 0.4s ease, border 0.4s ease, box-shadow 0.4s ease;
}

/* Glassmorphism effect when scrolled */
.header--scrolled {
    background-color: rgba(255, 255, 255, 0.45);
    backdrop-filter: blur(32px) saturate(200%);
    -webkit-backdrop-filter: blur(32px) saturate(200%);
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06),
        0 1px 2px rgba(0, 0, 0, 0.02);
}

/* Responsive header positioning */
@media (max-width: 991px) {
    .header {
        top: 16px;
        left: 16px;
        right: 16px;
    }
}

@media (max-width: 768px) {
    .header {
        top: 12px;
        left: 12px;
        right: 12px;
        padding: 16px 24px;
        height: 80px;
    }

    .header__logo img {
        width: 120px;
    }
}

@media (max-width: 480px) {
    .header {
        top: 10px;
        left: 10px;
        right: 10px;
        padding: 12px 16px;
        height: 64px;
        border-radius: 24px;
    }

    .header__logo img {
        width: 100px;
    }

    .header__actions {
        gap: 6px;
    }
}

@media (max-width: 375px) {
    .header {
        top: 8px;
        left: 8px;
        right: 8px;
        padding: 10px 14px;
        height: 56px;
        border-radius: 20px;
    }

    .header__logo img {
        width: 90px;
    }

    .header__actions {
        gap: 4px;
    }
}

@media (min-width: 1280px) {
    .header {
        top: 16px;
        left: 16px;
        right: 16px;
    }
}

@media (min-width: 1440px) {
    .header {
        top: 24px;
        left: 24px;
        right: 24px;
    }
}

@media (min-width: 1920px) {
    .header {
        top: 48px;
        left: 48px;
        right: 48px;
    }
}

@media (min-width: 2560px) {
    .header {
        top: 64px;
        left: 64px;
        right: 64px;
    }
}

@media (min-width: 3840px) {
    .header {
        top: 80px;
        left: 80px;
        right: 80px;
    }
}

.header__logo img {
    width: 155px;
}

.header__actions {
    display: flex;
    gap: 8px;
    align-items: center;
}

.header__lang {
    border: 2px solid var(--a-color-black);
    padding: 16px 24px;
    font-family: var(--a-font-mono);
    border-radius: 80px;
    cursor: pointer;
    font-weight: var(--a-font-weight-bold);
    font-size: var(--a-fs-base);
    line-height: 24px;
}

.header__lang:hover {
    background-color: var(--a-color-black);
    color: var(--a-color-white);
}

.header__menu-btn {
    width: 32px;
    height: 32px;
    position: relative;
    margin-left: 16px;
    cursor: pointer;
}

.header__menu-icon,
.header__menu-icon::before,
.header__menu-icon::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 3px;
    background-color: var(--a-color-black);
    left: 0;
    transition: 0.3s ease;
}

.header__menu-icon {
    top: 50%;
    transform: translateY(-50%);
}

.header__menu-icon::before {
    top: -10px;
}

.header__menu-icon::after {
    top: 10px;
}

/* ===================================================
   Fullscreen Menu Styles
   =================================================== */

.fullscreen-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: var(--a-z-modal);
    display: none;
    pointer-events: none;
    padding: 24px;
}

.fullscreen-menu.is-active {
    display: block;
    pointer-events: all;
}

/* Overlay background - clickable area outside modal */
.fullscreen-menu__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: transparent;
    opacity: 0;
    cursor: pointer;
}

/* Main container - the actual modal with background */
.fullscreen-menu__container {
    position: relative;
    width: 100%;
    height: 100%;
    background-color: var(--a-color-beige-50);
    border-radius: 32px;
    padding: 20px 32px 32px 32px;
    display: flex;
    flex-direction: column;
    opacity: 0;
    z-index: 1;
}

/* Header with logo and close button */
.fullscreen-menu__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 64px;
}

.fullscreen-menu__logo {
    transform: translateY(-20px);
    opacity: 0;
}

.fullscreen-menu__logo img {
    width: 155px;
}

.fullscreen-menu__close {
    width: 28px;
    height: 28px;
    border: none;
    background: none;
    cursor: pointer;
    transition: var(--a-transition);
    transform: translateY(-20px) rotate(-90deg);
    opacity: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.fullscreen-menu__close img {
    width: 100%;
    height: 100%;
    transition: var(--a-transition);
}

.fullscreen-menu__close:hover {
    transform: translateY(-20px) rotate(90deg);
}

.fullscreen-menu__close:hover img {
    opacity: 0.6;
}

/* Footer - contains nav, info, social in 3 columns */
.fullscreen-menu__footer {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 64px;
    margin-top: auto;
    padding-top: 32px;
}

/* Navigation in footer - left side */
.fullscreen-menu__nav {
    flex: 0 0 auto;
}

.fullscreen-menu__list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.fullscreen-menu__item {
    margin-bottom: 8px;
    transform: translateX(-50px);
    opacity: 0;
}

.fullscreen-menu__item a {
    font-family: var(--a-font-mono);
    font-size: clamp(32px, 4vw, 48px);
    font-weight: var(--a-font-weight-regular);
    color: var(--a-color-beige-800);
    text-decoration: none;
    transition: var(--a-transition);
    display: inline-block;
    position: relative;
    line-height: 56px;
}

.fullscreen-menu__item a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--a-color-black-950);
    transition: width 0.4s cubic-bezier(0.77, 0, 0.175, 1);
}

.fullscreen-menu__item a:hover::after {
    width: 100%;
}

.fullscreen-menu__item a:hover {
    color: var(--a-color-black-950);
}

/* Contact info in center */
.fullscreen-menu__info {
    display: flex;
    flex-direction: column;
    gap: 8px;
    transform: translateY(20px);
    opacity: 0;
    flex: 0 0 auto;
    align-self: flex-end;
}

.fullscreen-menu__info p {
    font-family: var(--a-font-mono);
    font-size: 20px;
    font-weight: var(--a-font-weight-bold);
    color: var(--a-color-beige-800);
    margin: 0;
}

/* Social links on the right - 2 columns */
.fullscreen-menu__social {
    flex: 0 0 auto;
    display: flex;
    flex-direction: row;
    gap: 32px;
}

.fullscreen-menu__social-col {
    display: flex;
    flex-direction: column;
    gap: 8px;
    transform: translateX(50px);
    opacity: 0;
}

.fullscreen-menu__social-col a {
    font-family: var(--a-font-mono);
    font-size: 16px;
    font-weight: var(--a-font-weight-regular);
    color: var(--a-color-beige-700);
    text-decoration: none;
    transition: var(--a-transition);
}

.fullscreen-menu__social-col a:hover {
    color: var(--a-color-black-950);
}

/* Responsive adjustments */

/* Tablet and below - 991px */
@media (max-width: 991px) {
    .fullscreen-menu {
        padding: 16px 24px 24px 24px;
    }

    .fullscreen-menu__container {
        padding: 24px;
    }

    .fullscreen-menu__header {
        margin-bottom: 48px;
    }

    .fullscreen-menu__logo img {
        width: 130px;
    }

    .fullscreen-menu__footer {
        flex-direction: column;
        align-items: center;
        gap: 48px;
    }

    .fullscreen-menu__nav {
        width: 100%;
    }

    .fullscreen-menu__list {
        text-align: center;
    }

    .fullscreen-menu__item {
        margin-bottom: 8px;
    }

    .fullscreen-menu__item a {
        font-size: clamp(28px, 5.5vw, 40px);
        line-height: 48px;
    }

    .fullscreen-menu__info {
        align-self: center;
        text-align: center;
    }

    .fullscreen-menu__social {
        width: 100%;
        justify-content: center;
        gap: 48px;
    }

    .fullscreen-menu__social-col {
        gap: 8px;
    }

    .fullscreen-menu__social-col a {
        font-size: 14px;
        text-align: center;
    }
}

/* Mobile - 768px */
@media (max-width: 768px) {
    .fullscreen-menu {
        padding: 12px 16px 16px 16px;
    }

    .fullscreen-menu__container {
        padding: 24px 20px;
        justify-content: space-between;
    }

    .fullscreen-menu__header {
        margin-bottom: 0;
        flex-shrink: 0;
    }

    .fullscreen-menu__logo img {
        width: 110px;
    }

    .fullscreen-menu__close {
        width: 28px;
        height: 28px;
    }

    /* Nav in the middle */
    .fullscreen-menu__nav {
        flex: 1;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .fullscreen-menu__list {
        text-align: center;
    }

    .fullscreen-menu__item {
        margin-bottom: 12px;
    }

    .fullscreen-menu__item a {
        font-size: clamp(32px, 7vw, 44px);
        line-height: 48px;
    }

    .fullscreen-menu__footer {
        gap: 32px;
        flex-shrink: 0;
        padding-top: 0;
    }

    .fullscreen-menu__info {
        text-align: center;
    }

    .fullscreen-menu__social {
        justify-content: center;
        gap: 32px;
    }

    .fullscreen-menu__social-col a {
        font-size: 13px;
    }

    .fullscreen-menu__info p {
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .fullscreen-menu {
        padding: 10px 10px 10px 10px;
    }

    .fullscreen-menu__container {
        padding: 16px;
        border-radius: 20px;
    }

    .fullscreen-menu__logo img {
        width: 90px;
    }

    .fullscreen-menu__close {
        width: 24px;
        height: 24px;
    }

    .fullscreen-menu__item {
        margin-bottom: 8px;
    }

    .fullscreen-menu__item a {
        font-size: clamp(24px, 6vw, 32px);
        line-height: 36px;
    }

    .fullscreen-menu__footer {
        gap: 24px;
    }

    .fullscreen-menu__social {
        gap: 24px;
    }

    .fullscreen-menu__social-col a {
        font-size: 12px;
    }

    .fullscreen-menu__info p {
        font-size: 11px;
    }
}

@media (max-width: 375px) {
    .fullscreen-menu {
        padding: 8px;
    }

    .fullscreen-menu__container {
        padding: 14px;
        border-radius: 16px;
    }

    .fullscreen-menu__logo img {
        width: 80px;
    }

    .fullscreen-menu__close {
        width: 20px;
        height: 20px;
    }

    .fullscreen-menu__item {
        margin-bottom: 6px;
    }

    .fullscreen-menu__item a {
        font-size: clamp(20px, 5.5vw, 28px);
        line-height: 32px;
    }

    .fullscreen-menu__footer {
        gap: 20px;
    }

    .fullscreen-menu__social {
        gap: 20px;
        flex-direction: column;
    }

    .fullscreen-menu__social-col {
        width: 100%;
        align-items: center;
    }

    .fullscreen-menu__social-col a {
        font-size: 11px;
    }

    .fullscreen-menu__info p {
        font-size: 10px;
    }
}

.mobile-menu__inner ul {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
}

.mobile-menu__inner li a {
    font-size: var(--a-fs-xl);
    font-weight: var(--a-font-weight-bold);
    text-decoration: none;
    color: var(--a-color-black);
}