
/* ========================================
   NAVIGATION
======================================== */

.site-header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    padding: 18px 5%;
    background: rgba(251, 249, 243, 0.94);
}

.navbar {
    width: 100%;
    max-width: 1440px;
    min-height: 54px;
    margin: 0 auto;

    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

/* Brand */

.nav-brand {
    display: inline-flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;

    color: var(--color-text);
    text-decoration: none;
}

.brand-icon {
    font-size: 27px;
    line-height: 1;
}

.brand-text {
    display: flex;
    flex-direction: column;

    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 600;
    line-height: 1.2;
}

.brand-text small {
    margin-top: 3px;
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1.2px;
    text-transform: uppercase;
}

/* Navigation Links */

.nav-links {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 35px;

    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-links li {
    margin: 0;
    padding: 0;
}

.nav-links a {
    display: inline-block;
    position: relative;

    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 600;

    color: var(--color-text);
    text-decoration: none;

    transition: color 0.25s ease;
}

.nav-links a:hover {
    color: var(--color-primary-dark);
}

/* Invitation CTA */

.nav-cta {
    display: inline-flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 8px;

    flex-shrink: 0;
    padding: 12px 22px;

    background: var(--color-primary);
    border: 1px solid var(--color-primary);
    border-radius: 50px;

    color: #FFFFFF;
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;

    transition: background 0.25s ease;
}

.nav-cta:hover {
    background: var(--color-primary-dark);
    color: #FFFFFF;
}

.nav-cta span {
    color: #FFFFFF;
}

/* Mobile Menu Button */

.menu-toggle {
    display: none;
    width: 42px;
    height: 42px;
    flex-shrink: 0;

    border: 1px solid var(--color-border);
    border-radius: 50%;
    background: var(--color-background);

    cursor: pointer;

    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.menu-toggle span {
    width: 18px;
    height: 2px;
    display: block;

    background: var(--color-text);
    border-radius: 5px;

    transition: transform 0.3s ease, opacity 0.3s ease;
}

.menu-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

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

.menu-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ========================================
   TABLET
======================================== */

@media (max-width: 1024px) {
    .site-header {
        padding: 16px 4%;
    }

    .navbar {
        gap: 18px;
    }

    .nav-links {
        gap: 22px;
    }

    .nav-cta {
        padding: 10px 16px;
    }
}

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

@media (max-width: 768px) {
    .site-header {
        padding: 14px 20px;
    }

    .navbar {
        min-height: 46px;
        gap: 12px;
    }

    .brand-icon {
        font-size: 23px;
    }

    .brand-text {
        font-size: 17px;
    }

    .nav-cta {
        margin-left: auto;
        padding: 9px 13px;
        font-size: 12px;
    }

    .menu-toggle {
        display: flex;
        position: relative;
        z-index: 102;
    }

    .nav-links {
        position: absolute;
        top: calc(100% + 8px);
        left: 20px;
        right: 20px;

        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 0;

        padding: 12px;

        background: var(--color-background);
        border: 1px solid var(--color-border);
        border-radius: 16px;
        box-shadow: 0 12px 30px rgba(65, 52, 32, 0.10);

        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);

        transition: all 0.3s ease;
    }

    .nav-links.active {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .nav-links li {
        width: 100%;
    }

    .nav-links a {
        display: block;
        padding: 13px 12px;
    }
}

@media (max-width: 380px) {
    .site-header {
        padding: 12px 14px;
    }

    .brand-text {
        font-size: 15px;
    }

    .nav-cta {
        padding: 8px 10px;
        font-size: 11px;
    }
}
