/* =========================
   FONT KHUSUS
========================= */
@font-face {
  font-family: 'Caviar Dreams';
  src: url('https://db.onlinewebfonts.com/t/66a8e86fa75bfa2eb25ec6fcb62c7cbb.woff2') format('woff2');
}

@font-face {
  font-family: 'Harlow Solid';
  src: url('https://db.onlinewebfonts.com/t/d393f4b56f3bc418c31a3f5ab2d3f79d.woff2') format('woff2');
}

/* =========================
   RESET & GLOBAL
========================= */
body {
  padding-top: 70px;
  font-family: 'Caviar Dreams', sans-serif;
  line-height: 1.6;
  margin: 0;
  scroll-behavior: smooth;
}

h1, h2, h3, h4, h5 {
  font-weight: bold;
}

/* =========================
   NAVBAR (MERAH)
========================= */
.navbar {
  background-color: #ff0000;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .1);
}

.navbar .navbar-toggler {
  border-color: rgba(255, 255, 255, .3);
}

.navbar-brand, .navbar-nav .nav-link {
  color: #fff !important;
  font-weight: 600;
}

.navbar-nav .nav-link:hover {
  color: #ffd1d1 !important;
}

.nav-links a {
  color: #fff;
  font-weight: 600;
  transition: color .2s ease;
}

.nav-links a:hover {
  color: #ffd1d1;
}

.nav-links a.active {
  color: #ffd1d1;
  border-bottom: 2px solid #ffd1d1;
}

/* =========================
   LOGO KECIL (NAVBAR)
========================= */
.logo-text {
  display: flex;
  align-items: center;
  gap: .3rem;
  font-weight: 700;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}

.logo-text .neo {
  font-family: 'Caviar Dreams', sans-serif;
  font-size: 1.4rem;
}

.logo-text .hass {
  font-family: 'Harlow Solid', cursive;
  font-size: 3rem;
}

#currentDate {
  font-size: .8rem;
  margin-left: .5rem;
  white-space: nowrap;
}

/* =========================
   LOGO BESAR (NEO HASS) — NAMESPACED
========================= */
.nh-logo {
  font-weight: bold;
  line-height: 1;
  margin-bottom: 20px;
  text-align: center;
}

.nh-logo .neo {
  font-family: 'Caviar Dreams', sans-serif;
  color: #dc2626;
  font-size: 3rem;
  font-weight: 700;
}

.nh-logo .hass {
  font-family: 'Harlow Solid', serif;
  color: #991b1b;
  font-size: 3rem;
  font-weight: 900;
  margin-top: -20px;
}

.nh-underline {
  width: 128px;
  height: 4px;
  background: #dc2626;
  margin: 0 auto 24px;
}

/* ========================= 
   HERO SECTION
========================= */
#HERO-SECTION-RESPONSIVE {
  background: url('https://owntalk.co.id/wp-content/uploads/2023/12/Wisata-Alam-di-Taman-Nasional-Bromo-Tengger-Semeru-jpg.webp') center/cover no-repeat;
  position: relative;
  padding: 60px 0;
  color: #fff;
}

.hero-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

.hero-image {
  width: 100%;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, .25);
  object-fit: cover;
}

.hero-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  text-align: center;
  padding: 20px;
  background: rgba(0, 0, 0, .5);
  border-radius: 12px;
  max-width: 80%;
  z-index: 2;
}

.hero-text h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 15px;
}

.hero-text p {
  font-size: 1.2rem;
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .hero-text h1 {
    font-size: 1.8rem;
  }

  .hero-text p {
    font-size: 1rem;
  }
}

/* =========================
   SELAMAT DATANG
========================= */
#welcome {
  position: relative;
  text-align: center;
  padding: 80px 20px;
  background: url('https://blog.tripcetera.com/id/wp-content/uploads/2020/10/pulau-padar.jpg') center/cover no-repeat;
  color: #fff;
}

#welcome h1 {
  font-size: 3rem;
  font-weight: 700;
  margin: 0;
  padding: 20px;
  background: rgba(0, 0, 0, .4);
  display: inline-block;
  border-radius: 12px;
}

@media (max-width: 768px) {
  #welcome h1 {
    font-size: 2rem;
  }
}

/* =========================
   FORM INPUT & BUTTON
========================= */
.form-input {
  width: 100%;
  padding: .5rem .75rem;
  border: 1px solid #ccc;
  border-radius: .375rem;
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease;
}

.form-input:focus {
  border-color: #ff0000;
  box-shadow: 0 0 0 2px rgba(255, 0, 0, .2);
}

.btn-submit {
  background-color: #ff0000;
  color: #fff;
  padding: .75rem 1.5rem;
  border-radius: .375rem;
  font-weight: 700;
  transition: background-color .2s ease;
}

.btn-submit:hover {
  background-color: #cc0000;
}

.btn-wa {
  display: inline-block;
  background-color: #25D366;
  color: #fff;
  padding: .5rem 1rem;
  border-radius: .375rem;
  font-weight: 700;
  margin-top: .75rem;
  text-decoration: none;
  transition: background-color .2s ease;
}

.btn-wa:hover {
  background-color: #1ebe5a;
}

.feature-card {
  border-radius: 14px;
  padding: 18px;
  color: #fff;
  transition: all 0.3s ease;
  background: linear-gradient(135deg, #ff4d4d, #b71c1c);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* Hover effect */
.feature-card:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

/* Judul */
.feature-card h4 {
  font-size: 1.05rem;
  margin-bottom: 8px;
  font-weight: 700;
  color: #fff;
}

/* Deskripsi */
.feature-card p {
  font-size: 0.9rem;
  line-height: 1.5;
  opacity: 0.95;
}


/* =========================
   CAROUSEL
========================= */
.carousel {
  width: 720px;
  max-width: 100%;
  height: 400px;
  max-height: 60vh;
  background: #f7f1f0;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 20px auto;
  box-shadow: 0 6px 16px rgba(0, 0, 0, .12);
  transition: transform .5s ease-in-out, filter .5s ease-in-out;
}

.carousel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border: none;
  transition: transform .6s ease-in-out;
}

.carousel:hover {
  transform: scale(1.02);
  filter: brightness(1.08);
}

.carousel:hover img {
  transform: scale(1.05);
}

.gradient-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, .45), transparent 70%);
  pointer-events: none;
}

/* Hover lift universal */
.hover-lift {
  transition: transform .4s ease, box-shadow .4s ease;
}

.hover-lift:hover {
  transform: translateY(-8px) scale(1.03);
  box-shadow: 0 12px 28px rgba(0, 0, 0, .2);
}

/* =========================
   ANIMASI STATISTIK
========================= */
.stat-card {
  transform: scale(0);
  animation: popIn .6s forwards;
}

.stat-card:hover {
  transform: scale(1.1);
  transition: transform .3s;
}

.stat-card:nth-child(1) {
  animation-delay: .9s;
}

.stat-card:nth-child(2) {
  animation-delay: 1s;
}

.stat-card:nth-child(3) {
  animation-delay: 1.1s;
}

.stat-card:nth-child(4) {
  animation-delay: 1.2s;
}

@keyframes popIn {
  to {
    transform: scale(1);
  }
}

/* =========================
   QA CARDS
========================= */
.qa-item {
  padding: 1rem;
  border-top: 1px solid rgba(220, 53, 69, .7);
  border-radius: .5rem .5rem 0 0;
  transition: all .3s ease-in-out;
  max-width: 220px;
  margin: auto;
}

.qa-item h4 {
  font-size: 1rem;
}

.qa-item p {
  font-size: .8rem;
  margin-bottom: 0;
}

.qa-item:hover {
  border-top: 2px solid rgba(220, 53, 69, .9);
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, .12);
}

/* =========================
   ABOUT
========================= */
#about {
  background: url('https://images.unsplash.com/photo-1506744038136-46273834b3fb?auto=format&fit=crop&w=1470&q=80') center/cover no-repeat;
  color: #fff;
}

#about .container {
  background-color: rgba(0, 0, 0, .5);
  padding: 3rem;
  border-radius: 12px;
}

.custom-hr {
      width: 80px;
      height: 3px;
      background-color: red;
      border: none;
  }

/* =========================
   PRODUCTS (PERBAIKAN NAVBAR TERTUTUP)
========================= */
#products {
  background: url('https://owntalk.co.id/wp-content/uploads/2023/12/Wisata-Alam-di-Taman-Nasional-Bromo-Tengger-Semeru-jpg.webp') center/cover no-repeat;
  position: relative;
  padding: 60px 0;
  color: #fff;
  z-index: 0; /* pastikan section tetap di bawah navbar */
}

#products::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .4);
  z-index: 0;  /* biar konten produk tetap tampil di atas overlay */
}

#products .container {
  position: relative;
  z-index: 1; /* biar konten produk tetap tampil di atas overlay */
}

.product-card {
  border: none;
  background-color: rgba(255, 255, 255, .85);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, .1);
}

.product-card img {
  border: none;
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

#products .card-body h5 {
  color: #000;
}


/* =========================
   GALLERY
========================= */
.gallery-card img {
  transition: transform .4s ease, filter .4s ease;
}

.gallery-card:hover img {
  transform: scale(1.02);
  filter: brightness(1.05);
}

.gallery-image-wrap {
  width: 100%;
  aspect-ratio: 1/1;
  background: #f7f1f0;
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform .3s ease;
}

@supports not (aspect-ratio: 1) {
  .gallery-image-wrap {
    height: 720px;
  }
}

.gallery-image-wrap img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
}

.gallery-image-wrap:hover {
  transform: scale(1.03);
}

/* =========================
   FOOTER
========================= */
.footer-section {
  background-color: #ff0000;
  color: #fff;
  padding-top: 3rem;
  padding-bottom: 3rem;
}

.footer-title, .footer-subtitle {
  color: #fff;
  font-weight: 900;
}

.footer-title {
  font-size: 1.25rem;
  margin-bottom: .75rem;
}

.footer-subtitle {
  font-size: 1.125rem;
  margin-bottom: 1rem;
}

.footer-text {
  color: #ffecec;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.footer-info p {
  color: #fff;
  margin-bottom: .4rem;
}

.footer-hours {
  color: #ffd1d1;
}

.footer-hours div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: .4rem;
}

.footer-hours span:last-child {
  font-weight: 800;
}

.footer-section a {
  color: #ffecec;
  text-decoration: none;
}

.footer-section a:hover {
  color: #ffd1d1;
}

.social-icons {
  display: flex;
  gap: .5rem;
}

.social-icons a {
  width: 3rem;
  height: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: .5rem;
  background-color: rgba(255, 255, 255, .15);
  border: 1px solid rgba(255, 255, 255, .25);
  transition: background-color .2s ease, transform .2s ease;
}

.social-icons a:hover {
  background-color: rgba(255, 255, 255, .25);
  transform: translateY(-2px);
}

.footer-section .btn-wa {
  display: block;
  margin-top: 1rem;
  text-align: center;
}

footer:not(.footer-section) {
  background-color: inherit;
}