/* =========================================
   4. HEADER & NAV
   ========================================= */
header {
    position: fixed;
    top: 40px;
    left: 50%;
    transform: translateX(-50%);
    width: 95%;
    max-width: 1200px;
    padding: 35px 50px;
    border-radius: 80px;
    background: rgba(20, 20, 20, 0.7);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
    z-index: 2000;
    transition: all 0.4s cubic-bezier(.4, 0, .2, 1);
}

header.scrolled {
    top: 20px;
    padding: 25px 50px;
    border-radius: 70px;
    background: rgba(10, 10, 10, 0.95);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(25px);
}

.nav-container {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.nav-links {
    display: flex;
    gap: 30px;
    list-style: none;
    margin: 0;
    padding: 0;
    align-items: center;
    transition: gap 0.4s ease;
}

header.scrolled .nav-links {
    gap: 25px;
}

.nav-links a {
    text-decoration: none;
    color: var(--color-white);
    font-size: .95rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    position: relative;
    white-space: nowrap;
}

header.scrolled .nav-links a {
    font-size: .85rem;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 50%;
    background: var(--color-hot-pink);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--color-hot-pink);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

/* Media Query Header Laptop */
@media (min-width: 993px) and (max-width: 1300px) {
    header {
        width: 98%;
        padding: 20px 30px;
        top: 20px;
    }
    header.scrolled {
        padding: 15px 25px;
        top: 10px;
    }
    .nav-links {
        gap: 20px;
    }
    header.scrolled .nav-links {
        gap: 15px;
    }
    .nav-links a {
        font-size: .85rem;
    }
}

/* Media Query Header Mobile */
@media (max-width: 992px) {
    .nav-links {
        display: none;
    }
    .hamburger {
        display: flex;
    }
    header {
        width: 92%;
        padding: 15px 25px;
        top: 15px;
        justify-content: flex-end;
        background: rgba(10, 10, 10, 0.9);
    }
    header.scrolled {
        top: 10px;
        padding: 12px 25px;
        background: rgba(0, 0, 0, 0.95);
    }
    .nav-container {
        justify-content: flex-end;
    }
}

/* Hamburger & Mobile Menu */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    cursor: pointer;
    z-index: 2001;
}

.hamburger span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: var(--color-white);
    border-radius: 3px;
    transition: all 0.3s ease-in-out;
}

.hamburger.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
    background-color: var(--color-hot-pink);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
    background-color: var(--color-hot-pink);
}

.mobile-menu {
    position: fixed;
    top: 0;
    right: 0;
    width: 85%;
    max-width: 350px;
    height: 100vh;
    background-color: #000;
    border-left: 1px solid var(--color-hot-pink);
    z-index: 1500;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(.77, 0, .175, 1);
    display: flex;
    flex-direction: column;
    padding: 140px 40px 40px;
    box-shadow: -20px 0 50px rgba(0, 0, 0, 0.9);
}

.mobile-menu.active {
    transform: translateX(0);
}

.mobile-links-container {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.mobile-links-container a {
    color: #fff;
    font-size: 1.5rem;
    font-family: 'Playfair Display', serif;
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 10px;
    transition: 0.3s;
}

.mobile-links-container a.active {
    color: var(--color-hot-pink);
    border-left: 4px solid var(--color-hot-pink);
    padding-left: 15px;
    border-bottom: none;
}

.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 1400;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.mobile-menu-overlay.active {
    opacity: 1;
    pointer-events: all;
}