/* ===== Load Font Rattles ===== */
@font-face {
  font-family: 'Rattles';
  src: url('../fonts/Rattless.ttf') format('truetype'); /* pastikan nama file sama persis */
  font-weight: normal;
  font-style: normal;
}

body {
  margin: 0;
  font-family: 'Roboto', sans-serif;
  background: #111;
  color: #fff;
  line-height: 1.6;
}

header {
  background: #000;
  padding: 10px; /* diperkecil biar judul lebih naik */
  text-align: center;
}

.site-title {
  font-family: 'Rattles', cursive !important; /* paksa pakai font rattles */
  color: #e63946;
  margin: 0;
  font-size: 2.5em;
}

.hero {
  text-align: center;
  padding: 20px;
}

.logo-hero {
  max-width: 200px;
  height: auto;
}

.gallery {
  padding: 40px 20px;
  text-align: center;
}

.gallery h2 {
  color: #e63946;
  margin-bottom: 20px;
  font-size: 1.3em; /* perkecil biar enak di hp */
}

.slider {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 10px;
}

.slider img {
  max-height: 200px;
  border-radius: 8px;
  scroll-snap-align: center;
  cursor: pointer;
}

.about {
  text-align: center;
  padding: 40px 20px;
}

.about h2 {
  color: #e63946;
}

.why-us {
  text-align: center;
  padding: 40px 20px;
  background: #000;
}

.why-us h2 {
  color: #e63946;
  margin-bottom: 30px;
}

/* ==== Fitur Grid 2x2 ==== */
.features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  max-width: 900px;
  margin: 0 auto;
}

.feature img {
  width: 64px;
  margin-bottom: 10px;
}

.feature p {
  color: #ddd;
  font-size: 14px;
}

.contact {
  background: #111;
  padding: 20px;
  text-align: center;
}

.contact h2 {
  margin-bottom: 15px;
  font-size: 20px;
  color: #e63946;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
}

.social-links img {
  width: 40px;
  height: 40px;
}

footer {
  background: #000;
  padding: 10px;
  font-size: 12px;
  text-align: center;
}

/* ==== Responsif Mobile ==== */
@media (max-width: 600px) {
  header {
    padding: 8px;
  }
  .site-title {
    font-size: 2em;
  }
  .features {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  .gallery h2 {
    font-size: 1.1em;
  }
}
