/* --- VARIABLES --- */
:root {
    --primary-orange: #e6801d; 
    /* Color Palette - Charcoal/Black (Void Theme) */
    --dark-bg: #0f0f0f;
    --card-bg: #1a1a1a;
    --border-color: #333;
    --text-light: #f0f0f0;
    --text-gray: #a0a0a0;
    --overlay-dark: rgba(0, 0, 0, 0.9);
    --overlay-darker: rgba(0, 0, 0, 0.95);
    --hero-overlay-start: rgba(0,0,0,0.6);
    --hero-overlay-end: rgba(0,0,0,0.8);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--dark-bg);
    color: var(--text-light);
    line-height: 1.6;
}

h1, h2, h3 {
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* --- NAVIGATION BAR --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(15, 15, 15, 0.9);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 15px 20px;
    min-height: 100px; /* Increased height to fit larger logo */
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: center;
    align-items: center;
}

.nav-brand {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1003;
    display: none; /* Hide by default on desktop */
}

.nav-brand img {
    height: 85px; /* Significantly increased size */
    width: auto;
    display: block;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 30px;
    align-items: center; /* Ensure alignment */
}

.nav-links a {
    color: var(--text-light);
    text-decoration: none;
    font-family: 'Oswald', sans-serif;
    font-size: 1.1rem;
    text-transform: uppercase;
    transition: color 0.3s;
}

.nav-links a:hover, .nav-links a.active {
    color: var(--primary-orange);
}

    /* Mobile Menu Toggle (Visible on mobile) */
    .menu-toggle {
        display: none;
        flex-direction: column;
        gap: 6px;
        cursor: pointer;
        padding: 10px;
        background: transparent;
        border: none;
        align-items: center;
        justify-content: center;
    }

    .menu-label {
        display: none; /* Hidden by default, shown on mobile */
        font-family: 'Oswald', sans-serif;
        font-size: 0.9rem;
        color: #f4ae54; /* Kept original logo color for menu label */
        margin-right: 10px;
        font-weight: bold;
        letter-spacing: 1px;
        text-transform: uppercase;
    }

    .menu-toggle span {
        width: 30px;
        height: 3px;
        background-color: #f4ae54; /* Kept original logo color for hamburger icon */
        transition: all 0.3s;
        display: block;
    }

    /* Adjust position on mobile */
    @media (max-width: 768px) {
        .nav-brand {
            display: block; /* Show logo on mobile */
        }

        .menu-toggle {
            display: flex;
            position: absolute; /* Keep absolute to position relative to navbar */
            top: 50%;
            right: 20px;
            transform: translateY(-50%);
            z-index: 1002; /* Higher than nav-links */
        }

        .menu-label {
             display: block;
             position: absolute;
             top: 50%;
             right: 60px; /* Position to the left of the toggle */
             transform: translateY(-50%);
             z-index: 1002;
        }
        
        .navbar {
            justify-content: center; /* Center logo/content, menu is absolute */
            padding: 15px 20px;
            min-height: 60px; /* Ensure height */
            position: fixed;
        }
    }

/* Mobile Menu Open State */
.menu-toggle.open span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
}

.menu-toggle.open span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.open span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -6px);
}

/* --- SHOP SECTION (Used in shop.html mostly, but consistent classes) --- */
.shop-section {
    padding: 100px 20px;
    text-align: center;
    background-color: var(--dark-bg);
    min-height: 60vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.shop-container {
    max-width: 600px;
    margin: 0 auto;
}

.shop-section h2 {
    font-size: 3rem;
    margin-bottom: 30px;
    color: var(--primary-orange);
}

.under-construction {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    padding: 60px 40px;
    border-radius: 8px;
    margin-top: 20px;
}

.under-construction h3 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--text-light);
}

.under-construction p {
    font-size: 1.2rem;
    color: var(--text-gray);
    line-height: 1.8;
}

/* --- PRODUCT GRID (Missing Shop Styles Restored) --- */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    width: 100%;
    padding: 20px 0;
}

.product-card {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s, border-color 0.3s;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.product-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-orange);
}

.product-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
    background-color: #000;
}

.product-info {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    text-align: left;
}

.product-name {
    font-size: 1.4rem;
    margin-bottom: 10px;
    color: #fff;
    font-family: 'Oswald', sans-serif;
}

.product-desc {
    font-size: 0.95rem;
    color: var(--text-gray);
    margin-bottom: 15px;
    flex-grow: 1;
}

.product-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding-top: 15px;
    border-top: 1px solid #333;
}

.product-price {
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--text-light);
}

.buy-btn {
    background-color: var(--primary-orange);
    color: white;
    text-decoration: none;
    padding: 8px 20px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: background-color 0.2s;
}

.buy-btn:hover {
    background-color: #d67d15;
}

/* --- LOADING / EMPTY STATES (Missing Shop Styles Restored) --- */
#loading-state, #empty-state, #error-state {
    text-align: center;
    padding: 40px;
    background-color: var(--card-bg);
    border-radius: 8px;
    border: 1px solid var(--border-color);
    max-width: 600px;
    margin: 0 auto;
}

.hidden {
    display: none !important;
}

/* --- HERO SECTION --- */
.hero {
    position: relative;
    height: 100svh; /* Use small viewport height to prevent mobile resize jumps */
    min-height: 700px; 
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    
    /* Matches the crowd photo */
    background-image: linear-gradient(var(--hero-overlay-start), var(--hero-overlay-end)), url('hero-crowd.jpg');
    
    background-size: cover;
    background-position: center;
    padding: 20px;
    padding-top: 80px; /* Added to clear navbar */
}

.logo-container img {
    width: 250px;
    height: 250px;
    object-fit: cover;
    border-radius: 50%;
    margin-bottom: 2rem;
    filter: drop-shadow(0 4px 6px rgba(0,0,0,0.5));
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 0.5rem;
    line-height: 1;
}

/* Tagline Style */
.tagline {
    font-size: 1.5rem;
    font-style: normal;
    color: #e0e0e0;
    margin-bottom: 1.5rem;
    font-weight: 300;
    max-width: 800px;
}

.hero .dates {
    font-size: 1.5rem;
    color: var(--primary-orange);
    font-weight: 600;
    margin-bottom: 2rem;
}

.cta-button {
    display: inline-block;
    padding: 15px 40px;
    background-color: var(--primary-orange);
    color: white;
    text-decoration: none;
    font-weight: 700;
    font-family: 'Oswald', sans-serif;
    font-size: 1.2rem;
    border-radius: 4px;
    transition: transform 0.2s, background-color 0.2s;
}

.cta-button:hover {
    background-color: #d67d15;
    transform: translateY(-2px);
}

/* --- ABOUT SECTION --- */
.about-section {
    padding: 100px 20px;
    background-image: url('about-bg.jpg'); /* Removed section-wide overlay */
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    text-align: center;
}

.about-container {
    max-width: 900px;
    margin: 0 auto;
}

.about-content {
    /* New Text Container Style */
    background: rgba(0, 0, 0, 0.8);
    padding: 40px;
    border-radius: 12px;
    backdrop-filter: blur(4px);
}

.about-content h2 {
    font-size: 3rem;
    margin-bottom: 40px;
    color: var(--primary-orange);
    /* Removed box style from header as content now has a box */
}

.about-content p {
    margin-bottom: 25px;
    color: #f0f0f0;
    font-size: 1.2rem;
    line-height: 1.8;
}

/* --- SCHEDULE SECTION --- */
.schedule-section {
    padding: 80px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 60px;
    color: var(--primary-orange);
}

.schedule-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.schedule-card {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    padding: 40px 30px;
    border-radius: 8px;
    text-align: center;
    transition: transform 0.3s;
    cursor: pointer; /* Indicate clickable */
    position: relative;
    overflow: hidden;
}

.schedule-card.active {
    border-color: var(--primary-orange);
    background-color: rgba(255, 255, 255, 0.05);
}

.schedule-details {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-out, opacity 0.5s ease-out;
    opacity: 0;
    margin-top: 0;
    text-align: left;
}

.schedule-card.active .schedule-details {
    max-height: 1000px; /* Arbitrary large height */
    opacity: 1;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.schedule-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-size: 0.95rem;
    color: #e0e0e0;
}

.schedule-item span:first-child {
    font-weight: bold;
    color: var(--primary-orange);
}

.day-header {
    font-size: 1.8rem;
    margin-bottom: 10px;
    color: #fff;
}

.date-sub {
    font-size: 1.1rem;
    color: var(--primary-orange);
    margin-bottom: 25px;
    display: block;
    font-weight: 600;
}

.venue {
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 5px;
}

.time {
    color: var(--text-gray);
    font-size: 1.1rem;
}

/* --- VISUAL BREAK --- */
/* Removed as content is now inside the section */

/* --- MARBLE HUNT SECTION --- */
.marble-hunt-section {
    padding: 100px 20px;
    background-image: url('marble-hunt-bg.jpg'); /* Removed section-wide overlay */
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    text-align: center;
}

.marble-hunt-container {
    max-width: 900px;
    margin: 0 auto;
}

.marble-hunt-content {
    /* New Text Container Style */
    background: rgba(0, 0, 0, 0.8);
    padding: 40px;
    border-radius: 12px;
    backdrop-filter: blur(4px);
}

.marble-hunt-content h2 {
    font-size: 3rem;
    margin-bottom: 40px;
    color: var(--primary-orange);
    /* Removed box style from header as content now has a box */
}

.marble-hunt-content p {
    margin-bottom: 25px;
    color: #f0f0f0;
    font-size: 1.2rem;
    line-height: 1.8;
}

/* --- SECTION BREAK (To separate parallax images) --- */
/* Removed per user request */

/* --- LOCATION SECTION --- */
.location-section {
    padding: 80px 20px;
    text-align: center;
    background-color: var(--dark-bg);
}

.address-box {
    max-width: 600px;
    margin: 0 auto;
    padding: 30px;
    border-top: 2px solid var(--primary-orange);
}

.address-text {
    font-size: 1.5rem;
    margin-bottom: 20px;
}

/* .map-link removed */

/* --- MAP CONTAINER --- */
.map-container {
    position: relative;
    overflow: hidden;
    /* Fixed short height, full width */
    height: 250px; 
    width: 100%;
    max-width: 100%; 
    margin: 40px auto 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.map-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
    filter: grayscale(100%) invert(92%) contrast(83%);
}

/* --- FOOTER --- */
footer {
    background-color: black;
    padding: 40px 20px;
    text-align: center;
    color: #555;
    font-size: 0.9rem;
}

/* Outline Button Style */
.outline-btn {
    display: inline-block;
    margin-top: 20px;
    padding: 10px 25px;
    border: 1px solid var(--primary-orange);
    color: var(--primary-orange);
    text-decoration: none;
    font-weight: 600;
    border-radius: 4px;
    transition: background-color 0.3s, color 0.3s;
}

.outline-btn:hover {
    background-color: var(--primary-orange);
    color: #fff;
}

/* --- RESPONSIVE --- */
@media (max-width: 768px) {
    .hero h1 { font-size: 2.5rem; }
    .section-title { font-size: 2rem; }
    .about-container { grid-template-columns: 1fr; }
    
    .navbar { 
        justify-content: space-between; /* Spread logo/menu */
        padding: 15px 20px;
    }

    .menu-toggle {
        display: flex; /* Show burger menu */
    }

    .nav-links {
        position: absolute;
        top: 60px;
        left: 0;
        width: 100%;
        background: rgba(15, 15, 15, 0.98);
        flex-direction: column;
        padding: 30px 0;
        gap: 25px;
        transform: translateY(-150%); /* Hidden by default */
        transition: transform 0.3s ease-in-out;
        border-bottom: 1px solid var(--border-color);
    }

    .nav-links.active {
        transform: translateY(0); /* Slide down */
    }
    
    /* Resize logo on mobile to fit better */
    .logo-container img { width: 180px; height: 180px; margin-bottom: 1.5rem; }
}
