/* ============================================
   ZEN HILLSIDE OCEANVIEW VILLA
   Complete Stylesheet
   ============================================ */

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400;1,500&family=Jost:wght@300;400;500;600&display=swap');

/* --- CSS Variables --- */
:root {
  --color-bg: #F5F0EA;
  --color-bg-alt: #EAE4DC;
  --color-text: #2C2825;
  --color-text-muted: #7A6E65;
  --color-accent: #B89A6A;
  --color-accent-hover: #9E8055;
  --color-nav-bg: #1E1A17;
  --color-nav-text: #F0EAE0;
  --color-border: #D5CEC5;
  --color-overlay: rgba(30, 26, 23, 0.45);

  --font-display: 'Cormorant Garamond', serif;
  --font-body: 'Jost', sans-serif;

  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background-color: var(--color-bg);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-smooth);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* --- Typography --- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.2;
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }

.italic-accent {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 300;
}

.label-text {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

/* --- Navbar --- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1.5rem 3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: var(--transition-smooth);
  background: transparent;
}

.navbar.scrolled {
  background: var(--color-nav-bg);
  padding: 1rem 3rem;
  box-shadow: 0 2px 20px rgba(0,0,0,0.15);
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.navbar-logo {
  height: 50px;
  width: auto;
  transition: var(--transition-smooth);
}

.navbar.scrolled .navbar-logo {
  height: 40px;
}

.brand-text {
  font-family: var(--font-display);
  font-size: 1.1rem;
  letter-spacing: 0.1em;
  color: var(--color-nav-text);
}

.navbar-nav {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  list-style: none;
}

.nav-link {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-nav-text);
  position: relative;
  padding: 0.5rem 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--color-accent);
  transition: var(--transition-smooth);
}

.nav-link:hover::after {
  width: 100%;
}

.lang-currency {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--color-nav-text);
  font-size: 0.8rem;
  cursor: pointer;
}

/* Mobile menu */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: 1001;
  background: none;
  border: none;
  padding: 0.5rem;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
}

.hamburger span {
  display: block;
  width: 25px;
  height: 2px;
  background: var(--color-nav-text);
  transition: var(--transition-smooth);
}

.mobile-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 80%;
  max-width: 320px;
  height: 100vh;
  background: var(--color-nav-bg);
  z-index: 999;
  padding: 6rem 2rem 2rem;
  transition: var(--transition-slow);
}

.mobile-drawer.open {
  right: 0;
}

.mobile-drawer .nav-link {
  display: block;
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  padding: 0.5rem 0;
}

.drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 998;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition-smooth);
}

.drawer-overlay.open {
  opacity: 1;
  pointer-events: all;
}

/* ============================================
   HERO SECTION — CLEAN FLEXBOX VERTICAL STACK
   No absolute positioning on content layers.
   Visual order: Logo → Widget → Title → Greeting
   ============================================ */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
  padding: 230px 2rem 3rem;
  overflow: hidden;
  background: #1a1512;
}

/* ── Background layers (non-content, absolute) ── */
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  pointer-events: none;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: var(--color-overlay);
  z-index: 2;
  pointer-events: none;
}



/* ============================================
   ZONE 2 — BOOKING WIDGET (middle)
   This is flex child #2 inside .hero
   ============================================ */

.tripla-hero-widget-wrap,
#tripla-widget-container {
  position: relative;          /* IN-FLOW, not absolute */
  z-index: 3;
  order: 2;                    /* Sits between logo-block and title-block */
  width: 100%;
  max-width: 860px;
  margin: 2rem 0 2.5rem;       /* 2rem above (from logo), 2.5rem below PUSHES title down */
  min-height: 80px;            /* Reserve space while Tripla SDK loads */
  border-radius: 8px;
  overflow: visible;
}

/* Let Tripla's injected content stay horizontal */
.tripla-hero-widget-wrap > div,
.tripla-hero-widget-wrap form,
#tripla-widget-container > div,
#tripla-widget-container form {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
}

.tripla-hero-widget-wrap [class*="field"],
.tripla-hero-widget-wrap [class*="input"],
.tripla-hero-widget-wrap [class*="date"],
.tripla-hero-widget-wrap [class*="guest"],
.tripla-hero-widget-wrap [class*="room"],
.tripla-hero-widget-wrap button,
#tripla-widget-container [class*="field"],
#tripla-widget-container [class*="input"],
#tripla-widget-container button {
  flex: 1 1 auto;
  min-width: 140px;
  max-width: 240px;
  display: inline-flex;
  flex-direction: row;
}

.tripla-hero-widget-wrap [class*="submit"],
.tripla-hero-widget-wrap [class*="search"],
.tripla-hero-widget-wrap [class*="button"],
#tripla-widget-container [class*="submit"],
#tripla-widget-container [class*="search"] {
  flex: 0 0 auto;
  min-width: 120px;
  white-space: nowrap;
}

/* ============================================
   ZONE 3 — TITLE + TAGLINE
   KEY TECHNIQUE: display:contents on .hero-content
   promotes logo, h1, tagline into .hero's flex context.
   CSS order then controls visual stacking:
     logo(1) → widget(2) → title(3) → tagline(4) → greeting(5)
   Zero HTML changes needed.
   ============================================ */

.hero-content {
  display: contents; /* Children become direct .hero flex items */
}

/* ZONE 1: Logo — absolute center-top, keluar dari flex flow */
.hero-logo {
  position: absolute;
  top: 90px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  width: clamp(150px, 16vw, 200px);
  height: auto;
  display: block;
}

/* ZONE 2: Widget (already declared above, order: 2) */

/* ZONE 3: Title */
.hero-title {
  order: 3;
  position: relative;
  z-index: 3;
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5.5vw, 4rem);
  font-weight: 300;
  letter-spacing: 0.18em;
  line-height: 1.15;
  color: var(--color-nav-text);
  text-align: center;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.4);
  margin: 0 0 0.4rem;
  width: 100%;
  max-width: 900px;
  padding: 0 1rem;
}

/* ZONE 4: Tagline */
.hero-tagline {
  order: 4;
  position: relative;
  z-index: 3;
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1rem, 2.5vw, 1.5rem);
  font-weight: 300;
  color: var(--color-nav-text);
  opacity: 0.9;
  line-height: 1.4;
  text-align: center;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.3);
  margin: 0;
  width: 100%;
  max-width: 900px;
  padding: 0 1rem;
}

/* ============================================
   ZONE 5 — GREETING (bottom-left)
   ============================================ */

.greeting-container {
  position: absolute;
  bottom: 2.5rem;
  left: 2rem;
  z-index: 10;
}

.greeting-text {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.3rem;
  color: var(--color-nav-text);
  opacity: 0;
  transition: opacity 0.5s ease;
}

.greeting-text.visible {
  opacity: 1;
}

/* ============================================
   MOBILE RESPONSIVE — 768px
   ============================================ */

@media (max-width: 768px) {

  .hero {
    padding: 80px 1.25rem 5rem;
    justify-content: flex-start;
    align-items: center;
    gap: 0;
    min-height: 100svh; /* safe viewport height di mobile */
  }

  .hero-logo {
    position: relative;
    top: auto;
    left: auto;
    transform: none;
    order: 1;
    width: 55vw;
    max-width: 220px;
    min-width: 140px;
    height: auto;
    display: block;
    margin: 1rem auto 2rem;
  }

  .tripla-hero-widget-wrap,
  #tripla-widget-container {
    order: 2;
    width: 100%;
    max-width: 100%;
    margin: 0 0 0;
  }

  .tripla-hero-widget-wrap > div,
  .tripla-hero-widget-wrap form,
  #tripla-widget-container > div,
  #tripla-widget-container form {
    gap: 0.4rem;
    flex-wrap: wrap;
  }

  .tripla-hero-widget-wrap [class*="field"],
  .tripla-hero-widget-wrap [class*="input"],
  .tripla-hero-widget-wrap button,
  #tripla-widget-container [class*="field"],
  #tripla-widget-container [class*="input"],
  #tripla-widget-container button {
    min-width: 100px;
    max-width: 100%;
  }

  .hero-title {
    order: 3;
    font-size: clamp(2rem, 8vw, 2.8rem);
    letter-spacing: 0.12em;
    margin: 1.5rem 0 0.4rem;
    text-align: center;
    width: 100%;
    /* Pastiin title selalu di bawah widget */
    align-self: center;
  }

  .hero-tagline {
    order: 4;
    font-size: clamp(1rem, 3.5vw, 1.2rem);
    text-align: center;
    width: 100%;
    align-self: center;
  }

  /* Force widget selalu order 2 di mobile */
  .tripla-hero-widget-wrap,
  #tripla-widget-container {
    order: 2 !important;
  }

  

  

  .greeting-container {
    bottom: 1.5rem;
    left: 1.25rem;
  }
}

@media (max-width: 480px) {

  .hero {
    padding: 70px 1rem 5rem;
    justify-content: flex-start;
  }

  .hero-logo {
    width: 58vw;
    max-width: 200px;
    min-width: 130px;
    margin: 0.75rem auto 1.75rem;
  }

  /* Force title dan tagline SELALU di bawah widget */
  .hero-title {
    order: 3 !important;
    position: relative !important;
    z-index: 100 !important;   /* lebih tinggi dari Tripla widget */
    margin-top: 1.5rem !important;
  }
  .hero-tagline {
    order: 4 !important;
    position: relative !important;
    z-index: 100 !important;
  }
  .greeting-container { order: 5 !important; }

  /* Tripla widget z-index lebih rendah dari title */
  .tripla-hero-widget-wrap,
  #tripla-widget-container {
    z-index: 3 !important;
  }
}

/* ============================================
   LEGACY CLEANUP — hide floating chatbot
   ============================================ */

#triplabot-root,
.tripla-booking-widget,
[class*="tripla-widget"]:not([class*="inline"]):not([class*="search"]),
[class*="triplabot"],
[id*="triplabot"] {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
}
/* --- Section Base --- */
.section {
  padding: 6rem 3rem;
  max-width: 1400px;
  margin: 0 auto;
}

.section-alt {
  background: var(--color-bg-alt);
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 1rem;
}

.section-subtitle {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.2rem;
  color: var(--color-text-muted);
}

/* --- Brand Story --- */
.brand-story {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  padding: 8rem 2rem;
}

.story-icon {
  font-family: var(--font-display);
  font-size: 4rem;
  color: var(--color-accent);
  margin-bottom: 2rem;
  opacity: 0.6;
}

.story-logo-img {
  max-width: 200px;
  width: 100%;
  height: auto;
  margin: 0 auto;
  opacity: 1;
  display: block;
}

.story-text {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  line-height: 1.8;
  color: var(--color-text);
  margin-bottom: 2rem;
  font-weight: 300;
}

.story-text.italic {
  font-style: italic;
}

.story-closing {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.3rem;
  color: var(--color-accent);
  margin-top: 3rem;
}

/* --- Villa Bento Grid --- */
.bento-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  grid-template-rows: 360px 360px 400px;
  gap: 1.5rem;
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 2rem;
}

.bento-item {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.bento-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

/* Amethyst: kiri, span 2 baris */
.bento-item.amethyst {
  grid-column: 1;
  grid-row: span 2;
}

/* Moonstone: kanan atas */
.bento-item.moonstone {
  grid-column: 2;
  grid-row: 1;
}

/* Onyx: kanan bawah */
.bento-item.onyx {
  grid-column: 2;
  grid-row: 2;
}

/* Aquamarine: full width baris ke-3 */
.bento-item.aquamarine {
  grid-column: span 2;
  grid-row: 3;
}

.bento-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

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

.bento-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(30,26,23,0.8) 0%, rgba(30,26,23,0.2) 50%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2rem;
  transition: var(--transition-smooth);
}

.bento-content {
  color: var(--color-nav-text);
}

.bento-gem {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  display: block;
}

/* when bento-gem is an <img> png */
img.bento-gem {
  width: 48px;
  height: 48px;
  font-size: 0;
  object-fit: contain;
}

.bento-name {
  font-family: var(--font-display);
  font-size: 1.8rem;
  margin-bottom: 0.3rem;
}

.bento-rooms {
  font-size: 0.85rem;
  opacity: 0.8;
  letter-spacing: 0.05em;
}

.bento-description {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(30, 26, 23, 0.95);
  padding: 2rem;
  transform: translateY(100%);
  transition: var(--transition-smooth);
  color: var(--color-nav-text);
}

.bento-item:hover .bento-description {
  transform: translateY(0);
}

.bento-desc-text {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

.bento-btn {
  display: inline-block;
  padding: 0.7rem 1.5rem;
  background: var(--color-accent);
  color: var(--color-nav-text);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 4px;
  transition: var(--transition-smooth);
}

.bento-btn:hover {
  background: var(--color-accent-hover);
}

/* --- Location Section --- */
.location-section {
  padding: 6rem 3rem;
}

.location-map {
  position: relative;
  max-width: 1000px;
  margin: 0 auto 4rem;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

.map-image {
  width: 100%;
  height: auto;
}

.map-pin {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -100%);
  cursor: pointer;
}

.map-pin-icon {
  width: 40px;
  height: 40px;
  background: var(--color-accent);
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.map-pin-icon::after {
  content: 'Z';
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--color-nav-text);
  transform: rotate(45deg);
}

.google-map {
  width: 100%;
  height: 400px;
  border: none;
  border-radius: 12px;
  margin-bottom: 4rem;
}

/* Nearby Places */
.nearby-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.nearby-card {
  background: var(--color-bg);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.08);
  transition: var(--transition-smooth);
}

.nearby-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.12);
}

.nearby-image {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.nearby-content {
  padding: 1.5rem;
}

.nearby-category {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 0.5rem;
}

.nearby-name {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--color-text);
}

/* --- Gallery --- */
.gallery-filters {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 0.6rem 1.5rem;
  background: transparent;
  border: 1px solid var(--color-border);
  border-radius: 30px;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--color-text-muted);
  cursor: pointer;
  transition: var(--transition-smooth);
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: var(--color-nav-text);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1rem;
  max-width: 1400px;
  margin: 0 auto;
}

.gallery-item {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 4/3;
}

.gallery-item.tall {
  aspect-ratio: 3/4;
  grid-row: span 2;
}

.gallery-item.wide {
  aspect-ratio: 16/9;
  grid-column: span 2;
}

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

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

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: var(--color-overlay);
  opacity: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-icon {
  color: var(--color-nav-text);
  font-size: 2rem;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(30, 26, 23, 0.95);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
}

.lightbox.open {
  display: flex;
}

.lightbox-img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 4px;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  background: none;
  border: none;
  color: var(--color-nav-text);
  font-size: 2rem;
  cursor: pointer;
  padding: 1rem;
  transition: var(--transition-smooth);
}

.lightbox-close {
  top: 1rem;
  right: 1rem;
}

.lightbox-prev {
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox-next {
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
  color: var(--color-accent);
}

/* --- Villa Detail Page --- */
/* villa-hero styles moved to bottom of file (full slider version) */

.villa-detail-content {
  max-width: 1000px;
  margin: 0 auto;
  padding: 4rem 2rem;
}

.villa-description {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 3rem;
  color: var(--color-text);
}

.floor-plan {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.floor-item {
  text-align: center;
  padding: 2rem;
  background: var(--color-bg-alt);
  border-radius: 12px;
  transition: var(--transition-smooth);
}

.floor-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

.floor-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--color-accent);
}

.floor-label {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-text);
}

/* ============================================
   BOOK MAP SECTION
   ============================================ */
.book-map-section {
  background: var(--color-bg-alt);
  padding: 4rem 3rem;
}

.book-map-section a {
  display: block;
  max-width: 1000px;
  margin: 0 auto;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 16px 50px rgba(0,0,0,0.13);
}

.book-map-img {
  width: 100%;
  height: auto;
  display: block;
}

@media (max-width: 768px) {
  .book-map-section {
    padding: 3rem 1.5rem;
  }
}

/* --- Footer --- */
.footer {
  background: var(--color-bg);
  color: var(--color-text);
  padding: 4rem 2rem 2rem;
  text-align: center;
  border-top: 1px solid var(--color-border);
}

.footer-block {
  margin-bottom: 2.5rem;
}

.footer-heading {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-text);
  margin-bottom: 1.2rem;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
}

.social-link {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text);
  transition: var(--transition-smooth);
}

.social-link:hover {
  color: var(--color-accent);
}

.footer-wa-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #25D366;
  margin-bottom: 1.2rem;
  transition: var(--transition-smooth);
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.3);
}

.footer-wa-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
}

.footer-contacts {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-size: 0.88rem;
  color: var(--color-text-muted);
  transition: var(--transition-smooth);
}

.footer-contact-item:hover {
  color: var(--color-accent);
}

.footer-contact-item svg {
  flex-shrink: 0;
  opacity: 0.6;
}

.footer-bottom {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--color-border);
  font-family: var(--font-body);
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  opacity: 0.6;
}


/* ============================================
   IMPROVED BOOKING WIDGET - Collapsible
   ============================================ */

/* --- Booking Widget Container --- */
.booking-widget-container {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 800;           /* below navbar (z-index 1000) */
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.5rem;
  /* cap total height so it never reaches navbar */
  max-height: calc(100vh - 90px);
}

/* --- Toggle Button (always visible) --- */
.booking-toggle {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 1.5rem;
  background: var(--color-accent);
  color: var(--color-nav-text);
  border: none;
  border-radius: 50px;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(184, 154, 106, 0.4);
  transition: var(--transition-smooth);
  white-space: nowrap;
}

.booking-toggle:hover {
  background: var(--color-accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(184, 154, 106, 0.5);
}

.booking-toggle-link {
  text-decoration: none;
}

.booking-toggle .toggle-icon {
  font-size: 1.1rem;
  transition: transform 0.3s ease;
}

.booking-toggle.expanded .toggle-icon {
  transform: rotate(180deg);
}

/* --- Booking Panel (expandable) --- */
.booking-panel {
  background: rgba(245, 240, 234, 0.97);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--color-accent);
  border-radius: 16px;
  padding: 1.5rem;
  width: 480px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.15);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  transform-origin: bottom right;
  overflow: hidden;
  max-height: calc(100vh - 120px);
}

/* Tripla iframe container */
.tripla-panel-wrap {
  width: 100%;
  height: 520px;
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
}

.tripla-iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

.booking-panel.collapsed {
  transform: scale(0);
  opacity: 0;
  pointer-events: none;
  max-height: 0;
  padding: 0;
  border: none;
}

.booking-panel.expanded {
  transform: scale(1);
  opacity: 1;
  pointer-events: all;
}

/* --- Panel Header with Close --- */
.booking-panel-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--color-border);
}

.booking-panel-title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--color-text);
  margin: 0;
}

.booking-panel-close {
  background: none;
  border: none;
  font-size: 1.2rem;
  color: var(--color-text-muted);
  cursor: pointer;
  padding: 0.2rem;
  line-height: 1;
  transition: var(--transition-smooth);
}

.booking-panel-close:hover {
  color: var(--color-text);
}

/* --- Form Fields --- */
.booking-field {
  margin-bottom: 0.85rem;
}

.booking-field label {
  display: block;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: 0.3rem;
}

.booking-field input,
.booking-field select {
  width: 100%;
  padding: 0.65rem 0.8rem;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  background: var(--color-bg);
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--color-text);
  transition: var(--transition-smooth);
}

.booking-field input:focus,
.booking-field select:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(184, 154, 106, 0.15);
}

.booking-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

/* Date row: check-in above check-out, full width each */
.booking-row.dates {
  grid-template-columns: 1fr;
  gap: 0;
}

.booking-btn {
  width: 100%;
  padding: 0.9rem;
  background: var(--color-accent);
  color: var(--color-nav-text);
  border: none;
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: var(--transition-smooth);
  margin-top: 0.5rem;
}

.booking-btn:hover {
  background: var(--color-accent-hover);
}

/* --- Mobile Adjustments --- */
@media (max-width: 768px) {
  .booking-widget-container {
    bottom: 1rem;
    right: 1rem;
    left: 1rem;
    align-items: center;
  }

  .booking-toggle {
    padding: 0.7rem 1.2rem;
    font-size: 0.8rem;
  }

  .booking-panel {
    width: 100%;
    max-width: 100%;
    border-radius: 16px 16px 0 0;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    transform-origin: bottom center;
  }

  .booking-panel.collapsed {
    transform: translateY(100%) scale(1);
  }

  .booking-panel.expanded {
    transform: translateY(0) scale(1);
  }

  .tripla-panel-wrap {
    height: 70vh;
  }
}

@media (max-width: 480px) {
  .booking-panel {
    border-radius: 16px 16px 0 0;
    padding: 1.25rem;
  }

  .booking-toggle {
    width: 100%;
    justify-content: center;
  }

  .booking-panel {
    border-radius: 16px 16px 0 0;
    padding: 1.25rem;
  }

  .booking-toggle {
    width: 100%;
    justify-content: center;
  }
}
/* --- Animations --- */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- Scroll Reveal Stagger --- */
.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }

/* hero-logo mobile override removed */


/* --- Responsive --- */
@media (max-width: 1024px) {
  .bento-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 300px 300px 320px;
    padding: 0 1.5rem;
  }

  .bento-item.amethyst {
    grid-column: 1;
    grid-row: span 2;
  }

  .bento-item.moonstone {
    grid-column: 2;
    grid-row: 1;
  }

  .bento-item.onyx {
    grid-column: 2;
    grid-row: 2;
  }

  .bento-item.aquamarine {
    grid-column: span 2;
    grid-row: 3;
  }
}

@media (max-width: 768px) {
  .navbar {
    padding: 1rem 1.5rem;
  }

  .navbar-nav {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .section {
    padding: 4rem 1.5rem;
  }

  .bento-grid {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(4, 300px);
    padding: 0 1rem;
  }

  .bento-item.amethyst,
  .bento-item.moonstone,
  .bento-item.onyx,
  .bento-item.aquamarine {
    grid-column: 1;
    grid-row: auto;
  }

  .greeting-container {
    left: 1.5rem;
    bottom: 2rem;
  }

  .booking-widget {
    display: none;
  }


  .nearby-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .gallery-item.wide,
  .gallery-item.tall {
    grid-column: span 1;
    grid-row: span 1;
    aspect-ratio: 4/3;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .social-links {
    justify-content: center;
  }

  .floor-plan {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 1.8rem;
  }

  .brand-text {
    display: none;
  }

}


/* ============================================
   LOCATION SECTION - MAP + NEARBY MERGED
   ============================================ */
.location-section {
  padding: 4rem 0;
  background: #f8f6f3;
}

/* Two-column layout: Map left, Nearby right */
.location-wrapper {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
}

@media (max-width: 1024px) {
  .location-wrapper {
    grid-template-columns: 1fr;
  }
}

/* LEFT: Map Container */
.map-container {
  position: sticky;
  top: 100px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0,0,0,0.12);
  background: #fff;
}

.map-iframe {
  width: 100%;
  height: 500px;
  border: none;
  display: block;
}

.map-info-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.8rem 1.2rem;
  background: #fff;
  border-top: 1px solid #eee;
}

.map-center-label {
  font-family: 'Jost', sans-serif;
  font-size: 0.85rem;
  color: #5a4a3a;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.map-center-label strong {
  color: #c4a882;
}

.open-maps-btn {
  background: #c4a882;
  color: #fff;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  text-decoration: none;
  font-family: 'Jost', sans-serif;
  font-size: 0.8rem;
  font-weight: 500;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.open-maps-btn:hover {
  background: #b08d6a;
  transform: translateY(-1px);
}

/* RIGHT: Nearby Panel */
.nearby-panel {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* Filter Buttons */
.map-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.map-filter-btn {
  font-family: 'Jost', sans-serif;
  padding: 0.5rem 1rem;
  border: 1.5px solid #c4a882;
  background: transparent;
  color: #5a4a3a;
  border-radius: 30px;
  cursor: pointer;
  font-size: 0.85rem;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.map-filter-btn:hover,
.map-filter-btn.active {
  background: #c4a882;
  color: #fff;
}

.map-filter-btn .filter-icon {
  font-size: 0.9rem;
}

/* Nearby Cards with Photos */
.nearby-scroll {
  max-height: 500px;
  overflow-y: auto;
  padding-right: 0.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  scroll-behavior: smooth;
}

.nearby-scroll::-webkit-scrollbar {
  width: 6px;
}

.nearby-scroll::-webkit-scrollbar-track {
  background: #f0ebe5;
  border-radius: 10px;
}

.nearby-scroll::-webkit-scrollbar-thumb {
  background: #c4a882;
  border-radius: 10px;
}

.nearby-card {
  display: flex;
  align-items: stretch;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,0.06);
  transition: all 0.3s ease;
  cursor: pointer;
  border: 2px solid transparent;
  text-decoration: none;
  color: inherit;
}

.nearby-card:hover,
.nearby-card.active-place {
  border-color: #c4a882;
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.nearby-card.active-place {
  background: #fdf8f2;
}

.nearby-card-image {
  width: 120px;
  min-width: 120px;
  height: 100px;
  object-fit: cover;
}

.nearby-card-content {
  flex: 1;
  padding: 0.8rem 1rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.nearby-card-category {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-family: 'Jost', sans-serif;
  font-size: 0.75rem;
  color: #c4a882;
  margin-bottom: 0.3rem;
}

.nearby-card-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.15rem;
  color: #2c2c2c;
  margin: 0 0 0.2rem 0;
}

.nearby-card-distance {
  font-family: 'Jost', sans-serif;
  font-size: 0.8rem;
  color: #999;
}

.nearby-card-distance strong {
  color: #c4a882;
}

.nearby-card-arrow {
  display: flex;
  align-items: center;
  padding: 0 1rem;
  color: #c4a882;
  font-size: 1.2rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.nearby-card:hover .nearby-card-arrow,
.nearby-card.active-place .nearby-card-arrow {
  opacity: 1;
}

/* Responsive */
@media (max-width: 1024px) {
  .map-container {
    position: relative;
    top: 0;
  }
  .map-iframe {
    height: 350px;
  }
  .nearby-scroll {
    max-height: 400px;
  }
}

@media (max-width: 768px) {
  .nearby-card-image {
    width: 100px;
    min-width: 100px;
    height: 90px;
  }
  .location-wrapper {
    padding: 0 1rem;
  }
  .nearby-scroll {
    max-height: 350px;
  }
}


/* ============================================
   CONTACT PAGE STYLES
   ============================================ */

.contact-hero {
  position: relative;
  height: 50vh;
  min-height: 400px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.contact-hero-overlay {
  position: absolute;
  inset: 0;
  background: var(--color-overlay);
  z-index: 2;
}

.contact-hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  color: var(--color-nav-text);
}

.contact-hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 300;
  letter-spacing: 0.1em;
  margin-bottom: 0.5rem;
}

.contact-hero-subtitle {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1rem, 2vw, 1.3rem);
  opacity: 0.9;
}

/* Contact Section Layout */
.contact-section {
  padding: 6rem 3rem;
  max-width: 1200px;
  margin: 0 auto;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

@media (max-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

/* Contact Info Side */
.contact-info h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  margin-bottom: 1.5rem;
  color: var(--color-text);
}

.contact-info p {
  font-family: var(--font-body);
  color: var(--color-text-muted);
  line-height: 1.8;
  margin-bottom: 2rem;
  font-size: 1.05rem;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.contact-detail-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.contact-detail-icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  border-radius: 12px;
  background: var(--color-bg-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent);
  font-size: 1.2rem;
}

.contact-detail-text h3,
.contact-detail-text h4 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--color-text);
  margin-bottom: 0.3rem;
}

.contact-detail-text a,
.contact-detail-text span {
  font-family: var(--font-body);
  color: var(--color-text-muted);
  font-size: 0.95rem;
  transition: var(--transition-smooth);
}

.contact-detail-text a:hover {
  color: var(--color-accent);
}

/* Social Links in Contact */
.contact-social {
  display: flex;
  gap: 1rem;
}

.contact-social-link {
  width: 44px;
  height: 44px;
  border: 1.5px solid var(--color-border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-muted);
  transition: var(--transition-smooth);
}

.contact-social-link:hover {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: var(--color-nav-text);
  transform: translateY(-2px);
}

/* Contact Form Side */
.contact-form-wrapper {
  background: var(--color-bg-alt);
  border-radius: 16px;
  padding: 2.5rem;
  box-shadow: 0 10px 40px rgba(0,0,0,0.08);
}

.contact-form-wrapper h2,
.contact-form-wrapper h3 {
  font-family: var(--font-display);
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
  color: var(--color-text);
}

.contact-form-wrapper .form-subtitle {
  font-family: var(--font-body);
  color: var(--color-text-muted);
  font-size: 0.9rem;
  margin-bottom: 2rem;
}

.contact-form .form-group {
  margin-bottom: 1.25rem;
}

.contact-form label {
  display: block;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: 0.4rem;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1.5px solid var(--color-border);
  border-radius: 10px;
  background: #fff;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--color-text);
  transition: var(--transition-smooth);
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 4px rgba(184, 154, 106, 0.12);
}

.contact-form textarea {
  min-height: 120px;
  resize: vertical;
}

.contact-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

@media (max-width: 480px) {
  .contact-form .form-row {
    grid-template-columns: 1fr;
  }
}

.contact-form .submit-btn {
  width: 100%;
  padding: 1rem;
  background: var(--color-accent);
  color: var(--color-nav-text);
  border: none;
  border-radius: 10px;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: var(--transition-smooth);
  margin-top: 0.5rem;
}

.contact-form .submit-btn:hover {
  background: var(--color-accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(184, 154, 106, 0.3);
}

.contact-form .submit-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

/* Success / Error Messages */
.form-message {
  padding: 1rem 1.25rem;
  border-radius: 10px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  margin-bottom: 1rem;
  display: none;
}

.form-message.success {
  background: #e8f5e9;
  color: #2e7d32;
  border: 1px solid #a5d6a7;
  display: block;
}

.form-message.error {
  background: #ffebee;
  color: #c62828;
  border: 1px solid #ef9a9a;
  display: block;
}

/* Quick Response Badge */
.quick-response {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(184, 154, 106, 0.1);
  color: var(--color-accent);
  padding: 0.5rem 1rem;
  border-radius: 30px;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 500;
  margin-top: 1rem;
}

.quick-response .pulse {
  width: 8px;
  height: 8px;
  background: #4caf50;
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(76, 175, 80, 0.7); }
  70% { box-shadow: 0 0 0 8px rgba(76, 175, 80, 0); }
  100% { box-shadow: 0 0 0 0 rgba(76, 175, 80, 0); }
}

/* Map Embed in Contact */
.contact-map {
  margin-top: 3rem;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

.contact-map iframe {
  width: 100%;
  height: 350px;
  border: none;
  display: block;
}

/* ============================================
   VILLA HERO SLIDER
   ============================================ */

.villa-hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
}

.hero-slider {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease;
}

.hero-slide.active {
  opacity: 1;
}

.hero-slide-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* Overlay & Content */
.villa-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(20, 16, 12, 0.25) 0%,
    rgba(20, 16, 12, 0.15) 40%,
    rgba(20, 16, 12, 0.7) 100%
  );
  display: flex;
  align-items: flex-end;
  padding: 4rem 5rem;
  z-index: 2;
}

.villa-hero-content {
  color: var(--color-nav-text);
}

.villa-hero-gem {
  width: 56px;
  height: 56px;
  margin-bottom: 1rem;
  /* hide broken img gracefully */
  font-size: 3rem;
  display: block;
}

.villa-hero-gem[src=""] ,
.villa-hero-gem:not([src]) {
  display: none;
}

.villa-hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 6vw, 5rem);
  font-weight: 300;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
  line-height: 1.1;
}

.villa-hero-subtitle {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1rem, 2vw, 1.4rem);
  opacity: 0.9;
}

/* Dot indicators */
.hero-dots {
  position: absolute;
  bottom: 2rem;
  right: 2.5rem;
  display: flex;
  gap: 0.6rem;
  z-index: 3;
}

.hero-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,0.7);
  background: transparent;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
}

.hero-dot.active {
  background: var(--color-accent);
  border-color: var(--color-accent);
  transform: scale(1.3);
}

/* Arrow buttons (injected by JS) */
.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  background: rgba(30,26,23,0.5);
  border: 1px solid rgba(255,255,255,0.2);
  color: #fff;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(4px);
}

.hero-arrow svg {
  width: 20px;
  height: 20px;
  stroke: #fff;
}

.hero-arrow:hover {
  background: var(--color-accent);
  border-color: var(--color-accent);
}

.hero-arrow-prev { left: 2rem; }
.hero-arrow-next { right: 2rem; }

/* Slide counter */
.hero-slide-counter {
  position: absolute;
  bottom: 2.2rem;
  left: 5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255,255,255,0.8);
  font-family: var(--font-body);
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  z-index: 3;
}

.hero-counter-current {
  color: var(--color-accent);
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.hero-counter-sep {
  width: 28px;
  height: 1px;
  background: rgba(255,255,255,0.5);
  display: inline-block;
}

/* Progress bar */
.hero-progress-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: rgba(255,255,255,0.15);
  z-index: 3;
}

.hero-progress-fill {
  height: 100%;
  background: var(--color-accent);
  width: 0%;
}


/* ============================================
   VILLA FLOOR PLAN LAYOUT
   ============================================ */

.villa-floors-section {
  margin-top: 4rem;
}

.floors-title {
  font-family: var(--font-display);
  font-size: 1.8rem;
  margin-bottom: 2rem;
  color: var(--color-text);
  text-align: center;
}

.floor-level {
  margin-bottom: 2.5rem;
}

.floor-level-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.floor-level-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--color-accent);
  color: #fff;
  padding: 0.4rem 1rem;
  border-radius: 20px;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.floor-level-line {
  flex: 1;
  height: 1px;
  background: rgba(0,0,0,0.1);
}

.floor-items-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.fp-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 1.2rem 1.5rem;
  background: var(--color-bg-alt);
  border-radius: 12px;
  min-width: 120px;
  flex: 1;
  text-align: center;
  border: 1px solid transparent;
  transition: all 0.3s ease;
}

.fp-item:hover {
  border-color: var(--color-accent);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.08);
}

.fp-icon {
  width: 40px;
  height: 40px;
  color: var(--color-accent);
}

.fp-icon svg {
  width: 100%;
  height: 100%;
}

.fp-label {
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--color-text);
  line-height: 1.3;
}

/* Responsive villa hero */
@media (max-width: 768px) {
  .villa-hero {
    height: 75vh;
    min-height: 500px;
  }

  .villa-hero-overlay {
    padding: 2.5rem 1.5rem;
  }

  .hero-slide-counter {
    left: 1.5rem;
  }

  .hero-arrow {
    width: 38px;
    height: 38px;
  }

  .hero-arrow-prev { left: 1rem; }
  .hero-arrow-next { right: 1rem; }

  .fp-item {
    min-width: 90px;
    padding: 1rem;
  }
}


/* ============================================
   TRIPLA BOOKING CTA PANEL
   ============================================ */
.tripla-panel-wrap {
  width: 100%;
}

.tripla-cta-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1.5rem 1rem;
  gap: 0.75rem;
}

.tripla-cta-icon {
  font-size: 2.5rem;
  margin-bottom: 0.25rem;
}

.tripla-cta-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--color-text);
  margin: 0;
}

.tripla-cta-sub {
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: var(--color-text-muted);
  line-height: 1.6;
  margin: 0;
}

.tripla-cta-btn {
  display: inline-block;
  width: 100%;
  padding: 0.9rem 1.5rem;
  background: var(--color-accent);
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: 8px;
  text-align: center;
  transition: var(--transition-smooth);
  margin-top: 0.5rem;
}

.tripla-cta-btn:hover {
  background: var(--color-accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(184,154,106,0.35);
}

.tripla-cta-wa {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-body);
  font-size: 0.82rem;
  color: var(--color-text-muted);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: var(--transition-smooth);
}

.tripla-cta-wa:hover {
  color: #25D366;
}

/* reset panel width back to compact since no iframe */
.booking-panel {
  width: 320px;
}

@media (max-width: 768px) {
  .booking-panel {
    width: 100%;
  }
}
/* ============================================
   LANG & CURRENCY DROPDOWN
   ============================================ */

/* Replace old .lang-currency */
.lang-currency {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--color-nav-text);
  font-size: 0.8rem;
  cursor: pointer;
  z-index: 1050;
}

.lc-trigger {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.7rem;
  border: 1px solid rgba(240, 234, 224, 0.25);
  border-radius: 20px;
  background: rgba(255,255,255,0.05);
  color: var(--color-nav-text);
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: var(--transition-smooth);
  white-space: nowrap;
  user-select: none;
}

.lc-trigger:hover {
  background: rgba(255,255,255,0.12);
  border-color: rgba(240, 234, 224, 0.45);
}

.lc-trigger .lc-caret {
  width: 10px;
  height: 10px;
  transition: transform 0.25s ease;
  opacity: 0.7;
}

.lang-currency.open .lc-caret {
  transform: rotate(180deg);
}

/* Dropdown panel */
.lc-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: 300px;
  background: var(--color-nav-bg);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  box-shadow: 0 16px 48px rgba(0,0,0,0.4);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px);
  transition: opacity 0.22s ease, transform 0.22s ease;
  overflow: hidden;
}

.lang-currency.open .lc-dropdown {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0);
}

/* Tabs */
.lc-tabs {
  display: flex;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

.lc-tab {
  flex: 1;
  padding: 0.7rem;
  text-align: center;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(240, 234, 224, 0.45);
  cursor: pointer;
  transition: var(--transition-smooth);
  border-bottom: 2px solid transparent;
}

.lc-tab.active {
  color: var(--color-accent);
  border-bottom-color: var(--color-accent);
}

/* Panel content */
.lc-panel {
  display: none;
  max-height: 260px;
  overflow-y: auto;
  padding: 0.5rem;
  /* Custom scrollbar */
  scrollbar-width: thin;
  scrollbar-color: rgba(184,154,106,0.4) transparent;
}

.lc-panel::-webkit-scrollbar {
  width: 4px;
}
.lc-panel::-webkit-scrollbar-track {
  background: transparent;
}
.lc-panel::-webkit-scrollbar-thumb {
  background: rgba(184,154,106,0.4);
  border-radius: 4px;
}

.lc-panel.active {
  display: block;
}

/* Option row */
.lc-option {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.6rem 0.8rem;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.15s ease;
  color: var(--color-nav-text);
}

.lc-option:hover {
  background: rgba(255,255,255,0.06);
}

.lc-option.selected {
  background: rgba(184,154,106,0.15);
}

.lc-option.selected::after {
  content: '✓';
  margin-left: auto;
  color: var(--color-accent);
  font-size: 0.75rem;
}

.lc-flag {
  font-size: 1.2rem;
  line-height: 1;
  flex-shrink: 0;
}

.lc-info {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.lc-name {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--color-nav-text);
}

.lc-sub {
  font-family: var(--font-body);
  font-size: 0.7rem;
  color: rgba(240, 234, 224, 0.45);
}

/* Rate badge on currency options */
.lc-rate {
  margin-left: auto;
  font-family: var(--font-body);
  font-size: 0.68rem;
  color: rgba(240, 234, 224, 0.4);
  white-space: nowrap;
  flex-shrink: 0;
}

/* Translate status bar */
.lc-translate-bar {
  padding: 0.6rem 1rem;
  background: rgba(184,154,106,0.08);
  border-top: 1px solid rgba(255,255,255,0.06);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-size: 0.7rem;
  color: rgba(240, 234, 224, 0.5);
}

.lc-translate-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #4caf50;
  flex-shrink: 0;
  animation: pulse-dot 2s infinite;
}

.lc-translate-dot.loading {
  background: var(--color-accent);
  animation: pulse-dot 0.6s infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

/* Mobile: hide lang-currency in navbar, show in drawer */
@media (max-width: 768px) {
  .lang-currency {
    display: none;
  }

  .mobile-drawer .lc-mobile-wrap {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255,255,255,0.1);
  }

  .mobile-drawer .lc-mobile-label {
    font-family: var(--font-body);
    font-size: 0.7rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(240, 234, 224, 0.4);
    margin-bottom: 0.75rem;
  }

  .mobile-drawer .lc-mobile-selects {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
  }

  /* Custom dropdown — pakai div bukan select agar warna bisa dikontrol */
  .lc-mobile-field {
    position: relative;
  }

  .lc-mobile-btn {
    width: 100%;
    padding: 0.65rem 2.2rem 0.65rem 0.9rem;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 8px;
    color: #F0EAE0;
    font-family: var(--font-body);
    font-size: 0.85rem;
    text-align: left;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: background 0.2s ease;
  }

  .lc-mobile-btn:active {
    background: rgba(255,255,255,0.13);
  }

  .lc-mobile-btn::after {
    content: '';
    position: absolute;
    right: 0.9rem;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 5px solid rgba(240, 234, 224, 0.5);
    pointer-events: none;
  }

  .lc-mobile-list {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 4px);
    background: #1E1A17;
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 8px;
    z-index: 2000;
    max-height: 200px;
    overflow-y: auto;
    box-shadow: 0 8px 24px rgba(0,0,0,0.5);
    scrollbar-width: thin;
    scrollbar-color: rgba(184,154,106,0.4) transparent;
  }

  .lc-mobile-list.open {
    display: block;
  }

  .lc-mobile-list-item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.6rem 0.9rem;
    color: #F0EAE0;
    font-family: var(--font-body);
    font-size: 0.82rem;
    cursor: pointer;
    transition: background 0.15s ease;
  }

  .lc-mobile-list-item:hover,
  .lc-mobile-list-item:active {
    background: rgba(255,255,255,0.07);
  }

  .lc-mobile-list-item.selected {
    background: rgba(184,154,106,0.15);
    color: var(--color-accent);
  }

  .lc-mobile-list-item .lc-item-flag {
    font-size: 1rem;
    flex-shrink: 0;
  }
}

/* Translating overlay */
#translate-overlay {
  position: fixed;
  inset: 0;
  background: rgba(30, 26, 23, 0.6);
  z-index: 9998;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

#translate-overlay.show {
  opacity: 1;
  pointer-events: all;
}

.translate-spinner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  color: var(--color-nav-text);
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-style: italic;
}

.translate-spinner::before {
  content: '';
  width: 32px;
  height: 32px;
  border: 2px solid rgba(184,154,106,0.3);
  border-top-color: var(--color-accent);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}
/* ============================================
   GUEST REVIEWS — INFINITE CAROUSEL
   ============================================ */

.reviews-section {
  background: var(--color-bg-alt);
  padding: 7rem 0;
  overflow: hidden;
}

.reviews-inner {
  max-width: 1400px;
  margin: 0 auto;
}

.reviews-header {
  text-align: center;
  padding: 0 2rem;
  margin-bottom: 4rem;
}

.reviews-label {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 1rem;
}

.reviews-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400;
  color: var(--color-text);
  margin-bottom: 0.75rem;
}

.reviews-subtitle {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--color-text-muted);
}

/* Track wrapper with fade edges */
.reviews-track-wrapper {
  position: relative;
  overflow: hidden;
}

.reviews-fade {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 140px;
  z-index: 2;
  pointer-events: none;
}

.reviews-fade-left {
  left: 0;
  background: linear-gradient(to right, var(--color-bg-alt) 0%, transparent 100%);
}

.reviews-fade-right {
  right: 0;
  background: linear-gradient(to left, var(--color-bg-alt) 0%, transparent 100%);
}

/* The scrolling track */
.reviews-track {
  display: flex;
  gap: 1.5rem;
  padding: 1.5rem 0;
  width: max-content;
  animation: reviewsScroll 36s linear infinite;
}

.reviews-track:hover {
  animation-play-state: paused;
}

@keyframes reviewsScroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Individual review card */
.review-card {
  flex-shrink: 0;
  width: 380px;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  padding: 2.2rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  position: relative;
  transition: var(--transition-smooth);
}

.review-card::before {
  content: '"';
  position: absolute;
  top: 1.2rem;
  right: 1.8rem;
  font-family: var(--font-display);
  font-size: 5rem;
  line-height: 1;
  color: var(--color-accent);
  opacity: 0.12;
}

.review-card--featured {
  background: var(--color-nav-bg);
  border-color: var(--color-accent);
}

.review-card--featured .review-text,
.review-card--featured .review-name {
  color: var(--color-nav-text);
}

.review-card--featured .review-meta {
  color: rgba(240, 234, 224, 0.5);
}

.review-card--featured .review-avatar {
  background: var(--color-accent);
  color: #fff;
}

.review-card--featured::before {
  opacity: 0.18;
  color: var(--color-accent);
}

.review-stars {
  font-size: 1rem;
  color: var(--color-accent);
  letter-spacing: 0.05em;
}

.review-text {
  font-family: var(--font-display);
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--color-text);
  font-weight: 300;
  font-style: italic;
  flex: 1;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-top: 0.3rem;
}

.review-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--color-accent);
  flex-shrink: 0;
}

.review-name {
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--color-text);
}

.review-meta {
  font-family: var(--font-body);
  font-size: 0.75rem;
  color: var(--color-text-muted);
  margin-top: 2px;
}

.review-platform-link {
  display: flex;
  align-items: center;
  gap: 5px;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  border-top: 1px solid var(--color-border);
  padding-top: 0.9rem;
  text-decoration: none;
  transition: var(--transition-smooth);
}

.review-platform-link:hover {
  color: var(--color-accent);
}

.review-platform-link--dark {
  border-top-color: rgba(240, 234, 224, 0.1);
  color: rgba(240, 234, 224, 0.4);
}

.review-platform-link--dark:hover {
  color: var(--color-accent);
}

.review-gmaps-icon {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

/* Trust bar */
.reviews-trust {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  margin-top: 4rem;
  padding: 2.5rem 2rem;
  border-top: 1px solid var(--color-border);
  flex-wrap: wrap;
}

.trust-divider {
  width: 1px;
  height: 40px;
  background: var(--color-border);
}

.trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
  text-align: center;
}

.trust-score {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 400;
  color: var(--color-text);
  line-height: 1;
}

.trust-stars {
  font-size: 0.85rem;
  color: var(--color-accent);
  letter-spacing: 0.04em;
}

.trust-label {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

/* Google Maps badge in trust bar */
.trust-gmaps-badge {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.trust-gmaps-logo {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
}

.trust-gmaps-info {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.trust-gmaps-name {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.trust-gmaps-stars {
  font-size: 0.9rem;
  color: var(--color-accent);
  letter-spacing: 0.04em;
}

.trust-gmaps-stars span {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--color-text);
  margin-left: 4px;
}

/* See all reviews link */
.trust-see-all {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-accent);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
  transition: var(--transition-smooth);
}

.trust-see-all:hover {
  border-bottom-color: var(--color-accent);
  color: var(--color-accent-hover);
}

@media (max-width: 768px) {
  .review-card {
    width: 300px;
    padding: 1.6rem 1.5rem;
  }

  .reviews-fade {
    width: 60px;
  }

  .reviews-trust {
    gap: 1.2rem;
  }

  .trust-score {
    font-size: 1.8rem;
  }

  .trust-divider {
    height: 30px;
  }

  .trust-see-all {
    width: 100%;
    justify-content: center;
    margin-top: 0.5rem;
  }
}