/* ================= TOP BAR ================= */

.top-bar {
    background: var(--dark-gray);
    color: #ffffff;
    font-size: 14px;
    padding: 6px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.language-switch button {
    background: none;
    border: 1px solid #fff;
    color: #fff;
    padding: 2px 8px;
    margin-left: 6px;
    cursor: pointer;
    font-size: 12px;
}


/* ================= HEADER ================= */

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: #ffffff;

    transition: transform 0.35s ease, box-shadow 0.3s ease;
    will-change: transform;
}

header.scrolled {
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 8px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: flex-end;
    gap: 4px;
}

.logo-link {
    display: flex;
    align-items: flex-end;
    gap: 12px;
    text-decoration: none;
}

.logo img {
    height: 100px;
    width: auto;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.logo-title {
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0.08em;
}

.logo-slogan {
    font-size: 16px;
    font-style: italic;
    color: #555;
    letter-spacing: 0.04em;
    line-height: 1;
    margin-bottom: 20px;
}


/* ================= DESKTOP NAV ================= */

nav ul {
    list-style: none;
    display: flex;
    gap: 32px;
}

nav li {
    font-weight: 500;
    font-size: 20px;
}


/* ================= BURGER ================= */

.burger {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
}

.burger span {
    width: 26px;
    height: 3px;
    background: #000;
    transition: 0.3s ease;
}


/* ================= MOBILE ================= */

@media (max-width: 768px) {

    nav ul {
        display: none;
    }

    .burger {
        display: flex;
        width: 60px;
    }

    .nav-spacer {
        width: 60px;
    }

    .logo {
        justify-content: center;
        align-items: center;
    }

    .logo-link {
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .logo img {
        height: 80px;
        margin: 0 auto;
        display: block;
    }

    .logo-slogan {
        margin-bottom: 0;
        font-size: 14px;
        text-align: center;
    }


    header.hide-header {
        transform: translateY(-100%);
    }
}


/* ================= MOBILE MENU ================= */

.mobile-menu {
    position: fixed;
    inset: 0;
    background: #ffffff;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.mobile-menu.active {
    opacity: 1;
    pointer-events: auto;
}


/* CLOSE BUTTON */

.mobile-close {
    position: absolute;
    top: 28px;
    right: 28px;
    font-size: 26px;
    color: var(--accent);
    cursor: pointer;
    font-weight: 400;
}


/* NAV LINKS */

.mobile-menu-inner {
    position: absolute;
    top: 38%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 34px;
    text-align: center;
}

.mobile-menu-inner a {
    font-size: 30px;
    font-weight: 500;
    color: var(--accent);
    text-decoration: none;
    transition: opacity 0.25s ease;
}

.mobile-menu-inner a:hover {
    opacity: 0.6;
}


/* BRANDING BOTTOM */

.mobile-branding {
    position: absolute;
    bottom: 20%;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
}

.mobile-branding img {
    height: 110px;
    object-fit: contain;
    margin-bottom: 14px;
}

.mobile-slogan {
    font-size: 14px;
    font-style: italic;
    color: #555;
    letter-spacing: 0.03em;
}