

/* Title */
.hero-title {
  font-size: 2.4rem;
  font-weight: 800;
  color: #ffda44; /* emas modern */
  margin-bottom: 12px;
  text-shadow: 
    0 3px 6px rgba(0,0,0,0.8),
    0 0 12px rgba(255,215,0,0.5);
}

/* Subtitle */
.hero-subtitle {
  font-size: 1.5rem;
  font-weight: 700;
  color: #ffffff; /* putih kontras */
  letter-spacing: 0.6px;
  margin-bottom: 22px;
  text-shadow: 
    0 2px 6px rgba(0,0,0,0.9),
    0 0 8px rgba(255,255,255,0.2);
}

.sintara-text {
  font-size: 2.4rem;
  font-weight: 600;
  color: #fff; 
  text-align: center;

  /* efek teks */
  text-shadow: 0 3px 6px rgba(0,0,0,0.8),
               0 0 12px rgba(255,215,0,0.5);

  /* efek ketik */
  white-space: nowrap;
  overflow: hidden;
  border-right: 3px solid #fff;

  /* animasi gabungan */
  animation: typing 4s steps(40, end),
             blink 0.7s step-end infinite,
             glow 2s ease-in-out infinite alternate;
  animation-duration: 10s, 10s, 2s;          /* typing & blink ulang 10s */
  animation-iteration-count: infinite, infinite, infinite;
  animation-delay: 0s, 0s, 0s;
}

/* Animasi ketik */
@keyframes typing {
  0%   { width: 0; }
  40%  { width: 100%; }   /* selesai ngetik di detik ke-4 */
  100% { width: 100%; }   /* sisanya diam sampai 10s lalu ulang */
}

/* Cursor blink */
@keyframes blink {
  50% { border-color: transparent; }
}
/* Glow hitam */
/*@keyframes glow {*/
/*  from {*/
/*    text-shadow: */
/*      0 3px 6px rgba(0,0,0,0.8),*/
/*      0 0 8px rgba(0,0,0,0.7),*/
/*      0 0 12px rgba(0,0,0,0.5);*/
/*  }*/
/*  to {*/
/*    text-shadow: */
/*      0 0 12px rgba(0,0,0,1),*/
/*      0 0 18px rgba(0,0,0,0.9),*/
/*      0 0 25px rgba(0,0,0,0.8);*/
/*  }*/
/*}*/


/* Hero Section */
#hero {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

/* Background video */
#hero video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1; /* video paling belakang */
}

/* Particles layer */
#particles-js {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2; /* di atas video, tapi di bawah content */
  pointer-events: none; /* supaya klik tombol tetap bisa */
}



.hero-title {
  font-size: 2.5rem;
  font-weight: 700;
}

.sintara-text {
  font-size: 1.5rem;
  font-weight: 600;
  margin-top: .5rem;
  text-shadow: 0 3px 6px rgba(0,0,0,0.8);
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 2rem; /* sedikit lebih kecil untuk layar kecil */
    margin-bottom: 10px;
  }

  .hero-subtitle {
    font-size: 1.2rem; /* lebih kecil dari title */
    margin-bottom: 8px;
    margin-bottom: 0.25rem;
  }
}


/* Button */

	.hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 30px 40px;
  background: rgba(0, 0, 0, 0.1); /* hitam transparan modern */
  border-radius: 18px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.1);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  text-align: center;
}
.btn-hero {
  display: inline-block;
  margin-top: 1rem;
  padding: .6rem 1.4rem;
  font-size: 1rem;
  border-radius: 12px;
  background: #fd4d4b;
  color: #fff;
  text-decoration: none;
  transition: background .3s ease;
}
.btn-hero:hover {
  background: #e03e3c;
}

/* 🔹 Responsive */
@media (max-width: 768px) {
  .hero-title {
    font-size: 1.5rem;
  }
  .sintara-text {
    font-size: 1.1rem;
  }
  .btn-hero {
    font-size: 0.9rem;
    padding: .5rem 1rem;
    margin-top: 0rem;
  }
}

@media (max-width: 480px) {
  #hero {
    height: 80vh;
  }
  .hero-title {
    font-size: 1.2rem;
  }
  .sintara-text {
    font-size: 1rem;
  }
}

/* Gallery Section */

#gallery {
  position: relative;
  background: url('<?=base_url()?>assets/bg.png') no-repeat center center fixed;
  background-size: cover;
  z-index: 1;
  color: #fff;
}

#gallery::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(255, 255, 255, 0.7); /* overlay putih semi transparan */
  z-index: -1;
}

/* Header */
#gallery .section-header h3 {
  font-size: 2rem;
  font-weight: bold;
}

#gallery .section-header p {
  font-size: 1rem;
  color: #333;
}
/* Tambah gradient di bawah gambar */
#gallery .carousel-item {
  position: relative;
}

#gallery .carousel-item::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 40%; /* area gradasi */
  background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
  border-radius: 12px; /* ikut border gambar */
  pointer-events: none;
}

/* Caption styling */
#gallery .carousel-caption {
  bottom: 10px;
  left: 15px;
  right: 15px;
  text-align: left;
  z-index: 2;
}

#gallery .carousel-caption h6 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  text-shadow: 1px 1px 3px rgba(0,0,0,0.6);
}

/* Tombol lebih modern */
#gallery .btn-preview {
  background: rgba(255,255,255,0.15);
  border: 1px solid #fff;
  color: #fff;
  font-size: 0.85rem;
  padding: 4px 14px;
  border-radius: 50px;
  transition: all 0.3s ease;
}
#gallery .btn-preview:hover {
  background: #fff;
  color: #000;
}

/* Mobile */
@media (max-width: 768px) {
  #gallery .carousel-caption h6 {
    font-size: 0.95rem;
  }
  #gallery .btn-preview {
    font-size: 0.75rem;
    padding: 3px 10px;
  }
}


.map-responsive {
  position: relative;
  padding-bottom: 56.25%; /* Rasio 16:9 */
  height: 0;
  overflow: hidden;
  border: 4px solid #fff;
  border-radius: 16px;
}

.map-responsive iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

