/* Reset Dasar */
* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: 'Segoe UI', sans-serif; line-height: 1.6; color: #333; }

/* Navigasi */
.navbar { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    padding: 20px 10%; 
    background: #002e63; /* Biru */
    position: sticky; 
    top: 0; 
    z-index: 1000; 
}

.logo { 
    font-weight: 800; 
    font-size: 1.5rem; 
    color: #ffffff; /* Putih */
}

.nav-links a { 
    text-decoration: none; 
    color: #ffffff; /* Putih */
    margin-left: 25px; 
    font-weight: 600; 
    font-size: 0.9rem; 
    transition: 0.3s; 
}

.nav-links a:hover { 
    color: #cccccc; /* Abu-abu muda pas kursor diarahin */
}

.hero { 
    height: 60vh; 
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('hero.jpg'); 
    background-size: cover; 
    background-position: center; 
    display: flex; 
    flex-direction: column; 
    justify-content: center; 
    align-items: center; 
    color: white; 
    text-align: center; 
    padding: 20px; 
}

/* Container */
.container { padding: 40px 10%; }
.section-title { text-align: center; margin-bottom: 40px; font-size: 2rem; color: #002e63; }

/* Tambahin garis pembatas (divider) biar kelihatan niat */
.divider { width: 50px; height: 3px; background: #002e63; margin: 10px auto 30px auto; }

/* Bikin tulisan 'Tentang' lebih enak dibaca */
.about-text { max-width: 800px; margin: auto; font-size: 1.1rem; color: #555; text-align: center; line-height: 1.8; }

/* Grid Card */
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.card { border: 1px solid #ddd; padding: 30px; border-radius: 8px; background: white; transition: 0.3s; }
.card:hover { box-shadow: 0 5px 15px rgba(0,0,0,0.1); }
.card h3 { margin-bottom: 10px; color: #002e63; }
.card p { margin-bottom: 20px; }

/* Footer */
.footer { background: #002e63; color: white; padding: 20px 10%; text-align: center; }
/* Styling Galeri Foto */
.card-img { overflow: hidden; border-radius: 12px; height: 250px; }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: 0.5s; }
.card-img:hover img { transform: scale(1.1); }

/* Slider Dokumentasi */
.slider-container { width: 100%; max-width: 800px; margin: auto; overflow: hidden; position: relative; border-radius: 12px; }
.slider-wrapper { display: flex; width: 300%; animation: slide 12s infinite; }
.slider-wrapper img { width: 33.33%; height: 400px; object-fit: cover; }

@keyframes slide {
    0% { transform: translateX(0%); }
    33% { transform: translateX(-33.33%); }
    66% { transform: translateX(-66.66%); }
    100% { transform: translateX(0%); }
}

/* Biar section 'Tentang' gak kosong */
.tentang-box { display: flex; align-items: center; justify-content: space-between; gap: 40px; }
/* Layout Baru untuk Tentang */
.tentang-box { 
    display: flex; 
    align-items: center; 
    gap: 40px; 
    flex-wrap: wrap; /* Biar rapi pas dibuka di HP */
}

.tentang-img { flex: 1; min-width: 300px; }
.tentang-img img { width: 100%; border-radius: 12px; box-shadow: 0 5px 15px rgba(0,0,0,0.1); }

.tentang-text { flex: 1; min-width: 300px; font-size: 1.1rem; color: #555; }

/* Style Tulisan Hero Biar Lebih Tebal & Tajam */
.hero h1 {
    font-size: 4rem;
    font-weight: 800;
    text-transform: uppercase;
    
    /* Efek garis tepi (stroke) */
    -webkit-text-stroke: 1px #000; 
    
    /* Tambahan shadow biar lebih keluar */
    text-shadow: 3px 3px 6px rgba(0,0,0,0.8);
    
    margin-bottom: 10px;
    color: #fff; /* Warna isi tulisan tetap putih */
}

.hero p {
    font-size: 1.5rem;
    font-weight: 600;
    /* Sedikit shadow biar kebaca jelas */
    text-shadow: 1px 1px 3px rgba(0,0,0,0.7);
    color: #fff;
}

/* Warna Putih & Basic Nav */
.navbar {
  background: #002e63;
  display: flex;
  justify-content: space-between;
  padding: 1rem;
  align-items: center;
}

.nav-links {
  display: flex;
  list-style: none;
}

/* Dropdown buat HP */
.nav-toggle { display: none; }
.nav-toggle-label { cursor: pointer; display: none; }

@media (max-width: 768px) {
  .nav-toggle-label { display: block; }
  .nav-links {
    display: none; /* Sembunyiin menu pas di HP */
    flex-direction: column;
    width: 100%;
    position: absolute;
    top: 60px;
    left: 0;
    background: #002e63;
  }
  
  /* Munculin pas tombol diklik */
  .nav-toggle:checked ~ .nav-links { display: flex; }
}
