/* CLASES.CSS - Estilos específicos para la página de Clases */

/* Hero Section */
.subpage-hero {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('https://images.unsplash.com/photo-1571019613454-1cb2f99b2d8b?ixlib=rb-4.0.3&auto=format&fit=crop&w=1200&q=80');
    background-size: cover;
    background-position: center;
    padding: 80px 20px;
    text-align: center;
    color: white;
}

.subpage-hero h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.subpage-hero p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto;
}

.subpage-container {
    max-width: 1200px;
    margin: 50px auto;
    padding: 0 20px;
}

/* Introducción */
.class-types-intro {
    text-align: center;
    margin-bottom: 60px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.class-types-intro h2 {
    font-size: 2.2rem;
    color: #b21f1f;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 15px;
}

.class-types-intro h2:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background-color: #b21f1f;
}

.class-types-intro p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #666;
}

/* Grid de Tipos de Clase */
.class-types-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

.class-type-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
}

.class-type-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.class-type-image {
    height: 250px;
    overflow: hidden;
    position: relative;
}

.class-type-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.class-type-card:hover .class-type-image img {
    transform: scale(1.1);
}

.class-type-content {
    padding: 30px;
    text-align: center;
}

.class-type-content h3 {
    font-size: 1.6rem;
    color: #333;
    margin-bottom: 15px;
    font-weight: 600;
}

.class-type-content p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 25px;
    font-size: 1rem;
}

/* Botones */
.btn-primary {
    display: inline-block;
    background-color: #b21f1f;
    color: white;
    padding: 12px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: 2px solid #b21f1f;
}

.btn-primary:hover {
    background-color: #8a1919;
    border-color: #8a1919;
    transform: translateY(-2px);
}

.btn-secondary {
    display: inline-block;
    background-color: transparent;
    color: #b21f1f;
    padding: 12px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: 2px solid #b21f1f;
}

.btn-secondary:hover {
    background-color: #b21f1f;
    color: white;
    transform: translateY(-2px);
}

/* CTA Section */
.schedule-cta {
    text-align: center;
    padding: 50px 30px;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border-radius: 15px;
    margin-top: 40px;
}

.schedule-cta h2 {
    font-size: 2rem;
    color: #333;
    margin-bottom: 15px;
}

.schedule-cta p {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 25px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Efectos especiales para las cards */
.class-type-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #b21f1f, #8a1919);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.class-type-card:hover::before {
    transform: scaleX(1);
}

/* Responsive Design */
@media (max-width: 768px) {
    .subpage-hero h1 {
        font-size: 2.2rem;
    }
    
    .class-types-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .class-type-content {
        padding: 25px;
    }
    
    .class-types-intro h2 {
        font-size: 1.8rem;
    }
    
    .schedule-cta {
        padding: 40px 20px;
    }
    
    .schedule-cta h2 {
        font-size: 1.7rem;
    }
}

@media (max-width: 480px) {
    .subpage-hero {
        padding: 60px 20px;
    }
    
    .subpage-hero h1 {
        font-size: 1.8rem;
    }
    
    .subpage-hero p {
        font-size: 1rem;
    }
    
    .class-types-intro p {
        font-size: 1rem;
    }
    
}