/* ==========================================================================
   1. DESIGN TOKENS & VARIABLES
   ========================================================================== */
:root {
    --bg-pure-black: #050505;
    --bg-dark-grey: #121212;
    --bg-card: #1a1a1a;
    --primary-red: #e62222;
    --dark-red: #8a0f0f;
    --text-light: #f5f5f5;
    --text-muted: #aaaaaa;
    --font-heading: 'Russo One', sans-serif;
    --font-accent: 'Permanent Marker', cursive;
    --font-body: 'Ubuntu', sans-serif;
    --glow-effect: 0 0 15px rgba(230, 34, 34, 0.6);
}

/* ==========================================================================
   2. RESET & BASE STYLES
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-pure-black);
    color: var(--text-light);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

/* ==========================================================================
   3. NAVIGATION / HEADER (WITH GOTHIC FORGED TEXT ENGINE)
   ========================================================================== */
@import url('https://fonts.googleapis.com/css2?family=UnifrakturMaguntia&display=swap');

header {
    background: linear-gradient(to bottom, rgba(5, 5, 5, 0.95) 60%, rgba(5, 5, 5, 0));
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    padding: 20px 0;
}

.nav-container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Forces heavy chiselled gothic look and eliminates standard serif overrides */
.logo-text {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--text-light);
}

/* "LIVE!" - Custom Fire Injection Accent */
.logo-text.gothic-branding span {
    font-size: 2.1rem !important;
    font-weight: 700 !important;
    color: var(--primary-red);
    text-transform: uppercase !important;
    margin-left: 6px;
    
    /* Heavy crimson ambient bloom */
    text-shadow: 
        1px 1px 0px #2e0303,
        -1px -1px 0px #ff5252,
        2px 2px 2px rgba(0, 0, 0, 0.9),
        0px 0px 15px rgba(230, 34, 34, 0.8);
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 25px;
}

nav ul li a {
    color: var(--text-muted);
    text-decoration: none;
    font-family: var(--font-heading);
    font-size: 0.9rem;
    text-transform: uppercase;
    transition: color 0.3s ease;
}

nav ul li a:hover, nav ul li a.active {
    color: var(--primary-red);
    text-shadow: var(--glow-effect);
}

/* ==========================================================================
   4. HERO SECTION & DEPTH BLENDER (SEPARATED ASSETS)
   ========================================================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 140px 0 60px 0; 
    
    /* Dynamic background injection using your approved crowd/smoke imagery */
    background-image: url('background.png');
    background-size: cover;
    background-position: center bottom;
    background-repeat: no-repeat;
    background-attachment: fixed; /* Fixed alignment builds a killer parallax effect on scroll */
}

/* Dark atmospheric vignette to seamlessly dissolve background into your pure black theme */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(5, 5, 5, 0.1) 20%, var(--bg-pure-black) 95%);
    pointer-events: none;
    z-index: 3;
}

.hero-content {
    position: relative;
    z-index: 4; /* Keeps branding floating safely over background layouts and overlays */
    width: 100%;
    max-width: 800px;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Snapped container forces layout boundaries to match your clean, hard-edged logo png */
.logo-shield-container {
    position: relative;
    width: 100%;
    max-width: 440px; 
    margin-bottom: 35px;
    line-height: 0; 
    
    /* Backstage lighting simulation engine */
    animation: stageLightingPulse 4s ease-in-out infinite alternate;
}

.hero-shield {
    width: 100%;
    height: auto;
    display: block;
}

/* Simulates shifting back-staged rock lighting casting forward shadows */
@keyframes stageLightingPulse {
    0% {
        filter: drop-shadow(0px 12px 20px rgba(0, 0, 0, 0.95)) drop-shadow(0 0 15px rgba(230, 34, 34, 0.2));
        transform: translateY(0);
    }
    100% {
        filter: drop-shadow(0px 16px 30px rgba(0, 0, 0, 0.95)) drop-shadow(0 0 35px rgba(230, 34, 34, 0.55));
        transform: translateY(-5px); /* Subtle hovering depth animation */
    }
}

/* ==========================================================================
   5. BUTTONS / CALL TO ACTION
   ========================================================================== */
/* ==========================================================================
   5. TEXTURED METALLIC ROCK BUTTONS
   ========================================================================== */
.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
    z-index: 10; /* Keeps buttons cleanly clear of any background mask overlaps */
}

.btn {
    display: inline-block;
    padding: 16px 40px;
    font-family: var(--font-heading);
    text-decoration: none;
    text-transform: uppercase;
    font-size: 1rem;
    letter-spacing: 1px;
    position: relative;
    cursor: pointer;
    transition: all 0.3s ease;
    
    /* Creates the thick, chiseled industrial plate trim from the mock image */
    border: 4px solid #3a2e2f;
    outline: 2px solid #1a1213;
    box-shadow: inset 0 0 10px rgba(0,0,0,0.8), 0 4px 15px rgba(0,0,0,0.6);
}

/* KILLER BUTTON 1: "BOOK US" - Molten Fire Lava Aesthetic */
.btn-primary {
    background: linear-gradient(135deg, #5e0b0b 0%, #b81414 45%, #e62222 55%, #8a0f0f 100%);
    color: var(--text-light);
    text-shadow: 1px 2px 4px rgba(0,0,0,0.8);
    box-shadow: inset 0 0 15px rgba(0,0,0,0.6), 0 0 20px rgba(230, 34, 34, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #8a0f0f 0%, #e62222 45%, #ff4d4d 55%, #b81414 100%);
    box-shadow: inset 0 0 10px rgba(0,0,0,0.4), 0 0 30px rgba(230, 34, 34, 0.7);
    transform: translateY(-2px);
}

/* KILLER BUTTON 2: "LEARN MORE" - Dark Beveled Iron Plate Aesthetic */
.btn-secondary {
    background: linear-gradient(135deg, #261e1f 0%, #473a3b 50%, #261e1f 100%);
    color: #d1c5c6;
    border-color: #544546;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.9);
}

.btn-secondary:hover {
    background: linear-gradient(135deg, #382d2e 0%, #5e4e4f 50%, #382d2e 100%);
    color: var(--text-light);
    border-color: var(--primary-red);
    box-shadow: inset 0 0 10px rgba(0,0,0,0.4), 0 0 20px rgba(230, 34, 34, 0.4);
    transform: translateY(-2px);
}

/* Active pressing state for both plate buttons */
.btn:active {
    transform: translateY(1px);
    box-shadow: inset 0 0 20px rgba(0,0,0,0.9);
}

/* ==========================================================================
   6. SERVICES SECTION
   ========================================================================== */
.services-section {
    background-color: var(--bg-dark-grey);
    position: relative;
    z-index: 5; /* Ensures the information cards sit distinctly over background layers */
}

/* Sharp angled separation barrier between grid blocks */
.services-section::before {
    content: '';
    position: absolute;
    top: -30px;
    left: 0;
    width: 100%;
    height: 32px;
    background: var(--bg-dark-grey);
    clip-path: polygon(0 100%, 100% 0, 100% 100%);
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 60px;
    position: relative;
    text-transform: uppercase;
    font-family: var(--font-heading);
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background-color: var(--primary-red);
    margin: 15px auto 0;
    box-shadow: var(--glow-effect);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: var(--bg-card);
    padding: 40px 30px;
    border-radius: 4px;
    border: 1px solid #222;
    transition: transform 0.3s ease, border-color 0.3s ease;
    text-align: center;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-red);
}

.service-card.highlighted {
    border: 2px solid var(--primary-red);
    box-shadow: var(--glow-effect);
}

.card-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.service-card h3 {
    margin-bottom: 15px;
    font-size: 1.3rem;
    text-transform: uppercase;
}

.service-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* ==========================================================================
   7. CONTACT SECTION & INPUTS
   ========================================================================== */
.contact-section {
    background: linear-gradient(180deg, var(--bg-dark-grey) 0%, var(--bg-pure-black) 100%);
    position: relative;
    z-index: 5;
}

.contact-box {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.contact-box p {
    color: var(--text-muted);
    margin-bottom: 40px;
}

.rock-form .form-group {
    margin-bottom: 20px;
}

.rock-form input, .rock-form textarea {
    width: 100%;
    padding: 15px;
    background-color: #080102;
    border: 1px solid #3a1517;
    color: var(--text-light);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.rock-form input:focus, .rock-form textarea:focus {
    outline: none;
    border-color: var(--primary-red);
    box-shadow: 0 0 8px rgba(230, 34, 34, 0.4);
}

.btn-block {
    width: 100%;
}

/* ==========================================================================
   8. FOOTER
   ========================================================================== */
footer {
    background-color: #050001;
    padding: 40px 0;
    border-top: 1px solid #200507;
    font-size: 0.85rem;
    text-align: center;
    position: relative;
    z-index: 5;
}

.footer-content p {
    color: var(--text-muted);
    margin-bottom: 5px;
}

.footer-subtext {
    font-family: var(--font-accent);
    color: var(--primary-red);
    font-size: 1.1rem;
}

/* ==========================================================================
   9. RESPONSIVE BREAKPOINTS
   ========================================================================== */
@media(max-width: 768px) {
    .nav-container { 
        flex-direction: column; 
    }
    nav ul { 
        margin-top: 20px; 
    }
    nav ul li { 
        margin: 0 10px; 
    }
    .cta-buttons {
        flex-direction: column;
        width: 100%;
        gap: 15px;
    }
    .btn {
        width: 100%;
    }
    .logo-shield-container { 
        max-width: 100%; 
    }
    .hero {
        background-attachment: scroll; /* Disables fixed attachment on mobile processors to maximize rendering speed */
    }
}

/* Card layout for the events section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    padding: 20px 0;
}

/* Matches the dark theme tokens (.service-card) already used on the page */
#events .service-card {
    background-color: var(--bg-card);
    padding: 30px;
    border-radius: 4px;
    border: 1px solid #222;
    border-top: 4px solid var(--primary-red); /* Ties into your crimson theme */
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

#events .service-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-red);
    box-shadow: var(--glow-effect);
}

#events .service-card h3 {
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 1.3rem;
    text-transform: uppercase;
    color: var(--text-light);
    font-family: var(--font-heading);
}

.event-time {
    font-size: 0.9em;
    color: var(--text-muted);
    margin: 10px 0;
    line-height: 1.4;
}

.event-desc {
    font-size: 0.95rem;
    color: var(--text-muted);
    white-space: pre-wrap; /* Keeps your line breaks from the textarea */
    word-wrap: break-word;
}

/* Custom styling for datetime-local widgets to match dark rock theme */
.rock-form input[type="datetime-local"] {
    width: 100%;
    padding: 15px;
    background-color: #080102;
    border: 1px solid #3a1517;
    color: var(--text-light);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: border-color 0.3s ease;
    color-scheme: dark; /* Forces the browser's native calendar popup to render in dark mode */
}

.rock-form input[type="datetime-local"]:focus {
    outline: none;
    border-color: var(--primary-red);
    box-shadow: 0 0 8px rgba(230, 34, 34, 0.4);
}