/**
 * Compact Header - Less huge, clean, mobile-friendly
 * Loaded only on dev.sunsetjams.com - no body class needed
 */

#site-header.hero-container {
    /* Replace huge hero with compact top bar */
    min-height: 0 !important;
    height: auto !important;
    max-height: none !important;
    padding: 16px 24px 20px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    position: relative !important;
    background: linear-gradient(180deg, rgba(20,25,35,0.97) 0%, rgba(30,38,50,0.95) 100%) !important;
    border-bottom: 1px solid rgba(255,255,255,0.08) !important;
}

/* Hide video/logo backdrop - logo will be in overlay only */
#site-header .video-wrapper,
#site-header .logo-wrapper.hero-backdrop {
    display: none !important;
}

/* Overlay becomes the main header content */
#site-header .overlay-content {
    position: relative !important;
    width: 100% !important;
    max-width: 1200px !important;
    margin: 0 auto !important;
}

/* Logo + nav in a row */
#site-header .logo-container {
    display: flex !important;
    perspective: 600px;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 24px !important;
}

/* Logo - prominent but not giant */
#site-header .logo-container a {
    flex-shrink: 0;
}

#site-header .logo-container img {
    visibility: visible !important;
    opacity: 1 !important;
    max-height: 72px !important;
    width: auto !important;
    max-width: 220px !important;
    object-fit: contain !important;
    /* 3D & textured effect */
    filter:
        drop-shadow(0 2px 3px rgba(0,0,0,0.5))
        drop-shadow(0 6px 12px rgba(0,0,0,0.35))
        drop-shadow(0 12px 24px rgba(0,0,0,0.2))
        drop-shadow(1px 1px 0 rgba(255,255,255,0.15));
    transform: perspective(600px) rotateX(-2deg) translateZ(8px);
}

/* Menu bar inline */
#site-header .menu-bar {
    flex: 0 0 auto;
}

#site-header .menu-bar .menu-items {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    gap: 4px 16px !important;
    justify-content: flex-end !important;
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

#site-header .menu-bar .menu-items a {
    font-size: 15px !important;
    padding: 8px 12px !important;
    text-decoration: none !important;
    color: inherit !important;
    border-radius: 6px !important;
    transition: background 0.2s, color 0.2s !important;
}

#site-header .menu-bar .menu-items a:hover {
    background: rgba(255,255,255,0.15) !important;
}

/* Eye toggle - hide if no video */
#site-header .eye-toggle {
    display: none !important;
}

/* Cart icon - higher up with compact header */
#sunsetjams-cart-widget {
    top: 16px !important;
}

/* ========== Mobile ========== */
@media (max-width: 768px) {
    #site-header.hero-container {
        padding: 12px 16px 16px !important;
    }

    #site-header .logo-container {
        flex-wrap: wrap !important;
        justify-content: center !important;
        gap: 12px !important;
    }

    #site-header .logo-container img {
        max-height: 56px !important;
        max-width: 180px !important;
        transform: perspective(500px) translateZ(6px);
    }

    #site-header .menu-bar .menu-items {
        justify-content: center !important;
        gap: 4px 8px !important;
    }

    #site-header .menu-bar .menu-items a {
        font-size: 14px !important;
        padding: 10px 12px !important;
        min-height: 44px !important;
        min-width: 44px !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
    }
}

@media (max-width: 500px) {
    #site-header.hero-container {
        padding: 10px 12px 14px !important;
    }

    #site-header .logo-container img {
        max-height: 48px !important;
        max-width: 160px !important;
        transform: perspective(400px) translateZ(4px);
    }

    #site-header .menu-bar .menu-items a {
        font-size: 13px !important;
        padding: 8px 10px !important;
    }
}
