:root {
  --primary: #c8a97e;
  --primary-dark: #a88458;
  --secondary: #0f172a;
  --secondary-soft: #1e293b;
  --light: #f8fafc;
  --white: #ffffff;
  --muted: #94a3b8;
  --text: #334155;
  --border: rgba(255,255,255,0.12);
  --glass: rgba(255,255,255,0.1);
  --glass-strong: rgba(255,255,255,0.18);
  --shadow: 0 20px 60px rgba(15, 23, 42, 0.18);
  --radius: 1.25rem;
  --radius-sm: .85rem;
  --transition: all .35s ease;
}

[data-theme="dark"] {
  --light: #0b1120;
  --white: #111827;
  --text: #e5e7eb;
  --secondary: #020617;
  --secondary-soft: #0f172a;
  --muted: #94a3b8;
  --border: rgba(255,255,255,0.08);
  --glass: rgba(17,24,39,0.45);
  --glass-strong: rgba(17,24,39,0.72);
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background: var(--light);
  line-height: 1.7;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
section { position: relative; }
.container-narrow { max-width: 1140px; margin: 0 auto; }
.text-gold { color: var(--primary); }
.bg-deep { background: linear-gradient(135deg, var(--secondary), #111827); }
.section-padding { padding: 90px 0; }
.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 3.4rem);
  font-weight: 700;
  color: var(--secondary);
}
[data-theme="dark"] .section-title { color: #fff; }
.section-subtitle {
  letter-spacing: .18em;
  text-transform: uppercase;
  font-size: .82rem;
  color: var(--primary);
  font-weight: 600;
}
.btn-luxury, .btn-outline-luxury {
  border-radius: 999px;
  padding: .95rem 1.6rem;
  font-weight: 600;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: .5rem;
}
.btn-luxury {
  background: linear-gradient(135deg, var(--primary), #e4c08e);
  color: #fff;
  border: none;
  box-shadow: 0 15px 35px rgba(200,169,126,.35);
}
.btn-luxury:hover { transform: translateY(-3px); color: #fff; }
.btn-outline-luxury {
  border: 1px solid rgba(200,169,126,.45);
  color: var(--primary);
  background: transparent;
}
.btn-outline-luxury:hover { background: var(--primary); color: #fff; }

/* ---- NAVBAR ---- */
.topbar {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 1030;
  transition: var(--transition);
  background: transparent;
}
.topbar.scrolled {
  background: rgba(15, 23, 42, .92);
  backdrop-filter: blur(14px);
  box-shadow: 0 8px 30px rgba(0,0,0,.12);
}
.navbar-brand {
  font-family: 'Playfair Display', serif;
  font-size: 1.65rem;
  color: #fff !important;
  letter-spacing: .05em;
}
.nav-link {
  color: rgba(255,255,255,.88) !important;
  font-weight: 500;
  margin: 0 .25rem;
  position: relative;
}
.nav-link::after {
  content: '';
  position: absolute;
  left: .5rem;
  bottom: .2rem;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: var(--transition);
}
.nav-link:hover::after, .nav-link.active::after { width: calc(100% - 1rem); }
.navbar-toggler { border: 0; box-shadow: none !important; }
.navbar-toggler i { color: #fff; font-size: 1.4rem; }

/* ---- HERO ---- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background:
    linear-gradient(rgba(2,6,23,.45), rgba(2,6,23,.65)),
    url('https://images.unsplash.com/photo-1566073771259-6a8506099945?auto=format&fit=crop&w=1600&q=80') center/cover;
  color: #fff;
}
.hero-content { position: relative; z-index: 2; }
.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.6rem, 6vw, 5.4rem);
  line-height: 1.1;
}
.hero p { font-size: 1.05rem; max-width: 640px; color: rgba(255,255,255,.85); }

/* ---- GLASS CARD ---- */
.glass-card {
  background: var(--glass);
  backdrop-filter: blur(18px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.booking-card { padding: 1.25rem; margin-top: 2rem; }

/* ---- FORMS ---- */
.form-control, .form-select {
  min-height: 52px;
  border-radius: .9rem;
  border: 1px solid rgba(148,163,184,.25);
  box-shadow: none !important;
}
.form-control:focus, .form-select:focus { border-color: var(--primary); }

/* ---- ICON BOX ---- */
.icon-box {
  width: 70px;
  height: 70px;
  border-radius: 1.2rem;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(200,169,126,.15), rgba(255,255,255,.3));
  color: var(--primary);
  font-size: 1.5rem;
}

/* ---- CARDS ---- */
.feature-card, .room-card, .review-card, .faq-card, .contact-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  height: 100%;
}
.feature-card:hover, .room-card:hover, .review-card:hover, .contact-card:hover {
  transform: translateY(-8px);
}
.room-image-wrap { overflow: hidden; position: relative; }
.room-image-wrap img {
  height: 280px;
  width: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}
.room-card:hover .room-image-wrap img,
.gallery-item:hover img { transform: scale(1.08); }

/* ---- BADGES & RATINGS ---- */
.badge-soft {
  background: rgba(200,169,126,.12);
  color: var(--primary);
  padding: .45rem .8rem;
  border-radius: 999px;
  font-size: .82rem;
  font-weight: 600;
}
.rating i { color: #fbbf24; }
.price-tag {
  font-size: 1.55rem;
  color: var(--secondary);
  font-weight: 700;
}
[data-theme="dark"] .price-tag { color: #fff; }

/* ---- PAGE HERO ---- */
.page-hero {
  padding: 180px 0 100px;
  color: #fff;
  background:
    linear-gradient(rgba(2,6,23,.62), rgba(2,6,23,.72)),
    url('https://images.unsplash.com/photo-1522798514-97ceb8c4f1c8?auto=format&fit=crop&w=1600&q=80') center/cover;
}

/* ---- FILTERS / SIDEBAR ---- */
.filter-box, .booking-summary, .sidebar-sticky {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.35rem;
}
.sidebar-sticky { position: sticky; top: 100px; }

/* ---- LISTS ---- */
.spec-list li, .contact-list li, .footer-links li {
  list-style: none;
  margin-bottom: .75rem;
}
.spec-list, .contact-list, .footer-links { padding: 0; margin: 0; }

/* ---- GALLERY ---- */
.gallery-grid { columns: 3 280px; column-gap: 1rem; }
.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 1rem;
  margin-bottom: 1rem;
}
.gallery-item img {
  width: 100%;
  border-radius: 1rem;
  transition: transform .6s ease;
}

/* ---- TESTIMONIALS ---- */
.testimonial-avatar {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  object-fit: cover;
}

/* ---- CTA BANNER ---- */
.cta-banner {
  border-radius: 2rem;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(15,23,42,.92), rgba(30,41,59,.88)),
    url('https://images.unsplash.com/photo-1445019980597-93fa8acb246c?auto=format&fit=crop&w=1400&q=80') center/cover;
}

/* ---- FOOTER ---- */
.footer { background: #020617; color: rgba(255,255,255,.8); }
.footer h5 { color: #fff; font-family: 'Playfair Display', serif; }
.social-links a {
  width: 42px;
  height: 42px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  margin-right: .45rem;
  transition: var(--transition);
}
.social-links a:hover { background: var(--primary); color: #fff; transform: translateY(-3px); }

/* ---- MAP / VIDEO ---- */
.map-frame, .video-frame iframe {
  width: 100%;
  border: 0;
  border-radius: 1.2rem;
  min-height: 380px;
}

/* ---- FLOATING BUTTONS ---- */
.whatsapp-float, .back-to-top, .theme-toggle {
  position: fixed;
  right: 20px;
  z-index: 1025;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  box-shadow: var(--shadow);
  transition: var(--transition);
}
.whatsapp-float { bottom: 92px; background: #25D366; }
.back-to-top { bottom: 28px; background: var(--primary); opacity: 0; visibility: hidden; }
.back-to-top.show { opacity: 1; visibility: visible; }
.theme-toggle { bottom: 156px; background: #111827; }

/* ---- PRELOADER ---- */
.preloader {
  position: fixed;
  inset: 0;
  background: #020617;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity .5s ease, visibility .5s ease;
}
.preloader.fade-out { opacity: 0; visibility: hidden; }
.loader-ring {
  width: 74px;
  height: 74px;
  border: 3px solid rgba(255,255,255,.12);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ---- BREADCRUMB ---- */
.breadcrumb a { color: rgba(255,255,255,.85); }

/* ---- 404 ---- */
.error-wrap {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background:
    radial-gradient(circle at top, rgba(200,169,126,.18), transparent 40%),
    var(--light);
}
.error-code {
  font-size: clamp(5rem, 14vw, 10rem);
  line-height: 1;
  font-family: 'Playfair Display', serif;
  color: var(--primary);
}

/* ---- NEWSLETTER ---- */
.newsletter-input {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.08);
  color: #fff;
}
.newsletter-input::placeholder { color: rgba(255,255,255,.6); }

/* ---- RESPONSIVE ---- */
@media (max-width: 991px) {
  .navbar-collapse {
    background: rgba(15,23,42,.96);
    padding: 1rem;
    margin-top: 1rem;
    border-radius: 1rem;
  }
  .hero { min-height: auto; padding: 130px 0 80px; }
  .sidebar-sticky { position: static; }
}
@media (max-width: 767px) {
  .section-padding { padding: 70px 0; }
  .hero h1 { font-size: 2.5rem; }
  .room-image-wrap img { height: 230px; }
  .theme-toggle { bottom: 150px; }
}