@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;700;800;900&display=swap');

:root {
  /* Warm Amber/Brown Palette */
  --clr-primary: #6f4315;
  --clr-primary-variant: #8b5a2b;
  --clr-primary-fixed: #ffdcc1;
  --clr-on-primary-fixed: #2e1500;
  
  --clr-bg: #fff8f5;
  --clr-bg-alt: #f5ece7;
  
  --clr-surface: #ffffff;
  --clr-surface-variant: #e9e1dc;
  
  --clr-text: #1e1b18;
  --clr-text-muted: #51443a;
  
  --clr-outline: rgba(131, 116, 105, 0.15);
  
  --font-main: 'Outfit', sans-serif;
  
  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --shadow-sm: 0 4px 6px -1px rgba(111, 67, 21, 0.05);
  --shadow-md: 0 10px 25px -5px rgba(111, 67, 21, 0.08);
  --shadow-lg: 0 25px 50px -12px rgba(111, 67, 21, 0.12);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  width: 100%;
}

body {
  font-family: var(--font-main);
  background-color: var(--clr-bg);
  color: var(--clr-text);
  line-height: 1.6;
  overflow-x: hidden;
  width: 100%;
  -webkit-font-smoothing: antialiased;
  padding-top: 170px; /* Account for sticky Header + Running Text */
}

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

ul {
  list-style: none;
}

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

/* =========================================
   SCROLL REVEAL SYSTEM (replaces GSAP)
   Elements start visible by default.
   When JS adds .is-visible, animation plays.
   If JS fails, content is always visible.
   ========================================= */
.gs-reveal-up,
.gs-reveal-scale {
  opacity: 1;
  transform: none;
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Only apply the "hidden" initial state if JS is running (via IntersectionObserver) */
.js-loaded .gs-reveal-up {
  opacity: 0;
  transform: translateY(40px);
}
.js-loaded .gs-reveal-scale {
  opacity: 0;
  transform: scale(0.95);
}

.gs-reveal-up.is-visible,
.gs-reveal-scale.is-visible {
  opacity: 1;
  transform: none;
}

.gs-stagger,
.gs-stagger-room {
  opacity: 1;
  transform: none;
  transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.js-loaded .gs-stagger,
.js-loaded .gs-stagger-room {
  opacity: 0;
  transform: translateY(30px);
}

.gs-stagger.is-visible,
.gs-stagger-room.is-visible {
  opacity: 1;
  transform: none;
}

/* =========================================
   UTILITIES
   ========================================= */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Prevent horizontal scroll on mobile */
.pb-0 { padding-bottom: 0; }

.text-primary { color: var(--clr-primary); }
.text-muted { color: var(--clr-text-muted); }
.bg-primary { background-color: var(--clr-primary); color: #fff; }
.bg-surface { background-color: var(--clr-surface); }
.bg-alt { background-color: var(--clr-bg-alt); }

/* Glassmorphism */
.glass-panel {
  background: rgba(255, 248, 245, 0.7);
  backdrop-filter: blur(24px) saturate(150%);
  -webkit-backdrop-filter: blur(24px) saturate(150%);
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow: var(--shadow-md);
}

/* Claymorphism Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  border: none;
  transition: var(--transition-smooth);
}

.btn-clay {
  background: var(--clr-primary-fixed);
  color: var(--clr-on-primary-fixed);
  box-shadow: 
    inset -4px -4px 10px rgba(111, 67, 21, 0.15),
    inset 4px 4px 10px rgba(255, 255, 255, 0.9),
    0 10px 20px rgba(111, 67, 21, 0.1);
}

.btn-clay:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 
    inset -4px -4px 10px rgba(111, 67, 21, 0.15),
    inset 4px 4px 10px rgba(255, 255, 255, 0.9),
    0 15px 25px rgba(111, 67, 21, 0.15);
}

.btn-primary {
  background: var(--clr-primary);
  color: #fff;
  box-shadow: var(--shadow-md);
}

.btn-primary:hover {
  background: var(--clr-primary-variant);
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.section-title {
  font-size: clamp(1.8rem, 5vw, 4rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
  line-height: 1.1;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--clr-text-muted);
  max-width: 600px;
  margin-bottom: 3rem;
}

.material-symbols-outlined {
  font-variation-settings: 'FILL' 1, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

/* =========================================
   MAIN STICKY HEADER WRAPPER
   ========================================= */
.main-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: var(--transition-smooth);
}

/* =========================================
   GLOBAL TOP MARQUEE (Running Text)
   ========================================= */
.top-marquee {
  position: relative; /* Relative to .main-header */
  width: 100%;
  height: 38px;
  background: var(--clr-primary);
  background: linear-gradient(90deg, var(--clr-primary) 0%, var(--clr-primary-variant) 100%);
  color: white;
  z-index: 90;
  display: flex;
  align-items: center;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(111, 67, 21, 0.15);
  transition: var(--transition-smooth);
}

.marquee-content {
  display: flex;
  white-space: nowrap;
  animation: marquee-scroll 40s linear infinite;
  padding-left: 100%; /* Start from far right */
}

.marquee-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0 3rem;
  font-size: 0.85rem;
  font-weight: 700; /* Increased for clarity */
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--clr-primary-fixed); /* High contrast cream color */
  text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}

.marquee-item .material-symbols-outlined {
  font-size: 1.1rem;
  color: var(--clr-primary-fixed);
}

@keyframes marquee-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-100%); }
}



@media (max-width: 900px) {
  .top-marquee {
    height: 32px;
  }
  .marquee-item {
    font-size: 0.75rem;
    padding: 0 1.5rem;
  }
}

/* =========================================
   COMPONENTS
   ========================================= */

/* Navbar */
.navbar {
  position: relative; /* Relative to .main-header */
  width: 100%;
  z-index: 100;
  padding: 1.5rem 0;
  transition: var(--transition-smooth);
}

.navbar.scrolled {
  padding: 0.75rem 0;
}

.nav-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  border-radius: 999px;
  transition: var(--transition-smooth);
}

.logo {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--clr-primary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  letter-spacing: -0.02em;
}

.nav-links {
  display: flex;
  gap: 2.5rem;
}

.nav-links a {
  font-weight: 600;
  color: var(--clr-text-muted);
  font-size: 0.95rem;
  position: relative;
}

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

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--clr-primary);
  transition: var(--transition-smooth);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-links a.active {
  color: var(--clr-primary);
}

/* =========================================
   HERO ENTRANCE ANIMATIONS (CSS - no JS needed)
   These replace GSAP scroll-trigger animations
   for hero elements that are always in viewport.
   ========================================= */
@keyframes heroSlideUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroScaleIn {
  from {
    opacity: 0;
    transform: scale(0.95) rotate(2deg);
  }
  to {
    opacity: 1;
    transform: scale(1) rotate(2deg);
  }
}

.hero-animate {
  animation: heroSlideUp 0.9s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero-img-animate {
  animation: heroScaleIn 1.1s 0.2s cubic-bezier(0.16, 1, 0.3, 1) both;
}

/* On mobile, reset image rotation for hero image */
@media (max-width: 900px) {
  @keyframes heroScaleInMobile {
    from {
      opacity: 0;
      transform: scale(0.95) rotate(0deg);
    }
    to {
      opacity: 1;
      transform: scale(1) rotate(0deg);
    }
  }
  .hero-img-animate {
    animation: heroScaleInMobile 1.1s 0.2s cubic-bezier(0.16, 1, 0.3, 1) both;
  }
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 5rem; /* Reduced because body now handles the global top offset */
  overflow: hidden;
}

.hero-bg-blobs {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.6;
}

.blob-1 {
  width: 60vw;
  height: 60vw;
  background: var(--clr-primary-fixed);
  top: -20%;
  right: -10%;
  animation: float 20s ease-in-out infinite alternate;
}

.blob-2 {
  width: 40vw;
  height: 40vw;
  background: var(--clr-surface-variant);
  bottom: -10%;
  left: -10%;
  animation: float 15s ease-in-out infinite alternate-reverse;
}

@keyframes float {
  0% { transform: translate(0, 0) rotate(0deg); }
  100% { transform: translate(-50px, 50px) rotate(10deg); }
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid var(--clr-outline);
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--clr-primary);
  margin-bottom: 2rem;
  backdrop-filter: blur(10px);
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background: #22c55e;
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7); }
  70% { box-shadow: 0 0 0 10px rgba(34, 197, 94, 0); }
  100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

.hero-title {
  font-size: clamp(2.2rem, 6vw, 6rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
}

.text-gradient {
  background: linear-gradient(135deg, var(--clr-primary), #ce9356);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  font-size: 1.1rem;
  color: var(--clr-text-muted);
  margin-bottom: 2.5rem;
  max-width: 90%;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-image-wrapper {
  position: relative;
  border-radius: 2rem;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4/5;
  transform: rotate(2deg);
  transition: var(--transition-smooth);
}

.hero-image-wrapper:hover {
  transform: rotate(0deg) scale(1.02);
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Specific Section Padding */
section {
  padding: 6rem 0;
}

/* Features Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 4rem;
}

.feature-card {
  padding: 3rem;
  border-radius: 2rem;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.feature-card:hover {
  transform: translateY(-10px);
}

.feature-card .icon {
  width: 64px;
  height: 64px;
  border-radius: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin-bottom: 2rem;
}

.feature-card h3 {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.feature-card p {
  color: var(--clr-text-muted);
}

.card-1 { background: var(--clr-surface); border: 1px solid var(--clr-outline); }
.card-1 .icon { background: var(--clr-primary-fixed); color: var(--clr-primary); }

.card-2 { background: var(--clr-primary); color: white; }
.card-2 .icon { background: rgba(255,255,255,0.2); }
.card-2 p { color: rgba(255,255,255,0.8); }

.card-3 { background: var(--clr-surface-variant); }
.card-3 .icon { background: var(--clr-surface); color: var(--clr-primary-variant); }

/* Rooms Section */
.rooms-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.room-card {
  background: var(--clr-surface);
  border-radius: 2rem;
  padding: 1.5rem;
  border: 1px solid var(--clr-outline);
  transition: var(--transition-smooth);
}

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

.room-img-wrapper {
  overflow: hidden;
  border-radius: 1.5rem;
  aspect-ratio: 4/3;
  margin-bottom: 1.5rem;
  position: relative;
}

.room-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.room-card:hover .room-img-wrapper img {
  transform: scale(1.1);
}

.room-tag {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: rgba(255,255,255,0.9);
  padding: 0.5rem 1rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.8rem;
  color: var(--clr-primary);
  backdrop-filter: blur(4px);
}

.room-details h3 {
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.room-price {
  font-size: 2rem;
  font-weight: 900;
  color: var(--clr-primary);
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.room-price span {
  font-size: 1rem;
  font-weight: 500;
  color: var(--clr-text-muted);
}

.room-facilities {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.facility {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--clr-text-muted);
  background: var(--clr-bg-alt);
  padding: 0.4rem 0.8rem;
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.facility .material-symbols-outlined { font-size: 1rem; }

/* Call to Action */
.cta-section {
  position: relative;
  overflow: hidden;
  background: var(--clr-primary);
  color: white;
  border-radius: 3rem;
  padding: 6rem 4rem;
  text-align: center;
  margin: 4rem 2rem;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: url('https://www.transparenttextures.com/patterns/cubes.png');
  opacity: 0.1;
}

.cta-title {
  font-size: clamp(3rem, 5vw, 5rem);
  font-weight: 900;
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 1;
}

.cta-desc {
  font-size: 1.25rem;
  color: var(--clr-primary-fixed);
  max-width: 600px;
  margin: 0 auto 3rem;
  position: relative;
  z-index: 1;
}

/* Footer */
footer {
  background-color: #1e1b18;
  color: #e9e1dc;
  padding: 6rem 0 3rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 4rem;
  margin-bottom: 4rem;
}

.footer-brand {
  font-size: 2rem;
  font-weight: 900;
  color: var(--clr-primary-fixed);
  margin-bottom: 1rem;
}

.footer-desc {
  color: #a89d95;
  max-width: 300px;
}

.footer-title {
  font-weight: 700;
  color: white;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.9rem;
}

.footer-links li {
  margin-bottom: 1rem;
}

.footer-links a {
  color: #a89d95;
}

.footer-links a:hover {
  color: var(--clr-primary-fixed);
}

.footer-bottom {
  text-align: center;
  padding-top: 3rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  color: #51443a;
  font-size: 0.9rem;
}

.admin-btn-footer {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.2rem;
  background: rgba(255, 255, 255, 0.05); /* Very subtle dark background */
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.75rem;
  color: #a89d95 !important;
  font-weight: 600;
  font-size: 0.85rem;
  transition: all 0.3s ease;
  margin-top: 1rem;
}

.admin-btn-footer:hover {
  background: var(--clr-primary);
  color: white !important;
  border-color: var(--clr-primary);
  box-shadow: 0 4px 12px rgba(111, 67, 21, 0.2);
  transform: translateY(-2px);
}

.admin-btn-footer .material-symbols-outlined {
  font-size: 1.1rem;
}

/* Specific Feature Pills from Request */
.hero-features-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.feature-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.3rem 0.7rem;
  background-color: #e8f5e9;
  color: #1b5e20;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.75rem;
  border: 1px solid rgba(46, 125, 50, 0.2);
  white-space: nowrap;
}

.feature-pill .material-symbols-outlined {
  font-size: 1rem;
}

/* Fasilitas Section Styles */
.btn-outline {
  background: transparent;
  color: #2e7d32;
  border: 2px solid #2e7d32;
  padding: 0.8rem 2rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
}
.btn-outline:hover {
  background: #2e7d32;
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(46, 125, 50, 0.15);
}

.fasilitas-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.fasilitas-card {
  display: flex;
  align-items: center;
  background: #f7fcf9;
  padding: 1.25rem 1.5rem;
  border-radius: 1rem;
  font-weight: 600;
  color: #222;
  transition: transform 0.3s ease;
  border: 1px solid rgba(46, 125, 50, 0.05);
}
.fasilitas-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(46, 125, 50, 0.05);
}
.fasilitas-icon-circle {
  width: 45px;
  height: 45px;
  background: #e8f5e9;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 1.25rem;
  flex-shrink: 0;
  color: #2e7d32;
}

/* Galeri Grid Section */
.galeri-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 1rem;
}

.galeri-item {
  position: relative;
  overflow: hidden;
  border-radius: 1rem;
  cursor: zoom-in;
  background: #eee;
}

.galeri-item:first-child {
  grid-row: span 2;
}

.galeri-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
  min-height: 200px;
}

.galeri-item:first-child img {
  min-height: 420px;
}

.galeri-item:hover img {
  transform: scale(1.05);
}

.galeri-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0,0,0,0.5));
  color: white;
  padding: 1.5rem 1rem 0.8rem;
  font-size: 0.85rem;
  font-weight: 600;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.galeri-item:hover .galeri-caption {
  opacity: 1;
}

@media (max-width: 900px) {
  .galeri-grid {
    grid-template-columns: 1fr 1fr;
  }
  .galeri-item:first-child {
    grid-column: span 2;
  }
}

/* Lokasi Strategis Section */
.lokasi-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: flex-start;
}

.lokasi-map-box {
  background: #f7fcf9;
  border-radius: 1.5rem;
  overflow: hidden;
  min-height: 400px;
  border: 1px solid rgba(46, 125, 50, 0.1);
  display: flex;
  flex-direction: column;
}

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

.lokasi-map-footer {
  padding: 1.5rem;
  display: flex;
  align-items: center;
}

.lokasi-map-link {
  color: #2e7d32;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.95rem;
}
.lokasi-map-link:hover {
  color: #1b5e20;
  text-decoration: underline;
}

.lokasi-terdekat-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: #111;
  margin-bottom: 1.5rem;
}

.lokasi-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.lokasi-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: #f7fcf9;
  border-radius: 1rem;
  padding: 0.9rem 1.2rem;
  border: 1px solid rgba(46, 125, 50, 0.07);
  transition: all 0.3s ease;
}
.lokasi-item:hover {
  transform: translateX(5px);
  box-shadow: 0 4px 12px rgba(46, 125, 50, 0.08);
}

.lokasi-item-icon {
  width: 40px;
  height: 40px;
  background: #e8f5e9;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #2e7d32;
}

.lokasi-item-info h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: #111;
  margin-bottom: 0.1rem;
}

.lokasi-item-info small {
  color: #666;
  font-size: 0.8rem;
}

/* =========================================
   RESPONSIVE DESIGN (Mobile & Tablet)
   ========================================= */

/* Mobile Menu Toggle Styling */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  width: 2rem;
  height: 2rem;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 101;
}

.hamburger span {
  width: 2rem;
  height: 0.25rem;
  background: var(--clr-primary);
  border-radius: 10px;
  transition: all 0.3s linear;
  position: relative;
  transform-origin: 1px;
}

.hamburger.active span:nth-child(1) { transform: rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg); }

/* =========================================
   RESPONSIVE DESIGN (Mobile & Tablet)
   ========================================= */

@media (max-width: 1024px) {
  .hero-title { font-size: 3.5rem; }
  .nav-links { gap: 1.5rem; }
  .container { padding: 0 1.5rem; }
}

@media (max-width: 900px) {
  body { padding-top: 140px; } /* Mobile sticky height */
  /* Navbar Mobile Mode */
  .navbar { padding: 0.75rem 0; }
  .nav-content { padding: 0.75rem 1.25rem; }
  .logo { font-size: 1.25rem; }
  .hamburger { display: flex; }
  
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 360px;
    height: 100vh;
    background: var(--clr-bg);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    transition: var(--transition-smooth);
    box-shadow: -10px 0 30px rgba(0,0,0,0.1);
    z-index: 100;
  }

  .nav-links.active {
    right: 0;
  }

  .nav-content .btn-clay {
    display: none;
  }

  /* Section Padding */
  section { padding: 4rem 0; }

  /* Hero Section Stacking */
  .hero {
    padding-top: 6rem;
    min-height: auto;
    display: block; /* Matikan flex centering di mobile agar tidak ada celah aneh */
  }

  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2rem;
  }
  
  .hero-text {
    order: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .hero-image-wrapper {
    order: 2;
    transform: rotate(0);
    max-width: 480px;
    margin: 0 auto;
    aspect-ratio: 16/9;
  }

  .hero-desc { margin: 0 auto 2rem; }
  .hero-buttons { justify-content: center; flex-wrap: wrap; gap: 0.75rem; }
  .hero-features-pills { justify-content: center; }

  /* Feature Cards */
  .features-grid { grid-template-columns: 1fr; gap: 1.5rem; margin-top: 2rem; }
  .feature-card { padding: 2rem; }
  
  /* Rooms Grid */
  .rooms-grid { grid-template-columns: 1fr; gap: 1.5rem; }

  /* Fasilitas Grid — 2 kolom di tablet */
  .fasilitas-grid { grid-template-columns: 1fr 1fr; gap: 1rem; }

  /* Galeri Grid */
  .galeri-grid {
    grid-template-columns: 1fr 1fr;
  }
  .galeri-item:first-child {
    grid-column: span 2;
    grid-row: span 1;
  }

  /* Footer Adjustments */
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; text-align: center; }
  .footer-desc { margin: 0 auto; }
  .footer-links { display: inline-block; text-align: center; }
  .admin-btn-footer { margin: 0 auto; }
  
  /* Lokasi Section */
  .lokasi-layout { grid-template-columns: 1fr; gap: 2rem; }
  .lokasi-map-box { min-height: auto; }
}

@media (max-width: 600px) {
  /* Container padding on small phones */
  .container { padding: 0 1rem; }
  
  /* Section spacing */
  section { padding: 3rem 0; }

  /* Navbar */
  .nav-content {
    padding: 0.75rem 1.25rem;
    border-radius: 2rem;
  }
  .logo { font-size: 1.2rem; }
  
  /* Hero */
  .hero {
    padding-top: 7rem;
    padding-bottom: 3rem;
  }
  .hero-title { font-size: 2rem; line-height: 1.15; letter-spacing: -0.02em; }
  .hero-desc { font-size: 0.95rem; margin-bottom: 1.5rem; }
  .badge { font-size: 0.75rem; margin-bottom: 1rem; }
  .hero-features-pills { gap: 0.4rem; margin-bottom: 1rem; }
  .feature-pill { font-size: 0.7rem; padding: 0.25rem 0.6rem; }
  
  /* Buttons */
  .hero-buttons {
    flex-direction: column;
    width: 100%;
    gap: 0.75rem;
  }
  .hero-buttons .btn {
    width: 100%;
    padding: 0.9rem 1.5rem;
    font-size: 0.95rem;
    justify-content: center;
  }
  .btn-outline { font-size: 0.95rem; padding: 0.9rem 1.5rem; }

  /* Hero Image */
  .hero-image-wrapper {
    max-width: 100%;
    aspect-ratio: 4/3;
    border-radius: 1.5rem;
  }

  /* Section Titles */
  .section-title { font-size: 1.7rem; }
  .section-subtitle { font-size: 0.95rem; margin-bottom: 2rem; }

  /* Feature Cards */
  .feature-card { padding: 1.5rem; border-radius: 1.25rem; }
  .feature-card h3 { font-size: 1.2rem; }
  .feature-card .icon { width: 48px; height: 48px; border-radius: 1rem; font-size: 1.5rem; margin-bottom: 1.25rem; }

  /* Fasilitas — 1 kolom di HP kecil */
  .fasilitas-grid { grid-template-columns: 1fr 1fr; gap: 0.75rem; }
  .fasilitas-card { padding: 0.9rem 1rem; font-size: 0.85rem; }
  .fasilitas-icon-circle { width: 36px; height: 36px; margin-right: 0.75rem; }
  .fasilitas-icon-circle .material-symbols-outlined { font-size: 1.1rem; }

  /* Room Cards */
  .room-card { padding: 1.25rem; border-radius: 1.5rem; }
  .room-details h3 { font-size: 1.3rem; }
  .room-price { font-size: 1.5rem; }
  .room-img-wrapper { border-radius: 1rem; margin-bottom: 1rem; }

  /* Galeri: Bento Style (1 baris penuh untuk foto pertama, sisanya 2 kolom) */
  .galeri-grid { 
    grid-template-columns: 1fr 1fr; 
    gap: 0.75rem; 
  }
  .galeri-item:first-child { 
    grid-column: span 2; 
    grid-row: span 1; 
  }
  .galeri-item img {
    height: 180px;
    object-fit: cover;
  }
  .galeri-item:first-child img { 
    height: 280px; 
  }

  /* Lokasi */
  .lokasi-map-box iframe { height: 220px; }
  .lokasi-item { padding: 0.75rem 1rem; }
  .lokasi-terdekat-title { font-size: 1.2rem; }
  .lokasi-item-info h4 { font-size: 0.85rem; }

  /* Footer */
  footer { padding: 3rem 0 2rem; }
  .footer-brand { font-size: 1.5rem; }
  .footer-grid { gap: 1.5rem; margin-bottom: 2rem; }

  /* CTA Section */
  .cta-section {
    padding: 3rem 1.25rem;
    margin: 2rem 1rem;
    border-radius: 1.5rem;
  }
  .cta-title { font-size: 1.8rem; }
  .cta-desc { font-size: 0.95rem; margin-bottom: 2rem; }
}

@media (max-width: 400px) {
  .hero-title { font-size: 1.8rem; }
  .fasilitas-grid { grid-template-columns: 1fr; }
  .fasilitas-card { justify-content: flex-start; }
}

/* Room Sliding Gallery */
/* Room Sliding Gallery */
.room-slider-wrapper {
  margin-top: 1.25rem;
  margin-bottom: 0.5rem;
  position: relative;
  display: flex;
  align-items: center;
}
.room-slider {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: #cbd5e1 transparent;
  padding-bottom: 5px; /* space for scrollbar */
}
.room-slider::-webkit-scrollbar {
  height: 6px;
}
.room-slider::-webkit-scrollbar-track {
  background: var(--bg);
  border-radius: 10px;
}
.room-slider::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 10px;
}
.room-slider::-webkit-scrollbar-thumb:hover {
  background: var(--primary);
}

.slider-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 100; /* Increased to stay on top */
  color: var(--primary);
  box-shadow: var(--shadow-md);
  transition: all 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  opacity: 0.9;
  pointer-events: auto; /* Ensure events are captured */
  user-select: none;
}

.slider-nav:hover {
  background: var(--primary);
  color: white;
  opacity: 1;
  transform: translateY(-50%) scale(1.1);
}

.slider-nav:active {
  transform: translateY(-50%) scale(0.95);
}

.slider-nav.prev {
  left: -12px;
}

.slider-nav.next {
  right: -12px;
}

@media (max-width: 600px) {
  .slider-nav {
    width: 28px;
    height: 28px;
  }
  .slider-nav.prev { left: -5px; }
  .slider-nav.next { right: -5px; }
}

.room-slider-img {
  flex: 0 0 calc(33.333% - 0.35rem);
  width: calc(33.333% - 0.35rem);
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: 0.75rem;
  scroll-snap-align: start;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
}


/* Floating WhatsApp Button */
.floating-wa {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 60px;
  height: 60px;
  background-color: #25d366;
  color: white !important;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
  z-index: 999;
  transition: var(--transition-smooth);
  animation: waPulse 2s infinite;
}

.floating-wa:hover {
  transform: scale(1.1) translateY(-5px);
  background-color: #20ba59;
}

.floating-wa svg {
  width: 32px;
  height: 32px;
  fill: white;
}

@keyframes waPulse {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
  70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

@media (max-width: 600px) {
  .floating-wa {
    bottom: 1.5rem;
    right: 1.5rem;
    width: 50px;
    height: 50px;
  }
  .floating-wa svg {
    width: 26px;
    height: 26px;
  }
}

/* FAQ Section Styles (Home Page) */
.home-faq {
  padding: 6rem 0;
  background-color: var(--clr-bg);
}

.faq-search-container {
  max-width: 600px;
  margin: 0 auto 3rem;
  position: relative;
}

.faq-search-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.faq-search-wrapper .material-symbols-outlined {
  position: absolute;
  left: 1.25rem;
  color: var(--clr-text-muted);
  pointer-events: none;
}

#faqHomeSearch {
  width: 100%;
  padding: 1rem 1rem 1rem 3.5rem;
  border: 2px solid var(--clr-outline);
  border-radius: 999px;
  font-family: var(--font-main);
  font-size: 1rem;
  background: white;
  outline: none;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
}

#faqHomeSearch:focus {
  border-color: var(--clr-primary);
  box-shadow: 0 0 0 4px rgba(111, 67, 21, 0.1);
}

.faq-accordion {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: white;
  border-radius: 1.5rem;
  border: 1px solid var(--clr-outline);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: var(--transition-smooth);
}

.faq-item.hidden {
  display: none;
}

.faq-item.open {
  border-color: var(--clr-primary);
  box-shadow: var(--shadow-md);
}

.faq-question {
  padding: 1.5rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  user-select: none;
  gap: 1rem;
}

.faq-question h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--clr-text);
  margin: 0;
  line-height: 1.4;
}

.faq-icon-box {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--clr-bg-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
}

.faq-icon-box .material-symbols-outlined {
  font-size: 1.2rem;
  color: var(--clr-primary);
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.faq-item.open .faq-icon-box {
  background: var(--clr-primary);
}

.faq-item.open .faq-icon-box .material-symbols-outlined {
  color: white;
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-answer-content {
  padding: 0 2rem 1.5rem;
  color: var(--clr-text-muted);
  font-size: 1rem;
  line-height: 1.6;
}

.faq-no-results {
  text-align: center;
  padding: 3rem 0;
  display: none;
}

.faq-no-results .material-symbols-outlined {
  font-size: 3rem;
  opacity: 0.3;
  margin-bottom: 1rem;
}

/* Room Status Full Badge */
.badge.full {
  background: #fff5f5;
  color: #c53030;
  border: 1px solid rgba(197, 48, 48, 0.2);
}

.badge.full .pulse-dot {
  background: #c53030;
  box-shadow: 0 0 0 0 rgba(197, 48, 48, 0.4);
  animation: pulse-red 2s infinite;
}

@keyframes pulse-red {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(197, 48, 48, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 10px rgba(197, 48, 48, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(197, 48, 48, 0); }
}

@media (max-width: 600px) {
  .faq-question { padding: 1.25rem 1.5rem; }
  .faq-question h3 { font-size: 1rem; }
  .faq-answer-content { padding: 0 1.5rem 1.25rem; font-size: 0.95rem; }
}

/* Info Marquee (Running Text) */
.info-marquee {
  width: 100%;
  max-width: min(100%, 600px);
  margin-top: 3rem;
  overflow: hidden;
  position: relative;
  background: rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 999px;
  border: 1px solid rgba(111, 67, 21, 0.1);
  padding: 0.8rem 0;
  display: flex;
  align-items: center;
  box-shadow: var(--shadow-sm);
}

@media (max-width: 600px) {
  .info-marquee { margin-top: 1.5rem; }
}

