/* =============================================
   Villa Padi Ciletuh — Stylesheet
   ============================================= */

:root {
  --forest: #1B4332;
  --forest-mid: #2D6A4F;
  --forest-light: #52B788;
  --gold: #C9A84C;
  --gold-light: #E9C46A;
  --cream: #FAF7F2;
  --cream-dark: #F0EBE3;
  --text: #1A1A1A;
  --text-muted: #6B6B5E;
  --white: #FFFFFF;
  --shadow-sm: 0 2px 8px rgba(27, 67, 50, 0.08);
  --shadow-md: 0 8px 24px rgba(27, 67, 50, 0.12);
  --shadow-lg: 0 20px 60px rgba(27, 67, 50, 0.18);
  --radius: 12px;
  --radius-lg: 20px;
  --transition: 0.3s ease;
}

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

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background: var(--cream);
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

ul {
  list-style: none;
}

/* ----- Typography helpers ----- */
.section-eyebrow {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.5rem;
}

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 700;
  color: var(--forest);
  line-height: 1.2;
  margin-bottom: 1rem;
}

.section-desc {
  color: var(--text-muted);
  font-size: 1rem;
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}

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

.section {
  padding: 5rem 0;
}

.section-alt {
  background: var(--cream-dark);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* =============================================
   NAVBAR
   ============================================= */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1.2rem 0;
  transition: background var(--transition), box-shadow var(--transition), padding var(--transition);
}

.navbar.scrolled {
  background: rgba(27, 67, 50, 0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 0.7rem 0;
  box-shadow: var(--shadow-md);
}

.navbar.menu-open {
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.nav-logo {
  display: flex;
  align-items: center;
}

.nav-logo-img {
  height: 54px;
  width: auto;
  display: block;
  object-fit: contain;
}

.footer-logo-img {
  height: 52px;
  margin-bottom: 0.75rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.nav-links a {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.88rem;
  font-weight: 500;
  transition: color var(--transition);
}

.nav-links a:hover {
  color: var(--white);
}

.btn-nav-book {
  background: var(--gold) !important;
  color: var(--forest) !important;
  padding: 0.5rem 1.2rem !important;
  border-radius: 50px !important;
  font-weight: 700 !important;
  font-size: 0.82rem !important;
  white-space: nowrap;
  transition: background var(--transition), transform var(--transition) !important;
}

.btn-nav-book:hover {
  background: var(--gold-light) !important;
  transform: translateY(-1px);
}

/* Language toggle */
.nav-right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.lang-toggle {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(255, 255, 255, 0.12);
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  color: rgba(255, 255, 255, 0.9);
  padding: 0.4rem 0.8rem;
  border-radius: 50px;
  font-family: 'Inter', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: background var(--transition), border-color var(--transition);
  min-height: 44px;
}

.lang-toggle:hover {
  background: rgba(255, 255, 255, 0.22);
  border-color: rgba(255, 255, 255, 0.5);
}

#langFlag {
  font-size: 1.15rem;
  line-height: 1;
}

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

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

.nav-toggle.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* =============================================
   HERO
   ============================================= */
.hero {
  position: relative;
  height: 100svh;
  min-height: 620px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  opacity: 0.85;
}

.hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.5s ease;
}

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

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(10, 28, 18, 0.65) 0%, rgba(10, 28, 18, 0.7) 20%, rgba(10, 28, 18, 0.75) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 2.5rem 3rem;
  max-width: 1020px;
  /* background: rgba(0, 0, 0, 0.1);
  border-radius: 16px;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px); */
}

.hero-eyebrow {
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 1rem;
}

.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.6rem, 7vw, 5rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 1.25rem;
}

.hero-title em {
  font-style: italic;
  color: var(--gold-light);
}

.hero-desc {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.85);
  max-width: 560px;
  margin: 0 auto 2rem;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #25D366;
  color: var(--white);
  padding: 0.85rem 1.8rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  min-height: 48px;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
}

.btn-primary:hover {
  background: #1EBA5A;
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(37, 211, 102, 0.5);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  padding: 0.85rem 1.8rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  min-height: 48px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: background var(--transition), border-color var(--transition);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.22);
  border-color: rgba(255, 255, 255, 0.7);
}

.hero-badges {
  display: inline-flex;
  align-items: center;
  gap: 1.5rem;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 16px;
  padding: 1rem 2rem;
}

.badge {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-align: left;
}

.badge-score-wrap {
  display: flex;
  align-items: baseline;
  gap: 1px;
  line-height: 1;
}

.badge-num {
  font-family: 'Playfair Display', serif;
  font-size: 1.65rem;
  font-weight: 700;
  color: var(--gold-light);
  line-height: 1;
}

.badge-denom {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.5);
  font-weight: 500;
}

.badge-right {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.badge-stars {
  font-size: 0.6rem;
  color: var(--gold);
  letter-spacing: 0.5px;
  line-height: 1;
}

.badge-platform {
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.78);
  font-weight: 500;
  line-height: 1;
}

.badge-sep {
  width: 1px;
  height: 36px;
  background: rgba(255, 255, 255, 0.18);
}

.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  background: rgba(0, 0, 0, 0.28);
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  color: rgba(255, 255, 255, 0.85);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition), border-color var(--transition), transform var(--transition);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.hero-arrow:hover {
  background: rgba(0, 0, 0, 0.52);
  border-color: rgba(255, 255, 255, 0.55);
  transform: translateY(-50%) scale(1.08);
}

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

.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.55);
  font-size: 1.1rem;
  z-index: 2;
  animation: bounce 2.4s infinite;
}

@keyframes bounce {

  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }

  50% {
    transform: translateX(-50%) translateY(8px);
  }
}

/* =============================================
   RATINGS SECTION
   ============================================= */
.ratings-section {
  background: var(--forest);
  padding: 2.5rem 0;
}

.ratings-inner {
  display: flex;
  align-items: center;
  gap: 3rem;
}

.ratings-score {
  flex-shrink: 0;
  text-align: center;
  min-width: 180px;
}

.score-stars {
  color: var(--gold);
  font-size: 1.1rem;
  display: flex;
  justify-content: center;
  gap: 0.2rem;
  margin-bottom: 0.5rem;
}

.score-num-row {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.2rem;
}

.score-big {
  font-family: 'Playfair Display', serif;
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--gold-light);
  line-height: 1;
}

.score-denom {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.6);
  font-weight: 500;
}

.score-label {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--white);
  margin-top: 0.3rem;
}

.score-desc {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.55);
  margin-top: 0.2rem;
}

.ratings-vdivider {
  width: 1px;
  height: 100px;
  background: rgba(255, 255, 255, 0.15);
  flex-shrink: 0;
}

.ratings-platforms-wrap {
  flex: 1;
}

.ratings-find-label {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 1rem;
}

.platform-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.platform-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  padding: 0.85rem 1.2rem;
  min-width: 120px;
  text-align: center;
  transition: background var(--transition), border-color var(--transition), transform var(--transition);
}

.platform-card:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: var(--gold);
  transform: translateY(-3px);
}

.pc-logo {
  font-weight: 700;
  font-size: 0.82rem;
  padding: 0.3rem 0.75rem;
  border-radius: 6px;
  color: white;
  letter-spacing: 0.02em;
}

.pc-logo.traveloka {
  background: #0064D2;
}

.pc-logo.agoda {
  background: #E61E4D;
}

.pc-logo.tiket {
  background: #EB5757;
}

.pc-logo.gmaps {
  background: #4285F4;
}

.pc-score {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--gold-light);
}

.pc-score i {
  margin-right: 0.2rem;
}

.pc-action {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.6);
}

/* =============================================
   ABOUT
   ============================================= */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4.5rem;
  align-items: center;
}

.about-images {
  position: relative;
}

.about-img-main {
  width: 100%;
  height: 540px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.about-img-float {
  position: absolute;
  bottom: -2.5rem;
  right: -2.5rem;
  width: 190px;
  height: 190px;
  object-fit: cover;
  border-radius: var(--radius);
  border: 4px solid var(--white);
  box-shadow: var(--shadow-md);
}

.about-content .section-title {
  text-align: left;
}

.about-content .section-eyebrow {
  text-align: left;
}

.about-desc {
  color: var(--text-muted);
  margin-bottom: 1rem;
  font-size: 1rem;
  line-height: 1.75;
}

.about-features {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  margin: 1.5rem 0 2rem;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 0.9rem;
  color: var(--text);
}

.feature-item i {
  color: var(--forest-mid);
  width: 16px;
  flex-shrink: 0;
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: 2px solid var(--forest);
  color: var(--forest);
  padding: 0.75rem 1.6rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9rem;
  min-height: 48px;
  transition: background var(--transition), color var(--transition);
}

.btn-outline:hover {
  background: var(--forest);
  color: var(--white);
}

/* =============================================
   ROOMS
   ============================================= */
.price-toggle {
  display: inline-flex;
  background: var(--cream-dark);
  border-radius: 50px;
  padding: 4px;
  margin-top: 1.5rem;
  box-shadow: inset 0 1px 4px rgba(0, 0, 0, 0.07);
}

.toggle-btn {
  padding: 0.6rem 1.4rem;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
  background: transparent;
  font-family: 'Inter', sans-serif;
  transition: background var(--transition), color var(--transition), box-shadow var(--transition);
  min-height: 44px;
  line-height: 1.2;
}

.toggle-sub {
  font-weight: 400;
  font-size: 0.78rem;
  display: block;
  opacity: 0.7;
}

.toggle-btn.active {
  background: var(--forest);
  color: var(--white);
  box-shadow: 0 2px 10px rgba(27, 67, 50, 0.3);
}

.rooms-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.75rem;
}

.room-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}

.room-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.room-card.featured {
  border: 2px solid var(--gold);
}

.room-img-wrap {
  position: relative;
  height: 230px;
  overflow: hidden;
}

.room-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.5s ease;
}

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

.rs-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--white);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 0.72rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition), background var(--transition);
}

.room-img-wrap:hover .rs-arrow {
  opacity: 1;
}

.rs-arrow:hover {
  background: rgba(0, 0, 0, 0.58);
}

.rs-prev { left: 0.5rem; }
.rs-next { right: 0.5rem; }

.rs-dots {
  position: absolute;
  bottom: 0.55rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 5px;
  z-index: 2;
}

.rs-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
  transition: background var(--transition);
}

.rs-dot.active {
  background: var(--white);
}

.room-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: var(--gold);
  color: var(--forest);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 0.3rem 0.85rem;
  border-radius: 50px;
}

.room-body {
  padding: 1.5rem;
}

.room-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
}

.room-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--forest);
}

.room-capacity {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

.room-capacity i {
  color: var(--forest-light);
  margin-right: 0.2rem;
}

.room-price {
  text-align: right;
  flex-shrink: 0;
}

.price-amount {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--forest);
  transition: color 0.2s;
}

.price-note {
  font-size: 0.7rem;
  color: var(--text-muted);
}

.room-views {
  font-size: 0.82rem;
  color: var(--forest-mid);
  margin-bottom: 1rem;
  line-height: 1.55;
}

.room-views i {
  margin-right: 0.3rem;
}

.room-amenities {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 1.25rem;
}

.room-amenities li {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  background: var(--cream);
  padding: 0.28rem 0.7rem;
  border-radius: 50px;
  font-size: 0.77rem;
  color: var(--text);
}

.room-amenities li i {
  color: var(--forest-mid);
  font-size: 0.7rem;
}

.btn-book-room {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  background: var(--forest);
  color: var(--white);
  padding: 0.8rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.9rem;
  min-height: 48px;
  transition: background var(--transition);
}

.btn-book-room:hover {
  background: var(--forest-mid);
}

.btn-book-room i {
  font-size: 1.15rem;
  color: #4ADE80;
}

.extrabed-note {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: var(--white);
  border: 1.5px solid var(--cream-dark);
  border-radius: var(--radius);
  padding: 1.1rem 1.5rem;
  margin-top: 1.75rem;
  font-size: 0.9rem;
  box-shadow: var(--shadow-sm);
}

.extrabed-note i {
  color: var(--forest-mid);
  font-size: 1.3rem;
  flex-shrink: 0;
}

/* =============================================
   FACILITIES — FLIP CARDS
   ============================================= */
.facilities-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.facility-card {
  perspective: 1200px;
  cursor: pointer;
  height: 240px;
  border-radius: var(--radius);
}

.facility-card:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.fc-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform 0.65s cubic-bezier(0.4, 0.2, 0.2, 1);
  border-radius: var(--radius);
}

.facility-card.flipped .fc-inner {
  transform: rotateY(180deg);
}

.fc-front,
.fc-back {
  position: absolute;
  inset: 0;
  border-radius: var(--radius);
  overflow: hidden;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.fc-front {
  background: var(--white);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.4rem 1rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition);
}

.facility-card:hover .fc-front {
  box-shadow: var(--shadow-md);
}

.fc-back {
  transform: rotateY(180deg);
}

.fc-back img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.78;
  display: block;
}

.fc-back-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(10, 30, 20, 0.9));
  padding: 1.5rem 1rem 0.9rem;
}

.fc-back-label h4 {
  font-family: 'Playfair Display', serif;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--white);
  margin: 0;
}

.fc-hint {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  margin-top: 0.6rem;
  font-size: 0.65rem;
  color: var(--text-muted);
  opacity: 0.6;
  flex-shrink: 0;
}

.fc-hint i {
  font-size: 0.6rem;
}

.facility-icon {
  width: 52px;
  height: 52px;
  flex-shrink: 0;
  background: linear-gradient(135deg, var(--forest), var(--forest-mid));
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.7rem;
}

.facility-icon i {
  color: var(--white);
  font-size: 1.2rem;
}

.fc-front h4 {
  font-family: 'Playfair Display', serif;
  font-size: 0.92rem;
  color: var(--forest);
  margin-bottom: 0.3rem;
}

.fc-front p {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* =============================================
   NEARBY
   ============================================= */
.nearby-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.nearby-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}

.nearby-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.nearby-img-wrap {
  height: 210px;
  overflow: hidden;
}

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

.nearby-card:hover .nearby-img {
  transform: scale(1.06);
}

.nearby-info {
  padding: 1.3rem;
}

.nearby-dist {
  font-size: 0.73rem;
  color: var(--gold);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.nearby-dist i {
  margin-right: 0.25rem;
}

.nearby-info h4 {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  color: var(--forest);
  margin: 0.35rem 0 0.5rem;
}

.nearby-info p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* =============================================
   BOOKING
   ============================================= */
.booking-options {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 660px;
  margin: 0 auto;
}

.booking-option {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  background: var(--white);
  border: 1.5px solid var(--cream-dark);
  border-radius: var(--radius);
  padding: 1.1rem 1.5rem;
  min-height: 72px;
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}

.booking-option:hover {
  border-color: var(--forest-light);
  box-shadow: var(--shadow-md);
  transform: translateX(5px);
}

.booking-option.booking-wa {
  border-color: #86efac;
  background: #f0fdf4;
}

.booking-option.booking-wa:hover {
  border-color: #4ADE80;
}

.booking-platform-icon {
  font-size: 1.9rem;
  flex-shrink: 0;
}

.booking-option .fa-whatsapp {
  color: #25D366;
}

.booking-text {
  flex: 1;
}

.booking-text strong {
  display: block;
  font-size: 0.95rem;
  color: var(--text);
  margin-bottom: 0.15rem;
}

.booking-text span {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.booking-arrow {
  color: var(--text-muted);
  font-size: 0.85rem;
  flex-shrink: 0;
}

.platform-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1rem;
  flex-shrink: 0;
  color: white;
}

.platform-icon.agoda {
  background: #E61E4D;
}

.platform-icon.traveloka {
  background: #0064D2;
}

.platform-icon.tiket {
  background: #EB5757;
  font-size: 0.8rem;
}

/* =============================================
   CONTACT
   ============================================= */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 3rem;
  align-items: stretch;
}

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

.contact-icon {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--forest), var(--forest-mid));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-icon i {
  color: var(--white);
  font-size: 1rem;
}

.contact-item h4 {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 0.3rem;
  font-weight: 600;
}

.contact-item p,
.contact-item a {
  font-size: 0.93rem;
  color: var(--text);
  line-height: 1.65;
}

.contact-item a:hover {
  color: var(--forest-mid);
}

.social-links {
  display: flex;
  gap: 0.75rem;
  margin-top: 1rem;
  flex-wrap: wrap;
}

.social-link {
  width: 44px;
  height: 44px;
  background: var(--cream-dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--forest);
  font-size: 1rem;
  transition: background var(--transition), color var(--transition);
}

.social-link:hover {
  background: var(--forest);
  color: var(--white);
}

.contact-map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 420px;
  box-shadow: var(--shadow-md);
}

.contact-map iframe {
  width: 100%;
  height: 100%;
  min-height: 420px;
  display: block;
}

/* =============================================
   FOOTER
   ============================================= */
.footer {
  background: var(--forest);
  color: rgba(255, 255, 255, 0.78);
  padding: 3.5rem 0 0;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.4fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo-link {
  margin-bottom: 1rem;
  display: inline-flex;
}

.footer-brand p {
  font-size: 0.85rem;
  line-height: 1.65;
  max-width: 260px;
}

.footer-links h5,
.footer-social h5 {
  font-size: 0.73rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
  font-weight: 600;
}

.footer-links ul {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.footer-links a {
  font-size: 0.87rem;
  color: rgba(255, 255, 255, 0.65);
  transition: color var(--transition);
}

.footer-links a:hover {
  color: var(--white);
}

.footer-social .social-links {
  margin-top: 0;
}

.footer-social .social-link {
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.75);
}

.footer-social .social-link:hover {
  background: var(--gold);
  color: var(--forest);
}

.footer-contact-quick {
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-contact-link {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.6);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: color var(--transition);
}

.footer-contact-link:hover {
  color: var(--white);
}

.footer-contact-link i {
  color: var(--gold);
}

.footer-bottom {
  padding: 1.25rem 0;
  text-align: center;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.35);
}

/* =============================================
   FLOATING WHATSAPP
   ============================================= */
.wa-float {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  width: 58px;
  height: 58px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  color: var(--white);
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.5);
  z-index: 900;
  transition: transform var(--transition), box-shadow var(--transition);
  animation: pulse-wa 3.5s infinite;
}

.wa-float:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 32px rgba(37, 211, 102, 0.65);
  animation: none;
}

@keyframes pulse-wa {

  0%,
  100% {
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.5);
  }

  50% {
    box-shadow: 0 4px 32px rgba(37, 211, 102, 0.8), 0 0 0 14px rgba(37, 211, 102, 0.08);
  }
}

/* =============================================
   SCROLL FADE-IN
   ============================================= */
.fade-in {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* =============================================
   RESPONSIVE — 1024px
   ============================================= */
@media (max-width: 1024px) {
  .facilities-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }

  .about-grid {
    gap: 3rem;
  }

  .about-img-main {
    height: 460px;
  }

  .ratings-inner {
    gap: 2rem;
  }

  .platform-card {
    min-width: 100px;
  }
}

/* =============================================
   RESPONSIVE — 768px
   ============================================= */
@media (max-width: 768px) {

  /* Mobile nav overlay */
  .nav-links {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(22, 58, 40, 0.99);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1.75rem;
    z-index: 1001;
    padding: 2rem;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-toggle.open {
    position: fixed;
    top: 1.05rem;
    right: 1.5rem;
    z-index: 1002;
  }

  .nav-links a {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
  }

  .btn-nav-book {
    font-size: 1.1rem !important;
    padding: 0.75rem 2rem !important;
    margin-top: 0.5rem;
  }

  .nav-toggle {
    display: flex;
  }

  /* Ratings section stacked */
  .ratings-inner {
    flex-direction: column;
    gap: 1.75rem;
    text-align: center;
  }

  .ratings-vdivider {
    width: 60px;
    height: 1px;
  }

  .platform-cards {
    justify-content: center;
  }

  .platform-card {
    min-width: 110px;
    flex: 1;
  }

  /* About */
  .about-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .about-images {
    order: -1;
  }

  .about-img-main {
    height: 300px;
  }

  .about-img-float {
    display: none;
  }

  .about-content .section-title,
  .about-content .section-eyebrow {
    text-align: center;
  }

  .about-features {
    align-items: flex-start;
  }

  .about-content {
    text-align: center;
  }

  /* Rooms */
  .rooms-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .room-header {
    flex-direction: column;
    gap: 0.5rem;
  }

  .room-price {
    text-align: left;
  }

  /* Facilities */
  .facilities-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

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

  /* Booking */
  .booking-option {
    padding: 1rem 1.1rem;
  }

  /* Contact */
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .contact-map {
    min-height: 300px;
  }

  .contact-map iframe {
    min-height: 300px;
  }

  /* Hero badges */
  .hero-badges {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 1rem;
    padding: 0.9rem 1.25rem;
    justify-content: center;
  }

  .badge-sep {
    display: none;
  }

  .badge {
    flex-direction: row;
  }

  /* Footer */
  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }

  /* Section padding */
  .section {
    padding: 3.5rem 0;
  }
}

/* =============================================
   RESPONSIVE — 480px
   ============================================= */
@media (max-width: 480px) {
  .container {
    padding: 0 1rem;
  }

  .section {
    padding: 3rem 0;
  }

  /* Hero */
  .hero-title {
    font-size: clamp(2rem, 9vw, 3rem);
  }

  .hero-desc {
    font-size: 0.9rem;
  }

  .hero-badges {
    gap: 0.75rem;
    padding: 0.8rem 1rem;
  }

  .badge-num {
    font-size: 1.4rem;
  }

  .badge-label {
    font-size: 0.63rem;
  }

  .btn-primary,
  .btn-secondary {
    padding: 0.8rem 1.4rem;
    font-size: 0.9rem;
    width: 100%;
    justify-content: center;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  /* Ratings */
  .score-big {
    font-size: 2.75rem;
  }

  .platform-cards {
    gap: 0.5rem;
  }

  .platform-card {
    padding: 0.7rem 0.8rem;
    min-width: 80px;
  }

  .pc-logo {
    font-size: 0.75rem;
    padding: 0.25rem 0.6rem;
  }

  /* Rooms */
  .room-img-wrap {
    height: 200px;
  }

  .room-amenities li {
    font-size: 0.72rem;
  }

  /* Facilities */
  .facilities-grid {
    grid-template-columns: 1fr 1fr;
    gap: 0.85rem;
  }

  .facility-card {
    height: 210px;
  }

  .fc-front {
    padding: 1.1rem 0.85rem;
  }

  .facility-icon {
    width: 44px;
    height: 44px;
    margin-bottom: 0.5rem;
  }

  .facility-icon i {
    font-size: 1rem;
  }

  .fc-front h4 {
    font-size: 0.85rem;
  }

  .fc-front p {
    font-size: 0.74rem;
  }

  /* Footer */
  .footer-top {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  /* Price toggle */
  .price-toggle {
    width: 100%;
  }

  .toggle-btn {
    flex: 1;
    text-align: center;
  }

  /* Contact */
  .contact-item a {
    word-break: break-all;
  }
}

#langFlag {
  font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif;
  font-size: 16px;
  line-height: 1;
}

.lang-toggle {
  display: flex;
  align-items: center;
  gap: 6px;
}

/* =============================================
   GALLERY SECTION
   ============================================= */
.gallery-masonry {
  columns: 3;
  column-gap: 0.85rem;
}

.gallery-item {
  break-inside: avoid;
  margin-bottom: 0.85rem;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: zoom-in;
}

.gallery-item img {
  width: 100%;
  display: block;
  transition: transform 0.45s ease;
}

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

@media (max-width: 768px) {
  .gallery-masonry {
    columns: 2;
    column-gap: 0.6rem;
  }
  .gallery-item {
    margin-bottom: 0.6rem;
  }
}

@media (max-width: 480px) {
  .gallery-masonry {
    column-gap: 0.5rem;
  }
  .gallery-item {
    margin-bottom: 0.5rem;
  }
}

/* =============================================
   FAQ SECTION
   ============================================= */
.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  max-width: 900px;
  margin: 0 auto;
}

.faq-item {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  border: 1px solid transparent;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.faq-item[open] {
  border-color: var(--gold);
  box-shadow: var(--shadow-md);
}

.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 1.3rem;
  font-weight: 600;
  font-size: 0.93rem;
  color: var(--text);
  cursor: pointer;
  list-style: none;
  user-select: none;
}

.faq-q::-webkit-details-marker { display: none; }

.faq-q::after {
  content: '+';
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  background: var(--forest);
  color: var(--white);
  border-radius: 50%;
  font-size: 1rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--transition), background var(--transition);
}

.faq-item[open] .faq-q::after {
  content: '−';
  background: var(--gold);
  transform: rotate(0deg);
}

.faq-a {
  padding: 0 1.3rem 1.1rem;
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.7;
  border-top: 1px solid var(--cream-dark);
  padding-top: 0.9rem;
}

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