/* ===== GLOBAL ===== */
    * { box-sizing: border-box; }
    body {
      margin: 0;
      overflow-x: hidden;
      font-family: "Poppins", sans-serif;
      background: #fff5fa;
      color: #e0568f;
      display: flex;
      flex-direction: column;
      min-height: 100vh;
}

/* ===== NAVBAR ===== */
   .navbar {
  position: sticky;
  top: 0;
  width: 100%;
  background: #fff7fb;
  box-shadow: 0 2px 8px rgba(77, 49, 49, 0.05);
  z-index: 999;
  overflow: visible;
}

.nav-container {
  max-width: 1390px;
  width: 100%;
  margin: auto;
  padding: 10px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-img { width: 65px; }

.brand-text {
  font-size: 22px;
  font-weight: 600;
  color: #e0568f;
  white-space: nowrap;
}

  .nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav-links a {
  text-decoration: none;
  font-size: 16px;
  color: #e0568f;
  font-weight: 600;
  color: #e0568f;
  transition: 0.3s;
}
    .nav-links a:hover { color: #ff7fbf; }

/* ===== MENU TOGGLE ===== */
.menu-toggle {
  display: none;
  font-size: 18px;
  cursor: pointer;
  font-weight: 600;
  gap: 8px;
  padding: 6px 12px;
  background: #ffe3ef;
  color: #e0568f;
  z-index: 9999;
  border-radius: 20px;
}
    /* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .nav-container {
    flex-direction: row; /* tetap horizontal */
    justify-content: space-between;
    align-items: center;
    width: 100%;
  }
  .service-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 18px; }
  .logo-img { width: 50px; }
  .brand-text { font-size: 15px; }
  .menu-toggle { display: flex; }
  .menu-text { font-size: 16px; }
  .nav-links.active { display: flex; }
  .nav-links a { font-size: 14px; }

.nav-links {
    position: absolute;
    top: 60px;
    right: 20px;
    flex-direction: column;
    background: #fff7fb;
    width: 100%;
    max-width: 220px;
    padding: 10px;
    gap: 10px;
    display: none;
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}

  .menu-text { font-size: 16px; }
  .nav-links.active { display: flex; }

}

/* ===== HERO ===== */
.hero {
  text-align: center;
  padding: 70px 20px 40px;
  background: linear-gradient(
rgba(255,157,206,0.3),
rgba(255,255,255,0.9)
);
}

.hero h1 {
  font-size: 48px;
  font-weight: 800;
  margin: 10px 0 15px;
}

.hero p {
  font-size: 22px;
  margin: 5px 0;
}

.tagline {
  font-size: 18px;
  opacity: 0.85;
}

/* ===== BOOKING ===== */
.booking {
  background: #fff0f7;
  padding: 50px 20px;
  text-align: center;
}

.booking h2 {
  font-size: 32px;
  color: #ff5fa2;
}

.booking-sub {
  color: #888;
  margin-bottom: 30px;
}

.booking form {
  max-width: 450px;
  margin: auto;
  background: #fff;
  padding: 30px;
  border-radius: 20px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}


* { box-sizing: border-box; }

select{
appearance:none;
-webkit-appearance:none;
}

.booking input,
.booking select,
.booking textarea {
  width: 100%;
  padding: 12px 15px;
  margin-bottom: 15px;
  border-radius: 12px;
  border: 1px solid #ddd;
  max-width:100%;
font-size:16px;
background:white;
}

select{
appearance:none;
-webkit-appearance:none;
}

.booking textarea {
  resize: none;
  height: 80px;
}

.booking button {
  width: 100%;
  padding: 14px;
  border: none;
  border-radius: 15px;
  background: #ff5fa2;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s;
}

.booking button:hover {
  background: #ff3d8d;
}

.price-slider {
    text-align: center;
    padding: 60px 20px;
    background: #fff0f6;
}

.slot-list {
  margin: 15px 0;
  padding: 0;
  list-style: none;
}

.slot-list li {
  padding: 6px 10px;
  border-radius: 6px;
  margin-bottom: 5px;
  font-size: 14px;
}

.form-box{
width:100%;
max-width:500px;
margin:auto;
padding:20px;
overflow:hidden;
}



/* ===== PRICE LIST SLIDER ===== */
.price-slider {
  padding: 70px 20px;
  text-align: center;
}

.price-slider h2 {
  font-size: 32px;
  color: #e0568f;
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 40px;
}

/* Slider Container */
.slider-container {
  position: relative;
  max-width: 550px;
  margin: auto;
}

/* Slides */
.slide {
  display: none;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(224, 86, 143, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.slide img {
  width: 100%;
  display: block;
  border-radius: 20px;
  transition: transform 0.4s ease;
}

.slide:hover img {
  transform: scale(1.05);
}

/* Prev/Next buttons */
.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  padding: 12px;
  color: white;
  font-weight: bold;
  font-size: 20px;
  border-radius: 50%;
  background: rgba(224, 86, 143, 0.8);
  transform: translateY(-50%);
  transition: background-color 0.3s ease;
  user-select: none;
}

.prev:hover, .next:hover {
  background: #e0568f;
}

.prev { left: 10px; }
.next { right: 10px; }

/* Fade Animation */
.fade {
  animation: fade 1s ease;
}

@keyframes fade {
  from {opacity: 0.4}
  to {opacity: 1}
}

/* Dots / Indicators */
.dots-container {
  text-align: center;
  margin-top: 20px;
}

.dot {
  height: 12px;
  width: 12px;
  margin: 0 5px;
  background-color: #e0568f66; /* semi-transparent pink */
  border-radius: 50%;
  display: inline-block;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.dot.active {
  background-color: #e0568f;
  transform: scale(1.3);
}

/* Responsive */
@media (max-width: 600px) {
  .price-slider h2 {
    font-size: 28px;
  }
  .slide img {
    border-radius: 15px;
  }
  .prev, .next {
    font-size: 16px;
    padding: 10px;
  }
}

/* ===== SERVICES / GALLERY ===== */
.services {
  padding: 60px 20px 100px;
}

.services h2 {
  text-align: center;
  margin-bottom: 40px;
  font-size: 32px;
  font-weight: 700;
  color: #e0568f;
  letter-spacing: 2px;
}

.service-grid {
  max-width: 1100px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

/* ===== CARD ===== */
.card-link {
  text-decoration: none;
  color: inherit;
}

.card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  height: 220px;
  transition: transform 0.3s ease;
  cursor: pointer;
}

.card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.card span {
  position: absolute;
  inset: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  background: rgba(224, 86, 143, 0.6); /* pink overlay */
  color: #fff;
  font-weight: 700;
  font-size: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.card:hover {
  transform: translateY(-4px);
}

.card:hover img {
  transform: scale(1.05);
}

.card:hover span {
  opacity: 1;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
  .service-grid {
    grid-template-columns: repeat(2, 1fr);
}
}

@media (max-width: 600px) {
  .service-grid {
    grid-template-columns: 1fr;
  }

  .services h2 {
    font-size: 28px;
}

  .card {
    height: 200px;
}
}

/* ===== LOKASI ===== */
.lokasi h2 {
  font-size: 32px;
  font-weight: 700;
  color: #e0568f;
  margin-bottom: 30px;
  letter-spacing: 1px;
}

.lokasi {
  padding: 60px 20px 100px;
  text-align: center;
}

.maps {
  max-width: 900px;
  margin: auto;
  border-radius: 20px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.maps:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

/* ===== FOOTER ===== */
footer {
  margin-top: auto;
  background: #fff7fb;
  padding: 18px;
  text-align: center;
}

footer p {
  font-size: 14px;
  color: #ff5fa2;
  margin: 0;
}

.follow-us {
  padding: 60px 20px;
  background: #fff0f6;
  text-align: center;
}

.follow-us h2 {
  font-size: 28px;
  margin-bottom: 10px;
  color: #e0568f;
}

.follow-us p {
  font-size: 15px;
  margin-bottom: 30px;
  color: #666;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
}

.social {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 22px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 500;
  color: white;
  transition: transform 0.3s, box-shadow 0.3s;
}

.social i {
  font-size: 18px; 
}

/* Warna masing-masing */
.instagram {
  background: linear-gradient(45deg, #f58529, #dd2a7b, #8134af);
}

.tiktok {
  background: #000;
}

.whatsapp {
  background: #25d366;
}

.social:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

/* ===== LIVE BOOKING LIST ===== */
#booking-list { 
  list-style: none; 
  padding: 0; 
  margin-top: 10px;
  max-height: 300px;
  overflow-y: auto;
  border: 2px solid #e0568f;
  border-radius: 12px;
  background-color: #fff0f6;
}

#booking-list li { 
  padding: 10px;
  margin: 6px;
  border-radius: 8px;
  border: 1px solid #e0568f;
  transition: 0.2s;
  cursor: default;
}

#booking-list li.empty-slot { background-color: #d4edda; color: #155724; }
#booking-list li.almost-full { background-color: #fff3cd; color: #856404; }
#booking-list li.full-slot { background-color: #f8d7da; color: #721c24; font-weight: bold; }

#booking-list li:hover:not(.full-slot) { transform: scale(1.02); background-color: #ffd6e0; cursor: pointer; } 

/* FIX INPUT DATE IOS SAFARI */

.booking input[type="date"]{
color:#555;
background:#fff;
}

.booking input[type="date"]::-webkit-datetime-edit{
color:#555;
}

.booking input[type="date"]::-webkit-calendar-picker-indicator{
opacity:1;
}

.booking input,
.booking select,
.booking textarea{
color:#555;
}

#timeSelect{
width:100%;
padding:12px;
border-radius:12px;
border:2px solid #eee;
font-size:15px;
background:white;
cursor:pointer;
}

#timeSelect option{
padding:8px;
}

.time-slots{
display:grid;
grid-template-columns:repeat(3,1fr);
gap:10px;
margin-top:10px;
}

.time-slot{
padding:10px;
border-radius:12px;
border:2px solid #eee;
background:#fff;
font-size:14px;
cursor:pointer;
text-align:center;
transition:0.2s;
}

.time-slots{
display:grid;
grid-template-columns:repeat(3,1fr);
gap:10px;
margin-top:10px;
margin-bottom:25px;
}


.time-slot:hover{
transform:scale(1.03);
}

/* warna status */
.slot-empty{ background:#ffffff; }
.slot-green{ background:#b8f5c1; }
.slot-yellow{ background:#ffeaa7; }
.slot-full{
background:#ff7675;
color:white;
cursor:not-allowed;
}

/* saat dipilih */
.slot-selected{
border:2px solid #ff4f9a;
}

.btn-primary {
  background: #d63384;
  color: white;
  padding: 12px 20px;
  border-radius: 30px;
  text-decoration: none;
  display: inline-block;
  transition: 0.3s;
}

.btn-primary:hover {
  background: #b0256b;
}

.rules-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.rules-content {
  background: #fff;
  padding: 25px;
  border-radius: 15px;
  max-width: 400px;
  width: 90%;
  text-align: center;
  color: #e0568f;
  animation: fadeIn 0.3s ease;
}

.rules-content h2 {
  margin-bottom: 15px;
}

.rules-content ul {
  text-align: left;
  padding-left: 20px;
  margin-bottom: 20px;
}

.rules-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

#startBooking {
  background: #e0568f;
  color: white;
  border: none;
  padding: 10px;
  border-radius: 8px;
  cursor: pointer;
  opacity: 0.5;
}

#startBooking.active {
  opacity: 1;
}

@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.9); }
  to { opacity: 1; transform: scale(1); }
}

/* LEGEND */
.slot-legend {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin: 15px 0;
  font-size: 13px;
  flex-wrap: wrap;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #e0568f;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

/* WARNA */
.green { background: #4CAF50; }
.yellow { background: #FFC107; }
.red { background: #F44336; }

.slot {
  padding: 10px;
  border-radius: 8px;
  cursor: pointer;
  text-align: center;
  font-weight: 500;
}

/* warna slot */
.slot.green {
  background: #e8f5e9;
  color: #2e7d32;
}

.slot.yellow {
  background: #fff8e1;
  color: #ff8f00;
}

.slot.red {
  background: #ffebee;
  color: #c62828;
  cursor: not-allowed;
}

.time-slot {
  transition: 0.2s;
}
.time-slot:hover {
  transform: scale(1.05);
}