body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

.container-f {
    max-width: 1200px;
    margin: 0 auto;
    margin-bottom: 70px;
    padding: 20px;
}

/* ----- 2. HERO SECTION ----- */
.hero-section {
    position: relative;
    height: 40vh; /* Tinggi 40% dari viewport */
    background-image: url('/theme/img/FotoSHS.jpg'); /* Ganti dengan gambar header terbaik Anda */
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--primary-color);
    opacity: 0.75; /* Efek overlay warna */
}

.hero-content {
    position: relative; /* Agar di atas overlay */
    z-index: 2;
}

.hero-content h1 {
    font-size: 3rem;
    font-weight: 700;
    margin: 0;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-content p {
    font-size: 1.2rem;
    font-weight: 400;
    opacity: 0.9;
}

/* ----- 3. TEKS PEMBUKA ----- */
.intro-text {
    text-align: center;
    margin: 60px auto;
    max-width: 800px;
}

.intro-text h2 {
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.intro-text p {
    font-size: 1.1rem;
    color: var(--text-light);
}

/* ----- 4. DESAIN KARTU FASILITAS BARU ----- */
.facility-grid {
    display: grid;
    /* Grid responsif: 3 kolom di desktop, 2 di tablet, 1 di mobile */
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.facility-card {
    background-color: var(--card-bg);
    border-radius: 12px;
    overflow: hidden; /* Penting agar gambar tidak keluar dari border-radius */
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #e5e5e5;
    
}

/* .facility-card:hover {
    transform: translateY(-8px); 
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
} */

.card-image {
    height: 220px;
    background-size: cover;
    background-position: center;
}

.card-content {
    padding: 25px;
}

.card-content h3 {
    font-size: 1.4rem;
    font-weight: 600;
    margin: 0 0 10px 0;
    color: var(--secondary-color);
    display: flex;
    align-items: center;
}

.card-content h3 i {
    color: var(--primary-color);
    margin-right: 12px; /* Jarak antara ikon dan teks */
    font-size: 1.2rem;
}

.card-content p {
    margin: 0;
    color: var(--text-light);
    font-size: 0.95rem;
}



/* ----- 6. RESPONSIVE DESIGN ----- */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.2rem;
    }
    .intro-text h2 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .facility-grid {
       grid-template-columns: 1fr; /* 1 kolom penuh di mobile */
    }
    .hero-section {
        height: 30vh;
    }
    .hero-content h1 {
        font-size: 1.8rem;
    }
    .hero-content p {
        font-size: 1rem;
    }
}