/* FFSA TICKETS - Sophisticated Dark Matte Design */
:root {
    /* FFSA Brand Colors - Dark & Sophisticated */
    --ffsa-black: #000000;
    --ffsa-dark-surface: #1a1a1a;
    --ffsa-white: #FFFFFF;
    --ffsa-muted-text: #CCCCCC;
    --ffsa-matte-gold: #C9A646;
    --ffsa-tan: #C8A882;
    --ffsa-divider: #333333;
    --ffsa-success: #2F6F4F;
    
    /* Override Bootstrap variables */
    --bs-primary: #C9A646;
    --bs-secondary: #C8A882;
    --bs-success: #2F6F4F;
    --bs-danger: #B85450;
    --bs-warning: #C9A646;
    --bs-info: #6B8E8E;
    --bs-dark: #222222;
}

/* Typography - Roboto for sophistication */
body {
    font-family: 'Roboto', Arial, sans-serif;
    font-weight: 400;
    background-color: var(--ffsa-black);
    color: var(--ffsa-white);
    line-height: 1.6;
}

/* Sophisticated Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Roboto', Arial, sans-serif;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: var(--ffsa-white);
}

/* FFSA Logo Styling */
.ffsa-logo {
    font-family: 'Roboto', Arial, sans-serif !important;
    font-weight: 900 !important;
    font-size: 1.8rem !important;
    color: var(--ffsa-matte-gold) !important;
    text-transform: uppercase !important;
    letter-spacing: 3px !important;
    text-decoration: none !important;
}

/* YWAM FF Logo Styling */
.ywam-logo {
    height: 60px;
    width: auto;
    filter: brightness(1);
    transition: all 0.3s ease;
}

.navbar-brand:hover .ywam-logo {
    filter: brightness(1.1);
    transform: scale(1.05);
}

/* Responsive Logo Sizing */
@media (max-width: 991.98px) {
    .ywam-logo {
        height: 36px;
    }
    
    .navbar-brand {
        margin-right: 1rem !important;
    }
}

@media (max-width: 576px) {
    .ywam-logo {
        height: 28px;
    }
}

.ffsa-footer-logo {
    font-family: 'Roboto', Arial, sans-serif;
    font-weight: 900;
    font-size: 1.2rem;
    color: var(--ffsa-matte-gold);
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Hero section - Sophisticated Dark Feel */
.jumbotron {
    background: var(--ffsa-dark-surface);
    border: 1px solid var(--ffsa-divider);
    color: var(--ffsa-white);
    padding: 4rem 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.06);
    margin: 2rem 0;
}

.hero-text {
    font-size: 3.5rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 2px;
    line-height: 1.1;
    color: var(--ffsa-white);
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--ffsa-matte-gold);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
}

.hero-description {
    font-size: 1.1rem;
    font-weight: 400;
    color: var(--ffsa-muted-text);
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto 2rem auto;
}

/* Feature Banner - Clean & Simple */
.feature-banner {
    background: var(--ffsa-dark-surface);
    border: 1px solid var(--ffsa-divider);
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(255, 255, 255, 0.04);
    margin: 2rem 0;
}

.feature-list {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    font-weight: 500;
    font-size: 1rem;
    color: var(--ffsa-muted-text);
}

.feature-list i {
    font-size: 1.2rem;
    color: var(--ffsa-matte-gold);
    margin-right: 0.5rem;
}

/* Event Cards - Clean Dark Style */
.event-card {
    background: var(--ffsa-dark-surface);
    border: 1px solid var(--ffsa-divider);
    border-radius: 8px;
    transition: all 0.2s ease;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(255, 255, 255, 0.04);
}

.event-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 255, 255, 0.08);
    border-color: var(--ffsa-matte-gold);
}

.card {
    background: var(--ffsa-dark-surface);
    border: 1px solid var(--ffsa-divider);
    color: var(--ffsa-white);
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(255, 255, 255, 0.04);
}

.card-title {
    color: var(--ffsa-white);
    font-weight: 700;
    letter-spacing: 0.5px;
    font-size: 1.2rem;
}

/* Clean Call-to-Action Buttons */
.btn-ffsa-primary {
    background: var(--ffsa-matte-gold);
    border: none;
    color: var(--ffsa-white);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 12px 30px;
    font-size: 1rem;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.btn-ffsa-primary:hover {
    background: #B8954A;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(201, 166, 70, 0.25);
}

.btn-ffsa-outline {
    background: transparent;
    border: 2px solid var(--ffsa-matte-gold);
    color: var(--ffsa-matte-gold);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 12px 30px;
    font-size: 1rem;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.btn-ffsa-outline:hover {
    background: var(--ffsa-matte-gold);
    color: var(--ffsa-white);
    transform: translateY(-1px);
}

/* Update Bootstrap buttons */
.btn-primary {
    background: var(--ffsa-matte-gold);
    border: none;
    color: var(--ffsa-white);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 10px 24px;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.btn-primary:hover {
    background: #B8954A;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(201, 166, 70, 0.25);
}

.btn-success {
    background: var(--ffsa-success);
    border: none;
    color: var(--ffsa-white);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-danger {
    background: #B85450;
    border: none;
    color: var(--ffsa-white);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-outline-primary {
    color: var(--ffsa-matte-gold);
    border: 2px solid var(--ffsa-matte-gold);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: transparent;
}

.btn-outline-primary:hover {
    background: var(--ffsa-matte-gold);
    color: var(--ffsa-white);
}

/* Feature Highlight - Clean & Simple */
.feature-highlight {
    padding: 16px 0;
    background: var(--ffsa-black);
    border-top: 1px solid var(--ffsa-divider);
    border-bottom: 1px solid var(--ffsa-divider);
    text-align: center;
}

.feature-highlight-content {
    font-weight: 600;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--ffsa-muted-text);
}

/* Section Headers - Clean & Readable */
.section-header {
    font-size: 2.5rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--ffsa-charcoal);
    margin-bottom: 2rem;
    text-align: center;
    position: relative;
}

.section-header::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background: var(--ffsa-matte-gold);
    border-radius: 1px;
}

.section-subtitle {
    color: var(--ffsa-matte-gold);
    font-weight: 600;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

/* Navigation - Clean Dark Style */
.navbar-dark {
    background: var(--ffsa-dark-surface) !important;
    border-bottom: 1px solid var(--ffsa-divider);
    box-shadow: 0 2px 8px rgba(255, 255, 255, 0.04);
}

/* Professional navigation spacing */
.navbar-dark .container {
    padding-left: 2rem !important;
    margin-left: 0 !important;
}

.navbar-brand {
    margin-left: 0 !important;
    padding-left: 0 !important;
    margin-right: 1.5rem !important; /* Reduced space between logo and nav items */
}

/* Compact spacing for navigation items */
.navbar-nav .nav-item {
    margin-left: 0.8rem;
}

.navbar-nav .nav-item:first-child {
    margin-left: 0;
}

.navbar-brand:hover {
    color: #B8954A !important;
    transition: all 0.2s ease;
}

.nav-link {
    font-weight: 500;
    font-size: 0.9rem; /* Smaller text */
    letter-spacing: 0.3px; /* Reduced letter spacing */
    text-transform: uppercase; /* ALL CAPS */
    color: var(--ffsa-white) !important;
    transition: all 0.2s ease;
}

.nav-link:hover {
    color: var(--ffsa-matte-gold) !important;
}

/* Footer - Clean Dark Finish */
footer {
    background: var(--ffsa-dark-surface) !important;
    border-top: 1px solid var(--ffsa-divider);
    box-shadow: 0 -2px 8px rgba(255, 255, 255, 0.04);
    color: var(--ffsa-white) !important;
}

/* Text Colors - Matte Palette */
.text-warning {
    color: var(--ffsa-matte-gold) !important;
}

.text-primary {
    color: var(--ffsa-matte-gold) !important;
}

.text-success {
    color: var(--ffsa-success) !important;
}

.text-danger {
    color: #B85450 !important;
}

/* Form Elements - Clean Dark Style */
.form-control {
    background-color: var(--ffsa-dark-surface);
    border: 1px solid var(--ffsa-divider);
    color: var(--ffsa-white);
    border-radius: 6px;
    font-weight: 400;
}

.form-control:focus {
    background-color: var(--ffsa-dark-surface);
    border-color: var(--ffsa-matte-gold);
    box-shadow: 0 0 8px rgba(201, 166, 70, 0.15);
    color: var(--ffsa-white);
}

.form-control::placeholder {
    color: var(--ffsa-muted-text);
}

/* Alert Messages - Clean Style */
.alert-success {
    background: rgba(47, 111, 79, 0.1);
    border: 1px solid var(--ffsa-success);
    color: var(--ffsa-success);
    font-weight: 500;
    border-radius: 6px;
}

.alert-danger {
    background: rgba(184, 84, 80, 0.1);
    border: 1px solid #B85450;
    color: #B85450;
    font-weight: 500;
    border-radius: 6px;
}

/* Badges - Clean Style */
.badge {
    font-weight: 600;
    letter-spacing: 0.5px;
    padding: 6px 12px;
    border-radius: 6px;
}

.badge.bg-success {
    background: var(--ffsa-success) !important;
    color: var(--ffsa-white);
}

.badge.bg-warning {
    background: var(--ffsa-matte-gold) !important;
    color: var(--ffsa-white);
}

/* Responsive Design */
@media (max-width: 768px) {
    /* Video Hero Mobile Styles */
    .video-hero-section {
        height: 100vh;
        min-height: 480px;
    }
    
    .video-hero-overlay .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 0.5rem;
    }
    
    .video-hero-overlay .hero-text {
        font-size: 2.5rem;
        letter-spacing: 2px;
        margin-bottom: 1rem;
    }
    
    .video-hero-overlay .hero-description {
        font-size: 1.1rem;
        margin-bottom: 1.5rem;
        padding: 0 1rem;
    }
    
    /* Mobile Video Hero Buttons */
    .hero-buttons .btn {
        display: block;
        width: 100%;
        margin-bottom: 1rem !important;
        margin-right: 0 !important;
        padding: 12px 25px;
        font-size: 1rem;
    }
    
    .hero-buttons .btn:last-child {
        margin-bottom: 0;
    }
    
    /* Mobile Video Feature Highlights */
    .video-feature-highlights {
        margin-top: 2rem;
    }
    
    .video-feature-highlights .feature-list {
        flex-direction: column;
        gap: 1.5rem;
        font-size: 1rem;
    }
    
    /* Adjust film grain for mobile performance */
    .film-grain-overlay {
        opacity: 0.35;
        animation: grainVibrate 0.1s ease-in-out infinite alternate;
    }
    
    
    /* Legacy responsive styles */
    .hero-text {
        font-size: 2.5rem;
        letter-spacing: 2px;
    }
    
    .section-header {
        font-size: 2.5rem;
        letter-spacing: 2px;
    }
    
    .btn-ffsa-primary, .btn-ffsa-outline {
        padding: 12px 25px;
        font-size: 1rem;
        width: 100%;
        margin-bottom: 1rem;
    }
    
    .feature-list {
        flex-direction: column;
        gap: 1rem;
        font-size: 1rem;
    }
    
    .ffsa-logo {
        font-size: 1.4rem !important;
        letter-spacing: 2px !important;
    }
}

/* Animation Classes */
.fade-in {
    animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hover Effects for Interactive Elements */
.card, .btn, .event-card {
    cursor: pointer;
}

/* Loading States */
.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
}

/* Clean Dark Background */
body {
    background: var(--ffsa-black);
}

/* ===============================================
   FULLSCREEN VIDEO HERO SECTION
   =============================================== */

/* Video Hero Container */
.video-hero-section {
    position: relative;
    height: 100vh;
    width: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Fullscreen Video Background */
.video-hero-background {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: -1;
    transform: translateX(-50%) translateY(-50%);
    background: var(--ffsa-black);
    object-fit: cover;
}

/* Film Grain Overlay Effect - Fine vibrating grain */
.film-grain-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 3;
    pointer-events: none;
    opacity: 0.5;
    background: 
        radial-gradient(circle, rgba(255,255,255,0.08) 0.5px, transparent 0.5px),
        radial-gradient(circle, rgba(0,0,0,0.15) 0.5px, transparent 0.5px),
        radial-gradient(circle, rgba(255,255,255,0.05) 0.3px, transparent 0.3px);
    background-size: 1.8px 1.8px, 2.1px 2.1px, 1.5px 1.5px;
    background-position: 0 0, 0.7px 0.7px, 1.2px 1.2px;
    animation: grainVibrate 0.08s ease-in-out infinite alternate;
    will-change: transform, opacity;
}

@keyframes grainVibrate {
    0% { 
        transform: translate(0, 0) scale(1);
        opacity: 0.5;
    }
    25% { 
        transform: translate(-0.5px, 0.5px) scale(1.02);
        opacity: 0.45;
    }
    50% { 
        transform: translate(0.3px, -0.3px) scale(0.98);
        opacity: 0.55;
    }
    75% { 
        transform: translate(-0.2px, -0.4px) scale(1.01);
        opacity: 0.48;
    }
    100% { 
        transform: translate(0.4px, 0.2px) scale(0.99);
        opacity: 0.52;
    }
}

/* Dark Dimming Layer */
.video-dim {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.2);
    z-index: 2;
    pointer-events: none;
}

/* Video Content Overlay */
.video-hero-overlay {
    position: relative;
    z-index: 4;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}


/* Centered hero logo graphic */
.hero-logo-graphic {
    max-width: 1200px;
    width: 80%;
    height: auto;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

@media (max-width: 768px) {
    .hero-logo-graphic {
        max-width: 800px;
        width: 90%;
    }
}

@media (max-width: 480px) {
    .hero-logo-graphic {
        max-width: 600px;
        width: 95%;
    }
}

/* Featured Events - Alternating Layout */
.featured-event-item {
    padding: 4rem 0;
    border-bottom: 1px solid var(--ffsa-divider);
}

.featured-event-item:last-child {
    border-bottom: none;
}

.featured-event-content {
    padding: 2rem;
}

.featured-event-subtitle {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--ffsa-matte-gold);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.featured-event-title {
    font-size: 3rem;
    font-weight: 900;
    color: var(--ffsa-white);
    line-height: 1.1;
    margin-bottom: 2rem;
    text-transform: uppercase;
}

.featured-event-meta {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--ffsa-white);
    letter-spacing: 1px;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.featured-event-description {
    font-size: 1.1rem;
    color: var(--ffsa-light-text);
    line-height: 1.8;
    margin-bottom: 3rem;
    max-width: 500px;
}

.featured-event-actions {
    display: flex;
    gap: 1rem;
}

.featured-event-image {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
}

.featured-event-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 8px;
}

.event-placeholder {
    width: 100%;
    height: 400px;
    background: var(--ffsa-dark-surface);
    border: 2px solid var(--ffsa-divider);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Responsive Design */
@media (max-width: 991px) {
    .featured-event-item {
        padding: 2rem 0;
    }
    
    .featured-event-content {
        padding: 1rem;
        text-align: center;
    }
    
    .featured-event-title {
        font-size: 2.5rem;
    }
    
    .featured-event-image {
        margin-top: 2rem;
    }
    
    .featured-event-actions {
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .featured-event-title {
        font-size: 2rem;
    }
    
    .featured-event-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .featured-event-actions .btn {
        width: 200px;
    }
}

/* Video Hero Text Styling */
.video-hero-overlay .hero-subtitle {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--ffsa-matte-gold);
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

.video-hero-overlay .hero-text {
    font-size: 4rem;
    font-weight: 900;
    color: var(--ffsa-white);
    text-shadow: 3px 3px 12px rgba(0, 0, 0, 0.8);
    text-transform: uppercase;
    letter-spacing: 3px;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.video-hero-overlay .hero-description {
    font-size: 1.3rem;
    color: var(--ffsa-white);
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
    max-width: 700px;
    margin: 0 auto 2rem auto;
    line-height: 1.6;
}

/* Video Hero Buttons */
.hero-buttons .btn {
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 15px 30px;
    font-size: 1.1rem;
    text-shadow: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

/* Video Feature Highlights */
.video-feature-highlights {
    margin-top: 4rem;
}

.video-feature-highlights .feature-list {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--ffsa-white);
}

.video-feature-highlights .feature-list span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
    color: var(--ffsa-matte-gold);
}

.video-feature-highlights .feature-list i {
    font-size: 1.2rem;
}

/* Accessibility - Reduce motion (placed at end to ensure CSS cascade) */
@media (prefers-reduced-motion: reduce) {
    .film-grain-overlay {
        animation: none !important;
        opacity: 0.2 !important;
    }
}

/* Table Styling */
.table {
    color: var(--ffsa-pure-white);
}

.table th {
    background: var(--ffsa-charcoal);
    color: var(--ffsa-electric-yellow);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-color: var(--ffsa-electric-yellow);
}

.table td {
    border-color: var(--ffsa-dark-gray);
}

/* QR Scanner Styling */
.qr-scanner-container {
    background: var(--ffsa-charcoal);
    border: 3px solid var(--ffsa-electric-yellow);
    border-radius: 20px;
    padding: 2rem;
}