/* Custom properties for color palette & design tokens */
:root {
    --primary-color: #b5015c; /* Pink from logo */
    --primary-dark: #8c0046; /* Darker pink for hovers */
    --secondary-color: #f7f9fc; /* Soft neutral background */
    --text-main: #2c3e50; /* Black/Dark Gray text */
    --text-light: #596a7a;
    --white: #ffffff;
    --whatsapp: #b5015c;
    --whatsapp-dark: #8c0046;
    --radius-lg: 20px;
    --radius-md: 12px;
    --shadow-soft: 0 10px 40px rgba(97, 155, 209, 0.1);
    --shadow-hover: 0 15px 50px rgba(97, 155, 209, 0.2);
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Assistant', sans-serif;
    color: var(--text-main);
    background-color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Background Video */
.bg-video {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
    opacity: 0.5;
    pointer-events: none;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Backgrounds */
.bg-light { background-color: var(--secondary-color); }
.bg-primary { 
    background-color: var(--primary-color);
    color: var(--white);
}

/* Typography */
h1, h2, h3, h4 {
    font-weight: 700;
    line-height: 1.2;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--primary-dark);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: var(--transition);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.logo-img {
    height: 50px;
    width: auto;
    object-fit: contain;
    display: block;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    font-weight: 600;
    color: var(--text-main);
    transition: var(--transition);
}

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

.btn-nav-contact {
    background-color: var(--whatsapp);
    color: var(--white) !important;
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
}

.btn-nav-contact:hover {
    background-color: var(--whatsapp-dark) !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(181, 1, 92, 0.3);
}

/* Hero Section */
.hero {
    padding-top: 120px;
    min-height: 80vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    margin-bottom: 1rem;
    color: var(--text-main);
}

.hero-subtitle {
    font-size: clamp(1.2rem, 2.5vw, 2rem);
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 3rem;
}

/* General Sections */
section {
    padding: 6rem 0;
}

/* Benefits Section */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.card {
    background: var(--white);
    padding: 2.5rem 1.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
    text-align: center;
    transition: var(--transition);
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

.card-icon {
    width: 55px;
    height: 55px;
    background-color: var(--secondary-color);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin: 0 auto 1.5rem auto;
}

.card h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: var(--primary-dark);
}

.card p {
    font-size: 1.05rem;
    color: var(--text-light);
    line-height: 1.6;
}

/* About Section */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-image {
    width: 100%;
}

.image-placeholder {
    width: 100%;
    height: 500px;
    background-color: var(--secondary-color);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    font-weight: 600;
    border: 2px dashed #cbd5e1;
}

.profile-image {
    width: 100%;
    max-width: 450px;
    height: auto;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
    object-fit: cover;
    display: block;
    margin: 0 auto;
}

.about-text {
    background-color: rgba(255, 255, 255, 0.85);
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
}

.about-text .section-title {
    text-align: right;
}

.about-text p {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    color: var(--text-light);
}

/* Schedule Section */
.schedule-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    max-width: 800px;
    margin: 0 auto;
}

.schedule-item {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}

.schedule-item:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-hover);
}

.schedule-day {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    min-width: 120px;
}

.schedule-details {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    flex: 1;
}

.schedule-time, .schedule-location {
    font-size: 1.2rem;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.badge {
    background-color: #ffe4e6;
    color: #e11d48;
    font-size: 0.9rem;
    padding: 0.2rem 0.8rem;
    border-radius: 20px;
    font-weight: 600;
}

/* Testimonials - Swiper */
.testimonials-slider {
    padding: 2rem 0 4rem 0; /* Space for pagination */
    width: 100%;
}

.testimonials-slider .swiper-button-next,
.testimonials-slider .swiper-button-prev {
    color: var(--primary-color);
}

/* On mobile, shrink arrows and text so they don't overlap */
@media (max-width: 768px) {
    .testimonials-slider .swiper-button-next,
    .testimonials-slider .swiper-button-prev {
        width: 28px;
        height: 28px;
    }

    .testimonials-slider .swiper-button-next::after,
    .testimonials-slider .swiper-button-prev::after {
        font-size: 14px;
    }

    .testimonial-card {
        padding: 1.2rem 2.5rem;
        text-align: center;
    }

    .testimonial-text {
        font-size: 0.88rem;
    }
}

.testimonial-card {
    background: var(--white);
    padding: 1.5rem 1.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
    position: relative;
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-sizing: border-box;
    transition: var(--transition);
}

.swiper-slide {
    height: auto;
}

.quote-icon {
    font-size: 1.5rem;
    color: var(--primary-color);
    opacity: 0.2;
    margin-bottom: 0.8rem;
}

.testimonial-text {
    font-size: 1.05rem;
    font-style: italic;
    color: var(--text-main);
    margin-bottom: 1rem;
}

.testimonial-author {
    font-weight: 700;
    color: var(--primary-dark);
    font-size: 1rem;
}

/* Video Gallery */
.videos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.video-container {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    background: var(--white);
    transition: var(--transition);
}

.video-container:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-5px);
}

.dance-video {
    width: 100%;
    aspect-ratio: 16 / 9;
    display: block;
    object-fit: cover;
    background-color: #000;
}

.video-title {
    font-size: 1.1rem;
    font-weight: 600;
    text-align: center;
    padding: 1rem 0.5rem;
    color: var(--text-main);
}

/* Registration Section */
.registration-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 400px)); /* Explicitly 2 columns, max 400px each */
    justify-content: center; /* Center these 2 columns */
    gap: 1.5rem; /* Reduced gap */
    width: 100%;
    margin: 0 auto;
}

.reg-card {
    background: var(--white);
    padding: 1.5rem 1.25rem; /* Shrink padding further */
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
    text-align: center;
    transition: var(--transition);
    border-top: 5px solid var(--primary-color);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.reg-card.tuesday-card {
    border-top-color: #619bd1;
    background-color: #f0f7ff; /* Very light blue background */
}

.reg-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

.reg-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.tuesday-card .reg-icon {
    color: #467fac;
}

.reg-card h3 {
    font-size: 1.8rem;
    margin-bottom: 0.8rem;
    color: var(--primary-dark);
}

.tuesday-card h3 {
    color: #2c5282; /* Darker blue for contrast */
}

.reg-card p {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 2rem;
}

.tuesday-card p {
    color: #4a5568; /* Slightly darker gray for contrast */
}

.registration-info {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-top: 4rem;
}

.info-item {
    background: var(--white);
    padding: 1.2rem 2.5rem;
    border-radius: var(--radius-md);
    font-weight: 700;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 1.4rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    border: 1px solid rgba(181, 1, 92, 0.1);
    transition: var(--transition);
}

.info-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.2);
}

.btn-primary-form {
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    margin-top: auto; /* Push to bottom */
    align-self: center; /* Center horizontally in flex column */
    padding: 0.8rem 1.5rem; /* Standard button padding */
}

.btn-primary-form:hover {
    background-color: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(181, 1, 92, 0.3);
    color: var(--white);
}

.tuesday-btn {
    background-color: #619bd1 !important;
    margin-top: auto; /* Push to bottom */
    align-self: center; /* Center horizontally in flex column */
}

.tuesday-btn:hover {
    background-color: #467fac !important;
    box-shadow: 0 8px 15px rgba(97, 155, 209, 0.3) !important;
}

/* CTA Section */
.cta {
    text-align: center;
    padding: 5rem 0;
}

.cta h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta p {
    font-size: 1.3rem;
    margin-bottom: 3rem;
    opacity: 0.9;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 1.3rem;
    font-weight: 700;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    transition: var(--transition);
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.btn-whatsapp-large {
    background-color: var(--whatsapp);
    color: var(--white);
}

.btn-whatsapp-large:hover {
    background-color: var(--whatsapp-dark);
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(181, 1, 92, 0.4);
}

/* Floating WhatsApp */
.floating-whatsapp {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 65px;
    height: 65px;
    background-color: var(--whatsapp);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2rem;
    box-shadow: 0 5px 20px rgba(181, 1, 92, 0.4);
    z-index: 1000;
    transition: var(--transition);
}

.floating-whatsapp:hover {
    transform: scale(1.1) rotate(-5deg);
    background-color: var(--whatsapp-dark);
}

/* Accessibility */
.floating-accessibility {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 50px;
    height: 50px;
    background-color: #1e3a8a;
    color: var(--white);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.8rem;
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
    z-index: 1001; /* Above navbar */
    cursor: pointer;
    border: none;
    transition: var(--transition);
}

.floating-accessibility:hover {
    transform: scale(1.1);
    background-color: #1e40af;
}

.accessibility-menu {
    position: fixed;
    bottom: 90px;
    left: 30px;
    background: var(--white);
    padding: 1.5rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-hover);
    z-index: 1002;
    display: none;
    flex-direction: column;
    gap: 0.8rem;
    min-width: 220px;
    border: 2px solid var(--primary-color);
}

.accessibility-menu.active {
    display: flex;
}

.accessibility-menu h3 {
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
    text-align: center;
    border-bottom: 1px solid #ddd;
    padding-bottom: 0.5rem;
}

.accessibility-menu button {
    background: var(--secondary-color);
    border: 1px solid #ccc;
    padding: 0.8rem;
    border-radius: 8px;
    cursor: pointer;
    font-family: inherit;
    font-weight: 600;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-main);
}

.accessibility-menu button:hover {
    background: #e2e8f0;
}

/* A11y Classes */
body.a11y-contrast {
    background-color: #000 !important;
    color: #fff !important;
}

body.a11y-contrast * {
    background-color: #000 !important;
    color: #ffd700 !important;
    border-color: #fff !important;
}

body.a11y-fontsize {
    font-size: 120%;
}

body.a11y-fontsize h1, body.a11y-fontsize h2, body.a11y-fontsize h3 {
    font-size: 130%;
}

body.a11y-fontsize .nav-content {
    height: auto;
    padding: 10px 0;
}

body.a11y-links a {
    text-decoration: underline !important;
    font-weight: 800 !important;
    background-color: #ffeb3b !important;
    color: #000 !important;
}

/* Footer */
footer {
    background-color: #1e293b;
    color: #cbd5e1;
    text-align: center;
    padding: 2rem 0;
}

/* Animations (Animate on Scroll) */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 992px) {
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .about-text .section-title {
        text-align: center;
    }
    
    .about-text p {
        text-align: center;
    }

    .image-placeholder {
        height: 350px;
    }

    .schedule-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .hero {
        padding-top: 100px;
    }
    
    .section-title {
        font-size: 2rem;
    }

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

    .about-text {
        padding: 1.5rem;
    }
}
