/* ── Fonts ── */
@font-face {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('../fonts/montserrat-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url('../fonts/montserrat-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('../fonts/montserrat-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('../fonts/montserrat-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url('../fonts/montserrat-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('../fonts/montserrat-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ── CSS Custom Properties (Light Theme) ── */
:root {
    --bg: #f8f9fa;
    --bg-alt: #ffffff;
    --card-bg: #ffffff;
    --text: #212529;
    --text-body: #495057;
    --text-muted: #868e96;
    --accent: #2563eb;
    --accent-hover: #1d4ed8;
    --accent-soft: rgba(37, 99, 235, 0.08);
    --border: #e9ecef;
    --shadow: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
    --shadow-lg: 0 10px 30px rgba(0,0,0,0.08), 0 1px 4px rgba(0,0,0,0.04);
    --shadow-xl: 0 20px 50px rgba(0,0,0,0.1);
    --header-bg: rgba(255,255,255,0.85);
    --header-border: rgba(0,0,0,0.06);
    --hero-overlay: rgba(0,0,0,0.55);
    --footer-bg: #1e293b;
    --footer-text: #cbd5e1;
    --radius: 10px;
    --radius-lg: 16px;
    --stars: #f59e0b;
    --transition: 0.3s ease;
}

/* ── Dark Theme ── */
body.dark-mode {
    --bg: #0f172a;
    --bg-alt: #1e293b;
    --card-bg: #1e293b;
    --text: #f1f5f9;
    --text-body: #cbd5e1;
    --text-muted: #64748b;
    --accent: #3b82f6;
    --accent-hover: #60a5fa;
    --accent-soft: rgba(59, 130, 246, 0.12);
    --border: #334155;
    --shadow: 0 1px 3px rgba(0,0,0,0.3), 0 1px 2px rgba(0,0,0,0.2);
    --shadow-lg: 0 10px 30px rgba(0,0,0,0.4);
    --shadow-xl: 0 20px 50px rgba(0,0,0,0.5);
    --header-bg: rgba(15,23,42,0.9);
    --header-border: rgba(255,255,255,0.06);
    --hero-overlay: rgba(0,0,0,0.65);
    --footer-bg: #0f172a;
    --footer-text: #94a3b8;
}

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; overflow-x: hidden; }

body {
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 16px;
    line-height: 1.75;
    color: var(--text-body);
    background: var(--bg);
    transition: background-color var(--transition), color var(--transition);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

body.nav-open { overflow: hidden; }

img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--accent-hover); }

h1, h2, h3 { color: var(--text); line-height: 1.3; }
h2 { font-size: 2rem; font-weight: 700; margin-bottom: 1rem; }
h3 { font-size: 1.25rem; font-weight: 700; margin-bottom: 0.5rem; }

.container { width: 92%; max-width: 1180px; margin: 0 auto; }

/* ── Skip Link ── */
.skip-link {
    position: absolute;
    top: -100%;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent);
    color: #fff;
    padding: 0.5rem 1.5rem;
    border-radius: var(--radius);
    z-index: 10000;
    font-weight: 600;
}
.skip-link:focus { top: 0.5rem; }

/* ── Buttons ── */
.btn {
    display: inline-block;
    padding: 0.75rem 2rem;
    border-radius: var(--radius);
    font-family: inherit;
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all var(--transition);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-primary {
    background: var(--accent);
    color: #ffffff;
    border-color: var(--accent);
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.3);
}
.btn-primary:hover {
    background: var(--accent-hover);
    border-color: var(--accent-hover);
    color: #ffffff;
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--accent);
    border-color: var(--accent);
}
.btn-secondary:hover {
    background: var(--accent);
    color: #ffffff;
}

/* ── Header ── */
header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--header-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--header-border);
    transition: background-color var(--transition);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1180px;
    width: 92%;
    margin: 0 auto;
    padding: 0.75rem 0;
}

.site-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
}
.site-title:hover { color: var(--accent); }

nav {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

nav a {
    color: var(--text-body);
    font-size: 0.85rem;
    font-weight: 500;
    padding: 0.4rem 0.7rem;
    border-radius: 6px;
    transition: all var(--transition);
    text-transform: uppercase;
    letter-spacing: 0.3px;
}
nav a:hover, nav a.active {
    color: var(--accent);
    background: var(--accent-soft);
}

nav a.nav-play {
    background: var(--accent);
    color: #fff;
    font-weight: 700;
    padding: 0.4rem 1rem;
}
nav a.nav-play:hover {
    background: var(--accent-hover);
    color: #fff;
}

.theme-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: var(--accent-soft);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    color: var(--text);
    margin-left: 0.25rem;
    transition: all var(--transition);
}
.theme-toggle:hover {
    background: var(--accent);
    color: #fff;
}

.icon-sun { display: none; }

/* ── Hamburger ── */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.hamburger,
.hamburger::before,
.hamburger::after {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: all 0.3s ease;
}
.hamburger { position: relative; }
.hamburger::before, .hamburger::after {
    content: '';
    position: absolute;
    left: 0;
}
.hamburger::before { top: -7px; }
.hamburger::after { top: 7px; }

.menu-toggle.open .hamburger { background: transparent; }
.menu-toggle.open .hamburger::before { top: 0; transform: rotate(45deg); }
.menu-toggle.open .hamburger::after { top: 0; transform: rotate(-45deg); }

/* ── Hero ── */
.hero-section {
    position: relative;
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: url('../images/hero-background.jpg') center/cover no-repeat fixed;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: var(--hero-overlay);
}

.hero-content {
    position: relative;
    z-index: 1;
    padding: 2rem;
    max-width: 700px;
}

.hero-content h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    color: #ffffff;
    margin-bottom: 0.75rem;
    text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.hero-subtitle {
    font-size: clamp(1rem, 2.5vw, 1.3rem);
    color: rgba(255,255,255,0.9);
    margin-bottom: 2rem;
    font-weight: 400;
}

/* ── Sections (alternating backgrounds) ── */
section { padding: 5rem 0; }

.intro-section,
.lessons-section,
.media-section,
.contact-section {
    background: var(--bg);
}

.about-section,
.reviews-section,
.booking-section {
    background: var(--bg-alt);
}

/* ── Intro ── */
.intro-section {
    text-align: center;
    padding: 4rem 0;
}
.intro-section h2 { font-size: 2.2rem; }
.intro-text {
    font-size: 1.15rem;
    max-width: 640px;
    margin: 0 auto 2rem;
}

/* ── About ── */
.about-grid {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 3rem;
    align-items: start;
}

.about-image img {
    width: 330px;
    max-width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    object-fit: cover;
}

.about-text p {
    margin-bottom: 1rem;
}

.instructor-badge {
    border-top: 2px solid var(--border);
    padding-top: 1.25rem;
    margin-top: 1.5rem;
}
.badge-label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    margin-bottom: 0.25rem;
}
.badge-name {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text);
}

/* ── Lessons / FAQ ── */
.lessons-section h2 { text-align: center; margin-bottom: 2.5rem; }

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr));
    gap: 1.5rem;
}

.faq-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    box-shadow: var(--shadow);
    transition: transform var(--transition), box-shadow var(--transition);
}
.faq-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}
.faq-card h3 { color: var(--accent); }
.faq-card p { margin-bottom: 0.5rem; }
.faq-card small {
    display: block;
    color: var(--text-muted);
    font-size: 0.8rem;
    margin-top: 0.5rem;
}

.faq-footer {
    text-align: center;
    margin-top: 2.5rem;
    font-size: 1.05rem;
}

/* ── Reviews ── */
.reviews-section h2 { text-align: center; }

.reviews-stats {
    text-align: center;
    margin-bottom: 2.5rem;
}
.stats-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: var(--accent-soft);
    padding: 0.6rem 1.5rem;
    border-radius: 999px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-body);
}
.stars { color: var(--stars); font-size: 1.1rem; letter-spacing: 2px; }

/* ── Reviews Carousel ── */
.carousel {
    position: relative;
    overflow: hidden;
    margin: 0 -1rem;
    padding: 0 1rem;
}

.carousel-track {
    display: flex;
    transition: transform 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.review-card {
    display: flex;
    flex-direction: column;
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow);
    text-decoration: none;
    color: var(--text-body);
    flex: 0 0 calc(33.333% - 1rem);
    margin: 0 0.5rem;
    min-height: 260px;
    transition: transform var(--transition), box-shadow var(--transition);
}
.review-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    color: var(--text-body);
}

.carousel-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 1.5rem;
}

.carousel-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--border);
    background: var(--card-bg);
    color: var(--text-body);
    cursor: pointer;
    transition: all var(--transition);
}
.carousel-btn:hover {
    background: var(--accent);
    color: #fff;
    border-color: var(--accent);
}

.carousel-dots {
    display: flex;
    gap: 0.5rem;
}
.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--border);
    border: none;
    cursor: pointer;
    transition: all var(--transition);
    padding: 0;
}
.carousel-dot.active {
    background: var(--accent);
    transform: scale(1.2);
}

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

.review-card blockquote {
    flex: 1;
    font-style: italic;
    line-height: 1.7;
    margin-bottom: 1rem;
}
.review-card blockquote p { color: var(--text-body); }

.review-card cite {
    font-weight: 700;
    font-style: normal;
    color: var(--text);
    display: block;
    margin-bottom: 0.5rem;
}

.review-source {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.reviews-cta {
    text-align: center;
    margin-top: 2.5rem;
}

/* ── Gallery ── */
.media-section h2 { text-align: center; margin-bottom: 2rem; }

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr));
    gap: 1rem;
}

.gallery-item {
    aspect-ratio: 1;
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--card-bg);
    border: 1px solid var(--border);
    transition: transform var(--transition);
}
.gallery-item:hover { transform: scale(1.03); }

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.gallery-placeholder svg { width: 100%; height: 100%; }

.gallery-note {
    text-align: center;
    margin-top: 2rem;
    color: var(--text-muted);
}

/* ── Booking ── */
.booking-section { text-align: center; }
.booking-section h2 { margin-bottom: 2rem; }

.booking-widget {
    max-width: 700px;
    margin: 0 auto 1.5rem;
    min-height: 200px;
}

.booking-fallback {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* ── Contact ── */
.contact-section h2 { margin-bottom: 0.5rem; }

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.contact-info > p {
    margin-bottom: 2rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.contact-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}
.contact-item svg {
    flex-shrink: 0;
    margin-top: 0.25rem;
    color: var(--accent);
}
.contact-item strong { color: var(--text); }
.contact-item a { color: var(--accent); }

.contact-map iframe {
    width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

/* ── Footer ── */
footer {
    background: var(--footer-bg);
    color: var(--footer-text);
    padding: 2.5rem 0;
    text-align: center;
}

.footer-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.social-icons {
    display: flex;
    gap: 1rem;
}
.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    color: var(--footer-text);
    transition: all var(--transition);
}
.social-icons a:hover {
    background: var(--accent);
    color: #fff;
    transform: scale(1.1);
}

.copyright {
    font-size: 0.85rem;
    color: var(--footer-text);
    opacity: 0.7;
}

/* ── Mobile CTA (hidden on desktop) ── */
.mobile-cta { display: none; }

/* ── Scroll-reveal ── */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* ── Responsive ── */
@media (max-width: 900px) {
    .about-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .about-image { justify-self: center; }
    .about-image img { width: 260px; }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .review-card {
        flex: 0 0 calc(50% - 1rem);
    }
}

@media (max-width: 960px) {
    .menu-toggle { display: flex; }

    nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        flex-direction: column;
        background: var(--bg-alt);
        padding: 5rem 1.5rem 2rem;
        gap: 0;
        box-shadow: var(--shadow-xl);
        transition: right 0.35s ease;
        z-index: 1000;
        overflow-y: auto;
    }
    nav.open { right: 0; }

    nav a {
        font-size: 1rem;
        padding: 0.8rem 1rem;
        border-radius: var(--radius);
        width: 100%;
    }

    .theme-toggle {
        margin-left: 0;
        margin-top: 1rem;
        width: 100%;
        justify-content: center;
        padding: 0.8rem;
        border-radius: var(--radius);
    }
}

@media (max-width: 768px) {
    .hero-section {
        min-height: 50vh;
        background-attachment: scroll;
    }

    section { padding: 3.5rem 0; }
    h2 { font-size: 1.6rem; }

    .faq-grid { grid-template-columns: 1fr; }
    .carousel-track { align-items: flex-start; }
    .review-card {
        flex: 0 0 calc(100% - 1rem);
        min-height: auto;
        padding: 1.5rem;
    }
    .review-card blockquote { flex: 0; }
    .gallery-grid { grid-template-columns: repeat(2, 1fr); }

    .btn {
        display: block;
        max-width: 320px;
        margin-left: auto;
        margin-right: auto;
    }

    /* About: left-align long paragraphs for readability */
    .about-grid { text-align: left; }
    .about-text { text-align: left; }
    .instructor-badge { text-align: center; }

    /* Reduce faq card padding on mobile */
    .faq-card { padding: 1.25rem; }

    /* Larger tap targets for carousel dots */
    .carousel-dot {
        width: 10px;
        height: 10px;
        position: relative;
    }
    .carousel-dot::before {
        content: '';
        position: absolute;
        inset: -10px;
    }
    .carousel-dots { gap: 0.4rem; }

    /* Contact: larger tap targets for phone/email */
    .contact-item a {
        display: inline-block;
        min-height: 44px;
        line-height: 44px;
    }

    /* Reduce map height on mobile */
    .contact-map iframe { height: 280px; }

    /* Booking widget: reduce min-height */
    .booking-widget { min-height: 150px; }

    /* Sticky mobile CTA */
    .mobile-cta {
        display: block;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 999;
        background: var(--accent);
        color: #fff;
        text-align: center;
        padding: 0.9rem 1rem;
        font-size: 1rem;
        font-weight: 700;
        font-family: inherit;
        letter-spacing: 0.3px;
        text-decoration: none;
        box-shadow: 0 -2px 10px rgba(0,0,0,0.15);
        transition: background var(--transition);
    }
    .mobile-cta:hover, .mobile-cta:active {
        background: var(--accent-hover);
        color: #fff;
    }

    /* Add bottom padding to body so footer isn't hidden behind sticky CTA */
    body { padding-bottom: 52px; }
}

@media (max-width: 480px) {
    .site-title { font-size: 1rem; }

    .hero-section { min-height: 45vh; }
    .hero-content { padding: 1.5rem; }
    .hero-content h1 { font-size: 1.8rem; }
    .hero-subtitle { margin-bottom: 1.5rem; }

    section { padding: 2.5rem 0; }

    .intro-section h2 { font-size: 1.8rem; }
    .intro-text { font-size: 1rem; }

    .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 0.5rem; }

    .stats-badge { flex-direction: column; gap: 0.25rem; padding: 0.75rem 1rem; }

    .contact-map iframe { height: 220px; }
}
