/**
 * ============================================================================
 * HOMEPAGE STYLES
 * Clean section-based layout with beauty-inspired design
 * ============================================================================
 */

/* Homepage Container */
.homepage {
    position: relative;
    overflow: hidden;
}

/* Section Base Styles */
.homepage section {
    position: relative;
    padding: 80px 0;
}

/* Remove padding from hero */
.hero-section {
    padding: 0;
}

/* Alternating Backgrounds */
.section-highlights,
.section-services,
.section-why-choose {
    background: var(--color-white);
}

.section-courses,
.section-gallery,
.section-testimonials {
    background: linear-gradient(
        180deg,
        var(--color-primary-50) 0%,
        var(--color-primary-100) 50%,
        var(--color-primary-50) 100%
    );
}

/* CTA Section */
.section-cta {
    background: var(--color-gray-900);
    color: var(--color-white);
}

/* Section Spacing */
@media (max-width: 768px) {
    .homepage section {
        padding: 60px 0;
    }
}

@media (max-width: 480px) {
    .homepage section {
        padding: 48px 0;
    }
}

/* Section Fade In */
.homepage section {
    opacity: 0;
    animation: sectionFadeIn 0.8s ease forwards;
}

.homepage .hero-section {
    opacity: 1;
    animation: none;
}

@keyframes sectionFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Stagger Animation Delays */
.section-highlights {
    animation-delay: 0.1s;
}

.section-courses {
    animation-delay: 0.2s;
}

.section-services {
    animation-delay: 0.3s;
}

.section-gallery {
    animation-delay: 0.4s;
}

.section-why-choose {
    animation-delay: 0.5s;
}

.section-testimonials {
    animation-delay: 0.6s;
}

.section-cta {
    animation-delay: 0.7s;
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    .homepage section {
        animation: none;
        opacity: 1;
    }
}