/* Design System & Variables */
:root {
    /* Colors - Modern Slate Theme */
    --color-bg: #0f172a;
    /* Slate-900 */
    --color-bg-alt: #1e293b;
    /* Slate-800 */
    --color-text: #f8fafc;
    /* Slate-50 */
    --color-text-muted: #94a3b8;
    /* Slate-400 */
    --color-accent: #e50914;
    /* Cinematic Red */
    --color-gold: #fbbf24;
    /* Amber-400 (Brighter Gold for Slate) */
    --color-glass: rgba(15, 23, 42, 0.7);
    /* Dark Slate Glass */
    --color-border: #334155;
    /* Slate-700 */

    /* Typography */
    --font-sans: 'Inter', sans-serif;
    --font-serif: 'Playfair Display', serif;

    /* Spacing */
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --container-width: 1200px;
    --modal-z-index: 20000;
}

/* Reset & Base */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--color-bg);
    color: var(--color-text);
    font-family: var(--font-sans);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
    font-family: var(--font-serif);
    font-weight: 400;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* Utilities */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--spacing-sm);
}

.text-center {
    text-align: center;
}

.section {
    padding: var(--spacing-lg) 0;
}

.section-header {
    margin-bottom: var(--spacing-lg);
    text-align: center;
}

.section-header h2 {
    font-size: 3rem;
    margin-bottom: 0.5rem;
}

.subtitle {
    font-family: var(--font-sans);
    color: var(--color-gold);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
}

/* Buttons */
.cta-button {
    display: inline-block;
    background-color: var(--color-accent);
    color: white;
    padding: 0.8rem 2rem;
    border-radius: 2px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.cta-button:hover {
    background-color: #ff1f2d;
    transform: translateY(-2px);
}

.cta-button.small {
    padding: 0.5rem 1.2rem;
    font-size: 0.9rem;
}

.secondary-button {
    display: inline-block;
    border: 1px solid var(--color-text);
    padding: 0.8rem 2rem;
    margin-left: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.secondary-button:hover {
    background-color: var(--color-text);
    color: var(--color-bg);
}

/* Header */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 10000;
    padding: 1.5rem 0;
    transition: background-color 0.3s ease, padding 0.3s ease, box-shadow 0.3s ease;
    /* Default: Transparent */
    background-color: transparent;
}

.site-header a {
    color: var(--color-text) !important;
}

.site-header.scrolled {
    /* Scrolled: Slate Glass */
    background-color: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    border-bottom: 1px solid var(--color-border);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.site-header.scrolled a {
    color: var(--color-text) !important;
}

.site-header.scrolled .cta-button {
    color: white !important;
}

.navbar {
    max-width: var(--container-width);
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 var(--spacing-sm);
}

.logo {
    /* font-family: var(--font-serif); */
    /* font-size: 1.5rem; */
    /* font-weight: 700; */
    /* letter-spacing: 2px; */
    display: flex;
    align-items: center;
}

.logo-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.2rem;
}

.logo-subtitle {
    font-size: 0.7rem;
    color: var(--color-gold);
    font-family: var(--font-sans);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-style: italic;
    white-space: nowrap;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.8;
}

.nav-links a:hover,
.nav-links a.active {
    opacity: 1;
    color: var(--color-accent);
    /* Accent color on hover */
}

/* Hero */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    /* Static background removed in favor of slider */
    overflow: hidden;
    /* To contain zoom effect */
}

.hero-bg-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%;
    background-color: #222;
    opacity: 0;
    transform: scale(1);
    transition: opacity 1.5s ease-in-out, transform 6s linear;
}

.slide.active {
    opacity: 1;
    transform: scale(1.1);
    /* Ken Burns Zoom Effect */
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    /* Layer on top of slider */
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.4), var(--color-bg));
    pointer-events: none;
    /* Allow clicks to pass through if needed */
}

.hero-content {
    position: relative;
    z-index: 3;
    /* Topmost layer */
    text-align: center;
    max-width: 800px;
    padding: 0 1rem;
}

.hero h1 {
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 0.5rem;
    background: linear-gradient(to right, #fff, #aaa);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.2rem;
    color: var(--color-text-muted);
    margin-bottom: 2rem;
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s forwards;
}

.delay-1 {
    animation-delay: 0.2s;
}

.delay-2 {
    animation-delay: 0.4s;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    opacity: 0.6;
    animation: bounce 2s infinite;
}

.scroll-indicator .line {
    width: 1px;
    height: 40px;
    background-color: var(--color-text);
}

@keyframes bounce {

    0%,
    100% {
        transform: translate(-50%, 0);
    }

    50% {
        transform: translate(-50%, 5px);
    }
}

/* Grid Layouts */
.grid-layout {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.course-card {
    background-color: var(--color-bg-alt);
    border: 1px solid var(--color-border);
    /* Use border variable */
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    /* Subtle shadow for light mode */
    overflow: hidden;
    transition: transform 0.3s ease;
    cursor: pointer;
    position: relative;
}

.course-card:hover {
    transform: translateY(-5px);
    border-color: var(--color-gold);
}

/* Course Slider */
.courses-slider-container {
    position: relative;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.courses-slider {
    display: flex;
    gap: 2rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 1rem 0;
    scrollbar-width: none;
    /* Firefox */
    -ms-overflow-style: none;
    /* IE 10+ */
}

.courses-slider::-webkit-scrollbar {
    display: none;
    /* Chrome/Safari */
}

.courses-slider .course-card {
    flex: 0 0 300px;
    scroll-snap-align: start;
    border-radius: 12px;
    padding: 2rem;
}

.slider-nav {
    background: var(--color-bg-alt);
    border: 1px solid var(--color-border);
    color: var(--color-text);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.slider-nav:hover {
    background: var(--color-gold);
    color: var(--color-bg);
    border-color: var(--color-gold);
}

/* Course Card Icon Style */
.course-icon {
    font-size: 2.5rem;
    color: var(--color-gold);
    margin-bottom: 1rem;
}

.course-meta {
    font-size: 0.8rem;
    color: var(--color-text-muted);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.course-info h3 {
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.course-info p {
    color: var(--color-text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
}

.course-image {
    height: 200px;
    background-color: #222;
    background-size: cover;
    background-position: center;
}

.course-info {
    padding: 1.5rem;
}

.course-info h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.course-info p {
    font-size: 0.9rem;
    color: var(--color-text-muted);
}

.masonry-layout {
    columns: 2 300px;
    gap: 2rem;
}

.production-item {
    break-inside: avoid;
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
}

.production-item img {
    width: 100%;
    transition: transform 0.5s ease;
}

.production-item:hover img {
    transform: scale(1.05);
}

.production-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 2rem 1rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.production-item:hover .production-overlay {
    opacity: 1;
}

/* Footer */
.site-footer {
    border-top: 1px solid var(--color-border);
    padding: 4rem 0 0;
    margin-top: 4rem;
    background-color: var(--color-bg);
    /* Match body bg */
}

.site-footer a {
    color: var(--color-text-muted);
}

.site-footer a:hover {
    color: var(--color-accent);
}

.footer-content-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand h3 {
    color: var(--color-text);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    letter-spacing: 1px;
}

.footer-brand p {
    font-size: 0.9rem;
    line-height: 1.6;
    max-width: 300px;
}

.footer-links h4,
.footer-contact h4 {
    color: var(--color-text);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-links ul li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--color-accent);
    padding-left: 5px;
}

.footer-contact p {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

/* Gallery Specific Styles */
.gallery-hero {
    height: 60vh;
    /* Shorter than main hero */
    position: relative;
    overflow: hidden;
    margin-bottom: 4rem;
}

.gallery-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: flex-end;
    /* Align to bottom */
    justify-content: center;
    /* Center horizontally */
    opacity: 0;
    transition: opacity 1s ease;
}

.gallery-slide.active {
    opacity: 1;
}

.gallery-slide::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    /* darken for text */
}

.gallery-caption {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    max-width: 700px;
    padding: 0 2rem 1rem 2rem;
    /* minimal padding for total bottom */
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    /* Improve readability */
}

.gallery-quote {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--color-gold);
}

.gallery-title {
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    opacity: 0.9;
}

/* Contact Hero Styles */
.contact-hero {
    height: 50vh;
    position: relative;
    overflow: hidden;
    margin-bottom: 2rem;
}

.contact-slider-container {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.contact-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    opacity: 0;
    transition: opacity 1s ease;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.contact-slide.active {
    opacity: 1;
}

.contact-slide::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
}

.contact-caption {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    padding-bottom: 3rem;
    max-width: 800px;
    margin: 0 auto;
}

.contact-caption h1 {
    font-size: 3.5rem;
    margin-bottom: 0.5rem;
    color: white;
}

.contact-caption p {
    font-size: 1.2rem;
    color: var(--color-text-muted);
}

/* Category Grid */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    /* Smaller min-width */
    gap: 2rem;
}

.category-box {
    position: relative;
    height: 200px;
    /* Reduced height from 300px */
    border-radius: 4px;
    overflow: hidden;
    cursor: pointer;
    border: 1px solid var(--color-border);
}

.category-bg {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.5s ease;
}

.category-box:hover .category-bg {
    transform: scale(1.1);
}

.category-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: flex-end;
    /* Align to bottom */
    justify-content: flex-start;
    /* Align to left */
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    /* Gradient at bottom only */
    transition: background 0.3s ease;
}

.category-box:hover .category-overlay {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
}

.category-name {
    color: white;
    font-size: 1.2rem;
    /* Slightly smaller */
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
    /* Removed border */
    padding: 1.5rem;
    /* Padding from bottom/left */
    background: transparent;
    /* Transparent bg */
    backdrop-filter: none;
    width: 100%;
}

/* Modal */
.gallery-modal {
    display: none;
    /* Hidden by default */
    position: fixed;
    z-index: var(--modal-z-index);
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.95);
    padding-top: 60px;
}

.close-modal {
    position: absolute;
    top: 30px;
    /* adjusted for padding */
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    z-index: 20001;
    transition: color 0.3s;
}

.close-modal:hover {
    color: var(--color-accent);
}

.modal-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.modal-img {
    width: 100%;
    height: auto;
    border-radius: 4px;
    display: block;
    cursor: pointer;
    transition: transform 0.2s;
}

.modal-img:hover {
    transform: scale(1.02);
}

/* Single Image View */
.modal-single-view {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.modal-single-view img {
    max-width: 90%;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 4px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

.back-to-grid {
    position: absolute;
    top: 30px;
    left: 35px;
    background: transparent;
    border: 1px solid var(--color-text);
    color: var(--color-text);
    padding: 0.5rem 1rem;
    cursor: pointer;
    font-size: 1rem;
    border-radius: 4px;
    transition: all 0.3s ease;
    z-index: 20002;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.back-to-grid:hover {
    background: var(--color-text);
    color: var(--color-bg);
}

/* Video Banner */
.video-banner-section {
    padding-bottom: 0;
    /* Remove bottom padding to sit flush if needed, or keep for spacing */
    margin-bottom: 4rem;
}

.video-banner-container {
    position: relative;
    width: 100%;
    height: 60vh;
    /* Cinematic height */
    overflow: hidden;
    background: black;
}

.video-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.8;
}

.video-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.video-content h2 {
    font-size: 3rem;
    color: white;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.video-content p {
    font-size: 1.5rem;
    color: var(--color-gold);
    font-family: var(--font-serif);
    font-style: italic;
}

/* Footer */

.social-icons {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    transition: all 0.3s ease;
    color: var(--color-text);
}

.social-icons a:hover {
    background-color: var(--color-accent);
    color: white;
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid var(--color-glass);
    padding: 1.5rem 0;
    text-align: center;
    font-size: 0.85rem;
}

/* Responsive Footer */
@media (max-width: 900px) {
    .footer-content-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 600px) {
    .footer-content-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 3rem;
    }

    .nav-links {
        display: none;
    }

    /* Mobile menu simplified for now */
}

/* About Page Styles */
.page-header {
    text-align: center;
    margin-bottom: 4rem;
}

.page-header h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.content-block {
    max-width: 800px;
    margin: 0 auto 4rem;
    text-align: center;
}

.content-block p {
    margin-bottom: 1.5rem;
    color: var(--color-text-muted);
    font-size: 1.1rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    text-align: center;
    margin: 4rem 0;
    padding: 2rem;
    background: var(--color-bg-alt);
    border: 1px solid var(--color-glass);
}

.stat-item h3 {
    font-size: 2.5rem;
    color: var(--color-gold);
    margin-bottom: 0.5rem;
}

.director-section {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 3rem;
    align-items: center;
    margin: 4rem 0;
    padding: 3rem;
    background: var(--color-bg-alt);
    border: 1px solid var(--color-border);
    border-radius: 8px;
}

.director-image img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.director-content h2 {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--color-gold);
    margin-bottom: 0.5rem;
}

.director-name {
    font-size: 2rem;
    margin-bottom: 0.25rem;
}

.director-title {
    color: var(--color-text-muted);
    font-style: italic;
    margin-bottom: 1.5rem;
}

.director-content p {
    color: var(--color-text-muted);
    margin-bottom: 1rem;
    line-height: 1.8;
}

@media (max-width: 768px) {
    .director-section {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .director-image {
        max-width: 250px;
        margin: 0 auto;
    }
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin: 4rem 0;
}

.feature-card {
    background: var(--color-bg-alt);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.feature-icon {
    font-size: 2.5rem;
    color: var(--color-gold);
    margin-bottom: 1rem;
}

.feature-card h3 {
    margin-bottom: 0.5rem;
}

.feature-card p {
    color: var(--color-text-muted);
    font-size: 0.95rem;
}

.testimonials-section {
    margin: 4rem 0;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background: linear-gradient(135deg, var(--color-bg-alt) 0%, rgba(15, 23, 42, 0.5) 100%);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    padding: 2rem;
    position: relative;
}

.testimonial-card::before {
    content: '\"';
    font-size: 4rem;
    color: var(--color-gold);
    opacity: 0.3;
    position: absolute;
    top: 10px;
    left: 20px;
    font-family: serif;
}

.testimonial-text {
    font-style: italic;
    color: var(--color-text-muted);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--color-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: var(--color-bg);
}

.author-info h4 {
    margin: 0;
    font-size: 1rem;
}

.author-info p {
    margin: 0;
    font-size: 0.85rem;
    color: var(--color-text-muted);
}

.cta-banner {
    background: linear-gradient(135deg, var(--color-accent) 0%, #b91c1c 100%);
    padding: 4rem 2rem;
    text-align: center;
    border-radius: 12px;
    margin: 4rem 0;
}

.cta-banner h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: white;
}

.cta-banner p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-banner .cta-button {
    background: white;
    color: var(--color-accent);
    font-weight: 600;
}

.cta-banner .cta-button:hover {
    background: var(--color-gold);
    color: var(--color-bg);
}

/* Courses Page */
.courses-full-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.courses-full-grid .course-card {
    border-radius: 12px;
    padding: 2rem;
}

/* Contact Page */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: 1000px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .contact-container {
        grid-template-columns: 1fr;
    }
}

.contact-info {
    background: var(--color-bg-alt);
    padding: 2rem;
    border: 1px solid var(--color-glass);
}

.contact-info h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--color-gold);
}

.contact-detail {
    margin-bottom: 1.5rem;
}

.contact-detail strong {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--color-text);
}

.contact-detail p,
.contact-detail a {
    color: var(--color-text-muted);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-size: 0.9rem;
    color: var(--color-text-muted);
}

.form-group input,
.form-group textarea,
.form-group select {
    padding: 1rem;
    background: #00040f;
    border: 1px solid var(--color-glass);
    color: white;
    font-family: var(--font-sans);
    font-size: 1rem;
    outline: none;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: var(--color-gold);
}

.submit-btn {
    background-color: var(--color-accent);
    color: white;
    border: none;
    padding: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    cursor: pointer;
    transition: background-color 0.3s;
}

.submit-btn:hover {
    background-color: #ff1f2d;
}

#message {
    resize: none;
}

/* Gallery Page */
.gallery-hero {
    height: 60vh;
    position: relative;
    overflow: hidden;
    margin-bottom: 4rem;
}

.gallery-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    opacity: 0;
    transition: opacity 1s ease;
}

.gallery-slide.active {
    opacity: 1;
}

.gallery-slide::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

.gallery-caption {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    max-width: 700px;
    padding: 0 2rem 1rem 2rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.gallery-quote {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--color-gold);
}

.gallery-title {
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    opacity: 0.9;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.category-box {
    position: relative;
    height: 200px;
    border-radius: 4px;
    overflow: hidden;
    cursor: pointer;
    border: 1px solid var(--color-border);
}

.category-bg {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.5s ease;
}

.category-box:hover .category-bg {
    transform: scale(1.1);
}

.category-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    transition: background 0.3s ease;
}

.category-box:hover .category-overlay {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
}

.category-name {
    color: white;
    font-size: 1.2rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 1.5rem;
    width: 100%;
}

.video-banner-section {
    padding-bottom: 0;
    margin-bottom: 4rem;
}

.video-banner-container {
    position: relative;
    width: 100%;
    height: 60vh;
    overflow: hidden;
    background: black;
}

.video-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.8;
}

.video-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.video-content h2 {
    font-size: 3rem;
    color: white;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.video-content p {
    font-size: 1.5rem;
    color: var(--color-gold);
    font-family: var(--font-serif);
    font-style: italic;
}

/* Modal */
.gallery-modal {
    display: none;
    position: fixed;
    z-index: var(--modal-z-index);
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.95);
    padding-top: 60px;
}

.close-modal {
    position: absolute;
    top: 30px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    z-index: 20001;
    transition: color 0.3s;
}

.close-modal:hover {
    color: var(--color-accent);
}

.modal-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.modal-img {
    width: 100%;
    height: auto;
    border-radius: 4px;
    display: block;
    cursor: pointer;
    transition: transform 0.2s;
}

.modal-img:hover {
    transform: scale(1.02);
}

.modal-single-view {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.modal-single-view img {
    max-width: 90%;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 4px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

.back-to-grid {
    position: absolute;
    top: 30px;
    left: 35px;
    background: transparent;
    border: 1px solid var(--color-text);
    color: var(--color-text);
    padding: 0.5rem 1rem;
    cursor: pointer;
    font-size: 1rem;
    border-radius: 4px;
    transition: all 0.3s ease;
    z-index: 20002;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.back-to-grid:hover {
    background: var(--color-text);
    color: var(--color-bg);
}


/* Mobile Navigation */
.mobile-menu-toggle {
    display: none;
    background: transparent;
    border: none;
    color: var(--color-text);
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 10002;
    padding: 0.5rem;
}

.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: var(--color-bg);
    z-index: 10001;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transform: translateX(100%);
    transition: transform 0.3s ease-in-out;
}

.mobile-menu-overlay.open {
    transform: translateX(0);
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    font-size: 1.5rem;
}

.mobile-nav-links a {
    color: var(--color-text);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.mobile-nav-links a.active {
    color: var(--color-accent);
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: block;
    }

    .nav-links {
        display: none;
    }

    .cta-button.small {
        display: none;
        /* Hide header CTA on mobile, maybe show in menu instead */
    }
}


@media (max-width: 768px) {
    .desktop-only {
        display: none !important;
    }
}