/* ============================================
   home.css - Muyovozi High School
   Styles Specific to Homepage Only
   ============================================ */

/* ===== HERO SECTION WITH BLUR BACKGROUND ===== */
.home-hero {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    margin-bottom: 60px;
}

/* Background Image with Blur Filter */
.hero-bg-blur {
    position: absolute;
    top: -10%;
    left: -10%;
    width: 120%;
    height: 120%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: blur(8px);
    transform: scale(1.05);
    z-index: 0;
}

/* Slideshow Container */
.slideshow-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
    z-index: 1;
}

.slide.active {
    opacity: 1;
    z-index: 2;
}

/* Dark Overlay for text readability */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.65) 0%, rgba(0, 0, 0, 0.5) 100%);
    z-index: 5;
}

/* Hero Content */
.hero-content {
    position: relative;
    z-index: 10;
    color: white;
    padding: 80px 0;
}

.hero-badge {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 10px 25px;
    border-radius: 50px;
    display: inline-block;
    margin-bottom: 25px;
    font-size: 14px;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-content h1 {
    font-size: 56px;
    font-weight: 800;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-content .lead {
    font-size: 20px;
    max-width: 600px;
    margin-bottom: 35px;
    opacity: 0.95;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

/* Hero Stats */
.hero-stats {
    display: flex;
    gap: 40px;
    margin-bottom: 40px;
}

.hero-stat-number {
    font-size: 32px;
    font-weight: 800;
    display: block;
}

.hero-stat-label {
    font-size: 13px;
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Hero Buttons */
.btn-hero {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 14px 35px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-hero-primary {
    background: var(--accent-color);
    color: var(--dark-color);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.btn-hero-primary:hover {
    background: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.btn-hero-outline {
    border: 2px solid white;
    color: white;
    background: transparent;
}

.btn-hero-outline:hover {
    background: white;
    color: var(--primary-color);
    transform: translateY(-3px);
}

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

/* Slideshow Dots */
.slideshow-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 15;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: var(--accent-color);
    width: 30px;
    border-radius: 10px;
}

.dot:hover {
    background: white;
}

/* ===== FEATURES SECTION ===== */
.features-section {
    padding: 60px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 42px;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    border-radius: 2px;
}

.section-header p {
    font-size: 18px;
    color: #666;
    max-width: 700px;
    margin: 25px auto 0;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.feature-card {
    background: white;
    border-radius: 20px;
    padding: 35px 25px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(59, 157, 179, 0.15);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    color: white;
    font-size: 35px;
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1);
}

.feature-card h4 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--dark-color);
}

.feature-card p {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
}

/* ===== SEO CONTENT SECTION ===== */
.seo-content-section {
    background: var(--light-color);
    padding: 50px 40px;
    margin: 60px 0 40px;
    border-radius: 20px;
    box-shadow: var(--shadow-sm);
}

.seo-content-section h2 {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.seo-content-section h3 {
    font-size: 22px;
    margin-top: 25px;
    margin-bottom: 15px;
    color: var(--dark-color);
}

.seo-content-section p {
    color: #444;
    line-height: 1.8;
    margin-bottom: 20px;
}

.seo-content-section ul {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.seo-content-section ul li {
    padding: 10px 0 10px 30px;
    position: relative;
    border-bottom: 1px solid #eee;
}

.seo-content-section ul li:last-child {
    border-bottom: none;
}

.seo-content-section ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: bold;
    font-size: 18px;
}

/* ===== RESPONSIVE (Homepage) ===== */
@media (max-width: 1200px) {
    .feature-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .hero-content h1 {
        font-size: 42px;
    }
    
    .hero-content .lead {
        font-size: 18px;
    }
    
    .section-header h2 {
        font-size: 36px;
    }
}

@media (max-width: 768px) {
    .home-hero {
        min-height: 70vh;
    }
    
    .hero-content {
        padding: 60px 0;
    }
    
    .hero-content h1 {
        font-size: 32px;
    }
    
    .hero-content .lead {
        font-size: 16px;
    }
    
    .section-header h2 {
        font-size: 32px;
    }
    
    .feature-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .hero-stats {
        flex-wrap: wrap;
        gap: 20px;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .btn-hero {
        width: 100%;
        justify-content: center;
    }
    
    .slideshow-dots {
        bottom: 15px;
    }
    
    .seo-content-section {
        padding: 30px 20px;
        margin: 40px 0 30px;
    }
    
    .seo-content-section h2 {
        font-size: 22px;
    }
    
    .seo-content-section h3 {
        font-size: 18px;
    }
}

@media (max-width: 576px) {
    .hero-content h1 {
        font-size: 28px;
    }
    
    .hero-badge {
        font-size: 12px;
        padding: 8px 18px;
    }
    
    .hero-stat-number {
        font-size: 24px;
    }
    
    .hero-stat-label {
        font-size: 11px;
    }
    
    .section-header h2 {
        font-size: 28px;
    }
    
    .feature-card {
        padding: 25px 20px;
    }
    
    .feature-icon {
        width: 65px;
        height: 65px;
        font-size: 28px;
    }
    
    .feature-card h4 {
        font-size: 18px;
    }
}

/* ===== ANIMATIONS ===== */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content {
    animation: fadeIn 0.8s ease-out;
}

.feature-card {
    animation: fadeIn 0.6s ease-out;
}

.feature-card:nth-child(1) { animation-delay: 0s; }
.feature-card:nth-child(2) { animation-delay: 0.1s; }
.feature-card:nth-child(3) { animation-delay: 0.2s; }
.feature-card:nth-child(4) { animation-delay: 0.3s; }