/* SECCIÓN GENERAL */
.booking-section {
    padding: 4rem 1rem;
    background-color: var(--soft-purple-bg); /* O el color de fondo que uses */
}

.booking-container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.section-title {
    font-size: 2rem;
    color: var(--purple-primary);
    font-weight: 700;
}

.section-subtitle {
    color: #666;
    font-size: 1rem;
    margin-top: 0.5rem;
}

/* GRID DE TARJETAS (Responsive automático con CSS Grid) */
.classes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

/* TARJETA INDIVIDUAL */
.class-card {
    background-color: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.class-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

/* CONTENEDOR DE IMAGEN */
.class-img-container {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.class-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.class-card:hover .class-img-container img {
    transform: scale(1.05);
}

.class-tag {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background-color: var(--purple-primary);
    color: #ffffff;
    padding: 0.3rem 0.8rem;
    font-size: 0.8rem;
    font-weight: 600;
    border-radius: 20px;
}

/* CONTENIDO DE LA TARJETA */
.class-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.class-title {
    font-size: 1.25rem;
    color: var(--purple-primary);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.class-desc {
    font-size: 0.95rem;
    color: #555;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

/* PIE DE TARJETA (Horario y Botón) */
.class-info-footer {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    border-top: 1px solid #eee;
    padding-top: 1rem;
}

.class-schedule {
    font-size: 0.85rem;
    color: #777;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.btn-reserve {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    background-color: var(--purple-primary);
    color: #ffffff;
    padding: 0.75rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.btn-reserve:active {
    transform: scale(0.97);
}

.btn-reserve:hover {
    opacity: 0.9;
}