* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Sora', sans-serif;
}

body {
    color: #fff;
    background-color: #fff;
}

/* NAVIGASI */
nav {
    background-color: #5b2c1e;
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 40px;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 9999;
}

.logo {
    height: 55px;
    width: 65px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo img {
    height: 100%;
    width: auto;
    object-fit: cover;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 25px;
}

nav a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: 0.3s;
}

nav a:hover {
    color: #ffcc00;
}

.lang-switch select {
    padding: 5px 8px;
    background: #ffcc00;
    color: #5b2c1e;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
}

/* SECTION HERO GALERI */
.gallery-hero {
  min-height: 100vh;
  width: 100%;
  background-color: #f7d8a4;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding-top: 120px; /* supaya tidak ketutup navbar */
  position: relative;
  overflow: hidden;
}

.gallery-hero h1 {
  font-size: 100px;
  font-weight: 700;
  color: #5b2c1e;
  line-height: 1.3;
}

.gallery-hero p {
  margin-top: 10px;
  font-size: 30px;
  font-weight: bold;
  color: #5b2c1e;
}

/* Ornamen */
.ornamen-left,
.ornamen-right {
  position: absolute;
  width: 400px;
  opacity: 0.55;
  padding-top: 80px;
}

/* posisi ornamen */
.ornamen-left {
  position: absolute;
  bottom: -100px;
  left: 0;
  opacity: 0.55;
  transform: rotate(180deg);
}

.ornamen-right {
  position: absolute;
  top: 0;
  right: 0;
  opacity: 0.55;
}

.kegiatan {
  background-color: #5b2c1e;
  color: #f7d8a4;
  text-align: center;
  padding: 60px 20px;
  height: 90vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.kegiatan h2 {
  font-size: 60px;
  margin-bottom: 40px;
  color: #f7d8a4;
}

.slider {
  display: flex;
  overflow-x: auto;
  scroll-behavior: smooth;
  gap: 20px;
  padding: 10px;
  scrollbar-color: #f4c27f #3a1f08;
  scrollbar-width: thin;
}


  /* Scrollbar khusus untuk browser berbasis WebKit (Chrome, Edge, Safari) */
.slider::-webkit-scrollbar {
  height: 12px; /* Tinggi scrollbar */
}

.slider::-webkit-scrollbar-track {
  background: #e3c394; /* Warna latar track */
  border-radius: 10px;
  height: 10px;
}

.slider::-webkit-scrollbar-track {
  background: #3a1f08;
  border-radius: 10px;
}

.slider::-webkit-scrollbar-thumb {
  background-color: #f4c27f;
  border-radius: 10px;
}

.slider::-webkit-scrollbar-thumb {
  background-color: #5b2c1e; /* Warna batang scrollbar */
  border-radius: 10px;
  border: 3px solid #e3c394; /* Tambah jarak agar tampak rapi */
}

.slider::-webkit-scrollbar-thumb:hover {
  background-color: #8c4b34; /* Warna saat dihover */
}



.slide-item {
  flex: 0 0 auto;
  background-color: #d8b98b;
  color: #3a1f08;
  border-radius: 15px;
  overflow: hidden;
  width: 400px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
}

.slide-item:hover {
  transform: scale(1.05);
}

.slide-item img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.slide-item p {
  padding: 10px;
  font-size: 15px;
  line-height: 1.4;
}

.video-section {
  height: 120vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  background: #5b2c1e;
  color: #f7d8a4;
  padding: 60px 20px;
}

.video-section h2 {
  font-size: 70px;
  font-weight: bold;
  margin-bottom: 30px;
}

.video-wrapper {
  position: relative;
  width: 85%;
  max-width: 800px;
  margin: auto;
  border-radius: 15px;
  overflow: hidden;
}

.video-wrapper video {
  width: 100%;
  height: 450px;
  object-fit: cover;
  border-radius: 15px;
}

/* Tombol Play di atas video */
/* .play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 40px;
  width: 70px;
  height: 70px;
  background: rgba(255,255,255,0.7);
  color: #4a2205;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
} */

.play-button:hover {
  background: rgba(255,255,255,0.9);
}

.video-desc {
  margin-top: 25px;
  font-size: 18px;
  max-width: 650px;
  margin-left: auto;
  margin-right: auto;
  color: #f7d8a4;
}

.footer {
    display: flex;
    background-color: #f2d6a2;
    color: #3e2f20;
}

.footer-left img {
    width: 150px;
    height: 100%;
    object-fit: cover;
    display: block;
}

.footer-right {
    flex: 1;
    padding: 25px 40px;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.footer-column h3 {
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 10px;
}

.footer-column ul {
    list-style: none;
    padding: 0;
}

.footer-column ul li {
    margin-bottom: 20px;
    font-size: 15px;
}

.footer-column ul li a {
    color: #3e2f20;
    text-decoration: none;
    transition: 0.3s;
}

.footer-column ul li a:hover {
    color: #a56a2f;
}

.footer-bottom {
    text-align: right;
    margin-top: 50px;
    font-size: 13px;
    color: #4a3a2a;
}




/* Untuk HP (max-width 768px) */
@media (max-width: 768px) {
nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 6px 12px;
    height: auto;
}

/* Logo tetap di kiri */
nav .logo img {
    max-height: 35px;
}

/* Menu di tengah, jarak antar item dirapatkan */
nav ul {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

nav ul li a {
    font-size: 13px;
}

  /* Switch bahasa di kanan */
.lang-switch select {
    font-size: 12px;
    padding: 3px 6px;
}
}

/* ====== Responsive Hero Gallery ≤ 768px ====== */
@media (max-width: 768px) {
  .gallery-hero {
    padding-top: 110px; 
    min-height: 100vh; /* lebih panjang biar lega */
    padding-bottom: 30px; 
  }

  .gallery-hero h1 {
    font-size: 50px;
    line-height: 1.25;
  }

  .gallery-hero p {
    font-size: 19px;
    margin-top: 8px;
  }

  .ornamen-left,
  .ornamen-right {
    width: 210px;
    opacity: 0.48;
  }

  .ornamen-left {
    bottom: -120px; /* turunin lagi biar nempel bawah */
  }

  .ornamen-right {
    top: -10px;
  }
}

/* ====== Responsive Hero Gallery ≤ 480px ====== */
@media (max-width: 480px) {
  .gallery-hero {
    padding-top: 100px;
    min-height: 100vh; /* tetap full screen */
    padding-bottom: 35px;
  }

  .gallery-hero h1 {
    font-size: 36px;
    line-height: 1.25;
  }

  .gallery-hero p {
    font-size: 15px;
  }

  .ornamen-left,
  .ornamen-right {
    width: 155px;
    opacity: 0.43;
  }

  .ornamen-left {
    bottom: -90px; /* lebih turun lagi */
  }
}


/* ====== Responsive Kegiatan Section ≤ 1024px ====== */
@media (max-width: 1024px) {
  .kegiatan h2 {
    font-size: 48px;
  }

  .slide-item {
    width: 330px;
  }

  .slide-item img {
    height: 220px;
  }
}

/* ====== Responsive Kegiatan Section ≤ 768px ====== */
@media (max-width: 768px) {
  .kegiatan {
    height: auto; /* biar gak maksa 90vh */
    padding: 70px 15px;
  }

  .kegiatan h2 {
    font-size: 40px;
    margin-bottom: 25px;
  }

  .slider {
    gap: 15px;
    padding-bottom: 5px;
  }

  .slide-item {
    width: 280px;
  }

  .slide-item img {
    height: 190px;
  }

  .slide-item p {
    font-size: 14px;
  }
}

/* ====== Responsive Kegiatan Section ≤ 480px ====== */
@media (max-width: 480px) {
  .kegiatan {
    padding: 60px 10px;
  }

  .kegiatan h2 {
    font-size: 32px;
  }

  .slide-item {
    width: 240px;        /* lebih kecil biar muat swipe */
    border-radius: 12px;
  }

  .slide-item img {
    height: 170px;
  }

  .slide-item p {
    font-size: 13px;
    padding: 8px;
  }
}

/* ====== Tablet ≤ 1024px ====== */
@media (max-width: 1024px) {
  .video-section h2 {
    font-size: 55px;
  }
  .video-wrapper video {
    height: 300px;
  }
}

/* ====== Tablet/HP ≤ 768px ====== */
@media (max-width: 768px) {
  .video-section {
    height: auto; /* bukan dipaksa full page */
    padding: 80px 20px;
  }

  .video-section h2 {
    font-size: 42px;
    margin-bottom: 25px;
  }

  .video-wrapper {
    width: 90%;
  }

  .video-wrapper video {
    height: 250px;
  }

  .play-button {
    width: 60px;
    height: 60px;
    font-size: 34px;
  }

  .video-desc {
    font-size: 16px;
    padding: 0 10px;
  }
}

/* ====== HP kecil ≤ 480px ====== */
@media (max-width: 480px) {
  .video-section {
    padding: 70px 15px;
  }

  .video-section h2 {
    font-size: 32px;
    margin-bottom: 20px;
  }

  .video-wrapper {
    width: 100%;
  }

  .video-wrapper video {
    height: 200px;
  }

  .play-button {
    width: 50px;
    height: 50px;
    font-size: 28px;
  }

  .video-desc {
    font-size: 14px;
  }
}

/* ====== RESPONSIVE FOOTER (≤ 768px) ====== */
@media (max-width: 768px) {
  .footer {
    flex-direction: row; /* tetap horizontal */
    align-items: stretch;
  }

  .footer-left img {
    width: 110px;
    height: 100%;
    object-fit: cover;
  }

  .footer-right {
    padding: 20px;
  }

  .footer-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 2 kolom */
    gap: 20px;
    width: 100%;
  }

  .footer-column {
    text-align: left;
  }

  .footer-bottom {
    text-align: center;
    margin-top: 25px;
    font-size: 13px;
  }
}

/* ====== HP kecil ≤ 480px ====== */
@media (max-width: 480px) {
  .footer-left img {
    width: 95px;
  }

  .footer-container {
    gap: 15px;
  }

  .footer-column h3 {
    font-size: 15px;
  }

  .footer-column ul li {
    font-size: 13px;
    margin-bottom: 6px;
  }

  .footer-bottom {
    font-size: 11px;
  }
}