/* --- VARIABLES --- */
:root {
    --bg-dark: #0a0a0c;
    --bg-darker: #050506;
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.7);
    --gold: #d4af37;
    --gold-glow: rgba(212, 175, 55, 0.5);
    --purple: #8a2be2;
    --purple-glow: rgba(138, 43, 226, 0.3);
    
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
    
    --font-heading: 'Cinzel', serif;
    --font-body: 'Inter', sans-serif;
    
    --transition-standard: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

/* --- RESET & BASE --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.2;
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.5rem; margin-bottom: 1rem; }
h3 { font-size: 1.5rem; }

.eyebrow {
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.sub-headline {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.text-gold { color: var(--gold); }
.text-purple { color: var(--purple); }

p { margin-bottom: 1rem; color: var(--text-secondary); font-size: 1.05rem; }

a { text-decoration: none; color: inherit; transition: var(--transition-standard); }
img, video { max-width: 100%; height: auto; }
ul { list-style: none; }

/* Absolute Backgrounds */
.section-bg {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    object-fit: cover;
    z-index: 0;
    pointer-events: none;
}

/* Layout & Containers */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
}

.section {
    padding: 6rem 0;
}

.text-center { text-align: center; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-4 { margin-top: 2rem; }
.w-100 { width: 100%; }

/* --- UI COMPONENTS --- */

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    font-family: var(--font-body);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    cursor: pointer;
    border-radius: 4px;
    transition: var(--transition-standard);
    border: none;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary {
    background-color: var(--gold);
    color: var(--bg-darker);
}

.btn-primary:hover {
    background-color: #fce38a;
    box-shadow: 0 0 20px var(--gold-glow);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--gold);
    color: var(--gold);
}

.btn-outline:hover {
    background: var(--gold-glow);
    color: var(--text-primary);
}

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

.btn-glass:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
}

.btn-massive {
    padding: 1rem 3rem;
    font-size: 1.1rem;
    background: linear-gradient(135deg, var(--purple), var(--gold));
    color: white;
    border: none;
    border-radius: 50px;
}

.btn-massive:hover {
    box-shadow: 0 5px 30px var(--purple-glow), 0 5px 30px var(--gold-glow);
    transform: scale(1.05);
}

.underline-link {
    display: inline-block;
    position: relative;
    color: var(--gold);
    font-weight: 600;
    margin-top: 1rem;
}
.underline-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--gold);
    transition: var(--transition-standard);
}
.underline-link:hover::after { width: 100%; }

.text-link {
    display: inline-block;
    color: var(--text-primary);
    border-bottom: 1px solid var(--purple);
    padding-bottom: 2px;
    margin-top: 1rem;
    transition: var(--transition-standard);
}
.text-link:hover { color: var(--purple); }

/* Glassmorphism Classes */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    transition: var(--transition-standard);
    position: relative;
    overflow: hidden;
}

.glass-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: radial-gradient(
        600px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
        rgba(255, 255, 255, 0.08),
        transparent 40%
    );
    opacity: 0;
    transition: opacity 0.5s;
    pointer-events: none;
    z-index: 0;
}

.glass-card:hover::before { opacity: 1; }

.glass-card:hover { border-color: rgba(255,255,255,0.2); transform: translateY(-5px); box-shadow: 0 10px 30px rgba(0,0,0,0.5); }

/* --- SPECIFIC SECTIONS --- */

/* Navbar */
.navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    padding: 1.5rem 0;
    z-index: 100;
    transition: var(--transition-standard);
}
.navbar.scrolled {
    background: rgba(5, 5, 6, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    border-bottom: 1px solid var(--glass-border);
}
.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
}
.logo span { color: var(--gold); }

.nav-links { display: flex; gap: 2rem; }
.nav-links a {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition-standard);
}
.nav-links a:hover {
    color: var(--gold);
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px; height: 21px;
    cursor: pointer;
    z-index: 1001;
}
.mobile-menu-btn span {
    display: block; width: 100%; height: 3px; background-color: var(--text-primary);
    border-radius: 3px; transition: all 0.3s ease;
}

/* Hero */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding: 8rem 0 4rem; /* Safe padding for content */
}
.hero-bg-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: radial-gradient(circle at top right, rgba(138,43,226,0.15), transparent 60%);
    z-index: 0;
}
.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
}
.hero-split .hero-text { text-align: left; }
.hero-split h1 { font-size: 3.8rem; line-height: 1.1; margin-bottom: 1.5rem; }
.hero-split .hero-actions { display: flex; gap: 1.5rem; justify-content: flex-start; margin-top: 2rem; }
.visual-wrapper { padding: 10px; border-radius: 20px; box-shadow: 0 20px 50px rgba(0,0,0,0.5), 0 0 30px rgba(212,175,55,0.1); position: relative; }
.hero-main-img { width: 100%; border-radius: 12px; display: block; object-fit: cover; }
.hero-badge { position: absolute; bottom: -20px; left: -30px; padding: 15px 25px; display: flex; align-items: center; gap: 15px; z-index: 10; background: rgba(10,10,12,0.9); }
.badge-icon { font-size: 2rem; }
.badge-text-wrapper { text-align: left; }
.badge-title { margin: 0; font-size: 0.8rem; color: var(--gold); font-weight: bold; text-transform: uppercase; }
.badge-sub { margin: 0; font-size: 1.1rem; color: white; }

/* Split Layout */
.split-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.image-wrapper {
    position: relative;
    padding: 1rem;
}
.image-wrapper img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    display: block;
    position: relative;
    z-index: 2;
}

/* Symphony */
.dark-section { background-color: var(--bg-darker); }
.desc-max { max-width: 600px; margin: 0 auto 3rem; }

.symphony-visual {
    position: relative;
    height: 450px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.symphony-circle {
    position: relative;
    width: 80%;
    max-width: 600px;
    aspect-ratio: 16/9;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.symphony-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
    opacity: 0.8;
}

/* Floating Instruments Placeholder */
.instrument-floating {
    position: absolute;
    background: rgba(10, 10, 12, 0.85);
    backdrop-filter: blur(5px);
    border: 1px solid var(--purple-glow);
    padding: 0.5rem 1rem;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--gold);
    animation: float 6s ease-in-out infinite;
}
.top-left { top: -20px; left: 20px; animation-delay: 0s; }
.top-right { top: 20px; right: -40px; animation-delay: 1s; }
.bottom-left { bottom: 30px; left: -30px; animation-delay: 2s; }
.bottom-right { bottom: -10px; right: 0px; animation-delay: 3s; }

/* Grid Containers */
.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}
.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.course-card {
    height: 250px;
    display: flex;
    align-items: flex-end;
    background: var(--glass-bg);
    overflow: hidden;
}
.course-bg {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    object-fit: cover;
    z-index: 0;
    transition: var(--transition-standard);
    opacity: 0.7;
}
.course-card:hover .course-bg {
    transform: scale(1.1);
    opacity: 0.9;
}
.card-content {
    position: relative;
    z-index: 1;
    width: 100%;
    padding: 2rem;
    background: linear-gradient(to top, rgba(0,0,0,0.95) 0%, transparent 100%);
}
.card-content h3 { font-size: 1.8rem; margin-bottom: 0.5rem; color: #fff; text-shadow: 0px 2px 4px rgba(0,0,0,0.8); }

/* Legacy Banner */
.legacy-banner {
    position: relative;
    padding: 8rem 0;
    overflow: hidden;
}
.legacy-bg {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: url('https://images.unsplash.com/photo-1540039155732-6761b369c00b?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80') center/cover;
    opacity: 0.15;
    background-attachment: fixed;
    z-index: 0;
}
.relative-z { position: relative; z-index: 1;}
.legacy-text { font-size: 1.5rem; max-width: 800px; margin: 0 auto; color: var(--text-primary); }

/* YouTube Thumbnail Card */
.youtube-thumbnail-card {
    display: block;
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.8);
    border: 2px solid rgba(255,255,255,0.1);
    transition: transform 0.3s ease, border-color 0.3s ease;
}
.yt-thumb-img { width: 100%; display: block; transition: transform 0.4s ease; }
.yt-overlay { position: absolute; top:0; left:0; width:100%; height:100%; background: rgba(0,0,0,0.4); transition: background 0.3s ease; }
.yt-play-btn { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); color: #FF0000; transition: transform 0.3s ease; }

.youtube-thumbnail-card:hover { transform: translateY(-5px); border-color: #FF0000; }
.youtube-thumbnail-card:hover .yt-thumb-img { transform: scale(1.03); }
.youtube-thumbnail-card:hover .yt-overlay { background: rgba(0,0,0,0.1); }
.youtube-thumbnail-card:hover .yt-play-btn { transform: translate(-50%, -50%) scale(1.1); }

/* Booking Form */
.event-list li {
    padding-left: 1.5rem;
    position: relative;
    margin-bottom: 0.8rem;
    font-size: 1.1rem;
}
.event-list li::before {
    content: '✦';
    position: absolute;
    left: 0;
    color: var(--gold);
}

.glass-form .input-group {
    position: relative;
    margin-bottom: 2rem;
    margin-top: 2rem;
}
.glass-form input, .glass-form select {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(255,255,255,0.2);
    padding: 10px 0;
    color: white;
    font-size: 1rem;
    font-family: inherit;
}
.glass-form input:focus, .glass-form select:focus {
    outline: none;
    border-color: var(--gold);
}
.glass-form label {
    position: absolute;
    top: 10px; left: 0;
    color: var(--text-secondary);
    transition: var(--transition-standard);
    pointer-events: none;
}
.glass-form input:focus ~ label,
.glass-form input:not(:placeholder-shown) ~ label {
    top: -20px;
    font-size: 0.8rem;
    color: var(--gold);
}
.glass-form select {
    color: var(--text-secondary);
}
.glass-form option {
    background: var(--bg-darker);
    color: white;
}

.p-4 { padding: 2.5rem; border-radius: 12px; }

/* Blog Card Hover Effect */
.blog-card:hover .blog-img {
    transform: scale(1.08);
}

/* Gallery Section */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 15px;
}
.gallery-item {
    height: 300px;
    overflow: hidden;
    padding: 0;
}
.gallery-item img {
    transition: var(--transition-standard);
}
.gallery-item:hover img {
    transform: scale(1.05);
}

/* Lightbox (Quick Look) */
.lightbox {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(10, 10, 12, 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 10000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.lightbox.active {
    opacity: 1;
    pointer-events: all;
}

.lightbox img {
    max-width: 90%;
    max-height: 90vh;
    border-radius: 12px;
    box-shadow: 0 30px 80px rgba(0,0,0,0.8);
    transform: scale(0.95);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.lightbox.active img {
    transform: scale(1);
}


/* Contact Section & Footer */
.gradient-bg {
    background: radial-gradient(circle at center, rgba(138,43,226,0.1) 0%, transparent 70%);
}
.tel-link {
    display: inline-block;
    transition: var(--transition-standard);
}
.tel-link:hover { color: var(--gold); transform: translateX(5px); }

/* Mobile Responsiveness Adjustments */
@media screen and (max-width: 768px) {
    .split-layout { grid-template-columns: 1fr; gap: 2.5rem; text-align: center; }
    .split-image.right { padding: 0 1rem; }
    
    h1 { font-size: 2.2rem; }
    h2 { font-size: 1.8rem; }
    .section { padding: 4rem 0; }
    
    .hero { padding: 6rem 0 3rem; }
    .hero-split .hero-text { text-align: center; }
    .hero-split h1 { font-size: 2.5rem; }
    .hero-split .hero-actions { flex-direction: column; padding: 0; justify-content: center; }
    .hero-split .hero-actions .btn { width: 100%; margin-bottom: 15px; }
    .hero-badge { left: 50%; transform: translateX(-50%); width: 90%; justify-content: center; bottom: -30px; }
    
    .mobile-menu-btn { display: flex; }
    
    .nav-links {
        position: fixed;
        top: 0; right: -100%;
        width: 100%; max-width: 300px; height: 100vh;
        background: rgba(10, 10, 12, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2.5rem;
        transition: right 0.4s cubic-bezier(0.77,0.2,0.05,1);
        box-shadow: -10px 0 30px rgba(0,0,0,0.8);
        z-index: 1000;
        padding-bottom: 50px;
    }
    .nav-links.active { right: 0; }
    .nav-links a { font-size: 1.2rem; }
    
    /* Hamburger to X Animation */
    .mobile-menu-btn.active span:nth-child(1) { transform: translateY(9px) rotate(45deg); background-color: var(--gold); }
    .mobile-menu-btn.active span:nth-child(2) { opacity: 0; }
    .mobile-menu-btn.active span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); background-color: var(--gold); }
    
    .navbar .btn-outline { display: none; } /* Hide right CTA on mobile to save space */
    
    .grid-container { grid-template-columns: 1fr; }
    .grid-3 { grid-template-columns: 1fr; }
    
    .course-card { height: 200px; padding: 1.5rem; }
    .card-content { padding: 1.5rem; margin-bottom: -1rem; }

    .symphony-visual { height: auto; padding: 2rem 0; overflow: visible; display: block; text-align: center; }
    .symphony-circle { width: 100%; max-width: 100%; aspect-ratio: auto; background: transparent; border: none; backdrop-filter: none; display: flex; flex-direction: column; align-items: center; }
    .symphony-img { aspect-ratio: 1/1; margin-bottom: 1rem; width: 100%; max-width: 350px; }
    
    .instrument-floating {
        position: relative;
        display: inline-block;
        top: auto !important; left: auto !important; right: auto !important; bottom: auto !important;
        margin: 5px;
        animation: none;
        font-size: 0.85rem;
    }
    
    .legacy-banner { padding: 4rem 0; }
    
    .glass-form .input-group input, .glass-form .input-group select { font-size: 16px; } /* Prevents iOS Safari Zooming */
    
    .footer-content { display: flex; flex-direction: column; text-align: center; gap: 2rem; }
    .footer-map iframe { min-height: 250px; }
}
