/* Hero Section */
.classes-hero {
    position: relative;
    height: 60vh;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-bottom: var(--space-12);
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.85);
}

.hero-content {
    color: var(--color-surface);
    max-width: 800px;
    padding: var(--space-6);
    background-color: rgba(70, 70, 68, 0.4);
    backdrop-filter: blur(4px);
    border-radius: var(--radius-lg);
}

.hero-content h1 {
    color: var(--color-surface);
    margin-bottom: var(--space-4);
}

.hero-text {
    font-size: var(--size-lg);
    color: var(--color-lavender);
    margin: 0 auto;
}

/* Introduction */
.section-intro {
    margin-bottom: var(--space-12);
}

.subtitle {
    display: block;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: var(--size-sm);
    color: var(--color-secondary);
    margin-bottom: var(--space-2);
    font-weight: 600;
}

/* Classes Grid */
.classes-list {
    margin-bottom: var(--space-16);
}

.grid-cols-3 {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: var(--space-6);
}

@media (min-width: 768px) {
    .grid-cols-3 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .grid-cols-3 {
        grid-template-columns: repeat(3, 1fr);
    }
}

.class-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
    transition: transform var(--transition-base), box-shadow var(--transition-base);
    border: 1px solid var(--color-border);
}

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

.card-image {
    height: 240px;
    overflow: hidden;
}

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

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

.card-body {
    padding: var(--space-6);
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.card-body h3 {
    font-size: var(--size-xl);
    color: var(--color-primary);
    margin-bottom: var(--space-3);
}

.card-body p {
    flex-grow: 1;
    font-size: var(--size-base);
    color: var(--color-text-muted);
    margin-bottom: var(--space-4);
}

.btn-link {
    font-weight: 600;
    color: var(--color-text-main);
    font-size: var(--size-sm);
    margin-top: auto;
}

.btn-link:hover {
    color: var(--color-secondary);
}

/* Text Only Cards */
.class-card.text-only .card-body {
    justify-content: center;
    text-align: center;
    height: 100%;
    min-height: 240px;
}

/* Workshops Section */
.workshops-section {
    padding: var(--space-12) 0;
    margin-bottom: var(--space-16);
}

.workshop-container {
    max-width: 800px;
    text-align: center;
    margin: 0 auto;
}

/* Schedule Teaser */
.schedule-teaser {
    margin-bottom: var(--space-16);
    padding: var(--space-8);
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
}

/* Final CTA */
.cta-section {
    margin-bottom: var(--space-16);
}

.cta-wrapper {
    gap: var(--space-8);
}

.cta-image {
    width: 100%;
    max-width: 600px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

@media (min-width: 768px) {
    .cta-wrapper {
        flex-direction: row;
        align-items: center;
    }
    
    .cta-content {
        text-align: left;
        flex: 1;
    }

    .cta-buttons {
        justify-content: flex-start;
    }
}