/* Classes Page - Editorial Design */

/* ===================================
   Hero Section
   =================================== */
.classes-hero {
    position: relative;
    min-height: 60vh;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
    overflow: hidden;
}

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

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

.classes-hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    max-width: 800px;
    padding: 3rem 2rem;
    background: rgba(0, 0, 0, 0.7);
    border-radius: 8px;
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
}

.classes-hero-title {
    font-size: 3.5rem;
    font-weight: 300;
    color: white;
    margin-bottom: 1rem;
    font-family: 'Playfair Display', serif;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.classes-hero-subtitle {
    font-size: 1.2rem;
    color: white;
    margin-bottom: 2rem;
    font-weight: 300;
    opacity: 0.9;
}

.classes-hero-buttons {
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    gap: 1rem;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}

/* ===================================
   Buttons
   =================================== */
.classes-btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;
    border-radius: 30px;
    -webkit-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
}

.classes-btn-primary {
    background: #E91E63;
    color: white;
    border: none;
}

.classes-btn-primary:hover {
    background: #D81B60;
    -webkit-transform: translateY(-2px);
    -ms-transform: translateY(-2px);
    transform: translateY(-2px);
    -webkit-box-shadow: 0 4px 12px rgba(233, 30, 99, 0.3);
    box-shadow: 0 4px 12px rgba(233, 30, 99, 0.3);
}

.classes-btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.classes-btn-secondary:hover {
    background: white;
    color: #2e2e2e;
}

/* ===================================
   Why Choose Section - Editorial Facts Bar
   =================================== */
.classes-why {
    background: #faf9f7;
    padding: 4rem 0;
}

.classes-features {
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
    gap: 0;
    max-width: 1100px;
    margin: 0 auto;
}

.classes-feature {
    text-align: center;
    padding: 0 2.5rem;
    position: relative;
    -webkit-flex: 1;
    -ms-flex: 1;
    flex: 1;
}

.classes-feature:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
    height: 80px;
    width: 1px;
    background: #e0e0e0;
}

.classes-feature-title {
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
    color: #2e2e2e;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    line-height: 1.4;
}

.classes-feature-text {
    font-size: 0.8rem;
    line-height: 1.5;
    color: #999;
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 1px;
    max-width: 200px;
    margin: 0 auto;
}

/* ===================================
   Classes Grid Section
   =================================== */
.classes-grid-section {
    padding: 5rem 0;
    background: white;
}

.classes-section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 1rem;
    font-weight: 300;
    color: #2e2e2e;
    font-family: 'Playfair Display', serif;
}

.classes-section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: #666;
    max-width: 700px;
    margin: 0 auto 3rem;
    font-weight: 300;
}

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

.class-card {
    border: 1px solid #f0f0f0;
    -webkit-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
    position: relative;
}

.class-card:hover {
    border-color: #ddd;
    -webkit-box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    z-index: 10;
}

.class-content {
    padding: 2.5rem;
    text-align: center;
}

.class-title {
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: 1rem;
    color: #2e2e2e;
    font-family: 'Playfair Display', serif;
}

.class-description {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.class-meta {
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 1.5rem;
}

.class-level,
.class-duration {
    font-size: 0.8rem;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.class-link {
    color: #666;
    text-decoration: none;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    border-bottom: 1px solid transparent;
    -webkit-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
    font-weight: 500;
}

.class-link:hover {
    color: #E91E63;
    border-bottom-color: #E91E63;
}

.classes-more {
    text-align: center;
    margin-top: 3rem;
    padding-top: 3rem;
    border-top: 1px solid #e0e0e0;
}

.classes-more p {
    color: #999;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ===================================
   Benefits Section
   =================================== */
.classes-benefits {
    background: #faf9f7;
    padding: 5rem 0;
}

.benefits-grid {
    display: -ms-grid;
    display: grid;
    -ms-grid-columns: repeat(auto-fit, minmax(300px, 1fr));
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    max-width: 1100px;
    margin: 0 auto;
}

.benefit-item {
    text-align: center;
}

.benefit-item h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #2e2e2e;
    font-weight: 400;
    font-family: 'Playfair Display', serif;
}

.benefit-item p {
    color: #666;
    line-height: 1.6;
    font-size: 0.95rem;
}

/* ===================================
   CTA Section
   =================================== */
.classes-cta {
    background: #2e2e2e;
    color: white;
    padding: 5rem 0;
    text-align: center;
}

.classes-cta h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 300;
    font-family: 'Playfair Display', serif;
}

.classes-cta p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ===================================
   Responsive Design
   =================================== */
@media (max-width: 992px) {
    .classes-features {
        -webkit-flex-wrap: wrap;
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    }
    
    .classes-feature {
        -webkit-flex: 1 1 50%;
        -ms-flex: 1 1 50%;
        flex: 1 1 50%;
        padding: 2rem 1.5rem;
    }
    
    .classes-feature:nth-child(2n)::after {
        display: none;
    }
    
    .classes-feature:nth-child(-n+2) {
        border-bottom: 1px solid #e0e0e0;
    }
    
    .classes-grid {
        -ms-grid-columns: repeat(auto-fit, minmax(300px, 1fr));
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
}

@media (max-width: 768px) {
    .classes-hero-title {
        font-size: 2.5rem;
    }
    
    .classes-hero-subtitle {
        font-size: 1rem;
    }
    
    .classes-features {
        -webkit-flex-direction: column;
        -ms-flex-direction: column;
        flex-direction: column;
        gap: 0;
    }
    
    .classes-feature {
        -webkit-flex: 1 1 100%;
        -ms-flex: 1 1 100%;
        flex: 1 1 100%;
        padding: 2rem 1.5rem;
        border-bottom: 1px solid #e0e0e0;
    }
    
    .classes-feature:last-child {
        border-bottom: none;
    }
    
    .classes-feature::after {
        display: none;
    }
    
    .classes-grid {
        -ms-grid-columns: 1fr;
        grid-template-columns: 1fr;
    }
    
    .classes-section-title {
        font-size: 2rem;
    }
    
    .benefits-grid {
        -ms-grid-columns: 1fr;
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}