/* ===== style.css ===== */

/* ---------- Smooth Scroll ---------- */
html {
  scroll-behavior: smooth;
  margin: 0;
  padding: 0;
  height: 100%;
}

/* ---------- Color Palette ---------- */
:root {
  --primary:   #009688;  /* teal */
  --secondary: #ff7043;  /* coral/orange */
  --light-bg:  #f4f7f9;  /* very light gray-blue */
  --dark-text: #2c3e50;  /* dark slate */
  --soft-gray: #eceff1;  /* light gray */
  --white:     #ffffff;
  --shadow:    rgba(0,0,0,0.1);
}

/* ---------- Reset & Base ---------- */
* { 
  margin: 0; 
  padding: 0; 
  box-sizing: border-box; 
}

body {
  font-family: 'Poppins', sans-serif;
  line-height: 1.6;
  color: var(--dark-text);
  background: var(--light-bg);
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

a { 
  text-decoration: none; 
  color: inherit; 
}

ul { 
  list-style: none; 
}

/* ---------- Modal Styles ---------- */
.modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(5px);
  animation: fadeIn 0.3s ease;
}

.modal-content {
  background-color: var(--white);
  margin: 2% auto;
  padding: 0;
  border-radius: 15px;
  width: 90%;
  max-width: 800px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  animation: slideIn 0.4s ease;
  position: relative;
}

.close {
  position: absolute;
  right: 20px;
  top: 15px;
  color: var(--white);
  font-size: 2rem;
  font-weight: bold;
  cursor: pointer;
  z-index: 10;
  background: rgba(0, 0, 0, 0.5);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.close:hover {
  background: var(--secondary);
  transform: scale(1.1);
}

/* Modal Header */
.modal-header {
  position: relative;
  height: 250px;
  overflow: hidden;
  border-radius: 15px 15px 0 0;
}

.modal-header img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.modal-title-section {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
  color: var(--white);
  padding: 40px 30px 20px;
}

.modal-title-section h2 {
  margin: 0;
  font-size: 2rem;
  font-weight: 700;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.modal-price {
  background: var(--secondary);
  color: var(--white);
  padding: 8px 20px;
  border-radius: 25px;
  font-weight: 700;
  font-size: 1.3rem;
  margin-top: 15px;
  display: inline-block;
  box-shadow: 0 4px 15px rgba(255, 112, 67, 0.4);
}

/* Modal Body */
.modal-body {
  padding: 30px;
}

.modal-body h3 {
  color: var(--primary);
  margin-bottom: 15px;
  font-size: 1.3rem;
  font-weight: 600;
  border-bottom: 2px solid var(--soft-gray);
  padding-bottom: 8px;
}

.modal-description {
  margin-bottom: 25px;
}

.modal-description p {
  line-height: 1.7;
  color: var(--dark-text);
  font-size: 1.1rem;
}

.modal-features {
  margin-bottom: 25px;
}

.modal-features ul {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 10px;
  margin: 0;
  padding: 0;
}

.modal-features li {
  list-style: none;
  position: relative;
  padding-left: 25px;
  color: var(--dark-text);
  font-size: 1rem;
}

.modal-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: bold;
  background: rgba(0, 150, 136, 0.1);
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
}

.modal-itinerary {
  margin-bottom: 25px;
}

.itinerary-day {
  background: var(--soft-gray);
  padding: 15px;
  border-radius: 8px;
  margin-bottom: 10px;
}

.itinerary-day h4 {
  color: var(--primary);
  margin-bottom: 8px;
  font-size: 1.1rem;
}

.itinerary-day p {
  margin: 0;
  color: var(--dark-text);
  line-height: 1.5;
}

.modal-info {
  background: linear-gradient(135deg, var(--light-bg), var(--soft-gray));
  padding: 20px;
  border-radius: 10px;
  margin-bottom: 20px;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 15px;
}

.info-item {
  text-align: center;
  padding: 10px;
  background: var(--white);
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.info-item strong {
  display: block;
  color: var(--primary);
  font-size: 0.9rem;
  margin-bottom: 5px;
}

.info-item span {
  color: var(--dark-text);
  font-weight: 600;
}

/* Modal Footer */
.modal-footer {
  padding: 25px 30px;
  border-top: 1px solid var(--soft-gray);
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-book {
  flex: 1;
  max-width: 200px;
  padding: 15px 25px;
  font-size: 1.1rem;
  font-weight: 600;
}

.btn-whatsapp {
  flex: 1;
  max-width: 200px;
  padding: 15px 25px;
  font-size: 1.1rem;
  background: #25D366;
  color: var(--white);
  border-color: #25D366;
}

.btn-whatsapp:hover {
  background: #128C7E;
  border-color: #128C7E;
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideIn {
  from { 
    transform: translateY(-50px);
    opacity: 0;
  }
  to { 
    transform: translateY(0);
    opacity: 1;
  }
}

/* Responsive Modal */
@media (max-width: 767px) {
  .modal-content {
    width: 95%;
    margin: 5% auto;
    max-height: 85vh;
  }
  
  .modal-header {
    height: 200px;
  }
  
  .modal-title-section h2 {
    font-size: 1.6rem;
  }
  
  .modal-body {
    padding: 20px;
  }
  
  .modal-features ul {
    grid-template-columns: 1fr;
  }
  
  .info-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .modal-footer {
    flex-direction: column;
    padding: 20px;
  }
  
  .btn-book, .btn-whatsapp {
    max-width: 100%;
  }
}

@media (max-width: 479px) {
  .info-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- Utilities ---------- */
.container { 
  width: 90%; 
  max-width: 1200px; 
  margin: 0 auto; 
  padding: 0 15px;
}

.section-title {
  text-align: center;
  color: var(--primary);
  margin-bottom: 10px; /* Ubah dari 40px menjadi 50px */
  margin-top: 10px; /* Tambahkan margin top */
  font-size: 2.2rem;
  font-weight: 600;
}

.btn-primary {
  display: inline-block;
  background: var(--primary);
  color: var(--white);
  padding: 14px 28px;
  border-radius: 6px;
  font-weight: 500;
  font-size: 1rem;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.btn-primary:hover {
  background: var(--secondary);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.btn-secondary {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
  padding: 12px 25px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  text-align: center;
  transition: all 0.3s ease;
  display: inline-block;
}

.btn-secondary:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0,150,136,0.3);
}

/* ---------- Header & Navbar ---------- */
header {
  position: fixed;
  width: 100%;
  top: 0; 
  left: 0;
  right: 0;
  background: linear-gradient(135deg, #1a252f 0%, #2c3e50 100%);
  backdrop-filter: blur(15px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
  z-index: 1000;
  transition: all 0.3s ease;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
header.scrolled {
  background: linear-gradient(135deg, #1a252f 0%, #2c3e50 100%);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(20px);
}
/* ---------- Scroll Effect ---------- */
header.scrolled {
  background: linear-gradient(135deg, #1a252f 0%, #2c3e50 100%);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(20px);
}

/* Logo mengecil sedikit saat scroll */
header.scrolled .logo-img {
  height: 48px; /* Sedikit mengecil saat scroll */
  max-width: 200px;
}

header.scrolled nav {
  padding: 10px 0;
  min-height: 65px;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0; /* Padding disesuaikan dengan logo besar */
  flex-wrap: wrap;
  min-height: 70px; /* Minimum height untuk logo besar */
}

/* Pastikan logo tidak overflow */
.logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}
.logo-img {
  height: 60px; /* Besarkan dari 35px ke 60px */
  width: auto; /* Maintain aspect ratio */
  max-width: 250px; /* Perbesar max-width juga */
  object-fit: contain;
  filter: brightness(1.1); /* Enhance untuk logo putih */
  transition: all 0.3s ease;
  display: block; /* Pastikan display block */
}

.logo:hover .logo-img {
  transform: scale(1.05);
  filter: brightness(1.2);
}


.logo:hover {
  color: var(--secondary);
}


.menu {
  display: flex;
  align-items: center;
  gap: 15px;
}

.menu li {
  margin-left: 20px; /* Kurangi spacing untuk header compact */
}

.menu li a {
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
  font-size: 1rem; /* Font size disesuaikan */
  transition: all 0.3s ease;
  position: relative;
  padding: 10px 15px;
  border-radius: 6px;
}


.menu li a:hover {
  color: var(--secondary);
  background: rgba(255, 112, 67, 0.1);
  transform: translateY(-1px);
}


.menu li a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--secondary);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.menu li a:hover::after {
  width: 80%;}

/* =================================================================== */
/*                          HERO  (Slideshow)                          */
/* =================================================================== */
.hero {
  position: relative;
  height: 100vh;
  min-height: 700px;
  overflow: hidden;
  margin: 0;
  padding: 0;
}

.slideshow-container {
  width: 100%;
  height: 100%;
  position: relative;
}

.mySlides {
  display: none;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
}

.mySlides img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.text-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: var(--white);
  z-index: 10;
  padding: 20px;
  width: 90%;
  max-width: 800px;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 15px;
  backdrop-filter: blur(5px);
}

.text-overlay h1 {
  font-size: 3.5rem;
  margin-bottom: 15px;
  font-weight: 700;
  text-shadow: 2px 2px 8px rgba(0,0,0,0.7);
  line-height: 1.2;
}

.text-overlay p {
  font-size: 1.3rem;
  margin-bottom: 25px;
  text-shadow: 1px 1px 4px rgba(0,0,0,0.5);
  line-height: 1.4;
}

.fade {
  animation: fade 1.2s ease-in-out;
}

@keyframes fade {
  from { opacity: 0.3; }
  to   { opacity: 1; }
}

/* ---------- Sections Layout ---------- */
section {
  padding: 80px 0;
}

.row {
  display: flex;
  flex-wrap: wrap;
  gap: 25px;
  align-items: flex-start;
}

.col {
  flex: 1;
  min-width: 300px;
}

/* ---------- About Section ---------- */
#about {
  background: var(--white);
  border-radius: 20px;
  margin: 60px auto;
  box-shadow: 0 6px 30px var(--shadow);
  position: relative;
  overflow: hidden;
  max-width: 1200px;
  width: 90%;
}

#about::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
}

#about .container {
  padding: 80px 40px;
  max-width: 100%;
  margin: 0 auto;
  text-align: center;
}

#about .row {
  display: flex;
  flex-wrap: wrap;
  gap: 50px;
  align-items: center;
  justify-content: center;
}

#about .col {
  flex: 1;
  min-width: 350px;
  text-align: left;
}

#about .col:first-child {
  padding-right: 30px;
}

#about h2 {
  color: var(--primary);
  margin-bottom: 25px;
  font-size: 2.8rem;
  font-weight: 700;
  position: relative;
  text-align: center;
}

#about h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  border-radius: 2px;
}

#about p {
  font-size: 1.2rem;
  margin-bottom: 25px;
  line-height: 1.8;
  text-align: justify;
  color: var(--dark-text);
}

#about ul {
  margin-top: 30px;
  padding-left: 0;
}

#about ul li {
  padding: 12px 0;
  font-size: 1.2rem;
  color: var(--dark-text);
  position: relative;
  padding-left: 30px;
  margin-bottom: 8px;
}

#about ul li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  color: var(--primary);
  font-weight: bold;
  font-size: 1.3rem;
  background: rgba(0, 150, 136, 0.1);
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ---------- About Gallery Slideshow ---------- */
.about-gallery {
  position: relative;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 6px 25px rgba(0,0,0,0.15);
  background: var(--soft-gray);
  padding: 10px;
}

.gallery-slide {
  display: none;
  text-align: center;
}

.gallery-slide.active {
  display: block;
}

.gallery-slide img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  object-position: center;
  border-radius: 12px;
  transition: transform 0.3s ease;
}

.gallery-slide img:hover {
  transform: scale(1.02);
}

.gallery-slide .caption {
  margin-top: 20px;
  font-style: italic;
  color: var(--primary);
  font-size: 1.2rem;
  font-weight: 600;
  background: rgba(0, 150, 136, 0.05);
  padding: 10px 20px;
  border-radius: 25px;
  display: inline-block;
}

.gallery-dots {
  text-align: center;
  margin-top: 25px;
}

.gallery-dots .dot {
  display: inline-block;
  width: 16px;
  height: 16px;
  margin: 0 8px;
  background: #ccc;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.gallery-dots .dot:hover {
  background: var(--secondary);
  transform: scale(1.1);
}

.gallery-dots .dot.active {
  background: var(--primary);
  transform: scale(1.3);
  border-color: rgba(0, 150, 136, 0.3);
}

/* ---------- Section Spacing Improvements ---------- */
#services {
  background: var(--light-bg);
  margin-bottom: 40px; /* Kurangi dari 60px ke 40px */
  padding-bottom: 60px; /* Kurangi padding bottom */

}

#destinations {
  background: var(--white);
  padding-top: 40px; /* Kurangi dari 60px ke 50px */
  padding-bottom: 40px; /* Tambahkan padding bottom yang terkontrol */
  margin-top: 10px;
  margin-bottom: 0px; /* Pastikan tidak ada margin bottom berlebih */
}

/* Alternatif: Gunakan spacing utility */
.section-gap {
  margin: 80px 0;
}

/* ---------- Services Section ---------- */
#services {
  background: var(--light-bg);
}

#services .row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  align-items: stretch;
}

.card {
  background: var(--white);
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);
  overflow: hidden;
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0,0,0,0.2);
}

.card-image {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.3s ease;
}

.card:hover .card-image img {
  transform: scale(1.1);
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(0,0,0,0.3), rgba(0,150,136,0.2));
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 15px;
}

.duration {
  background: rgba(255,255,255,0.9);
  color: var(--primary);
  padding: 5px 10px;
  border-radius: 15px;
  font-size: 0.9rem;
  font-weight: 600;
}

.badge {
  background: var(--secondary);
  color: var(--white);
  padding: 5px 12px;
  border-radius: 15px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
}

.card-content {
  padding: 25px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.card-content h3 {
  color: var(--primary);
  margin-bottom: 15px;
  font-size: 1.4rem;
  font-weight: 600;
}

.card-content p {
  color: var(--dark-text);
  line-height: 1.6;
  margin-bottom: 15px;
  flex-grow: 1;
}

.features {
  margin: 15px 0;
  padding: 0;
  text-align: left;
}

.features li {
  font-size: 0.9rem;
  color: var(--dark-text);
  margin-bottom: 8px;
  position: relative;
  padding-left: 20px;
  list-style: none;
}

.features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: bold;
  font-size: 1rem;
}

.price {
  background: linear-gradient(135deg, var(--secondary), #ff8a65);
  color: var(--white);
  font-weight: 700;
  font-size: 1.2rem;
  margin: 15px 0;
  padding: 12px 0;
  text-align: center;
  border-radius: 8px;
  box-shadow: 0 3px 10px rgba(255, 112, 67, 0.3);
}

.rating {
  margin: 10px 0;
  text-align: center;
}

.stars {
  color: #ffd700;
  font-size: 1.1rem;
}

.rating-text {
  color: var(--dark-text);
  font-size: 0.9rem;
  margin-left: 5px;
}

/* ---------- Destinations ---------- */
#destinations {
  background: var(--white);
}

#destinations .row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
}

.destination {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 4px 15px var(--shadow);
  transition: all 0.3s ease;
  aspect-ratio: 4/3;
}

.destination:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.destination img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.3s ease;
}

.destination:hover img {
  transform: scale(1.1);
}

.destination .info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0,0,0,0.8));
  color: var(--white);
  padding: 20px 15px 15px;
  text-align: center;
}

.destination .info h3 {
  font-size: 1.4rem;
  font-weight: 600;
  text-shadow: 1px 1px 3px rgba(0,0,0,0.7);
}

/* ---------- Testimonials ---------- */
#testimonials {
  background: var(--light-bg);
}

.testi-container {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  overflow: hidden;
  background: var(--white);
  border-radius: 12px;
  box-shadow: 0 4px 20px var(--shadow);
  padding: 20px;
}

.testi-slide {
  display: none;
  text-align: center;
  padding: 30px;
}

.testi-slide.active {
  display: block;
}

.testi-slide p {
  font-style: italic;
  margin-bottom: 20px;
  font-size: 1.2rem;
  line-height: 1.6;
  color: var(--dark-text);
}

.testi-slide h4 {
  color: var(--primary);
  font-size: 1.1rem;
  font-weight: 600;
}

.testi-nav {
  text-align: center;
  margin-top: 20px;
}

.testi-nav span {
  display: inline-block;
  width: 14px;
  height: 14px;
  margin: 0 6px;
  background: #ccc;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
}

.testi-nav span:hover {
  background: var(--secondary);
}

.testi-nav span.active {
  background: var(--primary);
  transform: scale(1.2);
}

/* ---------- Contact ---------- */
#contact {
  background: var(--white);
}

#contact form {
  max-width: 700px;
  margin: 0 auto;
  background: var(--light-bg);
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 4px 20px var(--shadow);
}

.form-group {
  margin-bottom: 20px;
}

label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: var(--dark-text);
}

input, textarea {
  width: 100%;
  padding: 12px 15px;
  border: 2px solid #ddd;
  border-radius: 8px;
  font-size: 1rem;
  transition: border-color 0.3s ease;
  font-family: inherit;
  resize: vertical;
}

input:focus, textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(0, 150, 136, 0.1);
}

.contact-info {
  margin-top: 50px;
  text-align: center;
  background: var(--soft-gray);
  padding: 30px;
  border-radius: 12px;
}

.contact-info p {
  color: var(--dark-text);
  font-size: 1.1rem;
  margin-bottom: 10px;
}

/* ---------- Footer ---------- */
footer {
  background: var(--dark-text);
  color: var(--white);
  text-align: center;
  padding: 30px 0;
  font-size: 1rem;
  margin-top: 40px;
}

/* =================================================================== */
/*                     RESPONSIVE DESIGN                               */
/* =================================================================== */

/* ---------- Desktop Large (1200px+) ---------- */
@media (min-width: 1200px) {
  .video-modal-content {
    width: 85%;
    max-width: 1400px;
    height: 90vh;
    margin: 5vh auto;
  }
  
  .video-details {
    padding: 30px 40px;
  }
  
  .video-details h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
  }
  
  .video-details p {
    font-size: 1.1rem;
    line-height: 1.7;
  }
}

/* ---------- Tablet Large (1024px - 1199px) ---------- */
@media (max-width: 1199px) {
  .container {
    width: 95%;
    padding: 0 20px;
  }
  .logo-img {
    height: 45px;
    max-width: 180px;
  }
  nav {
    flex-direction: column;
    gap: 12px;
    padding: 15px 0;
    min-height: auto;
  }
   .menu {
    justify-content: center;
    gap: 12px;
  }
  
  .menu li a {
    font-size: 0.95rem;
    padding: 8px 12px;
  }
  .text-overlay h1 {
    font-size: 3rem;
  }
  
  .text-overlay p {
    font-size: 1.2rem;
  }
  
  .gallery-slide img {
    height: 280px;
  }
  
  #services .row {
    gap: 25px;
  }
}

/* ---------- Tablet (768px - 1023px) ---------- */
@media (max-width: 1023px) {
  #services .row {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
  }
  
  #services .col:last-child {
    grid-column: 1 / -1;
    max-width: 70%;
    margin: 0 auto;
  }
  
  .card-image {
    height: 180px;
  }
}

/* ---------- Mobile Large (768px) ---------- */
@media (max-width: 767px) {
  .container {
    width: 95%;
    padding: 0 15px;
  }

  /* Navigation */
  nav {
    flex-direction: column;
    gap: 15px;
    padding: 20px 0;
  }
  
  .logo {
    font-size: 1.6rem;
  }

  .menu {
    justify-content: center;
    gap: 10px;
  }

  .menu li {
    margin: 0 10px;
  }

  /* Hero */
  .hero {
    min-height: 600px;
  }
  
  .text-overlay {
    padding: 15px;
    width: 95%;
  }

  .text-overlay h1 {
    font-size: 2.5rem;
    margin-bottom: 12px;
  }

  .text-overlay p {
    font-size: 1.1rem;
    margin-bottom: 20px;
  }

  /* Sections */
  section {
    padding: 60px 0;
  }

  .section-title {
    font-size: 2rem;
    margin-bottom: 30px;
  }

  .row {
    gap: 20px;
  }

  .col {
    min-width: 100%;
  }

  /* About */
  #about {
    margin: 20px auto;
    width: 95%;
  }
  
  #about .container {
    padding: 40px 20px;
  }
  
  #about .col:first-child {
    padding-right: 0;
    margin-bottom: 20px;
  }

  #about h2 {
    font-size: 2rem;
  }

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

  /* Services */
  #services .row {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  #services .col:last-child {
    grid-column: auto;
    max-width: 100%;
    margin: 0;
  }

  .card-content {
    padding: 20px;
  }

  /* Destinations */
  #destinations .row {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  /* Contact */
  #contact form {
    padding: 30px 20px;
  }
}

/* ---------- Mobile Small (480px) ---------- */
@media (max-width: 479px) {
  .container {
    padding: 0 10px;
  }

  /* Navigation */
  .logo {
    font-size: 1.4rem;
  }
.logo-img {
    height: 38px;
    max-width: 150px;
  }
  .menu li {
    margin: 0 5px;
  }

  .menu li a {
    font-size: 0.9rem;
  }

  /* Hero */
  .hero {
    min-height: 500px;
  }
  
  .text-overlay {
    padding: 12px;
    width: 98%;
  }

  .text-overlay h1 {
    font-size: 2rem;
    line-height: 1.1;
  }

  .text-overlay p {
    font-size: 1rem;
    margin-bottom: 18px;
  }

  /* Button */
  .btn-primary, .btn-secondary {
    padding: 12px 20px;
    font-size: 0.9rem;
  }

  /* Sections */
  section {
    padding: 50px 0;
  }

  .section-title {
    font-size: 1.7rem;
  }

  /* About */
  #about h2 {
    font-size: 1.8rem;
  }

  #about p {
    font-size: 1rem;
  }

  .gallery-slide img {
    height: 180px;
  }

  .gallery-slide .caption {
    font-size: 1rem;
  }

  /* Cards */
  .card-content {
    padding: 15px;
  }

  .card-content h3 {
    font-size: 1.2rem;
  }

  .card-content p {
    font-size: 0.95rem;
  }

  .card-image {
    height: 160px;
  }

  .price {
    font-size: 1.1rem;
    padding: 10px 0;
  }

  /* Contact */
  .contact-info {
    padding: 20px;
  }

  .contact-info p {
    font-size: 1rem;
  }
}

/* ---------- Mobile Extra Small (320px) ---------- */
@media (max-width: 320px) {
  .text-overlay h1 {
    font-size: 1.8rem;
  }
  
  .text-overlay p {
    font-size: 0.95rem;
  }
  
  .btn-primary, .btn-secondary {
    padding: 10px 18px;
    font-size: 0.85rem;
  }
  
  .gallery-slide img {
    height: 160px;
  }
  
  .card-image {
    height: 140px;
  }
  
  .section-title {
    font-size: 1.5rem;
  }
}

/* ---------- Gallery Grid ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  margin-bottom: 60px;
  margin-bottom: 0px; /* Hilangkan margin bottom berlebih */
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 15px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
  cursor: pointer;
  transition: all 0.3s ease;
  aspect-ratio: 4/3;
}

.gallery-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 40px rgba(0,0,0,0.25);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.gallery-item:hover img {
  transform: scale(1.1);
}

.gallery-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0,0,0,0.9));
  color: var(--white);
  padding: 30px 20px 20px;
  text-align: center;
  transform: translateY(10px);
  transition: all 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
  transform: translateY(0);
}

.gallery-overlay h3 {
  margin: 0 0 8px 0;
  font-size: 1.4rem;
  font-weight: 600;
}

.gallery-overlay p {
  margin: 0 0 15px 0;
  color: rgba(255,255,255,0.8);
  font-size: 0.9rem;
}

.gallery-icon {
  font-size: 2rem;
  opacity: 0;
  transform: scale(0.5);
  transition: all 0.3s ease;
}

.gallery-item:hover .gallery-icon {
  opacity: 1;
  transform: scale(1);
}

/* ---------- Lightbox Styles ---------- */
.lightbox {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(5px);
}

.lightbox-content {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 30px;
  color: var(--white);
  font-size: 3rem;
  font-weight: bold;
  cursor: pointer;
  z-index: 10;
  transition: all 0.3s ease;
}

.lightbox-close:hover {
  color: var(--secondary);
  transform: scale(1.1);
}

.lightbox-prev, .lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.1);
  color: var(--white);
  border: none;
  font-size: 2rem;
  padding: 15px 20px;
  cursor: pointer;
  border-radius: 8px;
  transition: all 0.3s ease;
  z-index: 10;
}

.lightbox-prev {
  left: 30px;
}

.lightbox-next {
  right: 30px;
}

.lightbox-prev:hover, .lightbox-next:hover {
  background: var(--primary);
  transform: translateY(-50%) scale(1.1);
}

.lightbox-image-container {
  position: relative;
  max-width: 90%;
  max-height: 60%; /* Kurangi lagi dari 70% ke 60% */
  text-align: center;
  margin-bottom: 15px; /* Kurangi dari 20px ke 15px */
}

#lightboxImage {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 10px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.5);
}

.lightbox-info {
  position: static; /* Ubah dari absolute ke static */
  background: rgba(0,0,0,0.8);
  color: var(--white);
  padding: 15px 25px;
  border-radius: 10px;
  text-align: center;
  margin: 0 auto 15px; /* Ubah margin top dari 20px ke 0, tambah margin bottom 15px */
  max-width: 400px;
}

.lightbox-info h3 {
  margin: 0 0 8px 0;
  font-size: 1.3rem;
  color: var(--primary);
}

.lightbox-info p {
  margin: 0 0 10px 0;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.8);
}

.lightbox-counter {
  color: var(--white);
  font-weight: 600;
  font-size: 0.9rem;
}

/* ---------- Thumbnail Navigation ---------- */
.thumbnail-container {
  position: fixed; /* Ubah dari absolute ke fixed */
  bottom: 15px; /* Kurangi dari 20px ke 15px */
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  max-width: 600px;
  z-index: 15; /* Tambahkan z-index tinggi */
}

.thumbnail-track {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 10px;
  justify-content: center;
  background: rgba(0,0,0,0.5); /* Tambahkan background semi-transparent */
  border-radius: 10px;
  backdrop-filter: blur(5px);
}

.thumbnail-track::-webkit-scrollbar {
  height: 6px;
}

.thumbnail-track::-webkit-scrollbar-track {
  background: rgba(255,255,255,0.1);
  border-radius: 3px;
}

.thumbnail-track::-webkit-scrollbar-thumb {
  background: var(--primary);
  border-radius: 3px;
}

.thumbnail-item {
  flex-shrink: 0;
  width: 60px;
  height: 45px;
  border-radius: 6px;
  overflow: hidden;
  cursor: pointer;
  opacity: 0.5;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.thumbnail-item:hover, .thumbnail-item.active {
  opacity: 1;
  transform: scale(1.1);
  border-color: var(--primary);
}

.thumbnail-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---------- Video Gallery ---------- */
/* ===== VIDEO GALLERY - YOUTUBE OPTIMIZED ===== */

#video-gallery {
  background: var(--light-bg);
  padding: 80px 0;
  margin-top: 60px;
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

/* ---------- Video Item Container - Enhanced ---------- */
.video-item {
  background: var(--white);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.12);
  transition: all 0.4s ease;
  cursor: pointer;
  position: relative;
}

.video-item:hover {
  transform: translateY(-12px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.25);
}

/* ---------- Video Thumbnail - YouTube Ready ---------- */
.video-thumbnail {
  position: relative;
  width: 100%;
  height: 220px;
  overflow: hidden;
  background: #000;
}

/* Video element (akan diganti dengan img untuk YouTube) */
.video-thumbnail video,
.video-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  transition: transform 0.4s ease;
}

.video-thumbnail:hover video,
.video-thumbnail:hover img {
  transform: scale(1.08);
}

/* YouTube Thumbnail khusus */
.video-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.video-item:hover .video-thumb {
  transform: scale(1.08);
}

/* ---------- Play Button - Enhanced ---------- */
.play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 70px;
  height: 70px;
  background: rgba(0,0,0,0.8);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.4s ease;
  z-index: 3;
  border: 3px solid rgba(255,255,255,0.3);
}

.video-thumbnail:hover .play-button {
  background: var(--primary);
  transform: translate(-50%, -50%) scale(1.15);
  box-shadow: 0 10px 30px rgba(0, 150, 136, 0.5);
  border-color: var(--white);
}

.play-icon {
  color: var(--white);
  font-size: 2rem;
  margin-left: 5px;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

/* ---------- Video Info - Enhanced Position ---------- */
.video-thumbnail .video-info {
  position: absolute;
  bottom: 25px;
  left: 20px;
  right: 20px;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(15px);
  color: var(--white);
  padding: 12px 16px;
  border-radius: 12px;
  z-index: 4;
  transition: all 0.4s ease;
  border: 1px solid rgba(255,255,255,0.1);
}

.video-thumbnail:hover .video-info {
  bottom: 30px;
  background: rgba(0, 0, 0, 0.9);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.4);
}

.video-info h4 {
  margin: 0 0 5px 0;
  color: var(--white);
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.3;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
}

.video-info p {
  margin: 0;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
  font-weight: 500;
}

/* ---------- Gradient Overlay untuk Video ---------- */
.video-thumbnail::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60%;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.8) 0%,
    rgba(0, 0, 0, 0.4) 40%,
    transparent 100%
  );
  z-index: 2;
  pointer-events: none;
}

/* ===== VIDEO MODAL - YOUTUBE OPTIMIZED ===== */

.video-modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(8px);
  animation: fadeIn 0.4s ease;
}
.video-modal-content {
  position: relative;
  width: 90%;
  max-width: 1200px;
  height: 85vh; /* Fixed height untuk 1 layar */
  margin: 5vh auto; /* Center vertical */
  background: var(--white);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
  display: flex;
  flex-direction: column;
  animation: slideInUp 0.5s ease;
}

/* ---------- Video Player Container - YouTube Perfect ---------- */
.local-video-container {
  position: relative;
  width: 100%;
  height: 70%; /* 70% dari modal height */
  background: #000;
  flex-shrink: 0;
  border-radius: 20px 20px 0 0;
  overflow: hidden;
}

#localVideoPlayer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 20px 20px 0 0;
}

/* ---------- Video Details - Fixed untuk Semua Ukuran ---------- */
.video-details {
  height: 30%; /* 30% dari modal height */
  padding: 25px 30px;
  background: var(--white);
  overflow-y: auto;
  overflow-x: hidden;
  flex-shrink: 0;
  border-radius: 0 0 20px 20px;
}

.video-details h3 {
  margin: 0 0 15px 0;
  color: var(--primary);
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1.3;
  position: relative;
  flex-shrink: 0;
}

.video-details h3::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 50px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  border-radius: 2px;
}

.video-details p {
  margin: 0;
  color: var(--dark-text);
  line-height: 1.6;
  font-size: 1rem;
  text-align: justify;
  opacity: 1;
  visibility: visible;
  display: block;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

/* ---------- Close Button - Enhanced ---------- */
.video-close {
  position: absolute;
  top: -50px;
  right: 15px;
  color: var(--white);
  font-size: 2.5rem;
  font-weight: bold;
  cursor: pointer;
  z-index: 100;
  background: rgba(0, 0, 0, 0.8);
  width: 45px;
  height: 45px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  border: 2px solid rgba(255,255,255,0.3);
}

.video-close:hover {
  background: var(--secondary);
  transform: scale(1.1);
  border-color: var(--white);
  box-shadow: 0 8px 25px rgba(255, 112, 67, 0.4);
}

/* ===== RESPONSIVE DESIGN - YOUTUBE OPTIMIZED ===== */

/* ---------- Desktop Large (1200px+) ---------- */
@media (min-width: 1200px) {
  .video-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 35px;
  }
  
  .video-thumbnail {
    height: 240px;
  }
  
  .video-modal-content {
    width: 85%;
    max-width: 1200px;
    margin: 2% auto;
  }
  
  .video-details {
    padding: 35px 40px;
    min-height: 160px;
  }
  
  .video-details h3 {
    font-size: 2rem;
    margin-bottom: 25px;
  }
  
  .video-details p {
    font-size: 1.2rem;
    line-height: 1.8;
  }
}

/* ---------- Desktop Standard (1024px - 1199px) ---------- */
@media (min-width: 1024px) and (max-width: 1199px) {
  .video-modal-content {
    width: 88%;
    max-width: 1100px;
    height: 85vh;
  }
  
  .video-details {
    padding: 25px 35px;
  }
  
  .video-details h3 {
    font-size: 1.6rem;
  }
  
  .video-details p {
    font-size: 1rem;
  }
}
/* ---------- Tablet (768px - 1023px) ---------- */
@media (min-width: 768px) and (max-width: 1023px) {
  .video-modal-content {
    width: 92%;
    height: 80vh;
    margin: 10vh auto;
  }
  
  .local-video-container {
    height: 65%; /* Lebih kecil di tablet */
  }
  
  .video-details {
    height: 35%;
    padding: 20px 25px;
  }
  
  .video-details h3 {
    font-size: 1.4rem;
    margin-bottom: 12px;
  }
  
  .video-details p {
    font-size: 0.95rem;
    line-height: 1.5;
  }
}


/* ---------- Mobile Large (max-width: 767px) ---------- */
@media (max-width: 767px) {
  .video-modal-content {
    width: 95%;
    height: 75vh;
    margin: 12.5vh auto;
    border-radius: 15px;
  }
  
  .local-video-container {
    height: 60%;
    border-radius: 15px 15px 0 0;
  }
  
  #localVideoPlayer {
    border-radius: 15px 15px 0 0;
  }
  
  .video-details {
    height: 40%;
    padding: 15px 20px;
    border-radius: 0 0 15px 15px;
  }
  
  .video-details h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
  }
  
  .video-details p {
    font-size: 0.9rem;
    line-height: 1.4;
  }
  
  .video-close {
    top: -40px;
    right: 10px;
    font-size: 2rem;
    width: 40px;
    height: 40px;
  }
}


/* ---------- Mobile Small (max-width: 479px) ---------- */
@media (max-width: 479px) {
  .video-modal-content {
    width: 98%;
    height: 70vh;
    margin: 15vh auto;
  }
  
  .local-video-container {
    height: 55%;
  }
  
  .video-details {
    height: 45%;
    padding: 12px 15px;
  }
  
  .video-details h3 {
    font-size: 1.1rem;
    margin-bottom: 8px;
  }
  
  .video-details p {
    font-size: 0.85rem;
    line-height: 1.3;
  }
  
  .video-close {
    top: -35px;
    right: 5px;
    font-size: 1.8rem;
    width: 35px;
    height: 35px;
  }
}
/* ===== ANIMATIONS ===== */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideInUp {
  from { 
    transform: translateY(30px);
    opacity: 0;
  }
  to { 
    transform: translateY(0);
    opacity: 1;
  }
}

/* ---------- Loading State untuk YouTube Thumbnail ---------- */
.video-loading .local-video-container::after {
  content: 'Loading...';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: var(--white);
  font-size: 1.2rem;
  background: rgba(0, 0, 0, 0.8);
  padding: 10px 20px;
  border-radius: 8px;
  z-index: 10;
}

/* ---------- Error State ---------- */
.video-error {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  background: #333;
  color: var(--white);
  text-align: center;
  padding: 20px;
  border-radius: 20px 20px 0 0;
}

.video-error h3 {
  margin: 0 0 10px 0;
  color: var(--secondary);
  font-size: 1.5rem;
}

.video-error p {
  margin: 0 0 15px 0;
  opacity: 0.8;
  line-height: 1.5;
}

.video-error button {
  background: var(--primary);
  color: var(--white);
  border: none;
  padding: 10px 20px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.video-error button:hover {
  background: var(--secondary);
  transform: scale(1.05);
}

/* ---------- Custom Scrollbar untuk Video Details ---------- */
.video-details::-webkit-scrollbar {
  width: 8px;
}

.video-details::-webkit-scrollbar-track {
  background: var(--soft-gray);
  border-radius: 4px;
}

.video-details::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--primary), var(--secondary));
  border-radius: 4px;
  border: 1px solid var(--white);
}

.video-details::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, var(--secondary), var(--primary));
}
/* ---------- YouTube & Fullscreen Specific ---------- */
#localVideoPlayer[src*="youtube.com"],
#localVideoPlayer[src*="youtu.be"] {
  border-radius: 20px 20px 0 0;
}

/* Fullscreen mode adjustments */
.video-modal-content:-webkit-full-screen {
  width: 100vw;
  height: 100vh;
  max-width: none;
  margin: 0;
  border-radius: 0;
}

.video-modal-content:-moz-full-screen {
  width: 100vw;
  height: 100vh;
  max-width: none;
  margin: 0;
  border-radius: 0;
}

.video-modal-content:fullscreen {
  width: 100vw;
  height: 100vh;
  max-width: none;
  margin: 0;
  border-radius: 0;
}

/* Hide elements in fullscreen */
.video-modal-content:fullscreen .video-details {
  display: none;
}

.video-modal-content:fullscreen .local-video-container {
  height: 100%;
  border-radius: 0;
}

.video-modal-content:fullscreen #localVideoPlayer {
  border-radius: 0;
}
/* ---------- Enhanced Video Details dengan Scroll ---------- */
.video-details {
  padding: 30px 35px;
  background: var(--white);
  flex: 0 0 auto;
  min-height: 140px;
  max-height: 250px; /* Batasi tinggi maksimal */
  overflow-y: auto; /* Enable scroll */
  overflow-x: hidden;
}

.video-details p {
  margin: 0;
  color: var(--dark-text);
  line-height: 1.7;
  font-size: 1.1rem;
  text-align: justify;
  opacity: 1;
  visibility: visible;
  display: block;
  max-height: none; /* Allow full height */
}

/* Scroll indicator */
.video-details.scrollable::after {
  content: '⌄ Scroll untuk membaca lebih lanjut';
  position: sticky;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, var(--white));
  text-align: center;
  font-size: 0.8rem;
  color: var(--primary);
  padding: 10px 0 5px;
  pointer-events: none;
}

/* Custom scrollbar untuk description */
.video-details::-webkit-scrollbar {
  width: 8px;
}

.video-details::-webkit-scrollbar-track {
  background: var(--soft-gray);
  border-radius: 4px;
}

.video-details::-webkit-scrollbar-thumb {
  background: var(--primary);
  border-radius: 4px;
}

.video-details::-webkit-scrollbar-thumb:hover {
  background: var(--secondary);
}

/* Responsive scroll adjustments */
@media (max-width: 767px) {
  .video-details {
    max-height: 180px; /* Lebih kecil di mobile */
    padding: 20px 25px;
  }
  
  .video-details.scrollable::after {
    font-size: 0.75rem;
    padding: 8px 0 3px;
  }
}

@media (max-width: 479px) {
  .video-details {
    max-height: 150px;
    padding: 15px 20px;
  }
}

/* Loading state */
.video-loading .video-details {
  opacity: 0.7;
}

/* Error state */
.video-error {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  background: #333;
  color: var(--white);
  text-align: center;
  padding: 20px;
  border-radius: 20px 20px 0 0;
}

.video-error h3 {
  margin: 0 0 10px 0;
  color: var(--secondary);
}

.video-error p {
  margin: 0 0 15px 0;
  opacity: 0.8;
}

/* ---------- YouTube Specific Enhancements ---------- */
/* Ensure iframe has proper styling */
#localVideoPlayer[src*="youtube.com"],
#localVideoPlayer[src*="youtu.be"] {
  border-radius: 20px 20px 0 0;
}

/* YouTube player controls enhancement */
.local-video-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: transparent;
  z-index: -1;
}

/* Loading overlay untuk YouTube */
.video-loading {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: var(--white);
  font-size: 1.2rem;
  z-index: 10;
}

/* Error state untuk video */
.video-error {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  background: #333;
  color: var(--white);
  text-align: center;
  padding: 20px;
}
/* ---------- Language Toggle Styling ---------- */
.language-toggle {
  margin-left: 15px;
}

.lang-switcher {
  display: flex;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 25px;
  padding: 3px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.lang-btn {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 8px 12px;
  background: transparent;
  border: none;
  border-radius: 20px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
}

.lang-btn:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
}

.lang-btn.active {
  background: var(--primary);
  color: var(--white);
  box-shadow: 0 2px 8px rgba(0, 150, 136, 0.3);
}

.flag-icon {
  width: 16px;
  height: 12px;
  border-radius: 2px;
  object-fit: cover;
}

/* Mobile responsive */
@media (max-width: 767px) {
  .lang-switcher {
    padding: 2px;
  }
  
  .lang-btn {
    padding: 6px 10px;
    font-size: 0.8rem;
  }
  
  .flag-icon {
    width: 14px;
    height: 10px;
  }
}

@media (max-width: 479px) {
  .lang-btn span {
    display: none; /* Hide text, show only flags on very small screens */
  }
  
  .lang-btn {
    padding: 6px 8px;
  }
}
