/* ===========================================
   HNH Navigation Component Styles
   Logo LEFT | Nav Items RIGHT | Burger RIGHT
   =========================================== */

/* Reset the theme's centered logo layout */
.site-header {
    position: fixed !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
    left: 0 !important;
    top: 0 !important;
    z-index: 1000 !important;
    padding: 0 20px !important;
    height: 80px !important;
    background: transparent !important;
    transition: all 0.3s ease !important;
}

.site-header__inner {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    height: auto !important;
    padding: 0 !important;
    width: auto !important;
    order: 1 !important;
}

/* Logo - LEFT SIDE */
.site-branding {
    width: auto !important;
    order: 1 !important;
    margin: 0 !important;
}

.site-branding a {
    max-width: none !important;
    margin: 0 !important;
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    text-decoration: none !important;
}

.site-branding .logo-light {
    transform: scale(1) !important;
    margin-top: 0 !important;
    border-radius: 8px !important;
    max-height: 55px !important;
    width: auto !important;
    object-fit: contain !important;
}

/* H&H Signature Text */
.site-branding .brand-text {
    /* font-family: 'Lourdes', 'Canela', serif !important; */
    font-size: 32px !important;
    color: var(--wp--preset--color--light, #EDE7DB) !important;
    letter-spacing: 0.05em !important;
    white-space: nowrap !important;
    margin: 0 !important;
    line-height: 1 !important;
    font-weight: 600 !important;
}

@media (max-width: 480px) {
    .site-branding .brand-text {
        font-size: 24px !important;
    }
    .site-branding .logo-light {
        max-height: 45px !important;
    }
}

/* Desktop Navigation - RIGHT SIDE */
.desktop-navigation {
    position: fixed !important;
    left: auto !important;
    right: 200px !important;
    top: 0 !important;
    height: 80px !important;
    display: none !important;
    align-items: center !important;
    z-index: 1001 !important;
    pointer-events: auto !important;
}

.desktop-utility {
    position: fixed !important;
    right: 20px !important;
    left: auto !important;
    top: 0 !important;
    height: 80px !important;
    display: none !important;
    align-items: center !important;
    pointer-events: auto !important;
}

@media (min-width: 769px) {
    .desktop-navigation,
    .desktop-utility {
        display: flex !important;
    }
    
    .site-header {
        padding: 0 40px !important;
    }
    
    .desktop-navigation {
        right: 180px !important;
    }
    
    .desktop-utility {
        right: 40px !important;
    }
}

@media (min-width: 1024px) {
    .site-header {
        padding: 0 64px !important;
    }
    
    .desktop-navigation {
        right: 90px !important;
    }
    
    .desktop-utility {
        right: 64px !important;
    }
}

/* Navigation list styling */
.desktop-navigation > ul,
.desktop-utility > ul {
    display: flex !important;
    align-items: center !important;
    gap: 32px !important;
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.desktop-navigation > ul li,
.desktop-utility > ul li {
    pointer-events: auto !important;
}

.desktop-navigation > ul a,
.desktop-utility > ul a {
    color: var(--wp--preset--color--light, #EDE7DB) !important;
    text-decoration: none !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.1em !important;
    transition: opacity 0.3s ease !important;
    pointer-events: auto !important;
    cursor: pointer !important;
    display: inline-block !important;
    padding: 8px 0 !important;
}

.desktop-navigation > ul a:hover,
.desktop-utility > ul a:hover {
    opacity: 0.7 !important;
}

/* Burger Menu Button - RIGHT SIDE on Mobile */
.burger {
    position: absolute !important;
    right: 20px !important;
    left: auto !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 44px !important;
    height: 44px !important;
    border-radius: 50% !important;
    border: none !important;
    background: transparent !important;
    color: var(--wp--preset--color--light, #EDE7DB) !important;
    z-index: 1001 !important;
    cursor: pointer !important;
}

.burger svg {
    width: 24px !important;
    height: 24px !important;
    fill: currentColor !important;
}

.burger .burger__close {
    display: none;
}

.burger.is-active .burger__open {
    display: none;
}

.burger.is-active .burger__close {
    display: flex;
}

/* Hide burger on desktop */
@media (min-width: 769px) {
    .burger {
        display: none !important;
    }
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100vh !important;
    background: rgba(45, 46, 50, 0.98) !important;
    z-index: 999 !important;
    display: none !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    opacity: 0 !important;
    visibility: hidden !important;
    transition: opacity 0.3s ease, visibility 0.3s ease !important;
}

.mobile-menu-overlay.is-active {
    display: flex !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.mobile-menu-list {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    text-align: center !important;
}

.mobile-menu-list li {
    margin: 24px 0 !important;
    pointer-events: auto !important;
}

.mobile-menu-list a {
    color: var(--wp--preset--color--light, #EDE7DB) !important;
    font-size: 24px !important;
    font-weight: 500 !important;
    text-decoration: none !important;
    text-transform: uppercase !important;
    letter-spacing: 0.15em !important;
    transition: opacity 0.3s ease !important;
    pointer-events: auto !important;
    cursor: pointer !important;
    display: inline-block !important;
    padding: 10px 20px !important;
}

.mobile-menu-list a:hover {
    opacity: 0.7 !important;
}

/* Sticky header state */
body.is-sticky .site-header {
    background: var(--wp--preset--color--dark, #2D2E32) !important;
    pointer-events: auto !important;
    transform: none !important;
}

body.is-sticky .desktop-navigation,
body.is-sticky .desktop-utility {
    pointer-events: auto !important;
    transform: none !important;
}

body.is-sticky .desktop-navigation > ul a,
body.is-sticky .desktop-utility > ul a {
    color: var(--wp--preset--color--light, #EDE7DB) !important;
    pointer-events: auto !important;
}

body.is-sticky .burger {
    color: var(--wp--preset--color--light, #EDE7DB) !important;
}

/* Override theme's sticky transforms that hide navigation */
body.is-sticky #site-header {
    transform: none !important;
    pointer-events: auto !important;
}

/* Hide desktop nav on mobile */
@media (max-width: 768px) {
    .desktop-navigation,
    .desktop-utility {
        display: none !important;
    }
}

/* ===========================================
   CRITICAL: Force all navigation links clickable
   Override any theme styles that disable clicks
   =========================================== */
.desktop-navigation,
.desktop-navigation ul,
.desktop-navigation li,
.desktop-navigation a,
.desktop-utility,
.desktop-utility ul,
.desktop-utility li,
.desktop-utility a,
.site-branding,
.site-branding a,
.burger {
    pointer-events: auto !important;
    cursor: pointer !important;
}

.desktop-navigation a,
.desktop-utility a {
    position: relative !important;
}
