/* ==========================================================================
   ALGRAPHY PUBLIC THEME - HIGH CONTRAST RED & BLACK
   ========================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;700;800&display=swap');

:root {
    --bg-body: #000000;       /* Pure Black */
    --bg-surface: #121212;    /* Readable Dark Gray for Cards */
    --bg-input: #1a1a1a;
    
    --primary: #dc2726;       /* AlGraphy Red */
    --primary-hover: #b91c1c;
    
    --text-main: #ffffff;
    --text-secondary: #e5e5e5; /* Very Light Gray (High Contrast) */
    --text-muted: #a3a3a3;     /* Readable Silver (Not Dark Gray) */
    
    --border: rgba(255, 255, 255, 0.15); /* Crisper Borders */
    --radius: 16px;
}

body {
    background-color: var(--bg-body);
    color: var(--text-main);
    font-family: 'Outfit', sans-serif;
    overflow-x: hidden;
}

/* --- OVERRIDE BOOTSTRAP DEFAULTS (KILL THE BLUE) --- */
a { color: var(--primary); text-decoration: none; transition: 0.3s; }
a:hover { color: #fff; }

.text-muted { color: var(--text-muted) !important; }
.text-white-50 { color: rgba(255, 255, 255, 0.7) !important; }

/* Form Inputs - Remove Blue Glow */
.form-control, .form-select {
    background-color: var(--bg-input) !important;
    border: 1px solid var(--border) !important;
    color: #fff !important;
    border-radius: 10px;
    padding: 12px;
}
.form-control:focus, .form-select:focus {
    border-color: var(--primary) !important;
    box-shadow: 0 0 0 3px rgba(220, 39, 38, 0.25) !important; /* Red Glow */
}
.form-control::placeholder { color: #666; }

/* 1. HERO SECTION */
.event-hero {
    height: 65vh;
    min-height: 500px;
    position: relative;
    background-size: cover;
    background-position: center;
}
.hero-overlay {
    position: absolute; inset: 0;
    /* Stronger Gradient for text readability */
    background: linear-gradient(to bottom, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.8) 70%, #000000 100%);
}
.hero-content {
    position: absolute; bottom: 0; left: 0; width: 100%;
    padding-bottom: 60px;
    z-index: 10;
}

/* 2. PREMIUM BOOKING CARD */
.booking-card {
    background: #111111; /* Solid Dark Background (Better Contrast) */
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius);
    position: sticky; top: 30px;
    z-index: 100;
    box-shadow: 0 20px 40px rgba(0,0,0,0.6);
}
.booking-header {
    border-bottom: 1px solid var(--border);
    padding-bottom: 15px;
    margin-bottom: 20px;
}

/* 3. TICKET SELECTOR */
.ticket-row {
    background: rgba(255,255,255,0.03); /* Slight tint to separate rows */
    border: 1px solid transparent;
    border-radius: 12px;
    padding: 15px;
    margin-bottom: 10px;
    display: flex; justify-content: space-between; align-items: center;
    transition: 0.2s;
}
.ticket-row:hover {
    border-color: rgba(255,255,255,0.2);
    background: rgba(255,255,255,0.05);
}

.qty-btn {
    width: 34px; height: 34px;
    border-radius: 8px;
    background: #222;
    border: 1px solid #333;
    color: #fff;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer;
    font-size: 1.2rem;
    transition: 0.2s;
}
.qty-btn:hover { background: var(--primary); border-color: var(--primary); }
.qty-input {
    width: 40px; background: transparent; border: none;
    color: #fff; text-align: center; font-weight: bold; font-size: 1.1rem;
}

/* 4. PRIMARY BUTTON (Red Gradient) */
.btn-primary-glow {
    background: linear-gradient(135deg, #dc2726 0%, #991b1b 100%);
    color: #fff; border: none;
    width: 100%; padding: 18px;
    border-radius: 12px;
    font-weight: 700; letter-spacing: 0.5px;
    text-transform: uppercase;
    font-size: 0.95rem;
    box-shadow: 0 5px 15px rgba(220, 39, 38, 0.3);
    transition: transform 0.2s, box-shadow 0.2s;
}
.btn-primary-glow:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(220, 39, 38, 0.5);
    color: #fff;
}

/* 5. INFO BOXES */
.info-box {
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 25px;
}

/* 6. MODAL FIXES */
.modal-content {
    background-color: #141414;
    border: 1px solid #333;
    color: #fff;
}
.modal-header { border-bottom: 1px solid #333; }
.modal-footer { border-top: 1px solid #333; }
.btn-close { filter: invert(1) grayscale(100%) brightness(200%); }

/* Mobile Bar */
.mobile-checkout-bar {
    position: fixed; bottom: 0; left: 0; width: 100%;
    background: #0f0f0f;
    border-top: 1px solid #333;
    padding: 15px 20px;
    z-index: 1000;
    display: none;
}

@media (max-width: 991px) {
    .booking-card { display: none; }
    .mobile-checkout-bar { display: flex; justify-content: space-between; align-items: center; }
}