/* =========================
   RESET & DASAR
========================= */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
body {
  font-family: 'Poppins', Arial, sans-serif;
  line-height: 1.6;
  background: #f7f7f7;
  color: #222;
}

/* =========================
   HEADER (Hero Section) — dengan gambar tajam & efek zoom
========================= */
.hero-landing {
  position: relative;
  background: url("../images/header-galeri.png") center center / cover no-repeat;
  color: #fff;
  text-align: center;
  padding: 120px 20px;
  overflow: hidden;
  animation: heroZoom 20s ease-in-out infinite alternate;
}

/* Overlay gelap agar teks tetap kontras di atas gambar */
.hero-landing::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: brightness(0.9) contrast(1.1);
  z-index: 1;
}

/* Teks di atas layer gambar */
.hero-landing h1,
.hero-landing p {
  position: relative;
  z-index: 2;
  text-shadow: 2px 3px 6px rgba(0,0,0,0.5);
}

@keyframes heroZoom {
  from { transform: scale(1); }
  to { transform: scale(1.08); }
}

/* =========================
   NAVBAR
========================= */
.navbar-brand {
  color: #ff7a18 !important;
}
.navbar-dark .nav-link.active {
  color: #ff7a18 !important;
  font-weight: 600;
}
.navbar-dark .nav-link:hover {
  color: #ff7a18 !important;
}
.navbar .nav-link.active {
  color: #ff7a18 !important;
  font-weight: 600;
}

/* =========================
   CARD (untuk rekomendasi/tempat)
========================= */
.card {
  border-radius: 10px !important;
  overflow: hidden;
  transition: all 0.3s;
}
.card:hover {
  transform: scale(1.02);
  box-shadow: 0 6px 16px rgba(0,0,0,0.2);
}
.card img {
  object-fit: cover;
  height: 200px;
}

/* =========================
   GALERI
========================= */
.gallery img {
  border-radius: 10px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}
.gallery img:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 18px rgba(0,0,0,0.3);
}

/* =========================
   FORM KONTAK
========================= */
.contact-form {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  padding: 30px;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 8px;
  transition: all 0.3s;
}
.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #ff7a18;
  box-shadow: 0 0 6px rgba(255, 122, 24, 0.5);
  outline: none;
}
.contact-form button {
  background: #ff7a18;
  color: #fff;
  border: none;
  padding: 10px 18px;
  border-radius: 8px;
  transition: background 0.3s;
}
.contact-form button:hover {
  background: #af002d;
}

/* Alert sukses kirim pesan di halaman kontak */
.alert-success {
  background: linear-gradient(90deg, #ff7a18, #af002d);
  border: none;
  color: #fff;
  font-weight: 600;
  letter-spacing: 0.5px;
}

/* Ikon media sosial di halaman kontak */
.contact-info a i {
  color: #333;
  transition: 0.3s ease;
}
.contact-info a:hover i {
  color: #ff7a18;
  transform: scale(1.1);
}

/* =========================
   FOOTER
========================= */
footer {
  background: #111;
  color: #fff;
  text-align: center;
  padding: 16px;
  border-top: 3px solid #222;
  margin-top: 50px;
}

/* =========================
   BUTTON & LINK
========================= */
.btn-custom {
  background: #ff7a18;
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 8px 16px;
  transition: 0.3s;
}
.btn-custom:hover {
  background: #af002d;
  color: #fff;
}
.btn-warning, .btn-outline-warning {
  border-color: #ff7a18;
  color: #ff7a18;
  transition: all 0.3s ease;
}
.btn-warning:hover, .btn-outline-warning:hover {
  background-color: #ff7a18;
  color: #fff;
}

/* Efek halus untuk card dan tombol */
.card:hover, .btn-custom:hover {
  transform: translateY(-5px);
  transition: all 0.3s ease;
}

/* =========================
   SIDEBAR (index.html)
========================= */
.sidebar .list-group-item.active {
  background-color: #af002d;
  color: #fff;
  font-weight: 600;
  border: none;
}

/* =========================
   ANIMASI DETAIL
========================= */
#detail-box {
  animation: fadeIn 0.4s ease;
  scroll-margin-top: 80px;
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 768px) {
  .hero-landing {
    padding: 80px 15px;
    background-position: center;
  }
  .hero-landing h1 {
    font-size: 28px;
  }
  .hero-landing p {
    font-size: 16px;
  }
  footer {
    font-size: 14px;
  }
}
