/* ========================================
   GLOBAL STYLES & RESET
======================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Color Palette - Inspired by Indian Classical Dance */
    --primary-color: #D4145A;
    --secondary-color: #FBB03B;
    --accent-color: #8B2F97;
    --dark-purple: #4A1942;
    --light-bg: #FFF8F0;
    --white: #FFFFFF;
    --text-dark: #2C2C2C;
    --text-light: #6B6B6B;
    --gold: #D4AF37;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #D4145A 0%, #8B2F97 100%);
    --gradient-secondary: linear-gradient(135deg, #FBB03B 0%, #D4145A 100%);
    --gradient-overlay: linear-gradient(135deg, rgba(212, 20, 90, 0.85) 0%, rgba(74, 25, 66, 0.85) 100%);
    
    /* Typography */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Poppins', sans-serif;
    
    /* Spacing */
    --section-padding: 80px 0;
    --container-padding: 0 20px;
}

html {
    scroll-behavior: smooth;
}

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--container-padding);
}

/* ========================================
   NAVIGATION
======================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: var(--white);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.nav-brand h1 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0;
}

.nav-brand .tagline {
    font-size: 0.75rem;
    color: var(--text-light);
    font-style: italic;
    margin-top: -5px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-link {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link:hover {
    color: var(--primary-color);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    transition: all 0.3s ease;
}

/* ========================================
   HERO SECTION
======================================== */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #D4145A 0%, #4A1942 50%, #8B2F97 100%);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(251, 176, 59, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(212, 20, 90, 0.1) 0%, transparent 50%);
    animation: pulse 8s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><path d="M50 10 L60 40 L90 40 L65 60 L75 90 L50 70 L25 90 L35 60 L10 40 L40 40 Z" fill="rgba(255,255,255,0.03)"/></svg>');
    opacity: 0.3;
    animation: float 20s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
    max-width: 800px;
    padding: 0 20px;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 2px 2px 20px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 300;
    margin-bottom: 15px;
    color: var(--secondary-color);
}

.hero-description {
    font-size: 1.1rem;
    margin-bottom: 40px;
    opacity: 0.9;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 15px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
    cursor: pointer;
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background: var(--secondary-color);
    color: var(--dark-purple);
    box-shadow: 0 5px 20px rgba(251, 176, 59, 0.4);
}

.btn-primary:hover {
    background: var(--gold);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(251, 176, 59, 0.6);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--primary-color);
    transform: translateY(-3px);
}

.btn-block {
    width: 100%;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.scroll-arrow {
    width: 30px;
    height: 50px;
    border: 2px solid var(--white);
    border-radius: 20px;
    position: relative;
    opacity: 0.7;
}

.scroll-arrow::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 6px;
    background: var(--white);
    border-radius: 50%;
    animation: scroll 2s infinite;
}

@keyframes scroll {
    0% { top: 10px; opacity: 1; }
    100% { top: 30px; opacity: 0; }
}

/* Fade-in Animations */
.animate-fade-in {
    animation: fadeIn 1s ease-out;
}

.animate-fade-in-delay {
    animation: fadeIn 1s ease-out 0.3s both;
}

.animate-fade-in-delay-2 {
    animation: fadeIn 1s ease-out 0.6s both;
}

.animate-fade-in-delay-3 {
    animation: fadeIn 1s ease-out 0.9s both;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========================================
   SECTION HEADERS
======================================== */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.title-underline {
    width: 80px;
    height: 4px;
    background: var(--gradient-primary);
    margin: 0 auto 20px;
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

/* ========================================
   ABOUT SECTION
======================================== */
.about {
    padding: var(--section-padding);
    background: var(--light-bg);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.about-text .lead {
    font-size: 1.3rem;
    font-weight: 500;
    color: var(--primary-color);
    margin-bottom: 20px;
    line-height: 1.6;
}

.about-text p {
    margin-bottom: 20px;
    color: var(--text-dark);
    font-size: 1.05rem;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.feature-card {
    background: var(--white);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(212, 20, 90, 0.15);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.feature-card h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--dark-purple);
}

.feature-card p {
    color: var(--text-light);
    margin: 0;
}

/* ========================================
   CLASSES SECTION
======================================== */
.classes {
    padding: var(--section-padding);
    background: var(--white);
}

.classes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.class-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
}

.class-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(212, 20, 90, 0.2);
}

.class-image {
    height: 250px;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
}

.class-image .image-fit-top{
    object-fit: cover;
    object-position: top;
    width: 100%;
    height: 100%;
    display: block;
}

.class-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.class-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-overlay);
    opacity: 0.7;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.class-card:hover .class-image::before {
    opacity: 0.5;
}

/* Dance-specific gradient backgrounds */
.bharatanatyam-bg {
    background: linear-gradient(135deg, #D4145A 0%, #8B2F97 100%);
}

.semiclassical-bg {
    background: linear-gradient(135deg, #FBB03B 0%, #D4145A 100%);
}

.folk-bg {
    background: linear-gradient(135deg, #4A1942 0%, #D4145A 100%);
}

.thiruvathira-bg {
    background: linear-gradient(135deg, #8B2F97 0%, #4A1942 100%);
}

.nrithyayoga-bg {
    background: linear-gradient(135deg, #D4AF37 0%, #8B2F97 100%);
}

.competition-bg {
    background: linear-gradient(135deg, #D4145A 0%, #4A1942 100%);
}

.class-content {
    padding: 30px;
}

.class-content h3 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--dark-purple);
    margin-bottom: 10px;
}

.class-category {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.class-description {
    color: var(--text-dark);
    margin-bottom: 20px;
    line-height: 1.7;
}

.class-features {
    list-style: none;
    padding: 0;
}

.class-features li {
    padding: 8px 0;
    color: var(--text-light);
    position: relative;
    padding-left: 25px;
}

.class-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: bold;
}

/* ========================================
   GALLERY SECTION
======================================== */
.gallery {
    padding: var(--section-padding);
    background: var(--light-bg);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    aspect-ratio: 1;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.gallery-item-hidden {
    display: none;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(212, 20, 90, 0.3);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(212, 20, 90, 0.92) 0%, rgba(139, 47, 151, 0.92) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(2px);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.overlay-content {
    text-align: center;
    transform: translateY(20px);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-item:hover .overlay-content {
    transform: translateY(0);
}

.view-icon {
    width: 64px;
    height: 64px;
    color: var(--white);
    stroke-width: 2.5;
    margin: 0 auto 15px;
    display: block;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.3));
    animation: iconFloat 3s ease-in-out infinite;
}

@keyframes iconFloat {
    0%, 100% {
        transform: translateY(0) scale(1);
    }
    50% {
        transform: translateY(-8px) scale(1.05);
    }
}

.view-text {
    display: block;
    color: var(--white);
    font-size: 1.1rem;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
    font-family: var(--font-body);
}

.gallery-item:hover .view-icon {
    animation: iconPop 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes iconPop {
    0% {
        transform: scale(0.8) rotate(0deg);
        opacity: 0;
    }
    50% {
        transform: scale(1.15) rotate(5deg);
    }
    100% {
        transform: scale(1) rotate(0deg);
        opacity: 1;
    }
}

/* Lightbox Modal */
.lightbox {
    display: none;
    position: fixed;
    z-index: 10000;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Lightbox Header */
.lightbox-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    padding: 20px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0) 100%);
    z-index: 10002;
}

.lightbox-counter {
    color: var(--white);
    font-size: 1.1rem;
    font-weight: 500;
    font-family: var(--font-body);
}

.lightbox-actions {
    display: flex;
    gap: 15px;
}

.lightbox-btn {
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.lightbox-btn svg {
    width: 20px;
    height: 20px;
    color: var(--white);
}

.lightbox-btn:hover {
    background: rgba(212, 20, 90, 0.9);
    border-color: var(--primary-color);
    transform: scale(1.1);
}

/* Lightbox Image Container */
.lightbox-image-container {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 90%;
    max-height: 80%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-content {
    max-width: 100%;
    max-height: 80vh;
    width: auto;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
    animation: zoomIn 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transition: opacity 0.2s ease;
}

@keyframes zoomIn {
    from {
        transform: scale(0.9);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* Navigation Buttons */
.lightbox-nav {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10001;
    backdrop-filter: blur(10px);
}

.lightbox-nav svg {
    width: 28px;
    height: 28px;
    color: var(--white);
}

.lightbox-nav:hover {
    background: rgba(212, 20, 90, 0.9);
    border-color: var(--primary-color);
    transform: translateY(-50%) scale(1.15);
}

.lightbox-prev {
    left: 30px;
}

.lightbox-next {
    right: 30px;
}

/* Lightbox Footer */
.lightbox-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px 30px;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0) 100%);
    z-index: 10002;
    text-align: center;
}

.lightbox-caption {
    color: var(--white);
    font-size: 1.2rem;
    font-weight: 500;
    margin-bottom: 8px;
    font-family: var(--font-heading);
}

.lightbox-instructions {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    font-family: var(--font-body);
}

/* Gallery Toggle Button */
.gallery-toggle-container {
    display: flex;
    justify-content: center;
    margin-top: 40px;
}

.gallery-toggle-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px 35px;
    background: var(--gradient-primary);
    color: var(--white);
    border: none;
    border-radius: 50px;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(212, 20, 90, 0.3);
}

.gallery-toggle-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(212, 20, 90, 0.4);
}

.gallery-toggle-btn:active {
    transform: translateY(0);
}

.toggle-arrow {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}

.gallery-toggle-btn.active .toggle-arrow {
    transform: rotate(180deg);
}

/* ========================================
   CONTACT SECTION
======================================== */
.contact {
    padding: var(--section-padding);
    background: var(--white);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-info h3 {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--dark-purple);
    margin-bottom: 30px;
}

.info-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    align-items: start;
}

.info-icon {
    font-size: 2rem;
    min-width: 50px;
}

.info-item h4 {
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.info-item p {
    color: var(--text-dark);
    margin: 0;
    line-height: 1.6;
}

/* Contact Form */
.contact-form {
    background: var(--light-bg);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid transparent;
    border-radius: 10px;
    font-family: var(--font-body);
    font-size: 1rem;
    background: var(--white);
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(212, 20, 90, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* ========================================
   FOOTER
======================================== */
.footer {
    background: var(--dark-purple);
    color: var(--white);
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--secondary-color);
}

.footer-section h4 {
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--secondary-color);
}

.footer-section p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: var(--secondary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

.footer-watermark {
    margin-top: 10px;
    font-size: 0.85rem;
}

.footer-watermark a {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.footer-watermark a:hover {
    color: var(--white);
    text-decoration: underline;
}

/* ========================================
   RESPONSIVE DESIGN
======================================== */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: var(--white);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 20px 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .hamburger {
        display: flex;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

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

    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

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

    .section-title {
        font-size: 2rem;
    }

    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 15px;
    }

    .lightbox-header {
        padding: 15px 20px;
    }

    .lightbox-counter {
        font-size: 1rem;
    }

    .lightbox-btn {
        width: 40px;
        height: 40px;
    }

    .lightbox-btn svg {
        width: 18px;
        height: 18px;
    }

    .lightbox-nav {
        width: 50px;
        height: 50px;
    }

    .lightbox-nav svg {
        width: 24px;
        height: 24px;
    }

    .lightbox-prev {
        left: 15px;
    }

    .lightbox-next {
        right: 15px;
    }

    .lightbox-image-container {
        max-width: 95%;
    }

    .lightbox-content {
        max-height: 70vh;
    }

    .lightbox-footer {
        padding: 15px 20px;
    }

    .lightbox-caption {
        font-size: 1rem;
    }

    .lightbox-instructions {
        font-size: 0.8rem;
    }
    .lightbox-close {
        top: 10px;
        right: 20px;
        font-size: 40px;
    }

    .lightbox-content {
        max-width: 95%;
        max-height: 80%;
    }
}

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

    .nav-brand h1 {
        font-size: 1.3rem;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .btn {
        width: 100%;
    }

    .contact-form {
        padding: 25px;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .lightbox-header {
        padding: 10px 15px;
    }

    .lightbox-counter {
        font-size: 0.9rem;
    }

    .lightbox-actions {
        gap: 10px;
    }

    .lightbox-btn {
        width: 36px;
        height: 36px;
    }

    .lightbox-btn svg {
        width: 16px;
        height: 16px;
    }

    .lightbox-nav {
        width: 44px;
        height: 44px;
    }

    .lightbox-nav svg {
        width: 20px;
        height: 20px;
    }

    .lightbox-prev {
        left: 10px;
    }

    .lightbox-next {
        right: 10px;
    }

    .lightbox-content {
        max-height: 65vh;
    }

    .lightbox-footer {
        padding: 12px 15px;
    }

    .lightbox-caption {
        font-size: 0.95rem;
        margin-bottom: 6px;
    }

    .lightbox-instructions {
        font-size: 0.75rem;
    }
}

/* ========================================
   SERVICE PAGES - BREADCRUMB & LAYOUT
======================================== */
.breadcrumb {
    background: var(--light-bg);
    padding: 20px 0;
    margin-top: 70px;
    border-bottom: 2px solid rgba(212, 20, 90, 0.1);
}

.breadcrumb a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
}

.breadcrumb a::before {
    content: '← ';
    margin-right: 8px;
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.breadcrumb a:hover {
    color: var(--dark-purple);
    transform: translateX(-5px);
}

.breadcrumb a:hover::before {
    transform: translateX(-5px);
}

/* Service Page Layout */
.service-page {
    min-height: 100vh;
}

/* Service Headers - Different themed backgrounds */
.service-header {
    position: relative;
    padding: 120px 0 80px;
    background: var(--gradient-primary);
    color: var(--white);
    text-align: center;
    overflow: hidden;
}

.service-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><path d="M50 10 L60 40 L90 40 L65 60 L75 90 L50 70 L25 90 L35 60 L10 40 L40 40 Z" fill="rgba(255,255,255,0.05)"/></svg>');
    opacity: 0.3;
    animation: float 20s ease-in-out infinite;
}

.service-header h1 {
    position: relative;
    z-index: 2;
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 15px;
    text-shadow: 2px 2px 20px rgba(0, 0, 0, 0.3);
}

.service-header p {
    position: relative;
    z-index: 2;
    font-size: 1.3rem;
    opacity: 0.95;
    font-weight: 300;
}

/* Themed Headers for Different Dance Forms */
.folk-hero {
    background: linear-gradient(135deg, #FBB03B 0%, #D4145A 50%, #8B2F97 100%);
}

.semi-classical-hero {
    background: linear-gradient(135deg, #8B2F97 0%, #D4145A 50%, #FBB03B 100%);
}

.nrithyayoga-hero {
    background: linear-gradient(135deg, #4A1942 0%, #8B2F97 50%, #D4AF37 100%);
}

.competition-hero {
    background: linear-gradient(135deg, #D4145A 0%, #8B2F97 50%, #4A1942 100%);
}

/* Service Content Section */
.service-content {
    padding: 80px 0;
    background: var(--white);
}

.service-text {
    max-width: 900px;
    margin: 0 auto;
    color: var(--text-dark);
    line-height: 1.8;
}

.service-text h2 {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    color: var(--dark-purple);
    margin-top: 50px;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 15px;
}

.service-text h2::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 80px;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

.service-text h2:first-of-type {
    margin-top: 0;
}

.service-text h3 {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    color: var(--primary-color);
    margin-top: 35px;
    margin-bottom: 15px;
}

.service-text h4 {
    font-size: 1.2rem;
    color: var(--accent-color);
    margin-top: 25px;
    margin-bottom: 12px;
    font-weight: 600;
}

.service-text p {
    margin-bottom: 20px;
    font-size: 1.05rem;
    line-height: 1.8;
}

.service-text ul,
.service-text ol {
    margin-bottom: 25px;
    padding-left: 25px;
}

.service-text ul li,
.service-text ol li {
    margin-bottom: 12px;
    line-height: 1.7;
    font-size: 1.02rem;
}

.service-text ul li strong,
.service-text ol li strong {
    color: var(--primary-color);
    font-weight: 600;
}

.service-text blockquote {
    background: var(--light-bg);
    padding: 25px 30px;
    margin: 30px 0;
    border-left: 4px solid var(--primary-color);
    border-radius: 8px;
    font-style: italic;
    color: var(--text-dark);
    font-size: 1.05rem;
    line-height: 1.7;
}

.service-text table {
    width: 100%;
    margin: 30px 0;
    border-collapse: collapse;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
    border-radius: 10px;
    overflow: hidden;
}

.service-text table thead {
    background: var(--gradient-primary);
    color: var(--white);
}

.service-text table thead th {
    padding: 15px;
    text-align: left;
    font-weight: 600;
    border: none;
}

.service-text table tbody tr {
    border-bottom: 1px solid #e0e0e0;
    transition: background 0.3s ease;
}

.service-text table tbody tr:hover {
    background: var(--light-bg);
}

.service-text table tbody tr:last-child {
    border-bottom: none;
}

.service-text table td {
    padding: 12px 15px;
}

/* Service Grid (for features, benefits, etc.) */
.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.service-card {
    background: var(--light-bg);
    padding: 30px;
    border-radius: 15px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.service-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: 0 10px 30px rgba(212, 20, 90, 0.15);
}

.service-card h3 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.service-card p {
    color: var(--text-dark);
    line-height: 1.7;
}

/* Responsive for Service Pages */
@media (max-width: 768px) {
    .service-header h1 {
        font-size: 2rem;
    }
    
    .service-header p {
        font-size: 1.1rem;
    }
    
    .service-text h2 {
        font-size: 1.8rem;
    }
    
    .service-text h3 {
        font-size: 1.4rem;
    }
    
    .service-grid {
        grid-template-columns: 1fr;
    }
    
    .breadcrumb {
        margin-top: 60px;
    }
    
    .service-content {
        padding: 50px 0;
    }
    
    .service-text table {
        font-size: 0.9rem;
    }
    
    .service-text table thead th,
    .service-text table td {
        padding: 10px;
    }
}

@media (max-width: 480px) {
    .service-header {
        padding: 100px 0 60px;
    }
    
    .service-header h1 {
        font-size: 1.6rem;
    }
    
    .service-header p {
        font-size: 1rem;
    }
    
    .service-text h2 {
        font-size: 1.5rem;
    }
    
    .service-text h3 {
        font-size: 1.2rem;
    }
    
    .service-text {
        font-size: 0.95rem;
    }
    
    .service-text blockquote {
        padding: 15px 20px;
        font-size: 0.95rem;
    }
}

/* ========================================
   ACCESSIBILITY
======================================== */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
