:root {
    --bg: #0f0f0f;
    --bg-alt: #151515;
    --text: #f2f2f2;
    --muted: #b9b9b9;
    --brand: #caa06b;
    --brand-2: #e7d2a6;
    --card: #1a1a1a;
    --border: #2a2a2a;
    --shadow: 0 10px 30px rgba(0, 0, 0, .35);
}

* {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
}

body {
    font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    scroll-behavior: smooth;
}

h1, h2, h3, h4, h5 {
    font-family: Marcellus, Georgia, 'Times New Roman', serif;
    letter-spacing: .2px;
    margin: 0 0 .6rem;
    color: var(--text);
}

h1 {
    font-size: clamp(2rem, 4vw, 3rem);
}

h2 {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
}

h3 {
    font-size: clamp(1.2rem, 2.4vw, 1.6rem);
}

p {
    margin: .2rem 0 1rem;
    color: var(--text);
}

.muted {
    color: var(--muted);
}

a {
    color: var(--brand);
    text-decoration: none;
}

a:hover {
    color: var(--brand-2);
}

.container {
    width: min(1120px, 92%);
    margin: 0 auto;
}

.section {
    padding: 72px 0;
    background: var(--bg);
}

.section.alt {
    background: var(--bg-alt);
}

.section-head {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 32px;
}

.section-head p {
    color: var(--muted);
}

/* Header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(15, 15, 15, .85);
    backdrop-filter: saturate(140%) blur(6px);
    border-bottom: 1px solid var(--border);
}

.nav-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text);
}

.brand-logo {
    height: 36px;
    width: auto;
    object-fit: contain;
}

.brand-text {
    font-family: Marcellus, serif;
    font-size: 1.1rem;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 24px;
}

.site-nav ul {
    display: flex;
    list-style: none;
    gap: 18px;
    margin: 0;
    padding: 0;
}

.site-nav a {
    color: var(--text);
}

.site-nav a:hover {
    color: var(--brand);
}

.nav-cta {
    margin-left: 6px;
}

.nav-toggle {
    display: none;
    background: none;
    border: 1px solid var(--border);
    color: var(--text);
    padding: 6px 10px;
    border-radius: 6px;
    cursor: pointer;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 18px;
    border-radius: 10px;
    border: 1px solid transparent;
    transition: .2s ease;
    font-weight: 600;
}

.btn.small {
    padding: 8px 12px;
    border-radius: 8px;
    font-weight: 500;
}

.btn-primary {
    background: var(--brand);
    color: #1a1a1a;
}

.btn-primary:hover {
    background: var(--brand-2);
}

.btn-outline {
    border-color: var(--brand);
    color: var(--brand);
    background: transparent;
}

.btn-outline:hover {
    border-color: var(--brand-2);
    color: var(--brand-2);
}

/* Hero */
.hero {
    padding: 72px 0 40px;
    background: linear-gradient(180deg, rgba(202, 160, 107, 0.08), transparent 40%), var(--bg);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 28px;
    align-items: center;
}

.hero-copy p {
    color: var(--muted);
}

.hero-media img {
    width: 100%;
    height: auto;
    border-radius: 14px;
    box-shadow: var(--shadow);
}

/* Split section (Odissi, Teacher) */
.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    align-items: center;
}

.split-media img {
    width: 100%;
    border-radius: 14px;
    box-shadow: var(--shadow);
}

/* Cards (Courses) */
.cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 22px;
    box-shadow: var(--shadow);
}

.card h3 {
    margin-bottom: .4rem;
}

.card p {
    color: var(--muted);
}

.text-link {
    color: var(--brand);
}

.text-link:hover {
    color: var(--brand-2);
}

/* Footer */
.site-footer {
    padding: 40px 0;
    border-top: 1px solid var(--border);
    background: var(--bg);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 24px;
    align-items: start;
}

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

.footer-menu li {
    margin: 6px 0;
}

.social {
    list-style: none;
    margin: 0 0 10px 0;
    padding: 0;
}

.social li {
    margin: 6px 0;
}

/* Scroll to top */
.scroll-top {
    position: fixed;
    right: 16px;
    bottom: 16px;
    z-index: 1000;
    height: 44px;
    width: 44px;
    border-radius: 50%;
    border: 1px solid var(--border);
    background: rgba(0, 0, 0, .6);
    color: #fff;
    cursor: pointer;
    display: none;
}

/* A11y helpers */
.sr-only {
    position: absolute !important;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Responsive */
@media (max-width: 980px) {
    .hero-grid {
        grid-template-columns: 1fr;
    }

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

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

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

    .site-nav {
        display: none;
        position: absolute;
        top: 60px;
        right: 4%;
        left: 4%;
        flex-direction: column;
        background: var(--bg);
        border: 1px solid var(--border);
        border-radius: 12px;
        padding: 14px;
        gap: 10px;
    }

    .site-nav.open {
        display: flex;
    }

    .nav-toggle {
        display: inline-block;
    }

    .nav-cta {
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 560px) {
    .cards {
        grid-template-columns: 1fr;
    }

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

/* Modern Lightbox Viewer Styles */
.lightbox-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0; top: 0;
    width: 100vw; height: 100vh;
    background: rgba(20,20,20,0.92);
    align-items: center;
    justify-content: center;
    flex-direction: column;
    transition: opacity 0.2s;
}
.lightbox-img {
    max-width: 90vw;
    max-height: 80vh;
    border-radius: 12px;
    box-shadow: 0 4px 32px rgba(0,0,0,0.4);
}
.lightbox-close {
    position: absolute;
    top: 32px; right: 48px;
    font-size: 2.5em;
    color: #fff;
    cursor: pointer;
    font-weight: bold;
    z-index: 10001;
    transition: color 0.2s;
}
.lightbox-close:hover { color: #caa06b; }
.lightbox-prev, .lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 3em;
    color: #fff;
    cursor: pointer;
    user-select: none;
    padding: 0 18px;
    z-index: 10001;
    transition: color 0.2s;
}
.lightbox-prev { left: 32px; }
.lightbox-next { right: 32px; }
.lightbox-prev:hover, .lightbox-next:hover { color: #caa06b; }

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 18px;
    margin-top: 24px;
}
.gallery-grid img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    box-shadow: 0 2px 12px rgba(0,0,0,0.10);
    transition: transform 0.2s, box-shadow 0.2s;
}
.gallery-grid img:hover {
    transform: scale(1.04);
    box-shadow: 0 4px 24px rgba(202,160,107,0.18);
}
