/* Looped - Afrohouse Ticket Platform v2 */

@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;400;500;600;700&family=Inter:wght@300;400;500;600&family=IBM+Plex+Mono:wght@400;500&display=swap');

:root {
    --primary-black: #121212;
    --bg-black: #1A1A1A;
    --accent-start: #FF5F6D;
    --accent-end: #FFC371;
    --neon-green: #A3FF12;
    --electric-blue: #00C2FF;
    --text-primary: #FFFFFF;
    --text-secondary: #B3B3B3;
    --card-dark: #252525;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', 'Space Grotesk', sans-serif;
    background-color: var(--bg-black);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    letter-spacing: -0.02em;
}

/* Navigation */
.navbar {
    background: rgba(18, 18, 18, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1rem 0;
}

.navbar-brand {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 1.5rem;
    background: linear-gradient(135deg, var(--accent-start), var(--accent-end));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-link {
    color: var(--text-secondary) !important;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--text-primary) !important;
}

/* AFROHOUSE HERO SECTION - FESTIVAL ENERGY */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    /* Festival crowd and DJ background */
    background: 
        /* Fallback gradient */
        linear-gradient(135deg, #FF5F6D 0%, #FFC371 50%, #A3FF12 100%),
        /* DJ mixing with festival crowd imagery */
        url('https://images.unsplash.com/photo-1516450360452-9312f5e86fc7?ixlib=rb-4.0.3&auto=format&fit=crop&w=2070&q=80'),
        url('https://images.unsplash.com/photo-1571019613454-1cb2f99b2d8b?ixlib=rb-4.0.3&auto=format&fit=crop&w=2070&q=80'),
        url('https://images.unsplash.com/photo-1470229722913-7c0e2dbbafd3?ixlib=rb-4.0.3&auto=format&fit=crop&w=2070&q=80');
    background-size: 
        100% 100%,
        cover,
        cover, 
        cover;
    background-position: 
        center center,
        center center,
        center top,
        center bottom;
    background-blend-mode: overlay, normal, multiply, screen;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /* Vibrant festival lighting overlay */
    background: 
        radial-gradient(circle 40% at 30% 20%, rgba(255, 95, 109, 0.4) 0%, transparent 60%),
        radial-gradient(circle 35% at 70% 30%, rgba(255, 195, 113, 0.3) 0%, transparent 55%),
        radial-gradient(circle 30% at 20% 80%, rgba(163, 255, 18, 0.3) 0%, transparent 50%),
        radial-gradient(circle 45% at 80% 70%, rgba(0, 194, 255, 0.25) 0%, transparent 65%),
        linear-gradient(45deg, rgba(255, 95, 109, 0.1) 0%, rgba(255, 195, 113, 0.1) 50%, rgba(163, 255, 18, 0.1) 100%);
    mix-blend-mode: overlay;
    z-index: 1;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /* Text readability and depth */
    background: 
        linear-gradient(180deg, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.6) 70%, rgba(0,0,0,0.8) 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    padding: 2rem;
}

.hero-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 800;
    margin-bottom: 1.5rem;
    text-shadow: 
        3px 3px 6px rgba(0,0,0,0.9),
        0 0 30px rgba(255, 95, 109, 0.5),
        0 0 60px rgba(163, 255, 18, 0.3);
    text-transform: uppercase;
    letter-spacing: -0.02em;
    line-height: 1.1;
    color: #FFFFFF;
    background: linear-gradient(135deg, #FFFFFF 0%, #A3FF12 50%, #FFFFFF 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(2px 2px 4px rgba(0,0,0,0.8));
}

.hero-subtitle {
    font-family: 'Inter', sans-serif;
    font-size: clamp(1.2rem, 4vw, 1.6rem);
    margin-bottom: 3rem;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 
        2px 2px 4px rgba(0,0,0,0.9),
        0 0 15px rgba(0,0,0,0.7);
    font-weight: 500;
    line-height: 1.4;
    color: #FFFFFF;
}

/* Button Styles */
.btn-primary {
    background: var(--neon-green);
    border: none;
    color: var(--primary-black);
    padding: 18px 40px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(163, 255, 18, 0.4);
}

.btn-primary:hover {
    background: var(--electric-blue);
    color: var(--text-primary);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 194, 255, 0.4);
}

/* Events Section - Underground Club Vibe */
.events-section {
    padding: 80px 0;
    position: relative;
    background: 
        /* Underground club and Ibiza party imagery */
        url('https://images.unsplash.com/photo-1571019613454-1cb2f99b2d8b?ixlib=rb-4.0.3&auto=format&fit=crop&w=2070&q=80'),
        url('https://images.unsplash.com/photo-1540039155733-5bb30b53aa14?ixlib=rb-4.0.3&auto=format&fit=crop&w=2070&q=80'),
        url('https://images.unsplash.com/photo-1506157786151-b8491531f063?ixlib=rb-4.0.3&auto=format&fit=crop&w=2070&q=80');
    background-size: cover, cover, cover;
    background-position: center center, center top, center bottom;
    background-blend-mode: overlay, multiply, screen;
}

.events-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /* Complementary purple and orange lighting to match hero */
    background: 
        radial-gradient(circle 60% at 80% 20%, rgba(255, 195, 113, 0.08) 0%, transparent 60%),
        radial-gradient(circle 50% at 20% 70%, rgba(46, 43, 79, 0.15) 0%, transparent 55%),
        radial-gradient(circle 40% at 60% 40%, rgba(163, 255, 18, 0.06) 0%, transparent 45%),
        linear-gradient(45deg, rgba(255, 95, 109, 0.03) 0%, rgba(255, 195, 113, 0.03) 100%);
    mix-blend-mode: screen;
    z-index: 1;
}

.events-section .container {
    position: relative;
    z-index: 2;
}

.section-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    background: linear-gradient(135deg, var(--accent-start), var(--accent-end));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.event-card {
    background: var(--card-dark);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
    margin-bottom: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    height: 100%;
}

.event-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.3);
    border-color: rgba(255, 95, 109, 0.3);
}

.event-card .card-img-top {
    height: 280px;
    object-fit: cover;
    width: 100%;
}

.event-card .card-body {
    padding: 2rem;
}

.event-card .card-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.event-card .card-text {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.event-meta {
    margin-bottom: 1.25rem;
}

.event-meta .event-date {
    margin-bottom: 0.75rem;
}

.ticket-count {
    font-weight: 600;
    color: var(--text-primary);
    margin-top: 0.5rem;
    font-family: 'IBM Plex Mono', monospace;
}

.event-date {
    font-family: 'IBM Plex Mono', monospace;
    background: linear-gradient(135deg, var(--accent-start), var(--accent-end));
    color: var(--text-primary);
    padding: 8px 16px;
    border-radius: 15px;
    font-weight: 500;
    font-size: 0.9rem;
}

.ticket-count {
    font-family: 'IBM Plex Mono', monospace;
    color: var(--neon-green);
    font-size: 0.85rem;
    font-weight: 500;
}

.ticket-price {
    font-family: 'IBM Plex Mono', monospace;
    color: var(--neon-green);
    font-size: 1.2rem;
    font-weight: 600;
}

.mono {
    font-family: 'IBM Plex Mono', monospace;
}

/* Status Tags */
.ticket-status {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-live {
    background: var(--neon-green);
    color: var(--primary-black);
}

.status-upcoming {
    background: var(--electric-blue);
    color: var(--text-primary);
}

.status-coming {
    background: var(--electric-blue);
    color: var(--text-primary);
}

.status-sold-out {
    background: #FF4444;
    color: var(--text-primary);
}

/* Hero CTA Button Refined Design */
.btn-hero {
    padding: 12px 24px; /* Less bulky than btn-lg */
    font-size: 15px;
    border-radius: 40px;
    max-width: 180px;
    width: 100%;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    box-shadow: 
        0 4px 15px rgba(163, 255, 18, 0.3),
        0 2px 8px rgba(0, 0, 0, 0.2);
    border: none;
    text-transform: uppercase;
    position: relative;
    overflow: hidden;
}

.btn-hero:hover {
    transform: translateY(-2px);
    box-shadow: 
        0 6px 20px rgba(163, 255, 18, 0.4),
        0 4px 12px rgba(0, 0, 0, 0.3);
}

.btn-hero:active {
    transform: translateY(0);
    box-shadow: 
        0 2px 8px rgba(163, 255, 18, 0.3),
        0 1px 4px rgba(0, 0, 0, 0.2);
}

/* Icon sizing within hero buttons */
.btn-hero i {
    font-size: 14px; /* Slightly smaller icons for balance */
}

/* Responsive adjustments for hero buttons */
@media (min-width: 576px) {
    .btn-hero {
        padding: 14px 28px; /* Slightly larger on desktop */
        font-size: 16px;
        max-width: 200px;
    }
    
    .btn-hero i {
        font-size: 15px;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero {
        padding: 60px 0;
    }
    
    .events-section {
        padding: 60px 0;
    }
    
    .event-card .card-body {
        padding: 1.5rem;
    }
    
    .event-meta {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }
    
    .navbar-brand {
        font-size: 1.3rem;
    }
}

@media (max-width: 576px) {
    .hero {
        padding: 40px 0;
    }
    
    .section-title {
        font-size: 2rem;
        margin-bottom: 2rem;
    }
    
    .event-card {
        margin-bottom: 1.5rem;
    }
    
    .event-card .card-img-top {
        height: 200px;
    }
}