/* ===== THEME & VARIABLES ===== */
:root {
  --bg: #0f0f0f;
  --text: #ffffff;
  --card: rgba(21, 21, 21, 0.8);
  --accent: #c9a14a;
  --accent-hover: #e0b355;
  --footer-bg: #050505;
}

.light {
  --bg: #f5f5f5;
  --text: #111111;
  --card: rgba(255, 255, 255, 0.9);
  --footer-bg: #eeeeee;
}

/* ===== GLOBAL STYLE ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text);
  transition: background 0.4s, color 0.4s;
  overflow-x: hidden;
}

/* ===== HERO SECTION ===== */
.hero {
  height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 20px;
}

.hero video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.5), rgba(0,0,0,0.8));
  z-index: -1;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero h1 {
  font-size: clamp(2.5rem, 8vw, 4rem);
  font-weight: 700;
  letter-spacing: 2px;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.hero p {
  color: #ddd;
  font-size: 1.2rem;
  margin-bottom: 30px;
  letter-spacing: 1px;
}

.hero a {
  padding: 15px 35px;
  border: 2px solid var(--accent);
  color: var(--accent);
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: 0.3s;
  display: inline-block;
}

.hero a:hover {
  background: var(--accent);
  color: #000;
  transform: translateY(-3px);
}

/* ===== SECTION GENERAL ===== */
section {
  padding: 100px 20px;
  max-width: 1200px;
  margin: auto;
}

.section-title {
  text-align: center;
  margin-bottom: 60px;
}

.section-title h2 {
  color: var(--accent);
  font-size: 2.5rem;
  position: relative;
  display: inline-block;
  padding-bottom: 10px;
}

.section-title h2::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: var(--accent);
}

/* ===== ABOUT SECTION ===== */
.about-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.about-img {
  width: 100%;
  height: 400px;
  overflow: hidden;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

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

.about-text {
  line-height: 1.8;
  font-size: 1.1rem;
  color: #bbb;
}

/* ===== GRID & CARDS (SERVICES, FACILITIES) ===== */
.grid { display: grid; gap: 25px; }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }

.card {
  background: var(--card);
  backdrop-filter: blur(10px);
  padding: 40px;
  border-radius: 20px;
  text-align: center;
  border: 1px solid rgba(255,255,255,0.1);
  transition: 0.3s;
}

.card:hover {
  transform: translateY(-10px);
  border-color: var(--accent);
}

.card h3 { color: var(--accent); margin-bottom: 10px; }
.card p { font-size: 1.1rem; font-weight: 500; }
.card small { color: #888; display: block; margin-top: 5px; }

/* Menyesuaikan harga pada layanan */
.card p:has(+ small) { font-size: 1.5rem; font-weight: 700; }

/* ===== GALLERY ===== */
.gallery img {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
  border-radius: 15px;
  cursor: pointer;
  transition: 0.4s;
}

.gallery img:hover { transform: scale(1.03); filter: brightness(1.1); }

/* ===== TESTIMONI SLIDER ===== */
.slider { overflow: hidden; max-width: 800px; margin: auto; }
.slides { display: flex; transition: 0.8s cubic-bezier(0.4, 0, 0.2, 1); }
.testi {
  min-width: 100%;
  padding: 40px;
  text-align: center;
  background: var(--card);
  border-radius: 25px;
}
.stars { color: gold; margin-bottom: 15px; font-size: 1.4rem; }

/* ===== BOOKING FORM ===== */
.booking-container {
  max-width: 600px;
  margin: auto;
  background: var(--card);
  padding: 40px;
  border-radius: 25px;
}

input, select {
  width: 100%;
  padding: 15px;
  margin: 12px 0;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.05);
  color: var(--text);
  outline: none;
}

button.btn-booking {
  width: 100%;
  padding: 15px;
  background: var(--accent);
  color: #000;
  font-weight: 700;
  border: none;
  cursor: pointer;
  border-radius: 12px;
  margin-top: 20px;
  transition: 0.3s;
  font-size: 1rem;
}

button.btn-booking:hover {
  background: var(--accent-hover);
  letter-spacing: 1px;
}

/* ===== MAPS ===== */
iframe {
  filter: grayscale(100%) invert(90%) contrast(90%); /* Tema gelap untuk map */
  transition: 0.3s;
}
.light iframe {
  filter: none;
}

/* ===== FOOTER ===== */
footer {
  background: var(--footer-bg) !important;
  transition: 0.4s;
}

footer h3, footer h4 {
  color: var(--accent);
}

/* ===== CONTROLS & FLOAT ===== */
.controls {
  position: fixed;
  top: 20px;
  right: 20px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  z-index: 1000;
}

.f-btn {
  background: var(--card);
  backdrop-filter: blur(5px);
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
  font-size: 1.2rem;
}

.wa-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: #25D366;
  color: white;
  padding: 15px 25px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  z-index: 1000;
  box-shadow: 0 10px 20px rgba(37, 211, 102, 0.3);
  transition: 0.3s;
}

.wa-float:hover {
  transform: scale(1.1);
}

/* ===== ANIMATIONS ===== */
.fade { opacity: 0; transform: translateY(40px); transition: 1s ease-out; }
.fade.show { opacity: 1; transform: none; }

/* ===== RESPONSIVE ===== */
@media(max-width: 768px) {
  .about-wrap { grid-template-columns: 1fr; }
  .about-img { height: 300px; }
  section { padding: 60px 20px; }
  .section-title h2 { font-size: 2rem; }
}
