/* Individual Class Page Styles */
/* =========================== */

/* Hero Section */
.class-hero {
    position: relative;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
}

.bachata-hero {
    background-image: url('../images/bachata-class.jpg');
}

.ballet-hero {
    background-image: url('../images/ballet-class.jpg');
}

.salsa-hero {
    background-image: url('../images/salsa-class.jpg');
}

.hip-hop-hero {
    background-image: url('../images/hip-hop-class.jpg');
}

.street-dance-hero {
    background-image: url('../images/street-dance-class.jpg');
}

.contemporary-hero {
    background-image: url('../images/contemporary-class.jpg');
}

.ballroom-hero {
    background-image: url('../images/ballroom-class.jpg');
}

.pole-dance-hero {
    background-image: url('../images/pole-dance-class.jpg');
}

.bollywood-hero {
    background-image: url('../images/bollywood-class.jpg');
}

.jazz-hero {
    background-image: url('../images/jazz-class.jpg');
}

.tap-hero {
    background-image: url('../images/tap-class.jpg');
}

.tango-hero {
    background-image: url('../images/tango-class.jpg');
}

.flamenco-hero {
    background-image: url('../images/flamenco-class.jpg');
}

.belly-dance-hero {
    background-image: url('../images/belly-dance-class.jpg');
}

.burlesque-hero {
    background-image: url('../images/burlesque-class.jpg');
}

.commercial-hero {
    background-image: url('../images/commercial-class.jpg');
}

.heels-hero {
    background-image: url('../images/heels-class.jpg');
}

.irish-dance-hero {
    background-image: url('../images/irish-dance-class.jpg');
}

.kpop-hero {
    background-image: url('../images/kpop-class.jpg');
}

.line-dance-hero {
    background-image: url('../images/line-dance-class.jpg');
}

.hen-party-hero {
    background-image: url('../images/hen-party-dance-class-special.jpeg');
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.class-hero .hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #fff;
    max-width: 800px;
    padding: 30px;
    background: rgba(0, 0, 0, 0.7);
    border-radius: 8px;
    backdrop-filter: blur(5px);
}

.class-hero h1 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 3.2rem;
    margin-bottom: 20px;
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    letter-spacing: 1px;
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 30px;
    color: #fff;
    line-height: 1.6;
}

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

.hero-buttons .btn {
    min-width: 150px;
    background: transparent;
    color: #fff;
    border: 2px solid #fff;
    padding: 12px 30px;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    border-radius: 4px;
}

.hero-buttons .btn:hover {
    background: #fff;
    color: #000;
    transform: translateY(-2px);
}

.hero-buttons .btn-primary,
.hero-buttons .btn-secondary {
    background: transparent;
    color: #fff;
    border: 2px solid #fff;
}

.hero-buttons .btn-primary:hover,
.hero-buttons .btn-secondary:hover {
    background: #fff;
    color: #000;
}

/* Breadcrumb (reusing from classes.css) */
.breadcrumb {
    background: #f8f8f8;
    padding: 15px 0;
    border-bottom: 1px solid #eee;
}

.breadcrumb ol {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 0.9rem;
}

.breadcrumb li {
    color: #666;
}

.breadcrumb li:not(:last-child)::after {
    content: "›";
    margin: 0 10px;
    color: #999;
}

.breadcrumb a {
    color: #00CED1;
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb a:hover {
    color: #FF6B6B;
}

.breadcrumb .active {
    color: #2D2D2D;
    font-weight: 600;
}

/* Main Content Section */
.class-details {
    padding: 80px 0;
    background: #fff;
}

.details-grid {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Left Column - Class Information */
.class-information h2 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 3rem;
    color: #2D2D2D;
    margin-bottom: 20px;
}

.intro-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #666;
    margin-bottom: 40px;
}

/* Class Info Section */
.class-info-section {
    background: #fafafa;
    border: 1px solid #e5e5e5;
    border-radius: 12px;
    padding: 40px;
    margin-top: 40px;
}

.class-info-section h3 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2rem;
    color: #2D2D2D;
    margin-bottom: 30px;
    text-align: center;
    letter-spacing: 1px;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}

.info-detail {
    display: flex;
    flex-direction: column;
    padding: 20px 0;
    border-bottom: 1px solid #e0e0e0;
}

.info-detail:last-child,
.info-detail:nth-last-child(2) {
    border-bottom: none;
}

.info-label {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #999;
    margin-bottom: 8px;
    font-weight: 600;
}

.info-value {
    font-size: 1.1rem;
    color: #2D2D2D;
    font-weight: 500;
    line-height: 1.4;
}

/* Right Column - Booking Form */
.booking-section {
    position: sticky;
    top: 100px;
    height: fit-content;
}

.booking-form-card {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 35px 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.booking-form-card h3 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2rem;
    color: #2D2D2D;
    margin-bottom: 10px;
    text-align: center;
}

.booking-form-card > p {
    text-align: center;
    color: #666;
    margin-bottom: 30px;
    font-size: 0.95rem;
}

/* Form Styles */
.dance-class-form .form-group {
    margin-bottom: 25px;
}

.dance-class-form label {
    display: block;
    font-weight: 600;
    color: #2D2D2D;
    margin-bottom: 10px;
    font-size: 0.95rem;
}

.dance-class-form input[type="text"],
.dance-class-form input[type="email"],
.dance-class-form input[type="tel"],
.dance-class-form select,
.dance-class-form textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #fff;
}

.dance-class-form input:focus,
.dance-class-form select:focus,
.dance-class-form textarea:focus {
    outline: none;
    border-color: #00CED1;
    box-shadow: 0 0 0 3px rgba(0, 206, 209, 0.1);
}

.dance-class-form textarea {
    resize: vertical;
    min-height: 100px;
}

.consent-label {
    display: flex;
    align-items: flex-start;
    font-weight: 400;
    cursor: pointer;
}

.consent-label input[type="checkbox"] {
    margin-right: 10px;
    margin-top: 3px;
}

.btn-full {
    width: 100%;
    padding: 15px;
    font-size: 1.1rem;
    margin-top: 10px;
}

/* About Bachata Section */
.about-bachata {
    background: #f8f8f8;
    padding: 80px 0;
}

.about-bachata h2 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 3rem;
    text-align: center;
    color: #2D2D2D;
    margin-bottom: 50px;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.about-card {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.about-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.about-card h3 {
    font-family: 'Open Sans', sans-serif;
    font-size: 1.3rem;
    color: #2D2D2D;
    margin-bottom: 20px;
    font-weight: 700;
}

.about-card p {
    color: #666;
    line-height: 1.8;
}

.about-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.about-card li {
    color: #666;
    padding: 8px 0;
    position: relative;
    padding-left: 25px;
}

.about-card li::before {
    content: "▸";
    position: absolute;
    left: 0;
    color: #2D2D2D;
    font-weight: bold;
}

/* Testimonials Section */
.testimonials-section {
    padding: 80px 0;
    background: #f8f8f8;
}

.testimonials-section h2 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 3rem;
    text-align: center;
    color: #2D2D2D;
    margin-bottom: 50px;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.testimonial-card {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    text-align: center;
}

.testimonial-card .stars {
    color: #FFD700;
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.testimonial-text {
    font-style: italic;
    color: #666;
    line-height: 1.8;
    margin-bottom: 20px;
    font-size: 1rem;
}

.testimonial-author {
    color: #2D2D2D;
    font-weight: 600;
    font-size: 0.95rem;
}

/* FAQ Section - Accordion Style */
.faq-section {
    padding: 80px 0;
    background: #fff;
}

.faq-section h2 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 3rem;
    text-align: center;
    color: #2D2D2D;
    margin-bottom: 50px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.faq-accordion {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 10px;
    border-bottom: 1px solid #e0e0e0;
}

.faq-item:last-child {
    border-bottom: none;
}

/* Hide checkbox */
.faq-toggle {
    display: none;
}

/* Question styling */
.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.faq-question:hover {
    opacity: 0.8;
}

.faq-question h3 {
    font-family: 'Open Sans', sans-serif;
    font-size: 1.1rem;
    color: #2D2D2D;
    margin: 0;
    font-weight: 600;
    line-height: 1.4;
    flex: 1;
}

/* Plus/Minus icon */
.faq-icon {
    position: relative;
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    margin-left: 20px;
}

.faq-icon::before,
.faq-icon::after {
    content: '';
    position: absolute;
    background: #2D2D2D;
    transition: all 0.3s ease;
}

.faq-icon::before {
    width: 20px;
    height: 2px;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
}

.faq-icon::after {
    width: 2px;
    height: 20px;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
}

/* Answer styling */
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-answer p {
    color: #666;
    line-height: 1.8;
    padding: 0 0 20px 0;
    margin: 0;
}

/* When checkbox is checked */
.faq-toggle:checked + .faq-question + .faq-answer {
    max-height: 300px;
}

/* Rotate the plus to X when open */
.faq-toggle:checked + .faq-question .faq-icon::after {
    transform: translateX(-50%) rotate(90deg);
}

/* CTA Section */
.class-cta {
    background: #fff;
    padding: 80px 0;
    text-align: center;
    color: #2D2D2D;
}

.class-cta h2 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 3rem;
    margin-bottom: 15px;
    color: #2D2D2D;
}

.class-cta p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: #666;
}

.class-cta .btn-primary {
    background: #2D2D2D;
    color: #fff;
    padding: 15px 40px;
    font-size: 1.1rem;
    border: 2px solid #2D2D2D;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.class-cta .btn-primary:hover {
    background: transparent;
    color: #2D2D2D;
    transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .details-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .booking-section {
        position: static;
        max-width: 500px;
        margin: 0 auto;
    }
    
    .info-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .class-info-section {
        padding: 30px 20px;
    }
}

@media (max-width: 768px) {
    .class-hero h1 {
        font-size: 3rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }
    
    .hero-buttons .btn {
        width: 100%;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
    }
    
    .faq-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .class-information h2,
    .about-bachata h2,
    .faq-section h2,
    .class-cta h2 {
        font-size: 2.5rem;
    }
}

@media (max-width: 480px) {
    .class-hero {
        min-height: 400px;
    }
    
    .class-hero h1 {
        font-size: 2.5rem;
    }
    
    .booking-form-card {
        padding: 35px 25px;
    }
    
    .faq-grid {
        grid-template-columns: 1fr;
    }
}

/* Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.info-item,
.about-card,
.faq-item {
    animation: fadeInUp 0.6s ease-out;
    animation-fill-mode: both;
}

.info-item:nth-child(1) { animation-delay: 0.1s; }
.info-item:nth-child(2) { animation-delay: 0.2s; }
.info-item:nth-child(3) { animation-delay: 0.3s; }
.info-item:nth-child(4) { animation-delay: 0.4s; }

/* Print Styles */
@media print {
    .class-hero,
    .class-cta,
    .main-nav,
    .main-footer,
    .booking-section {
        display: none;
    }
    
    .class-information,
    .about-bachata,
    .faq-section {
        page-break-inside: avoid;
    }
}