/* =========================================
   CSS Variables - Gold & Dark Grey Theme
   ========================================= */

:root {
    --bg-primary: #1c1c1c;
    /* Deep charcoal grey */
    --bg-secondary: #262626;
    /* Slightly lighter grey for contrast sections */
    --bg-darker: #121212;
    /* Almost black for footer & accents */
    --accent-color: #cda45e;
    /* Elegant, modern Gold */
    --accent-hover: #b58d47;
    /* Slightly darker gold for hover states */
    --text-main: #f4f4f4;
    /* Clean white/off-white text */
    --text-muted: #a0a0a0;
    /* Muted grey for secondary text */
    --font-main: 'Helvetica Neue', Arial, sans-serif;
}


/* =========================================
   Reset & Base Styles
   ========================================= */

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

body {
    font-family: var(--font-main);
    background-color: var(--bg-primary);
    color: var(--text-main);
    line-height: 1.55;
    font-weight: 300;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

ul {
    list-style: none;
}

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


/* =========================================
   Typography
   ========================================= */

h1,
h2,
h3,
h4 {
    text-transform: uppercase;
    font-weight: 600;
    line-height: 1.2;
    color: var(--text-main);
}

h2 {
    font-size: 2.25rem;
    color: var(--text-main);
    text-align: center;
    margin-bottom: 2rem;
    letter-spacing: 2px;
}


/* Gold underline on section headers */

h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: var(--accent-color);
    margin: 12px auto 0;
    border-radius: 2px;
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
    letter-spacing: 1px;
}

p {
    margin-bottom: 1rem;
}

.highlight-text {
    color: var(--accent-color);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.punchy-text {
    font-size: 1.15rem;
    color: var(--text-muted);
    font-weight: 400;
    margin-bottom: 1.5rem;
    letter-spacing: 1px;
}


/* =========================================
   Navigation & Top Banner Hack
   ========================================= */

header {
    background-color: var(--bg-primary);
    /* --- SCROLLING GRID EFFECT --- */
    background-image: linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 25px 25px;
    animation: scrollGrid 5s linear infinite;
    /* ----------------------------- */
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    border-bottom: 1px solid #2e2e2e;
}


/* Navbar Social Icons */

.nav-socials {
    display: flex;
    gap: 1rem;
    align-items: center;
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    padding-left: 1.5rem;
    margin-left: -0.5rem;
}

.nav-socials a {
    display: flex;
    align-items: center;
}


/* Promo Banner */

header::before {
    content: "";
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--accent-color);
    color: #ffffff;
    height: 35px;
    font-size: 0.8rem;
    font-weight: 1200rem;
    /* Fixed typo from user original code */
    font-weight: bold;
    letter-spacing: 2px;
    width: 100%;
}

.nav-container {
    max-width: 98%;
    margin: 0 auto;
    padding: 0.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 70px;
}


/* --- THE SOLID CUT-OUT LOGO BASE --- */

.logo-link {
    position: relative;
    display: flex;
    align-items: center;
    width: 180px;
    height: 50px;
}

.logo-link::before {
    content: '';
    position: absolute;
    top: -2px;
    left: 2px;
    height: 185px;
    width: 185px;
    background-color: var(--bg-primary);
    z-index: 1006;
    clip-path: polygon(25% 2%, 75% 0%, 98% 25%, 100% 75%, 75% 98%, 25% 100%, 0% 75%, 2% 25%);
}

.logo-link::after {
    content: '';
    position: absolute;
    top: -3px;
    left: 1px;
    height: 187px;
    width: 187px;
    background-color: #2e2e2e;
    z-index: 1005;
    clip-path: polygon(25% 2%, 75% 0%, 98% 25%, 100% 75%, 75% 98%, 25% 100%, 0% 75%, 2% 25%);
}

.logo-img {
    position: absolute;
    top: -5px;
    left: 0;
    height: 195px;
    width: auto;
    display: block;
    z-index: 1010;
    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.6));
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--accent-color);
    font-size: 2rem;
    cursor: pointer;
    font-weight: 300;
    transition: transform 0.2s ease;
}

.mobile-menu-btn:active {
    transform: scale(0.9);
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

.nav-links a:not(.btn-primary) {
    font-weight: 400;
    font-size: 0.85rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.nav-links a:not(.btn-primary):hover {
    color: var(--accent-color);
}


/* Dropdown Styles */

.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: var(--bg-secondary);
    min-width: 220px;
    box-shadow: 0px 15px 30px rgba(0, 0, 0, 0.7);
    z-index: 1;
    border-radius: 4px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
    top: 100%;
    left: -20px;
    animation: fadeIn 0.2s ease-in-out;
}

.dropdown-content a {
    color: var(--text-main) !important;
    padding: 14px 20px;
    display: block;
    border-bottom: 1px solid rgba(255, 255, 255, 0.02);
    transition: background 0.2s, padding-left 0.2s;
    font-weight: 300;
}

.dropdown-content a:last-child {
    border-bottom: none;
}

.dropdown-content a:hover {
    background-color: var(--bg-primary);
    color: var(--accent-color) !important;
    padding-left: 25px;
}

.dropdown:hover .dropdown-content {
    display: block;
}


/* Sharp Rounded Buttons */

.btn-primary {
    background-color: var(--accent-color);
    color: var(--bg-darker) !important;
    padding: 0.6rem 1.8rem;
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    display: inline-block;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(205, 164, 94, 0.2);
}


/* =========================================
   Keyframe Animations
   ========================================= */

@keyframes scrollGrid {
    0% {
        background-position: 0px 0px;
    }
    100% {
        background-position: 25px 25px;
    }
}

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

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


/* =========================================
   Sections General & Contrast Patterns
   ========================================= */

section {
    padding: 4.5rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
    scroll-margin-top: 120px;
}

.bg-dark {
    background-color: var(--bg-secondary);
    max-width: 100%;
    border-top: 2px solid var(--accent-color);
    border-bottom: 2px solid var(--accent-color);
    background-image: repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.015), rgba(255, 255, 255, 0.015) 1px, transparent 1px, transparent 8px);
}

section:not(.bg-dark):not(.hero) {
    background-color: var(--bg-primary);
    /* Existing diagonal grip texture */
    background-image: repeating-linear-gradient(-45deg, rgba(255, 255, 255, 0.015), rgba(255, 255, 255, 0.015) 1px, transparent 1px, transparent 8px);
}

.section-inner {
    max-width: 1200px;
    margin: 0 auto;
}


/* =========================================
   Hero Section
   ========================================= */

.hero {
    height: 100vh;
    max-width: 100%;
    margin: 0;
    background-size: cover !important;
    background-position: center !important;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 100px;
}

.hero-content {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease-out forwards;
    background: radial-gradient(circle, rgba(18, 18, 18, 0.4) 0%, rgba(18, 18, 18, 0) 70%);
    padding: 3rem;
    border-radius: 50%;
}

.hero-content h1 {
    font-size: 4.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 4px 8px rgba(0, 0, 0, 0.9), 0px 0px 40px rgba(0, 0, 0, 0.8);
    letter-spacing: 2px;
}

.hero-content h2::after {
    display: none;
}

.hero-content h2 {
    font-size: 1.75rem;
    color: var(--accent-color);
    margin-bottom: 2rem;
    font-weight: 500;
    text-shadow: 2px 4px 8px rgba(0, 0, 0, 0.9), 0px 0px 30px rgba(0, 0, 0, 0.8);
}

.hero-content .punchy-text {
    color: #ffffff;
    font-weight: 500;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.9), 0px 0px 20px rgba(0, 0, 0, 0.8);
}

.hero-content .btn-primary {
    padding: 1rem 2.5rem;
    font-size: 0.9rem;
    margin-top: 1rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}


/* =========================================
   Layout Grids & Program Content
   ========================================= */

.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    margin-bottom: 3.5rem;
}

.grid-2:last-child {
    margin-bottom: 0;
}

.grid-2.reverse .content {
    order: -1;
}


/* Anchoring the text content to reduce the "floating void" feel */

.grid-2 .content {
    background: rgba(0, 0, 0, 0.15);
    padding: 2.5rem;
    border-radius: 6px;
    border-left: 4px solid var(--accent-color);
    box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.1);
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}


/* Unified Image Styling */

.img-selfdefense {
    width: 80%;
    margin-left: 160px;
    border-radius: 6px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.img-gi,
.img-fluid {
    width: 100%;
    border-radius: 6px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}


/* Add a premium hover lift effect to the images */

.img-gi:hover,
.img-selfdefense:hover,
.img-fluid:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7);
}


/* Ensure the button stands out nicely inside the new content box */

.grid-2 .content .btn-primary {
    margin-top: 0.5rem;
}


/* =========================================
   Program Lists & Text
   ========================================= */

.program-list {
    list-style: none;
    margin-left: 0;
    margin-bottom: 1rem;
    color: var(--text-muted);
}

.program-list li {
    margin-bottom: 0.5rem;
    position: relative;
    padding-left: 25px;
}


/* Gold Accent Bullets */

.program-list li::before {
    content: '▶';
    color: var(--accent-color);
    font-size: 0.6rem;
    position: absolute;
    left: 0;
    top: 7px;
}


/* =========================================
   Kids & Youth Program Cards
   ========================================= */

.program-card {
    background: var(--bg-secondary);
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
}

.program-img-wrapper {
    height: 450px;
    overflow: visible;
}

.program-img-wrapper img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    border: none;
    border-radius: 0;
    box-shadow: none;
}

.program-card-content {
    background-color: #12121214;
    padding: 2rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.program-card-content h3 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin-bottom: 1rem;
}

.age-badge {
    background-color: var(--accent-color);
    color: var(--bg-darker);
    font-size: 0.75rem;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-weight: bold;
    letter-spacing: 1px;
}

.program-card-content .btn-primary {
    margin-top: auto;
}


/* =========================================
   Reimagined Reviews (Staggered Layout)
   ========================================= */

.review-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    align-items: center;
    margin-top: 3rem;
}

.review-card {
    background: var(--bg-primary);
    padding: 2.5rem 2rem;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-top: 3px solid var(--accent-color);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.3s ease;
}

.review-card.featured {
    transform: scale(1.08);
    box-shadow: 0 15px 40px rgba(205, 164, 94, 0.15);
    border-top: 4px solid var(--accent-color);
    background: #1e1e1e;
    z-index: 2;
}

.review-stars {
    color: var(--accent-color);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    letter-spacing: 5px;
}

.review-text {
    font-style: italic;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.review-text::before,
.review-text::after {
    content: '"';
    color: var(--accent-color);
    font-size: 1.5rem;
    font-weight: bold;
}

.reviewer-name {
    font-weight: 600;
    color: var(--accent-color);
    text-transform: uppercase;
    letter-spacing: 1px;
}


/* =========================================
   E-Commerce Shop Cards
   ========================================= */

.product-card {
    background: var(--bg-secondary);
    padding: 1.5rem;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.product-badge {
    position: absolute;
    top: 2.5rem;
    right: 2.5rem;
    background-color: var(--accent-color);
    color: var(--bg-darker);
    padding: 0.3rem 0.8rem;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 1px;
    border-radius: 30px;
    z-index: 5;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.product-img-wrapper {
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: 4px;
    background-color: rgba(255, 255, 255, 0.03);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-img-wrapper img {
    max-height: 90%;
    max-width: 90%;
    object-fit: contain;
    transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.product-card:hover .product-img-wrapper img {
    transform: scale(1.1);
}

.product-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.product-price {
    font-weight: bold;
    margin-bottom: 1.5rem;
    color: var(--text-muted);
}

.product-card .btn-primary {
    margin-top: auto;
    width: 100%;
}


/* =========================================
   Instructor Cards (Grid Layout)
   ========================================= */

.instructor-card {
    background: var(--bg-primary);
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    margin-bottom: 3rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    overflow: hidden;
    display: grid;
    grid-template-columns: 1fr 2fr;
}

.instructor-image-col {
    width: 100%;
    height: 100%;
    min-height: 350px;
}

.instructor-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.instructor-content-col {
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.instructor-header {
    margin-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 1rem;
}

.instructor-bio {
    color: var(--text-muted);
}

details {
    background: var(--bg-secondary);
    padding: 1.25rem;
    border-radius: 4px;
    margin-top: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.02);
}

summary {
    font-weight: 500;
    cursor: pointer;
    outline: none;
    color: var(--accent-color);
    text-transform: uppercase;
    letter-spacing: 1px;
}

details p {
    margin-top: 0.75rem;
    color: var(--text-main);
}


/* =========================================
   Schedule Table Base Styles
   ========================================= */

.schedule-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1.5rem;
    background: var(--bg-secondary);
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.schedule-table th,
.schedule-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.schedule-table tr:last-child td {
    border-bottom: none;
}

.schedule-table th {
    background: var(--accent-color);
    color: var(--bg-darker);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.schedule-table tr:hover td {
    background-color: rgba(255, 255, 255, 0.03);
}


/* =========================================
   Schedule Tabs
   ========================================= */

.schedule-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.tab-btn {
    background-color: var(--bg-primary);
    color: var(--text-muted);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 0.75rem 2rem;
    font-size: 0.95rem;
    font-weight: 600;
    text-transform: uppercase;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.tab-btn:hover {
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--text-main);
}

.tab-btn.active {
    background-color: var(--accent-color);
    color: var(--bg-darker);
    border-color: var(--accent-color);
    box-shadow: 0 4px 10px rgba(205, 164, 94, 0.2);
}

.tab-pane {
    display: none;
    animation: fadeIn 0.4s ease-in-out;
}

.tab-pane.active {
    display: block;
}

.day-label {
    vertical-align: top;
    font-weight: 600;
    color: var(--accent-color);
    border-top: 1px solid rgba(255, 255, 255, 0.05) !important;
}


/* =========================================
   Footer (3-Column Grid)
   ========================================= */

footer {
    background: var(--bg-darker);
    color: var(--text-main);
    padding: 4rem 2rem 2rem 2rem;
    border-top: 2px solid var(--accent-color);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.footer-col {
    display: flex;
    flex-direction: column;
}

.footer-heading {
    color: var(--accent-color);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    letter-spacing: 1.5px;
}

.footer-col p {
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    color: var(--text-muted);
    font-weight: 300;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 300;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: var(--accent-color);
}

.social-icon-svg {
    fill: var(--text-muted);
    transition: fill 0.3s ease, transform 0.3s ease;
}

.social-icon-svg:hover {
    fill: var(--accent-color);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-muted);
    font-size: 0.85rem;
    font-weight: 300;
}


/* =========================================
   Scroll Reveal Animations
   ========================================= */

.fade-in-section {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
    will-change: opacity, transform;
}

.fade-in-section.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    .fade-in-section {
        opacity: 1;
        transform: none;
        transition: none;
    }
}


/* =========================================
   Mobile Responsiveness & Nav Fixes
   ========================================= */

@media (max-width: 768px) {
    .nav-socials {
        border-left: none;
        padding: 1.25rem 2rem;
        margin-left: 0;
        width: 100%;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        justify-content: flex-start;
        gap: 1.5rem;
    }
    .grid-2 {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .grid-2.reverse .content {
        order: 0;
    }
    .review-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .review-card.featured {
        transform: scale(1);
    }
    .hero-content h1 {
        font-size: 2.8rem;
    }
    .instructor-card {
        grid-template-columns: 1fr;
    }
    .instructor-image-col {
        min-height: 400px;
    }
    .instructor-content-col {
        padding: 2rem;
        text-align: center;
    }
    .instructor-header {
        flex-direction: column;
        text-align: center;
    }
    .logo-img {
        height: 120px;
        top: 0;
    }
    .logo-link {
        width: 100px;
    }
    .logo-link::before {
        height: 115px;
        width: 115px;
        top: 0px;
        left: 0px;
    }
    .logo-link::after {
        height: 117px;
        width: 117px;
        top: -1px;
        left: -1px;
    }
    .mobile-menu-btn {
        display: block;
    }
    .nav-links {
        display: none;
        flex-direction: column;
        align-items: flex-start;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--bg-primary);
        padding: 0;
        border-top: 1px solid #2e2e2e;
        box-shadow: 0 15px 30px rgba(0, 0, 0, 0.8);
        z-index: 1020;
    }
    .nav-links.active {
        display: flex;
    }
    .nav-links>a:not(.btn-primary),
    .dropdown {
        width: 100%;
        padding: 1.25rem 2rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }
    .dropdown .dropbtn {
        display: block;
        width: 100%;
    }
    .dropdown:hover .dropdown-content {
        display: none;
    }
    .dropdown-content {
        position: static;
        display: flex !important;
        flex-direction: column;
        box-shadow: none;
        border: none;
        background: rgba(255, 255, 255, 0.02);
        padding: 0;
        margin-top: 1.25rem;
        width: calc(100% + 4rem);
        margin-left: -2rem;
    }
    .dropdown-content a {
        padding: 1rem 2rem 1rem 3.5rem !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.03) !important;
        color: var(--text-muted) !important;
        font-size: 0.8rem !important;
    }
    .dropdown-content a::before {
        content: '↳';
        color: var(--accent-color);
        margin-right: 12px;
        font-weight: bold;
    }
    .nav-links .btn-primary {
        margin: 1.5rem 2rem;
        width: calc(100% - 4rem);
        text-align: center;
        padding: 0.8rem;
    }
    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2.5rem;
    }
    .social-icons {
        justify-content: center;
    }
    .schedule-tabs {
        gap: 0.5rem;
    }
    .tab-btn {
        padding: 0.75rem 1rem;
        font-size: 0.85rem;
        flex: 1 1 30%;
        text-align: center;
    }
}


/* =========================================
   Sub-Page Headers & Overrides
   ========================================= */

.page-header {
    background: var(--bg-darker);
    padding: 150px 2rem 50px;
    text-align: center;
    border-bottom: 2px solid var(--accent-color);
}

.page-header h1 {
    font-size: 3.5rem;
    letter-spacing: 2px;
}


/* =========================================
   Photo Gallery Grid
   ========================================= */

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.gallery-img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 6px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-img:hover {
    transform: scale(1.03);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.8);
    z-index: 5;
    position: relative;
}


/* =========================================
   Pull-Out Gallery Sidebar
   ========================================= */

.gallery-sidebar {
    position: fixed;
    top: 0;
    right: -380px;
    /* Hidden off-screen by default */
    width: 380px;
    height: 100vh;
    background-color: var(--bg-secondary);
    border-left: 2px solid var(--accent-color);
    z-index: 2000;
    transition: right 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
    display: flex;
    flex-direction: column;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.8);
}

.gallery-sidebar.open {
    right: 0;
    /* Slides in when active */
}


/* The Pull-Out Tab */


/* The Pull-Out Tab */


/* The Pull-Out Tab */

.gallery-toggle-btn {
    position: absolute;
    top: 50%;
    left: -46px;
    /* Explicitly pull it out by the exact width */
    width: 46px;
    /* Fixed width to prevent shrinking */
    height: 140px;
    /* Fixed height to accommodate the word */
    transform: translateY(-50%);
    background-color: var(--accent-color);
    color: var(--bg-darker);
    border: none;
    border-radius: 6px 0 0 6px;
    cursor: pointer;
    box-shadow: -4px 0 10px rgba(0, 0, 0, 0.3);
    z-index: 2001;
    transition: background-color 0.3s ease;
    /* Flexbox to perfectly center the rotated text */
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-toggle-btn:hover {
    background-color: var(--accent-hover);
}

.vertical-text {
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 2px;
    /* Standard rotation is much more stable than writing-mode */
    transform: rotate(-90deg);
    white-space: nowrap;
    /* Prevents text from trying to wrap */
}

.gallery-sidebar-header {
    padding: 2rem 1.5rem 1rem;
    margin-right: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
}

.gallery-sidebar-header h3 {
    margin: 0;
    color: var(--accent-color);
}


/* 3xN Scrollable Grid */

.sidebar-gallery-grid {
    padding: 1.5rem;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    /* 3 Columns */
    gap: 10px;
    overflow-y: auto;
    /* Makes it scrollable */
    flex-grow: 1;
}


/* Custom Themed Scrollbar */

.sidebar-gallery-grid::-webkit-scrollbar {
    width: 6px;
}

.sidebar-gallery-grid::-webkit-scrollbar-track {
    background: var(--bg-primary);
}

.sidebar-gallery-grid::-webkit-scrollbar-thumb {
    background: var(--accent-color);
    border-radius: 4px;
}

.sidebar-gallery-img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 4px;
    background-color: var(--bg-primary);
    /* Dark placeholder color while loading */
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.sidebar-gallery-img:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
    z-index: 2;
}


/* Mobile Tweaks */

@media (max-width: 768px) {
    .gallery-sidebar {
        width: 300px;
        right: -300px;
    }
    .sidebar-gallery-grid {
        /* Drop to 2 columns on phones so images aren't too small */
        grid-template-columns: repeat(2, 1fr);
    }
}

::-webkit-scrollbar {
    display: none;
}


/* For IE, Edge, and Firefox */

html {
    -ms-overflow-style: none;
    /* IE and Edge */
    scrollbar-width: none;
    /* Firefox */
}


/* =========================================
   Fullscreen Lightbox Modal
   ========================================= */

.lightbox-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.95);
    z-index: 3000;
    display: none;
    /* Hidden by default */
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

.lightbox-modal.active {
    display: flex;
}

.lightbox-content-wrapper {
    max-width: 85vw;
    max-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

#lightbox-img {
    max-width: 100%;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 4px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
}


/* Close & Navigation Arrows */

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: var(--text-main);
    font-size: 3rem;
    font-weight: 300;
    background: none;
    border: none;
    cursor: pointer;
    transition: color 0.2s;
    z-index: 3005;
}

.lightbox-close:hover {
    color: var(--accent-color);
}

.lightbox-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: var(--accent-color);
    border: 1px solid rgba(205, 164, 94, 0.3);
    font-size: 2rem;
    padding: 1rem 1.25rem;
    cursor: pointer;
    border-radius: 4px;
    transition: all 0.2s ease;
    z-index: 3005;
}

.lightbox-arrow:hover {
    background-color: var(--accent-color);
    color: var(--bg-darker);
}

.lightbox-prev {
    left: 30px;
}

.lightbox-next {
    right: 30px;
}


/* Make sidebar images look clickable */

.sidebar-gallery-img {
    cursor: pointer;
}