/* --------------------------------------------------
   FONTS
-------------------------------------------------- */
@font-face {
  font-family: "Archivo";
  src: url("/assets/fonts/Archivo-VariableFont_wdth,wght.ttf") format("truetype");
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "Archivo";
  src: url("/assets/fonts/Archivo-Italic-VariableFont_wdth,wght.ttf") format("truetype");
  font-style: italic;
  font-weight: 100 900;
  font-display: swap;
}


/* --------------------------------------------------
   ROOT & GLOBAL
-------------------------------------------------- */
:root {
  --primary: #f2ddcc;
  --secondary: #5d6f2a;
  --panel: #f7efe7;
  --ink: #2b2f2c;
  --muted: #6b6f6b;
  --hair: #e6d6c9;
  --radius: 22px;
  --shadow: 0 18px 40px rgba(0,0,0,0.08);
}

body {
  margin: 0;
  font-family: "Archivo", sans-serif;
  background: var(--primary);
  color: var(--ink);
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: inherit;
}

.container {
  width: min(1200px, 90%);
  margin: auto;
}


/* --------------------------------------------------
   HEADER
-------------------------------------------------- */
header {
  background: var(--primary);
  padding: 16px 0;
  border-bottom: 1px solid var(--hair);
}

.wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav a {
  margin-left: 22px;
  font-weight: 600;
}

/* Mobile Menu Toggle (Hamburger) */
.menu-toggle {
  display: none; /* Hidden on desktop */
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  z-index: 1001; /* Make sure it's on top */
}

.menu-toggle span {
  display: block;
  width: 25px;
  height: 3px;
  background-color: var(--ink);
  margin: 5px 0;
  transition: all 0.3s ease;
}

/* Styles for when the menu is open */
.nav-open .menu-toggle span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.nav-open .menu-toggle span:nth-child(2) {
  opacity: 0;
}
.nav-open .menu-toggle span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

/* Responsive adjustments for header */
@media (max-width: 768px) {
  .menu-toggle {
    display: block; /* Show hamburger on mobile */
  }

  .nav {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: fixed;
    top: 0;
    left: -100%; /* Start off-screen */
    width: 100%;
    height: 100%;
    background-color: var(--primary);
    transition: left 0.3s ease-in-out;
    z-index: 1000;
  }

  .nav-open .nav {
    left: 0; /* Slide in */
  }

  .nav a {
    margin: 20px 0;
    font-size: 1.5rem;
  }
}

/* Atur tinggi logo yang lebih besar untuk header utama */
.logo {
  height: 147px;
}

.btn {
  padding: 0.6rem 1.2rem;
  border-radius: 999px;
  font-weight: 700;
  display: inline-block;
}

.btn-gold {
  background: var(--secondary);
  color: white;
}

.btn-outline {
  border: 1px solid var(--secondary);
  color: var(--secondary);
}

.btn-outline:hover {
  background: var(--secondary);
  color: white;
}


/* --------------------------------------------------
   HERO
-------------------------------------------------- */
.hero {
  position: relative;
  height: 480px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-image {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero-image img {
  width: 110%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%; /* Adjusts vertical focus to show more of the top */
  animation: pan 18s ease-in-out infinite alternate;
  filter: brightness(0.92);
}

@keyframes pan {
  0% { transform: translateX(0); }
  100% { transform: translateX(-6%); }
}

.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
}

.hero-content h1 {
  font-size: 2.6rem;
  max-width: 22ch;
  margin: auto;
  padding: 1rem 1.4rem;
  background: rgba(0, 0, 0, 0.4);
  border-radius: 14px;
  color: white;
}


/* --------------------------------------------------
   SECTIONS
-------------------------------------------------- */
.section {
  padding: 5rem 0;
  text-align: center;
}

.section h2 {
  margin-bottom: 8px;
  font-size: 2rem;
  color: var(--secondary);
}

.section-desc {
  max-width: 60ch;
  margin: 0 auto 2rem;
  color: var(--muted);
}


/* --------------------------------------------------
   CARDS (Classes, Events)
-------------------------------------------------- */
.card {
  background: linear-gradient(180deg, #fff8f2, var(--panel));
  border-radius: var(--radius);
  border: 1px solid var(--hair);
  overflow: hidden;
  box-shadow: var(--shadow);
  max-width: 900px;
  margin: auto;
  text-align: left;
}

.card img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  object-position: center;
}

.card-content {
  padding: 24px;
}

.card-content h3 {
  margin-top: 0;
}

.card-content p {
  margin: 8px 0 16px;
}


/* --------------------------------------------------
   TESTIMONIALS
-------------------------------------------------- */
.testimonials {
  max-width: 900px;
  margin: 2rem auto 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.testimonial-card {
  background: linear-gradient(180deg, #fff8f2, var(--panel));
  border-radius: var(--radius);
  border: 1px solid var(--hair);
  padding: 24px;
  box-shadow: var(--shadow);
  text-align: left;
}

.testimonial-card strong {
  display: block;
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.testimonial-btn {
  margin-top: 20px;
  text-align: center;
}

.instagram-placeholder {
  color: var(--muted);
  font-style: italic;
}

/* Testimonial Slider (Horizontal Slide) */
.testimonials-slider {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  overflow: hidden;
  /* Padding dikembalikan ke ukuran wajar, cukup ruang bawah untuk dots */
  padding: 10px 10px 50px 10px;
  box-sizing: border-box;
}

.testimonial-track {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.testimonial-slide {
  min-width: 100%;
  box-sizing: border-box;
  padding: 0 4px;
}

/* Navigasi Titik (Dots) */
.testimonial-dots {
  position: absolute;
  bottom: 15px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 10px;
  z-index: 5;
}

.dot {
  width: 12px;
  height: 12px;
  background-color: rgba(93, 111, 42, 0.3); /* Warna secondary transparan */
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
}

.dot.active {
  background-color: var(--secondary);
  transform: scale(1.1);
}

/* --------------------------------------------------
   FORM (Contact Page)
-------------------------------------------------- */
label {
  display: block;
  margin-top: 16px;
  margin-bottom: 6px;
  font-weight: 600;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="date"],
select,
textarea {
  width: 100%;
  padding: 12px;
  border-radius: 8px;
  border: 1px solid var(--hair);
  font-size: 1rem;
  font-family: "Archivo", sans-serif;
  background-color: #fff;
  box-sizing: border-box; /* Ensures padding doesn't affect width */
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="date"]:focus,
input[type="date"]:focus,
select:focus,
textarea:focus {
  outline: 2px solid var(--secondary);
  border-color: transparent;
}

/* Beri jarak atas pada tombol submit di dalam form */
form button[type="submit"] {
  margin-top: 24px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

/* Calendar Popup (Click to Show) */
.date-picker-wrapper {
  position: relative;
}

.calendar-popup {
  display: none;
  position: absolute;
  top: calc(100% + 5px);
  left: 0;
  width: 100%;
  z-index: 50;
  background: #fff;
  border: 1px solid var(--hair);
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
  padding: 15px;
  box-sizing: border-box;
}

.calendar-popup.show {
  display: block;
}

/* --------------------------------------------------
   FORM (Booking Page Specifics)
-------------------------------------------------- */
.quantity-stepper {
  display: flex;
  align-items: center;
}

.quantity-stepper .btn {
  padding: 10px 15px; /* Padding lebih kecil */
  border-radius: 4px; /* Sudut tidak terlalu membulat (kotak) */
  line-height: 1;
}

.quantity-stepper input[type="number"] {
  width: 60px; /* Lebar input diperkecil */
  text-align: center;
  margin: 0 5px;
}
/* --------------------------------------------------
   FOOTER
-------------------------------------------------- */
footer {
  padding: 2rem 0;
  background: var(--primary);
  border-top: 1px solid var(--hair);
  text-align: center;
}

/* Social Media Icons in Footer */
.social-links {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 20px;
}

.social-links a {
  color: var(--secondary);
  transition: transform 0.3s ease, color 0.3s ease;
  display: inline-block;
}

.social-links a:hover {
  color: var(--ink);
  transform: translateY(-3px);
}

.social-links svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

footer .ack {
  margin-top: 12px;
  font-size: 0.95rem;
  color: var(--muted);
  max-width: 800px;
  margin-inline: auto;
}

/* Contact Page Phone/WA Highlight */
.phone-highlight {
  background-color: var(--secondary); /* Warna hijau branding */
  color: #ffffff;
  padding: 2.5rem 2rem;
  border-radius: var(--radius);
  text-align: center;
  margin: 3rem auto 0;
  max-width: 500px;
  box-shadow: var(--shadow);
}

.phone-highlight h3 {
  color: #ffffff;
  margin-top: 0;
  margin-bottom: 0.5rem;
}

.phone-highlight a {
  color: #ffffff;
  font-size: 2rem; /* Ukuran font besar */
  font-weight: 700;
  text-decoration: none;
  display: inline-block;
  transition: opacity 0.3s;
}

.phone-highlight a:hover {
  opacity: 0.9;
}

/* --------------------------------------------------
   BOOKING PAGE - SERVICE SELECTION
-------------------------------------------------- */
.service-selection {
  display: grid;
  /* Diubah ke 180px agar muat 4 kotak berjejer di container 900px */
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 15px;
  margin-bottom: 30px;
}

.service-option {
  background: #fff;
  border: 2px solid var(--hair);
  border-radius: var(--radius);
  padding: 15px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
  position: relative;
}

.service-option:hover {
  border-color: var(--secondary);
  transform: translateY(-3px);
}

.service-option.selected {
  border-color: var(--secondary);
  background-color: #f7f9f0; /* Hijau sangat muda */
  box-shadow: var(--shadow);
}

.service-option h4 {
  margin: 0 0 8px;
  color: var(--secondary);
  font-size: 1.1rem;
}

.service-option .price {
  display: block;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 8px;
}

.service-option .desc {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.4;
}

/* --------------------------------------------------
   GALLERY PAGE
-------------------------------------------------- */
.gallery-grid {
  display: grid;
  /* 5 Kolom sesuai permintaan (5 kesamping) */
  grid-template-columns: repeat(5, 1fr);
  gap: 15px;
  margin-bottom: 40px;
}

/* Responsif: Tablet 3 kolom, HP 2 kolom */
@media (max-width: 1024px) {
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 600px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}

.gallery-item {
  position: relative;
  cursor: pointer;
  overflow: hidden;
  border-radius: 8px;
  aspect-ratio: 1 / 1; /* Membuat foto selalu kotak */
  background: #eee;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.gallery-item:hover img {
  transform: scale(1.08);
}

/* Overlay Hover Effect (Kotak Hitam Transparan & Teks) */
.gallery-item .overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0, 0, 0, 0.6); /* Hitam transparan */
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  padding: 20px;
  text-align: center;
}

.gallery-item:hover .overlay {
  opacity: 1;
}

.overlay-text {
  color: #fff;
  font-weight: 500;
  font-size: 1rem;
  line-height: 1.4;
}

/* Lightbox (Modal Pembesar Foto) */
.lightbox {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0; top: 0;
  width: 100%; height: 100%;
  background-color: rgba(0,0,0,0.9);
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.lightbox.active {
  display: flex;
  opacity: 1;
}

.lightbox-content {
  text-align: center;
  max-width: 90%;
  max-height: 90%;
  position: relative;
}

.lightbox-content img {
  max-width: 100%;
  max-height: 80vh;
  border-radius: 4px;
  box-shadow: 0 0 30px rgba(0,0,0,0.8);
  width: auto; /* Menjaga rasio gambar */
}

/* Desktop Lightbox Adjustment: Agar foto tidak terlalu besar di layar lebar */
@media (min-width: 1024px) {
  .lightbox-content img {
    max-height: 70vh; /* Kurangi tinggi agar ada ruang untuk teks */
    max-width: 800px; /* Batasi lebar maksimal */
  }
}

.lightbox-content p {
  color: #fff;
  margin-top: 15px;
  font-size: 1.1rem;
  font-weight: 500;
}

.close-btn {
  position: absolute;
  top: 20px;
  right: 30px;
  color: #fff;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
  z-index: 2001;
  transition: color 0.2s;
}

.close-btn:hover {
  color: var(--secondary);
}

/* --------------------------------------------------
   NEWSLETTER PAGE & SECTION
-------------------------------------------------- */
/* Kotak Subscribe di atas Footer */
.newsletter-section {
  background-color: var(--secondary);
  color: white;
  padding: 60px 20px;
  text-align: center;
  margin-top: 40px;
}

.newsletter-section h2 {
  color: white;
  margin-bottom: 10px;
}

.newsletter-section p {
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto 30px;
}

.newsletter-form {
  max-width: 500px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.newsletter-form input {
  border: none;
  padding: 15px;
  border-radius: 99px;
}

.newsletter-form button {
  background-color: var(--primary);
  color: var(--ink);
  border: none;
  padding: 15px;
  border-radius: 99px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s;
}

.newsletter-form button:hover {
  transform: scale(1.05);
}

/* Halaman Newsletter (Grid Layout) */
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.news-card {
  background: #fff;
  border: 1px solid var(--hair);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.news-card:hover {
  transform: translateY(-5px);
}

.news-card-image {
  height: 220px;
  overflow: hidden;
  background: #eee;
  position: relative;
}

.news-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.news-card:hover .news-card-image img {
  transform: scale(1.1);
}

.no-image-placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  color: var(--muted); font-weight: 600;
}

.news-content {
  padding: 25px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.news-content h3 {
  margin-top: 0;
  color: var(--secondary);
  font-size: 1.4rem;
  margin-bottom: 10px;
}

.news-content p {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 15px;
}

.news-date {
  font-size: 0.8rem;
  color: var(--muted);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
}

.read-more {
  margin-top: auto;
  color: var(--secondary);
  font-weight: 700;
  font-size: 0.9rem;
}

/* NEWS MODAL - IMPROVED DESIGN */
.news-modal-overlay {
  position: fixed; top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(8px); /* Efek blur modern */
  z-index: 9999;
  display: flex; justify-content: center; align-items: center;
  opacity: 0; pointer-events: none;
  transition: opacity 0.3s ease;
  padding: 20px; box-sizing: border-box;
}
.news-modal-overlay.active { 
  opacity: 1; 
  pointer-events: auto; 
}

/* Slide-in animation for modal */
@keyframes newsModalSlideIn {
  from {
    opacity: 0;
    transform: translateY(30px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.news-modal-content {
  background: linear-gradient(180deg, #fffcf8 0%, #fff 50%, #fdfbf7 100%);
  width: 100%; 
  max-width: 800px; 
  max-height: 90vh;
  overflow-y: auto; 
  overflow-x: hidden;
  border-radius: 20px; 
  position: relative;
  box-shadow: 
    0 25px 50px -12px rgba(0, 0, 0, 0.25),
    0 0 0 1px rgba(242, 221, 204, 0.3);
  animation: newsModalSlideIn 0.4s ease-out;
}

/* Decorative top border */
.news-modal-content::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: linear-gradient(90deg, var(--secondary), var(--primary), var(--secondary));
  border-radius: 20px 20px 0 0;
}

/* Custom Scrollbar untuk Modal */
.news-modal-content::-webkit-scrollbar { width: 8px; }
.news-modal-content::-webkit-scrollbar-track { background: #f1f1f1; }
.news-modal-content::-webkit-scrollbar-thumb { background: #ccc; border-radius: 4px; }
.news-modal-content::-webkit-scrollbar-thumb:hover { background: #aaa; }

.news-modal-close {
  position: sticky;
  top: 18px; 
  float: right;
  margin-right: 18px;
  margin-top: 18px;
  background: #fff; 
  border: none;
  font-size: 1.5rem; 
  line-height: 1; 
  cursor: pointer;
  border-radius: 50%; 
  width: 44px; 
  height: 44px;
  display: flex; 
  align-items: center; 
  justify-content: center;
  z-index: 100; 
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  color: var(--ink);
  box-shadow: 
    0 4px 15px rgba(0,0,0,0.1),
    0 2px 4px rgba(0,0,0,0.05);
}
.news-modal-close:hover { 
  background: var(--secondary); 
  color: #fff; 
  transform: rotate(90deg) scale(1.1);
  box-shadow: 0 6px 20px rgba(93, 111, 42, 0.4);
}

/* Header Banner Section */
.news-modal-header {
  background: linear-gradient(135deg, var(--primary) 0%, var(--panel) 100%);
  padding: 50px 60px 30px;
  text-align: center;
  position: relative;
  margin-bottom: 10px;
}

/* Decorative corner elements */
.news-modal-header::before,
.news-modal-header::after {
  content: '';
  position: absolute;
  width: 60px;
  height: 60px;
  border: 2px solid var(--hair);
  opacity: 0.5;
}

.news-modal-header::before {
  top: 20px;
  left: 20px;
  border-right: none;
  border-bottom: none;
}

.news-modal-header::after {
  bottom: 20px;
  right: 20px;
  border-left: none;
  border-top: none;
}

.news-article-container {
  padding: 20px 60px 60px;
  clear: both;
}

.news-modal-date { 
  display: inline-block;
  background: var(--secondary);
  color: #fff; 
  font-weight: 700; 
  text-transform: uppercase; 
  letter-spacing: 1.5px; 
  font-size: 0.75rem; 
  padding: 8px 18px;
  border-radius: 30px;
  margin-bottom: 18px;
  box-shadow: 0 4px 12px rgba(93, 111, 42, 0.3);
}

.news-modal-title { 
  margin-top: 0; 
  font-size: 2.4rem; 
  margin-bottom: 20px; 
  line-height: 1.2; 
  text-align: center; 
  color: var(--ink);
  font-weight: 800;
  text-shadow: 2px 2px 0 rgba(242, 221, 204, 0.5);
}

.news-divider {
  border: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--secondary), transparent);
  margin: 0 auto 35px;
  width: 40%;
  opacity: 0.6;
}

/* Session Styles - Enhanced */
.session-item { 
  margin-bottom: 45px; 
  padding: 30px;
  background: #fff;
  border-radius: 16px;
  border: 1px solid var(--hair);
  box-shadow: 0 8px 30px rgba(0,0,0,0.04);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.session-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.08);
}

.session-item:last-child { margin-bottom: 0; }

.session-img { 
  width: 100%; 
  height: auto; 
  border-radius: 12px; 
  margin-bottom: 25px; 
  display: block; 
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.session-img:hover {
  transform: scale(1.01);
  box-shadow: 0 15px 40px rgba(0,0,0,0.12);
}

/* Image frame effect */
.session-img-wrapper {
  position: relative;
  padding: 8px;
  background: linear-gradient(135deg, var(--primary), var(--panel));
  border-radius: 16px;
}

.session-img-wrapper .session-img {
  margin-bottom: 0;
  border-radius: 10px;
}

.session-subtitle { 
  color: var(--secondary); 
  font-size: 1.5rem; 
  margin-bottom: 18px; 
  font-weight: 700; 
  line-height: 1.3;
  position: relative;
  padding-bottom: 12px;
}

.session-subtitle::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 3px;
  background: linear-gradient(90deg, var(--secondary), var(--primary));
  border-radius: 2px;
}

.session-text { 
  white-space: normal;
  word-wrap: break-word;
  overflow-wrap: break-word;
  text-align: justify;
  color: #4a4a4a; 
  line-height: 1.9; 
  font-size: 1.05rem; 
}

/* Drop cap for first paragraph */
.session-text p:first-of-type::first-letter {
  float: left;
  font-size: 3.5rem;
  line-height: 1;
  font-weight: 800;
  color: var(--secondary);
  padding-right: 12px;
  padding-top: 4px;
  font-family: "Archivo", sans-serif;
}

/* Decorative quote/sticker */
.session-decoration {
  display: inline-block;
  background: linear-gradient(135deg, var(--primary), var(--panel));
  padding: 15px 25px;
  border-radius: 12px;
  margin: 20px 0;
  border-left: 4px solid var(--secondary);
  font-style: italic;
  color: var(--muted);
}

/* Mobile Adjustments */
@media (max-width: 768px) {
  .news-modal-overlay { padding: 0; }
  .news-modal-content { 
    max-height: 100vh; 
    height: 100%; 
    border-radius: 0; 
    animation: none;
  }
  .news-modal-header {
    padding: 40px 25px 25px;
  }
  .news-article-container { padding: 25px 20px 80px; }
  .news-modal-title { font-size: 1.8rem; }
  .news-modal-close { 
    top: 12px; 
    margin-right: 12px; 
    margin-top: 12px; 
    width: 38px;
    height: 38px;
  }
  .session-item {
    padding: 20px;
  }
  .news-modal-content::before {
    height: 4px;
  }
}

/* --------------------------------------------------
   HORIZONTAL SCHEDULE (Service Page UI)
-------------------------------------------------- */
.horizontal-schedule {
  display: flex;
  overflow-x: auto;
  gap: 12px;
  padding: 10px 5px 20px 5px; /* Padding bawah untuk scrollbar */
  -webkit-overflow-scrolling: touch; /* Smooth scroll di iOS */
  scrollbar-width: thin;
  scrollbar-color: var(--secondary) #eee;
}

.horizontal-schedule::-webkit-scrollbar {
  height: 6px;
}
.horizontal-schedule::-webkit-scrollbar-thumb {
  background-color: var(--secondary);
  border-radius: 10px;
}

.schedule-item {
  flex: 0 0 auto; /* Jangan menyusut */
  width: 110px;
  background: #fff;
  border: 1px solid var(--hair);
  border-radius: 12px;
  padding: 15px 10px;
  text-align: center;
  transition: transform 0.2s, box-shadow 0.2s;
}

.schedule-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.08);
  border-color: var(--secondary);
}

.sch-date { font-weight: 800; font-size: 1.2rem; color: var(--secondary); line-height: 1; margin-bottom: 4px; }
.sch-day { font-size: 0.85rem; color: var(--muted); margin-bottom: 8px; text-transform: uppercase; letter-spacing: 0.5px; }
.sch-time { font-weight: 600; margin-bottom: 12px; font-size: 0.95rem; }

.btn-book-small {
  display: block; width: 100%; padding: 6px 0; background: var(--secondary); color: white;
  border-radius: 6px; font-size: 0.85rem; font-weight: 600; text-decoration: none;
}
.btn-book-small:hover { background: var(--ink); color: white; }

/* --------------------------------------------------
   RESPONSIVE FIXES & ANIMATIONS
-------------------------------------------------- */

/* Add fadeIn animation used by lightbox and newsletter */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* --------------------------------------------------
   NEW CALENDAR STYLES
-------------------------------------------------- */
.calendar-container {
    background: #fff;
    padding: 20px;
    border-radius: 12px;
    border: 1px solid var(--hair);
    margin-top: 10px;
    max-width: 100%;
    overflow: hidden;
}

.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.cal-month-year {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--secondary);
}

.cal-nav-btn {
    background: none;
    border: 1px solid var(--hair);
    border-radius: 50%;
    width: 30px;
    height: 30px;
    cursor: pointer;
    font-weight: bold;
    color: var(--muted);
    transition: background-color 0.2s, color 0.2s;
}

.cal-nav-btn:hover {
    background-color: var(--secondary);
    color: white;
}

.calendar-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 5px;
    text-align: center;
}

.cal-day-name {
    font-weight: 600;
    font-size: 0.8rem;
    color: var(--muted);
    padding-bottom: 5px;
}

.cal-day {
    padding: 8px 0;
    border-radius: 8px;
    font-size: 0.9rem;
    color: var(--ink);
}

.cal-day.past {
    color: #ccc;
    pointer-events: none;
}

.cal-day.available {
    background-color: #e8f5e9;
    color: var(--secondary);
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.2s, transform 0.2s;
}

.cal-day.available:hover {
    background-color: var(--secondary);
    color: white;
    transform: scale(1.05);
}

.booking-popup {
    position: absolute;
    z-index: 100;
    background: white;
    border: 1px solid var(--hair);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
    border-radius: 12px;
    padding: 15px;
    min-width: 180px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.booking-popup hr {
    border: none;
    border-top: 1px solid var(--hair);
    margin: 5px 0;
}
.booking-popup strong {
    font-size: 0.95rem;
    color: var(--ink);
}

/* INQUIRY FORM STYLES */
#inquiry-form label {
    font-size: 0.9rem;
    color: var(--muted);
    margin-bottom: 4px;
}
#inquiry-form input[type="checkbox"] {
    width: 18px; height: 18px;
    accent-color: var(--secondary);
}

/* --------------------------------------------------
   EVENT CARD & BUTTON STYLES (UPDATED)
-------------------------------------------------- */
.event-card-modern {
    background: #fff;
    border: 1px solid var(--hair);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    margin-bottom: 30px;
    transition: transform 0.3s ease;
}
.event-card-modern:hover {
    transform: translateY(-5px);
}
.event-card-img {
    width: 100%;
    height: 600px;
    object-fit: cover;
}
.event-card-body {
    padding: 25px;
}

.btn-event-book {
    display: inline-block;
    padding: 10px 24px;
    border: 2px solid var(--secondary); /* Stroke Hijau */
    color: var(--secondary); /* Tulisan Hijau */
    background: transparent;
    border-radius: 999px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    margin-top: 15px;
}

.btn-event-book:hover {
    background: var(--secondary); /* Background Hijau */
    color: var(--primary); /* Tulisan Pink (Beige/Pink brand color) */
    border-color: var(--secondary);
    cursor: pointer;
}

/* --------------------------------------------------
   DISCLAIMER BOX (ACCORDION)
-------------------------------------------------- */
.disclaimer-section {
    margin: 20px 0;
    border: 1px solid var(--hair);
    border-radius: 8px;
    background-color: #fff;
    overflow: hidden;
}

.disclaimer-header {
    padding: 12px 15px;
    background-color: #fff8f2; /* Warna lembut senada tema */
    cursor: pointer;
    font-weight: 700;
    color: var(--secondary);
    display: flex;
    justify-content: space-between;
    align-items: center;
    user-select: none;
    font-size: 0.95rem;
}

.disclaimer-header:hover {
    background-color: var(--panel);
}

.disclaimer-content {
    display: none; /* Tersembunyi secara default */
    padding: 15px;
    font-size: 0.9rem;
    line-height: 1.5;
    border-top: 1px solid var(--hair);
    color: var(--ink);
}

.disclaimer-content.open {
    display: block; /* Muncul saat class 'open' ditambahkan via JS */
}

.disclaimer-content ul {
    margin: 5px 0 15px 20px;
    padding: 0;
}

.disclaimer-content li {
    margin-bottom: 4px;
}

.text-danger {
    color: #d9534f; /* Merah untuk peringatan keras */
    font-weight: 700;
}

/* --------------------------------------------------
   NEWSLETTER GATE (LOCKED CONTENT)
-------------------------------------------------- */
.gate-container {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--panel) 0%, #fff 100%);
    padding: 40px 20px;
    text-align: center;
}

.gate-box {
    background: #fff;
    padding: 40px;
    border-radius: var(--radius);
    box-shadow: 0 20px 50px rgba(0,0,0,0.1);
    max-width: 500px;
    width: 100%;
    border: 1px solid var(--hair);
}

.gate-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    display: block;
}

.gate-box h2 {
    color: var(--secondary);
    margin-top: 0;
}

.gate-box p {
    color: var(--muted);
    margin-bottom: 30px;
}

.gate-form input {
    width: 100%;
    padding: 14px;
    margin-bottom: 15px;
    border: 1px solid var(--hair);
    border-radius: 8px;
    font-family: inherit;
}

.gate-form button {
    width: 100%;
    padding: 14px;
    background: var(--secondary);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
    font-size: 1rem;
    transition: background 0.3s;
}

.gate-form button:hover {
    background: var(--ink);
}

/* --------------------------------------------------
   NEWSLETTER POPUP (MODAL)
-------------------------------------------------- */
.newsletter-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(5px);
    z-index: 9998; /* Di bawah modal news */
    display: none; /* Awalnya disembunyikan, diaktifkan oleh JS */
    justify-content: center;
    align-items: center;
    animation: fadeIn 0.4s;
}

.newsletter-box {
    background: var(--panel);
    padding: 30px 40px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    max-width: 450px;
    width: 90%;
    text-align: center;
    position: relative;
}

.newsletter-box h3 {
    color: var(--secondary);
    margin-top: 0;
}

.newsletter-close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 2rem;
    color: var(--muted);
    cursor: pointer;
    line-height: 1;
}
