/* CSS Variables for theming */
:root {
    --primary-color: #0f172a; /* Deep navy/slate */
    --accent-color: #ccff00; /* Optic yellow / Tennis ball color */
    --accent-hover: #b3e600;
    --text-main: #f8fafc;
    --text-light: #cbd5e1;
    --bg-card: rgba(30, 41, 59, 0.6);
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-main);
    background-color: var(--primary-color);
}

/* Dynamic SVG Background */
#rope-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 0;
    pointer-events: none;
}

/* =========================================
   INTRO OVERLAY (WEBGL)
   ========================================= */

body.no-scroll {
    overflow: hidden;
    height: 100vh;
}

#intro-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: #020617; /* Very dark background */
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    transition: opacity 1s cubic-bezier(0.7, 0, 0.3, 1), visibility 1s;
}

#intro-overlay.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

#plasma-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.intro-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    background: rgba(2, 6, 23, 0.6); /* Dark navy translucent bubble */
    padding: 40px 60px;
    border-radius: 24px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}

.intro-name {
    font-size: 6rem;
    font-weight: 800;
    letter-spacing: -2px;
    margin-bottom: 10px;
    opacity: 0;
    transform: translateY(30px) scale(0.95);
    animation: popIn 1.2s cubic-bezier(0.2, 1, 0.3, 1) forwards 0.5s;
    text-shadow: 0 10px 30px rgba(0,0,0,0.8);
    color: white;
}

.intro-tagline {
    font-size: 1.5rem;
    color: #e2e8f0;
    margin-bottom: 40px;
    opacity: 0;
    transform: translateY(20px);
    animation: popIn 1s cubic-bezier(0.2, 1, 0.3, 1) forwards 1s;
    text-shadow: 0 4px 10px rgba(0,0,0,0.5);
}

.intro-content .cta-button {
    opacity: 0;
    transform: translateY(20px);
    animation: popIn 1s cubic-bezier(0.2, 1, 0.3, 1) forwards 1.4s;
    pointer-events: auto;
    cursor: pointer;
    background-color: transparent;
    border: 2px solid var(--accent-color);
    color: var(--accent-color);
}
.intro-content .cta-button:hover {
    background-color: var(--accent-color);
    color: var(--primary-color);
}

@keyframes popIn {
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* =========================================
   MAIN CONTENT 
   ========================================= */

#main-content {
    position: relative;
    z-index: 10;
}

/* Container */
.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

.text-center { text-align: center; }

h1, h2, h3 {
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: white;
}
h2 { font-size: 2.5rem; }
p { margin-bottom: 1rem; }

/* =========================================
   COMPONENT STYLES 
   ========================================= */

/* Smaller CTA Button (Used below intro) */
.cta-button {
    display: inline-block;
    background-color: var(--accent-color);
    color: var(--primary-color);
    padding: 10px 24px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 800;
    font-size: 0.95rem;
    transition: all 0.2s ease;
    box-shadow: 0 4px 15px rgba(204, 255, 0, 0.15);
}
.cta-button:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(204, 255, 0, 0.3);
}

/* Sections - Removed Sticky 100vh lock */
.section {
    padding: 100px 0;
    position: relative;
    z-index: 2;
    /* Soft backgrounds to separate sections but let the rope show through */
    background-color: rgba(15, 23, 42, 0.4);
    border-bottom: 1px solid rgba(255,255,255,0.02);
}

#services { background-color: rgba(15, 23, 42, 0.5); }
#locations { background-color: rgba(15, 23, 42, 0.65); }
#booking { background-color: rgba(15, 23, 42, 0.8); }

/* About Section */
.about-text {
    font-size: 1.15rem;
    color: var(--text-light);
    max-width: 750px;
    margin: 0 auto;
    text-align: center;
    background: rgba(0, 0, 0, 0.2);
    padding: 40px;
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,0.05);
    backdrop-filter: blur(10px);
}
.about-text strong { color: var(--accent-color); }

/* Services Section */
.service-card {
    background: var(--bg-card);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255,255,255,0.05);
    backdrop-filter: blur(10px);
}
.card-header {
    background-color: rgba(0,0,0,0.3);
    padding: 30px 20px;
    text-align: center;
    border-bottom: 2px solid var(--accent-color);
}
.card-header h3 { margin-bottom: 5px; font-size: 1.8rem; }
.card-header p { margin: 0; font-size: 1rem; color: var(--text-light); }
.card-body { padding: 30px 20px; }
.pricing-list { list-style: none; margin-bottom: 25px; }
.pricing-list li {
    display: flex;
    justify-content: space-between;
    padding: 15px 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    font-size: 1.2rem;
}
.pricing-list li:last-child { border-bottom: none; }
.pricing-list li span { color: var(--text-light); }
.pricing-list li strong { color: var(--accent-color); }
.service-details {
    font-size: 1rem;
    color: var(--text-light);
    background: rgba(0,0,0,0.2);
    padding: 20px;
    border-radius: 8px;
    margin: 0;
    line-height: 1.7;
    text-align: center;
}
.service-details strong { color: white; }

/* Locations Section */
.location-badges {
    margin-top: 30px;
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}
.badge {
    background-color: rgba(0,0,0,0.4);
    border: 1px solid rgba(204,255,0,0.2);
    padding: 15px 30px;
    border-radius: 50px;
    font-weight: 600;
    color: white;
    font-size: 1.1rem;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

/* Booking Section & Embed Styling */
.booking-embed {
    margin-top: 30px;
    margin-bottom: 60px;
    background-color: white; 
    border-radius: 16px;
    padding: 10px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.6);
    border: 4px solid var(--accent-color); 
    overflow: hidden;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

/* Footer */
footer {
    text-align: center;
    padding: 40px 20px;
    background-color: #020617;
    color: #64748b;
    font-size: 0.9rem;
    position: relative;
    z-index: 5;
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 { font-size: 3.5rem; }
    h2 { font-size: 2rem; }
    .pricing-list li {
        flex-direction: column;
        text-align: left;
        gap: 5px;
    }
}
/* =========================================
   ELECTRIC CHARGED EFFECT
   ========================================= */
@keyframes electricPulse {
    0% { box-shadow: 0 0 10px rgba(204, 255, 0, 0.1), inset 0 0 5px rgba(204, 255, 0, 0.05); border-color: rgba(204, 255, 0, 0.2); }
    50% { box-shadow: 0 0 30px rgba(204, 255, 0, 0.5), inset 0 0 15px rgba(204, 255, 0, 0.15); border-color: rgba(204, 255, 0, 0.8); }
    100% { box-shadow: 0 0 10px rgba(204, 255, 0, 0.1), inset 0 0 5px rgba(204, 255, 0, 0.05); border-color: rgba(204, 255, 0, 0.2); }
}

.about-text, .service-card, .booking-embed, .location-badges .badge {
    animation: electricPulse 4s infinite ease-in-out;
}

/* Intro Charged Text Effect */
.charged-text {
    display: inline-block;
    animation: introTextPulse 3s infinite alternate ease-in-out;
}

@keyframes introTextPulse {
    0% { text-shadow: 0 0 5px rgba(204, 255, 0, 0.2); }
    100% { text-shadow: 0 0 25px rgba(204, 255, 0, 0.9), 0 0 10px rgba(255, 255, 255, 0.5); }
}

/* Top Marquee (Behind the wall) */
.top-marquee {
    position: absolute;
    top: -2vh; /* Moved up to graze the top edge */
    left: 0;
    width: 100vw;
    overflow: hidden;
    z-index: 0; /* Sits behind the plasma canvas (z-index:1) and the text bubble (z-index:2) */
    pointer-events: none;
    opacity: 0.45; /* Boosted so the glowing outline pops */
    filter: blur(2px); /* Extra blur for that projector feel */
}

.marquee-track {
    display: flex;
    width: fit-content;
    animation: marquee 30s linear infinite;
}

.marquee-track span {
    font-size: 8rem;
    font-weight: 800;
    color: transparent; /* Hollow inside */
    -webkit-text-stroke: 2px var(--accent-color); /* Glowing neon outline */
    text-shadow: 0 0 30px rgba(204, 255, 0, 0.4); /* Projected light glow */
    white-space: nowrap;
    text-transform: uppercase;
    padding-right: 50px;
    letter-spacing: -2px;
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
