/*
================================================================
PHEELCO ENTERTAINMENT — GREENLIGHT CUSTOM CSS
Matches the first HTML draft exactly.
================================================================
FILE: pheelco-custom.css
LOCATION: wp-content/themes/greenlight-child/pheelco-custom.css
================================================================
*/

/* ==========================================================================
   FONTS — Google Fonts (replaces broken GreenShift local fonts)
   ========================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Cormorant+Garamond:ital,wght@0,400;0,600;1,400&family=DM+Sans:ital,wght@0,300;0,400;0,500;0,700;1,400&display=swap');


/* ==========================================================================
   CSS VARIABLES — Exact match to HTML draft :root
   ========================================================================== */
:root {
    --accent: #C8A84E;
    --accent-light: #E8D5A0;
    --accent-dark: #9A7D30;
    --accent-glow: rgba(200,168,78,0.15);
    --black: #0A0A0A;
    --dark: #111111;
    --dark-card: #181818;
    --dark-surface: #151515;
    --grey: #888888;
    --grey-light: #B5B0A5;
    --cream: #F5F0E8;
    --cream-dark: #D4CCBE;
    --section-gap: 120px;
    --nav-height: 80px;
}


/* ==========================================================================
   1. BODY & GLOBAL TYPOGRAPHY
   HTML draft: font-family: 'DM Sans'; background: #0A0A0A; color: #F5F0E8
   WP current: system font, body text set to Instrument_Serif (wrong)
   ========================================================================== */
body,
body.gspb-bodyfront,
p,
.has-s-font-size,
.has-r-font-size,
.has-m-font-size,
.has-xs-font-size {
    font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif !important;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    background-color: var(--black);
    color: var(--cream);
    line-height: 1.7;
    overflow-x: hidden;
}


/* ==========================================================================
   2. HEADINGS — All Bebas Neue
   HTML draft: font-family: 'Bebas Neue'; H1 ls:6px lh:0.95; H2 ls:3px lh:1.05
   WP current: Bebas_Neue (underscore, empty src), H4 set to DM_Sans
   ========================================================================== */
:root h1, :root h2, :root h3, :root h4, :root h5, :root h6,
h1.wp-block-heading, h2.wp-block-heading, h3.wp-block-heading,
h4.wp-block-heading, h5.wp-block-heading, h6.wp-block-heading,
.has-giga-font-size[style*="font-weight:700"],
.has-grand-font-size[style*="font-weight:700"],
.has-god-font-size {
    font-family: 'Bebas Neue', Impact, sans-serif !important;
}

h1.wp-block-heading, .has-god-font-size {
    letter-spacing: 6px;
    line-height: 0.95;
}

h2.wp-block-heading, .has-giga-font-size {
    letter-spacing: 3px;
    line-height: 1.05;
}

h3.wp-block-heading {
    letter-spacing: 2px;
    line-height: 1.15;
}

h4.wp-block-heading {
    letter-spacing: 2px;
}


/* ==========================================================================
   3. SECTION LABELS — Gold uppercase micro-text
   HTML draft: 11px, 500 weight, 6px letter-spacing, uppercase, DM Sans
   ========================================================================== */
.ph-label,
.has-brand-color.has-text-color[style*="font-size:11px"],
.has-brand-color.has-text-color[style*="font-size: 11px"] {
    font-family: 'DM Sans', sans-serif !important;
    font-weight: 500 !important;
}


/* ==========================================================================
   4. ITALIC TAGLINE — Cormorant Garamond (not Instrument Serif)
   HTML draft: font-family: 'Cormorant Garamond', serif; font-style: italic
   ========================================================================== */
.ph-tagline,
.has-m-font-size[style*="font-style:italic"],
.has-m-font-size[style*="font-style: italic"] {
    font-family: 'Cormorant Garamond', Georgia, serif !important;
}


/* ==========================================================================
   5. SEPARATOR / ACCENT LINE
   HTML draft: width: 60px; height: 2px; background: var(--accent)
   WP current: full-width default separator
   ========================================================================== */
.wp-block-separator.has-brand-background-color,
.wp-block-separator.has-brand-color {
    width: 60px !important;
    max-width: 60px !important;
    border-bottom-width: 2px !important;
    opacity: 1 !important;
    margin-left: 0 !important;
}


/* ==========================================================================
   6. BUTTONS — Exact match to HTML draft .btn
   HTML draft: padding 16px 40px, 11px, ls:4px, uppercase, DM Sans 700,
   border-radius: 0, transition: all 0.4s
   ========================================================================== */
.wp-block-button__link {
    font-family: 'DM Sans', sans-serif !important;
    font-weight: 700 !important;
    border-radius: 0px !important;
    transition: all 0.4s ease !important;
    letter-spacing: 4px;
    text-transform: uppercase;
}

/* btn-accent (gold filled) */
.wp-block-button:not(.is-style-outline) .wp-block-button__link {
    background-color: var(--accent) !important;
    color: var(--black) !important;
}

.wp-block-button:not(.is-style-outline) .wp-block-button__link:hover {
    background-color: var(--accent-light) !important;
    color: var(--black) !important;
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(200,168,78,0.2);
}

/* btn-outline */
.wp-block-button.is-style-outline .wp-block-button__link {
    background: transparent !important;
    color: var(--cream) !important;
    border: 1px solid rgba(200,168,78,0.3) !important;
}

.wp-block-button.is-style-outline .wp-block-button__link:hover {
    border-color: var(--accent) !important;
    color: var(--accent) !important;
    background: rgba(200,168,78,0.04) !important;
}


/* ==========================================================================
   7. FILM GRAIN TEXTURE OVERLAY
   HTML draft: body::after with SVG noise filter
   WP current: missing entirely
   ========================================================================== */
body::after {
    content: '';
    position: fixed;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.025'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 9999;
}


/* ==========================================================================
   8. HERO SECTION
   HTML draft: 100vh, centered, gold radial glows, ember orbs, staggered fadeUp
   ========================================================================== */

/* Hero background glow */
.ph-hero-glow {
    position: absolute !important;
    inset: 0 !important;
    background:
        radial-gradient(ellipse at 20% 80%, rgba(200,168,78,0.08) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 20%, rgba(200,168,78,0.05) 0%, transparent 60%),
        radial-gradient(ellipse at 50% 50%, rgba(200,168,78,0.02) 0%, transparent 80%) !important;
    pointer-events: none !important;
}

/* Hero vertical lines */
.ph-hero-lines {
    position: absolute !important;
    inset: 0 !important;
    background: repeating-linear-gradient(90deg, transparent, transparent 149px, rgba(200,168,78,0.02) 149px, rgba(200,168,78,0.02) 150px) !important;
    pointer-events: none !important;
}

/* Floating ember orbs */
.ph-ember {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(200,168,78,0.06), transparent 70%);
    animation: ember 8s ease-in-out infinite;
    pointer-events: none;
}

.ph-ember-1 { width: 300px; height: 300px; top: 20%; left: 10%; animation-delay: 0s; }
.ph-ember-2 { width: 200px; height: 200px; bottom: 20%; right: 10%; animation-delay: 4s; }

@keyframes ember {
    0%, 100% { opacity: 0.3; transform: scale(1); }
    50% { opacity: 0.7; transform: scale(1.15); }
}

/* Scroll indicator */
.ph-scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.ph-scroll-indicator span {
    font-size: 10px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--grey);
}

.ph-scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--accent), transparent);
    animation: scrollPulse 2s infinite;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 1; }
}


/* ==========================================================================
   9. FEATURED CARDS — Service cards with animated gold top border
   HTML draft: .featured-card with ::before scaleX(0)→scaleX(1) on hover
   ========================================================================== */
.ph-card {
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease !important;
}

.ph-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 2px;
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.ph-card:hover::before {
    transform: scaleX(1);
}

.ph-card:hover {
    transform: translateY(-4px) !important;
    border-color: rgba(200,168,78,0.15) !important;
}

/* Static gold top border (for WP column cards that already have border-top) */
[style*="background-color:#181818"][style*="border-top-color:#C8A84E"],
[style*="background-color: #181818"][style*="border-top"] {
    transition: transform 0.4s ease !important;
}

[style*="background-color:#181818"][style*="border-top-color:#C8A84E"]:hover,
[style*="background-color: #181818"][style*="border-top"]:hover {
    transform: translateY(-4px) !important;
}


/* ==========================================================================
   10. EVENT ROWS — Show listings with indent-on-hover
   HTML draft: .show-row padding-left: 0 → 15px on hover, border-color change
   ========================================================================== */
.ph-event-row,
.ph-show-row {
    transition: padding-left 0.3s ease, border-color 0.3s ease !important;
}

.ph-event-row:hover,
.ph-show-row:hover {
    padding-left: 15px !important;
    border-bottom-color: rgba(200,168,78,0.2) !important;
}

/* Show ticket button hover — fill with gold */
.ph-show-ticket .wp-block-button.is-style-outline .wp-block-button__link:hover {
    background: var(--accent) !important;
    color: var(--black) !important;
    border-color: var(--accent) !important;
}


/* ==========================================================================
   11. COLLABORATION TAGS — Pill badges with hover
   HTML draft: border: 1px solid rgba(200,168,78,0.15), hover → gold
   ========================================================================== */
.ph-collab-tag,
.has-border-color[style*="border-color:#C8A84E26"],
.has-border-color[style*="border-color: #C8A84E26"] {
    transition: all 0.3s ease !important;
}

.ph-collab-tag:hover,
.has-border-color[style*="border-color:#C8A84E26"]:hover,
.has-border-color[style*="border-color: #C8A84E26"]:hover {
    border-color: var(--accent) !important;
    color: var(--accent) !important;
}


/* ==========================================================================
   12. HEADER — Sticky, glass-blur, gold accent
   HTML draft: position:fixed, backdrop-filter:blur(24px), transition on scroll
   ========================================================================== */
.ph-header-wrap {
    position: sticky !important;
    top: 0 !important;
    z-index: 999 !important;
    background-color: rgba(10,10,10,0.95) !important;
    backdrop-filter: blur(24px) !important;
    -webkit-backdrop-filter: blur(24px) !important;
    border-bottom: 1px solid rgba(200,168,78,0.08) !important;
    transition: background 0.4s, backdrop-filter 0.4s, box-shadow 0.4s !important;
}

.ph-header-wrap.ph-scrolled {
    background-color: rgba(10,10,10,0.92) !important;
    box-shadow: 0 1px 0 rgba(200,168,78,0.08) !important;
}

/* Nav links — underline slide on hover */
.ph-nav-link {
    font-family: 'DM Sans', sans-serif !important;
    font-size: 12px !important;
    font-weight: 500 !important;
    letter-spacing: 3px !important;
    text-transform: uppercase !important;
    color: var(--cream) !important;
    text-decoration: none !important;
    position: relative !important;
    transition: color 0.3s ease !important;
    padding: 4px 0 !important;
}

.ph-nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1.5px;
    background: var(--accent);
    transition: width 0.3s ease;
}

.ph-nav-link:hover {
    color: var(--accent) !important;
}

.ph-nav-link:hover::after {
    width: 100%;
}

/* Logo */
.ph-logo {
    font-family: 'Bebas Neue', Impact, sans-serif !important;
    font-size: 26px !important;
    letter-spacing: 6px !important;
    color: var(--accent) !important;
    transition: color 0.3s ease !important;
}

.ph-logo:hover {
    color: var(--accent-light) !important;
}


/* ==========================================================================
   13. MOBILE PANEL — Full-screen sliding nav
   HTML draft: .nav-links on mobile: fixed, backdrop-filter:blur(20px),
   flex-direction:column, gap:24px, transform slide
   ========================================================================== */
.ph-mobile-panel a,
.ph-panel-overlay a,
.control-a2940 a {
    font-family: 'DM Sans', sans-serif !important;
    font-size: clamp(18px, 4vw, 24px) !important;
    font-weight: 500 !important;
    letter-spacing: 4px !important;
    text-transform: uppercase !important;
    color: var(--cream) !important;
    display: block !important;
    padding: 15px 0 !important;
    text-decoration: none !important;
    transition: color 0.3s ease !important;
}

.ph-mobile-panel a:hover,
.ph-panel-overlay a:hover,
.control-a2940 a:hover {
    color: var(--accent) !important;
}


/* ==========================================================================
   14. FOOTER
   HTML draft: padding 50px 60px, border-top: 1px solid rgba(200,168,78,0.08)
   flex row, space-between on desktop; column centered on mobile
   ========================================================================== */
.ph-footer-wrap {
    background-color: var(--black) !important;
    border-top: 1px solid rgba(200,168,78,0.08) !important;
}

.ph-footer-link {
    font-family: 'DM Sans', sans-serif !important;
    font-size: 11px !important;
    letter-spacing: 2px !important;
    text-transform: uppercase !important;
    color: var(--grey) !important;
    text-decoration: none !important;
    transition: color 0.3s ease !important;
}

.ph-footer-link:hover {
    color: var(--accent) !important;
}

.ph-footer-logo {
    font-family: 'Bebas Neue', Impact, sans-serif !important;
}

/* Link colors in header/footer */
.ph-header-wrap a,
.ph-footer-wrap a {
    color: inherit !important;
    text-decoration: none !important;
}

.ph-header-wrap a:hover,
.ph-footer-wrap a:hover {
    color: var(--accent) !important;
}


/* ==========================================================================
   15. COVER BLOCK / IMAGE PLACEHOLDERS
   HTML draft: #181818 bg, 1px solid rgba(200,168,78,0.1) border
   ========================================================================== */
.wp-block-cover.is-light[style*="background-color:#181818"] {
    border: 1px solid rgba(200,168,78,0.1) !important;
}


/* ==========================================================================
   16. SCROLL FADE-IN ANIMATION
   HTML draft: .fade-in { opacity:0; translateY(40px) } → .visible { opacity:1 }
   ========================================================================== */
.ph-fade {
    opacity: 0;
    transform: translateY(35px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.ph-fade.ph-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered hero animations */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(35px); }
    to { opacity: 1; transform: translateY(0); }
}

.ph-hero-stagger-1 { opacity: 0; animation: fadeUp 1s 0.3s forwards; }
.ph-hero-stagger-2 { opacity: 0; animation: fadeUp 1s 0.5s forwards; }
.ph-hero-stagger-3 { opacity: 0; animation: fadeUp 1s 0.7s forwards; }
.ph-hero-stagger-4 { opacity: 0; animation: fadeUp 1s 0.9s forwards; }
.ph-hero-stagger-5 { opacity: 0; animation: fadeUp 1s 1.2s forwards; }


/* ==========================================================================
   17. RESPONSIVE BREAKPOINTS — Exact match to HTML draft
   ========================================================================== */

/* Tablet: 1024px */
@media (max-width: 1024px) {
    :root { --section-gap: 100px; }

    .ph-hero-section,
    .ph-services-section,
    .ph-story-section,
    .ph-events-section,
    .ph-cta-section {
        padding-left: 40px !important;
        padding-right: 40px !important;
    }

    .ph-cards-row,
    .featured-grid {
        flex-direction: column !important;
        grid-template-columns: 1fr !important;
    }

    .ph-story-grid,
    .latest-release {
        flex-direction: column !important;
        grid-template-columns: 1fr !important;
        gap: 40px !important;
    }

    .ph-show-row .show-location,
    .ph-event-row [class*="location"] {
        display: none !important;
    }

    /* Desktop nav hides */
    .ph-desktop-nav {
        display: none !important;
    }
}

/* Mobile: 768px */
@media (max-width: 768px) {
    :root {
        --section-gap: 80px;
        --nav-height: 65px;
    }

    .ph-hero-section,
    .ph-services-section,
    .ph-story-section,
    .ph-events-section,
    .ph-cta-section {
        padding-left: 24px !important;
        padding-right: 24px !important;
    }

    /* Hero */
    .ph-hero-section {
        padding-top: 100px !important;
        padding-bottom: 80px !important;
        min-height: 90vh !important;
    }

    .hero-cta,
    .ph-hero-cta {
        flex-direction: column !important;
        align-items: center !important;
    }

    /* Event rows stack */
    .ph-event-row,
    .ph-show-row,
    .show-row {
        flex-direction: column !important;
        grid-template-columns: 1fr !important;
        row-gap: 10px !important;
        text-align: center;
    }

    .show-ticket,
    .ph-event-row .wp-block-buttons {
        text-align: center !important;
    }

    /* Stats stack */
    .ph-stats-row {
        flex-direction: column !important;
        row-gap: 25px !important;
    }

    /* Footer stacks */
    .ph-footer-main {
        flex-direction: column !important;
        row-gap: 20px !important;
        text-align: center !important;
    }

    .ph-footer-links {
        flex-wrap: wrap !important;
        justify-content: center !important;
    }

    /* Newsletter form stacks */
    .newsletter-form,
    .ph-newsletter-form {
        flex-direction: column !important;
    }

    /* Section padding reduction */
    .ph-services-section,
    .ph-story-section,
    .ph-events-section,
    .ph-cta-section {
        padding-top: 60px !important;
        padding-bottom: 60px !important;
    }

    /* Page header */
    .page-header,
    .ph-page-header {
        padding-top: 130px !important;
        padding-bottom: 50px !important;
    }
}

/* Smooth scroll */
html {
    scroll-behavior: smooth;
}


/* Hitesh Development */
header {
    /* position: sticky; */
    /* top: 0; */
    /* z-index: 100; */
    /* background-color: rgba(10, 10, 10, 0.92); */
    /* backdrop-filter: blur(20px); */
    border-bottom: 1px solid rgba(200, 168, 78, 0.08);
    padding-top: 18px;
    padding-bottom: 18px;
    padding-left: clamp(20px, 4vw, 60px);
    padding-right: clamp(20px, 4vw, 60px);
}
.wp-block-navigation:not(.has-background) .wp-block-navigation__responsive-container.is-menu-open {
    background-color: #0a0a0a;
}