/**
 * main.css - GALABAL LBK: INTO THE WILD
 * Theme: Deep Jungle Green & Luxury Gold
 */

:root {
    /* --- KLEURENPALET --- */
    --bg-dark: #020805;         /* De diepste schaduw (bijna zwart) */
    --jungle-deep: #051812;     /* Donker oerwoud groen */
    --jungle-light: #0f3d2e;    /* Accent groen */
    
    --gold: #d4af37;            /* Luxe Goud */
    --gold-dim: #8a6d1c;        /* Donkerder goud voor gradients */
    --gold-glow: rgba(212, 175, 55, 0.4);
    
    --text-main: #f0fdf4;       /* Wit met heel lichte groene tint */
    --text-muted: #9ca3af;      /* Grijs voor uitleg */

    /* --- GLASS EFFECTS --- */
    --glass-bg: rgba(5, 24, 18, 0.6);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-blur: blur(20px);
}

/* --- 1. BASIS INSTELLINGEN --- */
html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-dark);
    /* Subtiel verloop voor diepte */
    background-image: radial-gradient(circle at 50% 0%, #0a261c 0%, var(--bg-dark) 80%);
    background-attachment: fixed;
    color: var(--text-main);
    font-family: 'Inter', sans-serif;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* Titels in Sci-Fi/Industrial Font */
.font-orbitron {
    font-family: 'Orbitron', sans-serif;
}

/* --- 2. ESSENTIELE FIXES (NIEUW) --- */

/* ANTI-GLITCH: Verbergt elementen totdat GSAP ze laadt */
/* Dit is cruciaal om het flitsen van de Legacy foto's te voorkomen */
.hero-load, .reveal {
    visibility: hidden;
    opacity: 0;
}

/* Parallax Container Fix */
.parallax-wrap {
    clip-path: inset(0 0 0 0);
}

/* Preloader State - voorkomt scrollen tijdens laden */
html.is-loading body { 
    overflow: hidden; 
    height: 100vh; 
}

/* --- 3. COMPONENTS --- */

/* De Luxe "Pil" Knop (Gebruikt in Hero Section) */
.btn-luxury {
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dim) 100%);
    color: black;
    font-family: 'Orbitron', sans-serif;
    font-weight: 900;
    letter-spacing: 0.3em;
    padding: 1.25rem 3.5rem;
    border-radius: 9999px; /* Pill shape */
    transition: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.2);
    text-decoration: none;
    display: inline-block;
}

.btn-luxury:hover {
    transform: scale(1.05) translateY(-5px);
    box-shadow: 0 20px 50px rgba(212, 175, 55, 0.4);
    letter-spacing: 0.4em;
    color: black;
}

/* De Gouden/Groene Actie Knop (Standaard) */
.cta-btn {
    background: linear-gradient(135deg, var(--jungle-light) 0%, #000 100%);
    border: 1px solid var(--gold);
    color: var(--gold);
    border-radius: 4px;
    cursor: pointer;
    text-decoration: none;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 2px;
    transition: all 0.3s ease;
    display: inline-block;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.cta-btn:hover {
    background: var(--gold);
    color: #000;
    box-shadow: 0 0 30px var(--gold-glow);
    transform: translateY(-2px);
    border-color: var(--gold);
}

/* Navigatie variant (kleiner/ronder) */
.cta-btn-nav {
    padding: 0.5rem 1.5rem;
    border-radius: 99px;
    font-size: 0.75rem;
    background: transparent;
}
.cta-btn-nav:hover {
    background: var(--gold);
}

/* Glazen Panelen (Cards) */
.glass-panel {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border-radius: 1rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.glass-panel:hover {
    border-color: var(--gold-dim);
    transform: translateY(-5px);
}

/* Input Velden (Ticketshop & Login) */
.jungle-input {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--glass-border);
    color: white;
    padding: 1rem;
    width: 100%;
    outline: none;
    border-radius: 0.5rem;
    font-family: 'Orbitron', sans-serif;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.jungle-input:focus {
    border-color: var(--gold);
    background: rgba(0, 0, 0, 0.5);
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.1);
}

/* --- 4. NAVIGATIE (HEADER) --- */
.navbar {
    background: transparent;
    border-bottom: 1px solid transparent;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Deze class wordt door JS toegevoegd bij scrollen */
.navbar.scrolled {
    background: rgba(2, 8, 5, 0.95);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--gold-dim);
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.8);
    height: 80px;
}

.nav-link {
    position: relative;
    text-decoration: none;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: -4px;
    left: 0;
    background-color: var(--gold);
    transition: width 0.3s ease;
}

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

/* --- 5. ANIMATIES & DIVERSEN --- */

/* Voor de Mobiele Menu Items */
.mobile-anim-item {
    opacity: 0;
    transform: translateY(50px);
}

/* Ken Burns Effect (Homepage Foto) */
@keyframes slowZoom {
    0% { transform: scale(1); }
    100% { transform: scale(1.15); }
}

.animate-slow-zoom {
    animation: slowZoom 20s infinite alternate ease-in-out;
}

/* Custom Scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-dark); }
::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 10px; }

/* Ticket Scanner Resultaten */
#scan-result.bg-green-500\/20 {
    background-color: rgba(34, 197, 94, 0.2);
    border-color: rgba(34, 197, 94, 0.5);
    box-shadow: 0 0 30px rgba(34, 197, 94, 0.2);
}
#scan-result.bg-red-500\/20 {
    background-color: rgba(239, 68, 68, 0.2);
    border-color: rgba(239, 68, 68, 0.5);
    box-shadow: 0 0 30px rgba(239, 68, 68, 0.2);
}
#scan-result.bg-yellow-500\/20 {
    background-color: rgba(234, 179, 8, 0.2);
    border-color: rgba(234, 179, 8, 0.5);
    box-shadow: 0 0 30px rgba(234, 179, 8, 0.2);
}

/* Ticket Progress Dots */
.progress-step {
    width: 40px; height: 40px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1);
    font-family: 'Orbitron'; font-weight: bold; color: #555;
    transition: all 0.3s;
}
.progress-step.active {
    background: var(--gold); color: #000;
    box-shadow: 0 0 20px var(--gold-glow);
    border-color: var(--gold);
}

/* Wachtruimte Loader */
.loader-line {
    width: 100%; height: 2px; background: rgba(212, 175, 55, 0.1);
    position: relative; overflow: hidden; margin: 2rem 0;
}
.loader-line::after {
    content: ''; position: absolute; left: -50%; height: 100%; width: 50%;
    background: var(--gold); animation: slide 2s infinite ease-in-out;
}
@keyframes slide {
    0% { left: -50%; } 100% { left: 100%; }
}

/* Footer Gradient Line */
.footer-gradient {
    background: radial-gradient(circle, var(--gold) 0%, transparent 100%);
    opacity: 0.3;
}