﻿
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&family=Dancing+Script:wght@700&display=swap');

:root {
    --primary: #6366f1;
    --secondary: #ec4899;
    --dark: #1e293b;
    --light: #f8fafc;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    overflow-x: hidden;
    color: var(--dark);
}

.heading-font {
    font-family: 'Dancing Script', cursive;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

.animate-fadeInUp {
    animation: fadeInUp 0.8s ease-out forwards;
}

.animate-float {
    animation: float 3s ease-in-out infinite;
}

.animate-pulse-slow {
    animation: pulse 3s ease-in-out infinite;
}

/* Scroll animations */
.scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

    .scroll-reveal.active {
        opacity: 1;
        transform: translateY(0);
    }

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--light);
}

::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 5px;
}

    ::-webkit-scrollbar-thumb:hover {
        background: #4f46e5;
    }

/* Gradient text */
.gradient-text {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Button hover effect */
.btn-primary {
    position: relative;
    overflow: hidden;
    z-index: 1;
}

    .btn-primary::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: rgba(255, 255, 255, 0.2);
        transition: left 0.5s;
        z-index: -1;
    }

    .btn-primary:hover::before {
        left: 100%;
    }

/* Card hover effect */
.dance-card {
    transition: all 0.3s ease;
}

    .dance-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    }

/* Schedule table */
.schedule-table {
    overflow-x: auto;
}

    .schedule-table table {
        min-width: 600px;
    }

    .schedule-table th {
        background: var(--primary);
        color: white;
        padding: 12px;
        text-align: left;
    }

    .schedule-table td {
        padding: 12px;
        border-bottom: 1px solid #e2e8f0;
    }

    .schedule-table tr:hover {
        background-color: #f1f5f9;
    }

/* Navigation */
nav {
    transition: all 0.3s ease;
}

.nav-scrolled {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

/* Mobile menu */
.mobile-menu {
    transform: translateX(100%);
    transition: transform 0.3s ease;
}

    .mobile-menu.active {
        transform: translateX(0);
    }

/* Hero section */
.hero-bg {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.9), rgba(236, 72, 153, 0.9)), url('/images/dance.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

/* Instructor cards */
.instructor-card {
    position: relative;
    overflow: hidden;
}

    .instructor-card .overlay {
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
        padding: 20px;
        transform: translateY(100%);
        transition: transform 0.3s ease;
    }

    .instructor-card:hover .overlay {
        transform: translateY(0);
    }

/* Testimonial carousel */
.testimonial-carousel {
    position: relative;
    overflow: hidden;
}

.testimonial-track {
    display: flex;
    transition: transform 0.5s ease;
}

.testimonial-slide {
    min-width: 100%;
    padding: 20px;
}

/* Responsive styles */
@media (max-width: 768px) {
    /* Hero section */
    .hero-bg {
        background-attachment: scroll;
    }

    /* Navigation */
    .nav-scrolled {
        background-color: rgba(255, 255, 255, 0.98);
    }

    /* Text sizes for mobile */
    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    h3 {
        font-size: 1.5rem;
    }

    /* Button sizing */
    .btn-primary {
        padding: 12px 24px;
        font-size: 1rem;
    }

    /* Card adjustments */
    .dance-card {
        margin-bottom: 1.5rem;
    }

    /* Schedule table */
    .schedule-table table {
        font-size: 0.875rem;
    }

    .schedule-table th,
    .schedule-table td {
        padding: 8px;
    }

    /* Instructor cards */
    .instructor-card .overlay {
        padding: 15px;
    }

    /* Testimonial adjustments */
    .testimonial-slide {
        padding: 15px;
    }

    /* Contact form */
    .contact-form {
        padding: 1.5rem;
    }

    /* Footer */
    footer .grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    /* Utility classes for mobile */
    .mobile-text-center {
        text-align: center;
    }

    .mobile-px-4 {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .mobile-py-8 {
        padding-top: 2rem;
        padding-bottom: 2rem;
    }

    .mobile-mt-4 {
        margin-top: 1rem;
    }

    .mobile-mb-4 {
        margin-bottom: 1rem;
    }
}

@media (max-width: 480px) {
    /* Further adjustments for very small screens */
    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.75rem;
    }

    /* Hero section */
    .hero-bg {
        min-height: 80vh;
    }

    /* Button stacking */
    .btn-stack {
        flex-direction: column;
        width: 100%;
    }

        .btn-stack .btn-primary {
            width: 100%;
            margin-bottom: 0.5rem;
        }

    /* Schedule filter buttons */
    .schedule-filter-container {
        flex-wrap: wrap;
        justify-content: center;
    }

    .schedule-filter {
        margin: 0.25rem;
        font-size: 0.875rem;
        padding: 0.5rem 1rem;
    }
}

/* Utility classes for responsive design */
.mobile-only {
    display: block;
}

.desktop-only {
    display: block;
}

@media (max-width: 768px) {
    .mobile-only {
        display: block;
    }

    .desktop-only {
        display: none;
    }
}

@media (min-width: 769px) {
    .mobile-only {
        display: none;
    }

    .desktop-only {
        display: block;
    }
}


