/* Header & Navigation */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 6px 0;
    background-color: rgba(255, 255, 255, 0.95);
    transition: var(--transition);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.dark-theme header {
    background-color: rgba(10, 10, 10, 0.95);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-black);
    text-decoration: none;
    letter-spacing: 1px;
}

.dark-theme .logo {
    color: var(--primary-white);
}

.logo span {
    color: var(--accent-gold);
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 22px;
}

nav ul li a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 1rem;
    transition: var(--transition);
    position: relative;
}

.dark-theme nav ul li a {
    color: var(--text-light);
}

nav ul li a:hover {
    color: var(--accent-gold);
}

nav ul li a:after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    background: var(--accent-gold);
    left: 0;
    bottom: -5px;
    transition: var(--transition);
}

nav ul li a:hover:after {
    width: 100%;
}

.theme-toggle {
    background: none;
    border: 1px solid var(--gray-light);
    color: var(--text-dark);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    margin-left: 20px;
}

.dark-theme .theme-toggle {
    color: var(--text-light);
    border-color: var(--gray-dark);
}

.theme-toggle:hover {
    background-color: rgba(200, 169, 126, 0.1);
    border-color: var(--accent-gold);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-dark);
    cursor: pointer;
}

.dark-theme .mobile-menu-btn {
    color: var(--text-light);
}

/* Responsive Navigation */
@media (max-width: 768px) {
    header {
        padding: 10px 0;
    }

    .logo {
        font-size: 1.5rem;
        height: 45px;
    }

    .logo img {
        height: 40px !important;
    }

    nav {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background-color: var(--primary-white);
        transition: all 0.4s ease;
        padding: 40px 20px;
    }

    .dark-theme nav {
        background-color: var(--primary-black);
    }

    nav.active {
        left: 0;
    }

    nav ul {
        flex-direction: column;
    }

    nav ul li {
        margin: 0 0 20px 0;
    }

    .mobile-menu-btn {
        display: block;
        margin-right: 15px;
    }

    .theme-toggle {
        margin-left: 10px;
        width: 36px;
        height: 36px;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    header {
        padding: 8px 0;
    }

    .logo {
        font-size: 1.3rem;
        height: 40px;
    }

    .logo img {
        height: 35px !important;
    }

    nav ul li {
        margin: 0 0 15px 0;
    }

    nav ul li a {
        font-size: 0.9rem;
    }

    .mobile-menu-btn {
        font-size: 1.1rem;
        margin-right: 8px;
    }

    .theme-toggle {
        width: 32px;
        height: 32px;
        font-size: 0.75rem;
        margin-left: 8px;
    }
}