/* Reset CSS */
body, h1, h2, h3, p, ul, li, img {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Body */
body {
    font-family: 'Poppins', sans-serif;
    background: #f8f9fa;
    color: #333;
    line-height: 1.6;
}

/* Header Section */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 30px;
    background: linear-gradient(90deg, #FFDEE9, #B5FFFC); /* Soft pink to blue gradient */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #FF69B4; /* Pink border */
}

.logo h1 {
    font-size: 28px;
    font-weight: bold;
    color: #333;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
}

nav ul li {
    position: relative;
}

nav ul li a {
    text-decoration: none;
    color: #333;
    font-weight: bold;
    font-size: 16px;
    padding: 10px 15px;
    border-radius: 25px;
    transition: all 0.3s ease;
    background: #fff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

nav ul li a:hover {
    background: #FF69B4; /* Bright pink */
    color: white;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

/* Responsive Design */
@media (max-width: 768px) {
    .header {
        flex-direction: column;
        align-items: flex-start;
    }

    nav ul {
        flex-direction: column;
        gap: 15px;
        margin-top: 10px;
    }

    nav ul li a {
        display: block;
        width: 100%;
    }
}

/* Hero Section */
.hero {
    height: 100vh; /* Mengatur tinggi bagian Hero */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-image: url('your-image.jpg'); /* Ganti dengan path gambar Anda */
    background-size: cover; /* Membuat gambar memenuhi seluruh elemen */
    background-position: center; /* Posisi gambar di tengah */
    background-repeat: no-repeat; /* Mencegah pengulangan gambar */
    background-attachment: fixed; /* Memberikan efek paralaks (opsional) */
    color: #fff;
}

.hero-content h2 {
    font-size: 36px;
    font-weight: bold;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
    margin-bottom: 10px;
}

.hero-content p {
    font-size: 20px;
    font-weight: 300;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
}

/* Responsif untuk layar kecil */
@media (max-width: 768px) {
    .hero {
        height: 40vh; /* Sesuaikan tinggi untuk perangkat lebih kecil */
    }

    .hero-content h2 {
        font-size: 28px;
    }

    .hero-content p {
        font-size: 16px;
    }
}

/* Animasi Fade-up untuk Fasilitas */
.our-facilities {
    text-align: center;
    padding: 50px 20px;
}

.facilities-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.facility-item {
    background: white;
    padding: 20px;
    border-radius: 10px;
    width: 250px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    text-align: center;
}

/* Efek Hover pada Kotak Fasilitas */
.facility-item:hover {
    transform: translateY(-8px) scale(1.05);
    box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.15);
}

/* Animasi Ikon Bergetar saat Hover */
.facility-item .icon {
    font-size: 40px;
    margin-bottom: 10px;
    color: #ff69b4; /* Pink */
    display: inline-block;
    transition: transform 0.3s ease-in-out;
}

.facility-item:hover .icon {
    animation: shake 0.5s ease-in-out;
}

/* Animasi Ikon */
@keyframes shake {
    0% { transform: rotate(0); }
    25% { transform: rotate(-10deg); }
    50% { transform: rotate(10deg); }
    75% { transform: rotate(-5deg); }
    100% { transform: rotate(0); }
}


.school-activities {
    text-align: center;
    padding: 50px 20px;
    background: linear-gradient(to bottom, #ffdde1, #e2f0fb); /* Gradasi pink soft ke biru soft */
}

.school-activities h2 {
    font-size: 2em;
    color: #ff69b4; /* Pink soft */
    margin-bottom: 20px;
}

.activities-list {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
}

.activity {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    width: 250px;
    text-align: center;
    padding: 15px;
    cursor: pointer;
}

.activity img {
    width: 100%;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.activity:hover img {
    transform: scale(1.1);
}

.activity h3 {
    color: #1e90ff; /* Biru soft */
    margin: 10px 0;
    font-size: 1.2em;
}

.activity p {
    font-size: 1em;
    color: #555;
}

.activity:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}



.location {
    text-align: center;
    padding: 50px 20px;
    background: linear-gradient(to bottom, #ffdde1, #e2f0fb); /* Gradasi pink soft ke biru soft */
}

.location h2 {
    font-size: 2em;
    color: #ff69b4; /* Pink soft */
    margin-bottom: 15px;
    animation: fadeInUp 1s ease-in-out;
}

.location-details {
    font-size: 1.2em;
    color: #333;
    margin-bottom: 20px;
    animation: fadeIn 1.2s ease-in-out;
}

.map-container {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.map-container:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}


footer {
    background: linear-gradient(to right, #ffdde1, #e2f0fb); /* Gradasi pink soft ke biru soft */
    text-align: center;
    padding: 20px 0;
    font-size: 1.2em;
    color: #333;
    position: relative;
    animation: fadeIn 1.5s ease-in-out;
    box-shadow: 0 -5px 10px rgba(0, 0, 0, 0.1);
}

footer p {
    margin: 0;
    transition: color 0.3s ease;
}

footer p:hover {
    color: #ff69b4; /* Pink soft untuk efek hover */
    cursor: pointer;
}

/* Animasi Fade In */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Tambahan untuk Ikon Media Sosial */
.social-icons {
    margin-top: 10px;
}

.social-icons a {
    margin: 0 10px;
    display: inline-block;
    font-size: 1.5em;
    color: #ff69b4; /* Pink soft */
    transition: transform 0.3s ease, color 0.3s ease;
}

.social-icons a:hover {
    color: #007bff; /* Biru soft saat dihover */
    transform: scale(1.2);
}


/* Terapkan Animasi ke Elemen */

/* Header */
.header {
    animation: fadeIn 1s ease-in-out;
}

/* Hero Section */
.hero {
    animation: fadeIn 1.5s ease-in-out;
}

/* Section Title */
.section-title, .school-activities h2, .location h2 {
    animation: slideInUp 1s ease-out;
}

/* Fasilitas */
.facility-item {
    animation: zoomIn 1s ease-in-out;
}

/* Aktivitas Sekolah */
.activity {
    animation: slideInUp 1s ease-in-out;
}

/* Lokasi */
.location-details {
    animation: fadeIn 1.5s ease-in-out;
}
