/* ENHANCED LOGO DESIGN */
.logo-container {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-img {
    height: 48px;
    width: auto;
    object-fit: contain;
    filter: brightness(1.05) contrast(1.1);
    border-radius: 4px;
}

.logo-text-container {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.logo-main {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--brand-dark);
    white-space: nowrap;
}

.logo-tag {
    font-size: 0.7rem;
    color: var(--brand-gold);
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-top: 2px;
}

/* ============================================
   HEADER STYLES - HerVenture Club
   Complete Version with Announcement Text
============================================ */

:root {
    /* Brand Colors */
    --brand-gold: #9b884c;
    --brand-dark: #42311c;
    
    /* Background Colors */
    --bg-main: #f9f6f1;
    --bg-light: #ffffff;
    --bg-soft: #fdf2d5;
    
    /* Border Colors */
    --border-light: #e5decf;
    --border-soft: #f1e7d3;
    
    /* Text Colors */
    --text-primary: #42311c;
    --text-secondary: #6c5b43;
    --text-light: #ffffff;
    
    /* Accent Colors */
    --accent-coral: #e07a5f;
    --accent-beige: #d4a373;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    
    /* Typography */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
}

/* RESET & BASE STYLES */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    color: var(--text-primary);
    background-color: var(--bg-main);
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

/* ==================== MICRO HEADER ==================== */
.micro-header {
    background-color: var(--brand-dark);
    color: var(--text-light);
    font-size: 0.8rem;
    padding: 0.4rem 0;
    border-bottom: 1px solid rgba(155, 136, 76, 0.2);
}

.micro-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.micro-left {
    display: flex;
    align-items: center;
    gap: var(--spacing-lg);
}

.micro-right {
    display: flex;
    align-items: center;
    gap: var(--spacing-lg);
}

.micro-link {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    transition: color 0.3s ease;
    font-size: 0.8rem;
}

.micro-link:hover {
    color: var(--brand-gold);
}

.micro-link i {
    font-size: 0.75rem;
}

.micro-announcement {
    color: var(--brand-gold);
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.8rem;
    white-space: nowrap;
}

.micro-social {
    display: flex;
    gap: 0.8rem;
}

.micro-social a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.micro-social a:hover {
    color: var(--brand-gold);
}

/* ==================== MAIN HEADER ==================== */
.main-header {
    background-color: var(--bg-light);
    box-shadow: 0 2px 10px rgba(66, 49, 28, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--border-light);
}

.main-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
    padding: 0 var(--spacing-md);
}

/* LOGO */
.logo {
    display: flex;
    align-items: center;
}

.logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo-img {
    height: 50px;
    width: auto;
    object-fit: contain;
}

/* HEADER RIGHT SECTION (Navigation + CTA) */
.header-right {
    display: flex;
    align-items: center;
    gap: 2rem;
}

/* DESKTOP NAVIGATION - Right Aligned */
.desktop-nav {
    display: flex;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 0;
    margin: 0;
    padding: 0;
    align-items: center;
}

.nav-item {
    position: relative;
}

.nav-link {
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.9rem;
    padding: 0 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.3rem;
    transition: all 0.2s ease;
    position: relative;
    height: 72px;
    align-items: center;
    white-space: nowrap;
}

.nav-link:hover {
    color: var(--brand-dark);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0.9rem;
    right: 0.9rem;
    height: 3px;
    background-color: var(--brand-gold);
    transform: scaleX(0);
    transition: transform 0.2s ease;
}

.nav-link:hover::after {
    transform: scaleX(1);
}

/* DROPDOWN MENUS */
.dropdown-content {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--bg-light);
    min-width: 180px;
    box-shadow: 0 4px 12px rgba(66, 49, 28, 0.1);
    border-radius: 0 0 4px 4px;
    border: 1px solid var(--border-light);
    opacity: 0;
    visibility: hidden;
    transform: translateY(5px);
    transition: all 0.2s ease;
    z-index: 100;
}

.dropdown:hover .dropdown-content {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-content a {
    display: block;
    padding: 0.7rem 1rem;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.85rem;
    border-bottom: 1px solid var(--border-light);
    transition: all 0.2s ease;
}

.dropdown-content a:last-child {
    border-bottom: none;
}

.dropdown-content a:hover {
    background-color: var(--bg-soft);
    color: var(--brand-dark);
    padding-left: 1.25rem;
}

/* HEADER ACTIONS */
.header-actions {
    display: flex;
    align-items: center;
}

.btn {
    padding: 0.55rem 1.25rem;
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.85rem;
    text-decoration: none;
    transition: all 0.2s ease;
    cursor: pointer;
    display: inline-block;
    text-align: center;
    border: 2px solid transparent;
    white-space: nowrap;
}

.btn-primary {
    background-color: var(--brand-gold);
    color: var(--text-light);
}

.btn-primary:hover {
    background-color: var(--brand-dark);
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(155, 136, 76, 0.2);
}

/* MOBILE TOGGLE */
.mobile-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    flex-direction: column;
    gap: 3px;
}

.toggle-line {
    width: 22px;
    height: 2px;
    background-color: var(--brand-dark);
    transition: all 0.2s ease;
    border-radius: 2px;
}

.mobile-toggle.active .toggle-line:nth-child(1) {
    transform: rotate(45deg) translate(4px, 4px);
}

.mobile-toggle.active .toggle-line:nth-child(2) {
    opacity: 0;
}

.mobile-toggle.active .toggle-line:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -5px);
}

/* MOBILE NAVIGATION */
.mobile-nav {
    display: none;
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--bg-light);
    z-index: 999;
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform 0.2s ease;
    border-top: 1px solid var(--border-light);
}

.mobile-nav.active {
    transform: translateX(0);
    display: block;
}

.mobile-container {
    padding: var(--spacing-sm);
}

.mobile-menu {
    list-style: none;
    margin-bottom: var(--spacing-md);
}

.mobile-menu li {
    border-bottom: 1px solid var(--border-light);
}

.mobile-menu a {
    display: block;
    padding: 0.85rem 0;
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
}

.mobile-menu a:hover {
    color: var(--brand-dark);
}

.mobile-dropdown-toggle {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.mobile-dropdown-content {
    display: none;
    padding-left: var(--spacing-sm);
    background-color: var(--bg-soft);
    margin: 0.4rem 0;
    border-radius: 4px;
}

.mobile-dropdown.active .mobile-dropdown-content {
    display: block;
}

.mobile-dropdown-content a {
    padding: 0.6rem 0;
    font-size: 0.9rem;
    border-bottom: 1px solid rgba(66, 49, 28, 0.1);
}

.mobile-dropdown-content a:last-child {
    border-bottom: none;
}

.mobile-actions {
    padding-top: var(--spacing-md);
    border-top: 1px solid var(--border-light);
}

.mobile-actions .btn {
    width: 100%;
    text-align: center;
}

/* ==================== RESPONSIVE DESIGN ==================== */

/* LARGE DESKTOP: 1200px and above */
@media (min-width: 1200px) {
    /* Already optimal for large screens */
}

/* DESKTOP: 992px to 1199px */
@media (max-width: 1199px) and (min-width: 992px) {
    .nav-link {
        padding: 0 0.75rem;
        font-size: 0.88rem;
    }
    
    .header-right {
        gap: 1.75rem;
    }
    
    .logo-img {
        height: 48px;
    }
    
    .btn {
        padding: 0.5rem 1.1rem;
        font-size: 0.88rem;
    }
    
    .micro-right {
        gap: var(--spacing-md);
    }
    
    .micro-announcement {
        font-size: 0.78rem;
    }
}

/* TABLET LANDSCAPE: 992px to 1199px */
@media (max-width: 1199px) and (min-width: 992px) and (orientation: landscape) {
    .micro-header .container {
        padding: 0.3rem var(--spacing-md);
    }
    
    .micro-left, .micro-right {
        gap: var(--spacing-md);
    }
    
    .nav-link {
        padding: 0 0.65rem;
        font-size: 0.85rem;
    }
}

/* TABLET PORTRAIT: 768px to 991px */
@media (max-width: 991px) and (min-width: 769px) {
    /* TABLET-SPECIFIC STYLES */
    
    /* Micro Header for Tablet */
    .micro-header .container {
        padding: 0.4rem var(--spacing-sm);
    }
    
    .micro-left, .micro-right {
        gap: var(--spacing-md);
    }
    
    .micro-announcement {
        font-size: 0.76rem;
        white-space: nowrap;
    }
    
    /* Main Header for Tablet */
    .main-header .container {
        height: 70px;
        padding: 0 var(--spacing-sm);
    }
    
    .logo-img {
        height: 46px;
    }
    
    .logo-main {
        font-size: 1.3rem;
    }
    
    /* Adjust navigation for tablet */
    .nav-link {
        padding: 0 0.6rem;
        font-size: 0.82rem;
    }
    
    .header-right {
        gap: 1.5rem;
    }
    
    .btn {
        padding: 0.5rem 1rem;
        font-size: 0.82rem;
    }
}

/* TABLET MOBILE MODE: Hide desktop nav earlier for tablet portrait */
@media (max-width: 900px) {
    .desktop-nav {
        display: none;
    }
    
    .mobile-toggle {
        display: flex;
    }
    
    .header-right .header-actions {
        display: none;
    }
    
    .header-right {
        gap: 0;
    }
}

/* MOBILE LANDSCAPE: 576px to 767px */
@media (max-width: 767px) and (min-width: 576px) {
    /* Mobile landscape adjustments */
    .micro-header .container {
        flex-direction: column;
        gap: 0.4rem;
        text-align: center;
        padding: 0.4rem var(--spacing-sm);
    }
    
    .micro-left, .micro-right {
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
        gap: var(--spacing-md);
    }
    
    .micro-announcement {
        font-size: 0.75rem;
    }
    
    .main-header .container {
        height: 68px;
        padding: 0 var(--spacing-sm);
    }
    
    .logo-img {
        height: 44px;
    }
    
    .logo-main {
        font-size: 1.2rem;
    }
    
    .logo-tag {
        font-size: 0.65rem;
    }
    
    .mobile-nav {
        top: 68px;
    }
}

/* MOBILE PORTRAIT: Up to 575px */
@media (max-width: 575px) {
    .micro-header .container {
        flex-direction: column;
        gap: 0.4rem;
        text-align: center;
        padding: 0.4rem var(--spacing-sm);
    }
    
    .micro-left, .micro-right {
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
        gap: var(--spacing-sm);
    }
    
    .micro-link span {
        display: none;
    }
    
    .micro-link i {
        font-size: 0.9rem;
    }
    
    .micro-social {
        gap: 0.6rem;
    }
    
    .micro-announcement {
        font-size: 0.72rem;
    }
    
    .main-header .container {
        height: 64px;
        padding: 0 var(--spacing-sm);
    }
    
    .logo-img {
        height: 40px;
    }
    
    .logo-main {
        font-size: 1.1rem;
    }
    
    .logo-tag {
        font-size: 0.6rem;
        margin-top: 1px;
    }
    
    .logo-container {
        gap: 0.5rem;
    }
    
    .mobile-nav {
        top: 64px;
    }
}

/* VERY SMALL MOBILE: Up to 375px */
@media (max-width: 375px) {
    .logo-main {
        font-size: 1rem;
    }
    
    .logo-tag {
        font-size: 0.55rem;
    }
    
    .logo-img {
        height: 36px;
    }
    
    .micro-announcement {
        font-size: 0.7rem;
    }
    
    .micro-social a {
        font-size: 0.85rem;
    }
}

/* MOBILE TOGGLE - FIXED VERSION */
.mobile-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    flex-direction: column;
    gap: 3px;
    z-index: 1001;
}

.toggle-line {
    width: 22px;
    height: 2px;
    background-color: var(--brand-dark);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 2px;
    transform-origin: center;
}

/* ACTIVE STATE - Make sure colors are visible */
.mobile-toggle.active .toggle-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
    background-color: var(--brand-gold);
}

.mobile-toggle.active .toggle-line:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.mobile-toggle.active .toggle-line:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
    background-color: var(--brand-gold);
}

/* HOVER STATE */
.mobile-toggle:hover .toggle-line {
    background-color: var(--brand-gold);
}

/* Ensure toggle is visible on mobile */
@media (max-width: 900px) {
    .mobile-toggle {
        display: flex;
    }
}