/* classes.css - Bristol Dance Centre Classes Landing Page */
/* Prefix: cl- to avoid conflicts with dc- (individual class pages) and hen- (hen party pages) */

/* ===== HERO SECTION ===== */
.cl-hero {
    position: relative;
    height: 65vh;
    min-height: 420px;
    display: flex;
    align-items: center;
    background-color: var(--color-dark);
    overflow: hidden;
}

.cl-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.55;
    z-index: 1;
}

.cl-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(26, 26, 26, 0.3), rgba(26, 26, 26, 0.7));
    z-index: 2;
}

.cl-hero-content {
    position: relative;
    z-index: 3;
    color: #fff;
    text-align: center;
    max-width: 850px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.cl-hero-title {
    font-family: var(--font-family-heading);
    font-size: 3.5rem;
    margin-bottom: 1rem;
    line-height: 1.2;
    color: #fff;
}

.cl-hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.9);
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
}

.cl-hero-features {
    display: flex;
    justify-content: center;
    gap: 2.5rem;
    margin-bottom: 2rem;
}

.cl-hero-feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #fff;
    font-size: 1rem;
    font-weight: 500;
}

.cl-hero-feature i {
    color: var(--color-primary);
    font-size: 1.2rem;
}

.cl-hero-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.cl-btn {
    display: inline-block;
    padding: 0.85rem 2rem;
    font-family: var(--font-family-primary);
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
    letter-spacing: 0.5px;
}

.cl-btn-primary {
    background-color: var(--color-primary);
    color: var(--color-dark);
    border-color: var(--color-primary);
}

.cl-btn-primary:hover {
    background-color: #c49a3a;
    border-color: #c49a3a;
    color: var(--color-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(212, 168, 67, 0.4);
}

.cl-btn-secondary {
    background-color: transparent;
    color: #fff;
    border-color: #fff;
}

.cl-btn-secondary:hover {
    background-color: #fff;
    color: var(--color-dark);
    transform: translateY(-2px);
}

/* ===== BREADCRUMB ===== */
.cl-breadcrumb {
    background: var(--color-background);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    padding: 0.75rem 0;
}

.cl-breadcrumb-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    font-size: 0.85rem;
}

.cl-breadcrumb-list a {
    color: var(--color-text-light);
    text-decoration: none;
    transition: color 0.3s;
}

.cl-breadcrumb-list a:hover {
    color: var(--color-primary);
}

.cl-breadcrumb-separator {
    color: var(--color-text-muted);
    font-size: 0.7rem;
}

.cl-breadcrumb-current {
    color: var(--color-primary);
    font-weight: 500;
}

/* ===== INTRO SECTION ===== */
.cl-intro {
    padding: 4rem 0 3rem;
    background-color: #fff;
    text-align: center;
}

.cl-intro-title {
    font-family: var(--font-family-heading);
    font-size: 2.2rem;
    color: var(--color-dark);
    margin-bottom: 1rem;
}

.cl-intro-text {
    color: var(--color-text);
    font-size: 1.1rem;
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto 1rem;
}

.cl-intro-divider {
    width: 60px;
    height: 3px;
    background: var(--color-primary);
    margin: 2rem auto 0;
}

/* ===== CLASSES GRID ===== */
.cl-grid-section {
    padding: 3rem 0 5rem;
    background-color: #fff;
}

.cl-section-title {
    font-family: var(--font-family-heading);
    font-size: 2.2rem;
    text-align: center;
    margin-bottom: 0.75rem;
    color: var(--color-dark);
}

.cl-section-subtitle {
    text-align: center;
    color: var(--color-text-light);
    font-size: 1.1rem;
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.cl-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.75rem;
    max-width: 1200px;
    margin: 0 auto;
}

.cl-card {
    background: var(--color-background);
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
}

.cl-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

.cl-card a {
    text-decoration: none;
    color: inherit;
    display: block;
}

.cl-card-image {
    position: relative;
    overflow: hidden;
    height: 200px;
}

.cl-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.cl-card:hover .cl-card-image img {
    transform: scale(1.05);
}

.cl-card-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background-color: var(--color-primary);
    color: var(--color-dark);
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.3rem 0.6rem;
    border-radius: 3px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.cl-card-body {
    padding: 1.25rem 1.25rem 1.5rem;
}

.cl-card-title {
    font-family: var(--font-family-heading);
    font-size: 1.15rem;
    color: var(--color-dark);
    margin-bottom: 0.5rem;
}

.cl-card-desc {
    font-size: 0.9rem;
    color: var(--color-text-light);
    line-height: 1.5;
    margin-bottom: 1rem;
}

.cl-card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 0.75rem;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.cl-card-price {
    color: var(--color-primary);
    font-weight: 700;
    font-size: 1rem;
}

.cl-card-link {
    color: var(--color-dark);
    font-weight: 600;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 0.3rem;
    transition: color 0.3s;
}

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

.cl-card-link i {
    font-size: 0.75rem;
    transition: transform 0.3s;
}

.cl-card:hover .cl-card-link i {
    transform: translateX(3px);
}

/* ===== WHY CHOOSE US ===== */
.cl-why {
    padding: 5rem 0;
    background-color: var(--color-background);
}

.cl-why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    max-width: 1100px;
    margin: 0 auto;
}

.cl-why-item {
    text-align: center;
    padding: 2rem 1.5rem;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s, box-shadow 0.3s;
}

.cl-why-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.cl-why-icon {
    margin-bottom: 1.25rem;
}

.cl-why-icon i {
    font-size: 2.2rem;
    color: var(--color-primary);
    background-color: rgba(212, 168, 67, 0.12);
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.cl-why-item h3 {
    font-family: var(--font-family-heading);
    font-size: 1.2rem;
    color: var(--color-dark);
    margin-bottom: 0.75rem;
}

.cl-why-item p {
    color: var(--color-text-light);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ===== HOW IT WORKS ===== */
.cl-how {
    padding: 5rem 0;
    background-color: #fff;
}

.cl-how-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.cl-how-step {
    text-align: center;
    padding: 2rem;
    position: relative;
}

.cl-how-number {
    width: 50px;
    height: 50px;
    background-color: var(--color-dark);
    color: var(--color-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-family-heading);
    font-size: 1.4rem;
    font-weight: 700;
    margin: 0 auto 1.25rem;
}

.cl-how-step h3 {
    font-family: var(--font-family-heading);
    font-size: 1.2rem;
    color: var(--color-dark);
    margin-bottom: 0.75rem;
}

.cl-how-step p {
    color: var(--color-text-light);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ===== PARALLAX CTA ===== */
.cl-parallax {
    position: relative;
    height: 380px;
    background-image: url('../images/dance-class-bristol-cta.jpg');
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
}

.cl-parallax-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(26, 26, 26, 0.75);
}

.cl-parallax-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.cl-parallax-title {
    font-family: var(--font-family-heading);
    font-size: 2.8rem;
    margin-bottom: 1rem;
    color: #fff;
}

.cl-parallax-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
}

/* ===== FAQ SECTION ===== */
.cl-faq {
    padding: 5rem 0;
    background-color: var(--color-background);
}

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

.cl-faq-item {
    margin-bottom: 1rem;
    border-radius: 8px;
    background-color: #fff;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.04);
    overflow: hidden;
}

.cl-faq-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 1.5rem;
    cursor: pointer;
    transition: background-color 0.3s;
}

.cl-faq-header:hover {
    background-color: rgba(212, 168, 67, 0.08);
}

.cl-faq-header h3 {
    font-size: 1.05rem;
    margin: 0;
    color: var(--color-dark);
    font-weight: 600;
}

.cl-faq-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 24px;
    height: 24px;
    color: var(--color-primary);
    transition: transform 0.3s;
}

.cl-faq-content {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease;
}

.cl-faq-content p {
    color: var(--color-text);
    line-height: 1.6;
    margin: 0;
    padding-bottom: 1.5rem;
}

.cl-faq-item.active .cl-faq-content {
    max-height: 400px;
    padding-top: 0.5rem;
}

.cl-faq-item.active .cl-faq-icon {
    transform: rotate(45deg);
}

.cl-faq-item.active .cl-faq-header {
    border-bottom: 1px solid var(--color-border);
}

/* ===== CTA BOTTOM ===== */
.cl-cta {
    background-color: var(--color-dark);
    color: #fff;
    padding: 4rem 0;
    text-align: center;
}

.cl-cta h2 {
    font-family: var(--font-family-heading);
    font-size: 2.2rem;
    margin-bottom: 1rem;
    color: #fff;
}

.cl-cta p {
    font-size: 1.15rem;
    margin-bottom: 2rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    color: var(--color-text-on-dark);
}

.cl-cta-contact {
    margin-top: 1.5rem;
    font-size: 0.95rem;
}

.cl-cta .email-link {
    color: var(--color-primary);
    text-decoration: underline;
}

.cl-cta .email-link:hover {
    color: var(--color-primary-light);
}

/* ===== RESPONSIVE ===== */
@supports not (background-attachment: fixed) {
    .cl-parallax {
        background-attachment: scroll;
    }
}

@media (max-width: 992px) {
    .cl-hero-title {
        font-size: 3rem;
    }

    .cl-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .cl-why-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .cl-hero {
        height: 55vh;
    }

    .cl-hero-title {
        font-size: 2.2rem;
    }

    .cl-hero-subtitle {
        font-size: 1.1rem;
    }

    .cl-hero-features {
        flex-direction: column;
        gap: 0.75rem;
        align-items: center;
    }

    .cl-hero-buttons {
        flex-direction: column;
        gap: 0.75rem;
    }

    .cl-hero-buttons .cl-btn {
        width: 100%;
        text-align: center;
    }

    .cl-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem;
    }

    .cl-section-title {
        font-size: 1.8rem;
    }

    .cl-intro-title {
        font-size: 1.8rem;
    }

    .cl-why-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .cl-how-steps {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .cl-parallax {
        height: auto;
        padding: 4rem 0;
        background-attachment: scroll;
    }

    .cl-parallax-title {
        font-size: 2rem;
    }

    .cl-faq-header {
        padding: 1rem 1.25rem;
    }
}

@media (max-width: 576px) {
    .cl-hero {
        height: 50vh;
    }

    .cl-hero-title {
        font-size: 1.75rem;
    }

    .cl-hero-subtitle {
        font-size: 0.95rem;
    }

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

    .cl-card-image {
        height: 220px;
    }

    .cl-parallax-title {
        font-size: 1.6rem;
    }

    .cl-intro-title {
        font-size: 1.5rem;
    }
}
