/* CSS Variables & Theme Tokens */
:root {
    --bg-dark: #0a0a0f;
    --bg-card: #15151e;
    --text-main: #f0f0f5;
    --text-muted: #a0a0b0;
    --accent-gold: #d4af37;
    --accent-gold-hover: #f1c40f;
    --accent-copper: #d35400;
    --glass-bg: rgba(20, 20, 30, 0.7);
    --glass-border: rgba(255, 255, 255, 0.05);
    
    --font-heading: 'Cinzel', serif;
    --font-body: 'Inter', sans-serif;
    
    --transition: all 0.3s ease;
}

/* Reset & Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

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

ul {
    list-style: none;
}

/* Typography */
h1, h2, h3, .logo {
    font-family: var(--font-heading);
    font-weight: 600;
}

/* Navigation Bar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--glass-border);
    z-index: 1000;
    transition: var(--transition);
}

.navbar.scrolled {
    padding: 1rem 5%;
    background: rgba(10, 10, 15, 0.95);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

.logo {
    font-size: 1.8rem;
    color: var(--accent-gold);
    letter-spacing: 1px;
    text-transform: uppercase;
    text-shadow: 0 2px 10px rgba(212, 175, 55, 0.3);
}

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

.nav-links a {
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-gold);
    transition: var(--transition);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

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

/* Buttons */
.btn-enroll, .btn-primary, .btn-secondary, .btn-outline {
    display: inline-block;
    padding: 0.8rem 1.8rem;
    border-radius: 4px;
    font-family: var(--font-body);
    font-weight: 500;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: var(--transition);
}

.btn-enroll {
    background: linear-gradient(135deg, var(--accent-gold), #b8860b);
    color: #000;
    border: none;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.btn-enroll:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.5);
}

.btn-primary {
    background: var(--accent-gold);
    color: #000;
    border: none;
}

.btn-primary:hover {
    background: var(--accent-gold-hover);
    transform: translateY(-2px);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-main);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--accent-gold);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--accent-gold);
    border: 1px solid var(--accent-gold);
    margin-top: 1.5rem;
}

.btn-outline:hover {
    background: var(--accent-gold);
    color: #000;
}

/* Hero Section — Animated Intro */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding-top: 80px;
    background: var(--bg-dark);
    perspective: 1000px;
}

/* Ambient glow behind veena */
.hero::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.12) 0%, transparent 70%);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    filter: blur(60px);
    z-index: 0;
    opacity: 0;
    animation: glowPulseIn 2s ease 0.8s forwards;
}

/* ─── Floating Particles ─── */
.hero-particles {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--accent-gold);
    border-radius: 50%;
    opacity: 0;
    filter: blur(1px);
}

.p1 { top: 20%; left: 15%; animation: particleFloat 6s ease-in-out 2.5s infinite; }
.p2 { top: 60%; left: 80%; animation: particleFloat 8s ease-in-out 3s infinite; }
.p3 { top: 30%; left: 70%; animation: particleFloat 7s ease-in-out 3.5s infinite; }
.p4 { top: 75%; left: 25%; animation: particleFloat 9s ease-in-out 4s infinite; }
.p5 { top: 45%; left: 55%; animation: particleFloat 5s ease-in-out 2.8s infinite; }

@keyframes particleFloat {
    0% { opacity: 0; transform: translateY(0) scale(1); }
    20% { opacity: 0.7; }
    50% { opacity: 0.4; transform: translateY(-40px) scale(1.5); }
    80% { opacity: 0.6; }
    100% { opacity: 0; transform: translateY(-80px) scale(0.5); }
}

/* ─── Veena Container ─── */
.veena-container {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    /* Initial state — hidden below, vertical */
    opacity: 0;
    transform: translateY(150px) rotate(0deg) scale(0.8);
    animation: veenaEntrance 2s cubic-bezier(0.22, 1, 0.36, 1) 0.3s forwards;
}

.veena-image {
    height: 55vh;
    max-height: 500px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 0 50px rgba(212, 175, 55, 0.4));
    transition: filter 0.5s ease;
}

.veena-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 500px;
    height: 500px;
    background: radial-gradient(ellipse, rgba(212, 175, 55, 0.2) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    border-radius: 50%;
    filter: blur(50px);
    opacity: 0;
    animation: veenaGlowIn 1.5s ease 1.5s forwards;
}

/* Veena rises from below and rotates to a horizontal-ish tilt */
@keyframes veenaEntrance {
    0% {
        opacity: 0;
        transform: translateY(150px) rotate(0deg) scale(0.8);
    }
    40% {
        opacity: 1;
        transform: translateY(-20px) rotate(-10deg) scale(0.95);
    }
    70% {
        transform: translateY(0px) rotate(-28deg) scale(1.02);
    }
    100% {
        opacity: 1;
        transform: translateY(0) rotate(-25deg) scale(1);
    }
} 

@keyframes veenaGlowIn {
    to { opacity: 1; }
}

@keyframes glowPulseIn {
    0% { opacity: 0; }
    100% { opacity: 1; }
}

/* ─── Title ─── */
.hero-title-wrapper {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1; /* behind the veena */
    text-align: center;
    pointer-events: none;
    width: 100%;
}

.hero-title {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.2rem;
}

.title-line {
    display: block;
    font-family: var(--font-heading);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 14px;
    line-height: 1.1;
    /* Initial hidden state — deep in the background */
    opacity: 0;
    transform: scale(0.3) translateZ(-200px);
    filter: blur(18px);
}

.title-line-1 {
    font-size: 5.5rem;
    color: var(--text-main);
    animation: titleFromBackground 1.6s cubic-bezier(0.16, 1, 0.3, 1) 1.6s forwards;
}

.title-line-2 {
    font-size: 6.5rem;
    background: linear-gradient(135deg, var(--accent-gold), #f39c12, #d4af37);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: titleFromBackground 1.6s cubic-bezier(0.16, 1, 0.3, 1) 2s forwards;
}

/* Text emerges from deep behind — scaling up from small/blurred to full size */
@keyframes titleFromBackground {
    0% {
        opacity: 0;
        transform: scale(0.3);
        filter: blur(18px);
    }
    40% {
        opacity: 0.5;
        filter: blur(6px);
    }
    100% {
        opacity: 1;
        transform: scale(1);
        filter: blur(0);
    }
}

/* ─── Tagline ─── */
.hero-tagline {
    font-family: var(--font-body);
    font-size: 1.15rem;
    font-weight: 300;
    color: var(--text-muted);
    letter-spacing: 2px;
    margin-top: 1.2rem;
    opacity: 0;
    transform: translateY(15px);
    animation: fadeSlideUp 0.8s ease 2.6s forwards;
}

/* ─── CTA Buttons ─── */
.hero-cta {
    position: relative;
    z-index: 3;
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeSlideUp 0.8s ease 3s forwards;
}

/* ─── Scroll Indicator ─── */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    z-index: 3;
    opacity: 0;
    animation: fadeSlideUp 0.8s ease 3.4s forwards;
}

.scroll-text {
    font-family: var(--font-body);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--text-muted);
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--accent-gold), transparent);
    animation: scrollPulse 2s ease-in-out 3.8s infinite;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 0.3; transform: scaleY(1); }
    50% { opacity: 1; transform: scaleY(1.3); }
}

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

/* Animations — generic helpers */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease forwards;
}

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.content-section {
    padding: 6rem 5%;
    position: relative;
}

.content-section .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4rem;
}

.content-section.reverse .container {
    flex-direction: row-reverse;
}

.section-text {
    flex: 1;
}

.section-title {
    font-size: 2.5rem;
    color: var(--text-main);
    margin-bottom: 0.5rem;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--accent-gold);
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.section-text p {
    color: var(--text-muted);
    font-size: 1.05rem;
    margin-bottom: 2rem;
}

.features-list {
    margin-bottom: 2rem;
}

.features-list li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 1rem;
    color: var(--text-main);
}

.features-list li::before {
    content: '✦';
    position: absolute;
    left: 0;
    top: 2px;
    color: var(--accent-gold);
    font-size: 0.8rem;
}

.section-image-wrapper {
    flex: 1;
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0,0,0,0.6);
}

.content-image {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.7s ease;
}

.section-image-wrapper:hover .content-image {
    transform: scale(1.05);
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(10,10,15,0.8) 0%, transparent 50%);
    pointer-events: none;
}

/* About Section Placeholder */
.about-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(20,20,30,0.8), rgba(10,10,15,0.9));
    min-height: 400px;
    border: 1px solid var(--glass-border);
}

.about-logo {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    color: var(--accent-gold);
    text-align: center;
    line-height: 1.2;
    text-transform: uppercase;
    text-shadow: 0 4px 20px rgba(212, 175, 55, 0.2);
    position: relative;
    z-index: 2;
}

/* Contact Section */
.contact-info {
    margin-top: 2rem;
    list-style: none;
}

.contact-info li {
    color: var(--text-main);
    margin-bottom: 1rem;
    font-size: 1.05rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-info li::before {
    content: '✧';
    color: var(--accent-gold);
}

.contact-form-wrapper {
    flex: 1;
    background: var(--bg-card);
    padding: 3rem;
    border-radius: 12px;
    border: 1px solid var(--glass-border);
    box-shadow: 0 15px 40px rgba(0,0,0,0.4);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-form .input-group input,
.contact-form .input-group textarea {
    width: 100%;
    padding: 1rem 1.2rem;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.1);
    color: var(--text-main);
    border-radius: 6px;
    font-family: var(--font-body);
    font-size: 1rem;
    outline: none;
    transition: var(--transition);
}

.contact-form .input-group textarea {
    resize: vertical;
}

.contact-form .input-group input:focus,
.contact-form .input-group textarea:focus {
    border-color: var(--accent-gold);
    background: rgba(255,255,255,0.06);
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.1);
}

.contact-form button {
    align-self: flex-start;
    font-size: 1.05rem;
    padding: 1rem 2.5rem;
    margin-top: 0.5rem;
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.menu-toggle .bar {
    width: 25px;
    height: 2px;
    background-color: var(--text-main);
    transition: var(--transition);
}

/* Responsive Design */
@media (max-width: 992px) {
    .title-line-1 {
        font-size: 3.5rem;
    }

    .title-line-2 {
        font-size: 4.5rem;
    }

    .veena-image {
        height: 45vh;
    }

    .content-section .container,
    .content-section.reverse .container {
        flex-direction: column;
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .btn-enroll {
        display: none;
    }

    .menu-toggle {
        display: flex;
    }

    .title-line-1 {
        font-size: 2.5rem;
        letter-spacing: 6px;
    }

    .title-line-2 {
        font-size: 3rem;
        letter-spacing: 6px;
    }

    .veena-image {
        height: 35vh;
    }

    .hero-tagline {
        font-size: 0.9rem;
        padding: 0 1rem;
    }

    .hero-cta {
        flex-direction: column;
        align-items: center;
    }
}
