:root {
  --obsidian: #0a0a0a;
  --gold: #c9a15a;
  --ivory: #f5f0e6;
  --muted: #b9b2a6;
  --card: #131313;
  --line: #2b2b2b;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: Inter, system-ui, sans-serif; background: var(--obsidian); color: var(--ivory); overflow-x: hidden; }
.container { width: min(1180px, 92%); margin: 0 auto; position: relative; z-index: 2; }
.ambient-canvas { position: fixed; inset: 0; z-index: 0; pointer-events: none; opacity: 0.35; }

.loading-screen {
  position: fixed; inset: 0; z-index: 99; display: grid; place-items: center;
  background: radial-gradient(circle at center, #1b1b1b, #090909);
}
.loading-logo {
  width: 72px; height: 72px; border: 2px solid var(--gold); border-radius: 50%;
  display: grid; place-items: center; font-family: "Cormorant Garamond", serif; font-size: 2rem; color: var(--gold);
  margin: 0 auto 0.8rem;
}
.loading-screen p { color: var(--gold); letter-spacing: 0.08em; text-transform: uppercase; font-size: 0.82rem; text-align: center; margin-bottom: 1rem; }
.loading-spinner { width: 44px; height: 44px; border-radius: 50%; border: 2px solid #4b3c21; border-top-color: var(--gold); animation: spin 0.9s linear infinite; margin: 0 auto; }
@keyframes spin { to { transform: rotate(360deg); } }

.navbar {
  position: fixed; inset: 0 0 auto 0; z-index: 20; padding: 1rem 0;
  transition: .3s ease;
}
.navbar.scrolled {
  background: rgba(10, 10, 10, 0.92);
  border-bottom: 1px solid #262626;
  backdrop-filter: blur(10px);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.logo {
  font-family: "Cormorant Garamond", serif; color: var(--gold);
  font-size: clamp(1.15rem, 4vw, 1.6rem); text-decoration: none;
  max-width: 55%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.nav-links { display: flex; gap: 1.1rem; align-items: center; }
.nav-links a { color: #dbd4c9; text-decoration: none; font-size: .82rem; letter-spacing: .09em; text-transform: uppercase; }
.nav-links a:hover { color: var(--gold); }
.hamburger {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 44px; height: 44px; padding: 8px; border-radius: 8px;
  border: 1px solid var(--line); background: rgba(255,255,255,0.04); cursor: pointer;
}
.hamburger span { display: block; width: 100%; height: 2px; background: var(--ivory); transition: .25s ease; }
.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.nav-backdrop {
  position: fixed; inset: 0; z-index: 19; background: rgba(0,0,0,0.55);
  backdrop-filter: blur(2px);
}
.btn-gold {
  background: linear-gradient(120deg, #c9a15a, #dfc08b);
  color: #111; border: 1px solid #d8ba85;
  padding: 0.68rem 1.2rem; border-radius: 8px; font-weight: 700; text-decoration: none; cursor: pointer;
}

.hero { min-height: 100vh; position: relative; display: grid; place-items: center; overflow: hidden; }
.hero-canvas { position: absolute; inset: 0; z-index: 0; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,10,10,.4), rgba(10,10,10,.78)); z-index: 1; }
.hero-content { position: relative; z-index: 2; text-align: center; width: min(900px, 92%); }
.eyebrow { color: var(--gold); letter-spacing: 0.16em; text-transform: uppercase; font-size: .78rem; margin-bottom: .8rem; }
.eyebrow.dark { color: var(--gold); }
h1, h2, h3, h4 { font-family: "Cormorant Garamond", serif; font-weight: 600; }
.hero h1 { font-size: clamp(2.8rem, 7vw, 5.8rem); line-height: 1.02; margin-bottom: .9rem; }
.hero p { max-width: 660px; margin: 0 auto 1.2rem; color: #ddd5c8; }

.section { padding: 6rem 0; position: relative; z-index: 1; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; align-items: center; }
.muted { color: var(--muted); }
.center { text-align: center; }
h2 { font-size: clamp(2rem, 4.5vw, 3.2rem); margin-bottom: .6rem; }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: .7rem; }
.stat { padding: 1rem; border-radius: 10px; border: 1px solid var(--line); background: #121212; text-align: center; }
.stat strong { color: var(--gold); font-size: 1.7rem; display: block; }
.stat span { font-size: .8rem; color: #b0a89c; }

.room-wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 1rem; margin-bottom: 1rem; }
.room-canvas { width: 100%; height: 360px; border-radius: 12px; border: 1px solid var(--line); background: radial-gradient(ellipse at 50% 40%, #1a1814 0%, #0a0a0a 70%); display: block; }
.room-panel { border: 1px solid var(--line); border-radius: 12px; background: #121212; padding: 1rem; }
.room-panel h3 { font-size: 2rem; margin-bottom: .35rem; }
.room-panel p { color: var(--muted); }
.room-panel .price { color: var(--gold); margin-top: .6rem; margin-bottom: .6rem; font-weight: 700; }
.room-dots { display: flex; gap: .55rem; }
.dot { width: 12px; height: 12px; border-radius: 50%; border: 1px solid var(--gold); background: transparent; cursor: pointer; }
.dot.active { background: var(--gold); }

.cards-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: .8rem; }
.card { border: 1px solid var(--line); border-radius: 12px; background: #131313; padding: 1rem; transition: .25s ease; }
.card:hover { transform: translateY(-4px); border-color: #69522f; }
.card h4 { font-size: 1.6rem; margin-bottom: .3rem; }

.amenities-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: .8rem; }
.amenity { text-align: center; }
.amenity-canvas { width: 100%; height: 160px; border-radius: 12px; border: 1px solid var(--line); background: #121212; display: block; margin-bottom: .5rem; }

.rounded { width: 100%; border-radius: 12px; border: 1px solid var(--line); }
.gallery-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: .6rem; }
.gallery-grid img { width: 100%; height: 200px; object-fit: cover; border-radius: 10px; border: 1px solid #2e2e2e; }

.testimonial-slider { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: .6rem; }
.testimonial-slider button { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); color: var(--ivory); background: #121212; font-size: 1.2rem; cursor: pointer; }
.testimonial-track { overflow: hidden; border: 1px solid var(--line); border-radius: 12px; background: #121212; }
.testimonial { min-width: 100%; padding: 1.2rem; }
.testimonial p { color: #ddd5c8; margin-bottom: .5rem; }

.globe-meta { margin: 0.5rem 0 1rem; }
.globe-canvas {
  width: 100%;
  height: 320px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: radial-gradient(ellipse at 50% 50%, #0d1528 0%, #050508 75%);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
  display: block;
  margin-bottom: 0.8rem;
}
.globe-actions { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-bottom: 0.4rem; }
.map-wrapper iframe { width: 100%; height: 370px; border: 0; border-radius: 12px; }
.hidden { display: none; }
.map-wrapper iframe { width: 100%; height: 370px; border: 0; border-radius: 12px; }
.hidden { display: none; }

.booking-form { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; border: 1px solid var(--line); border-radius: 12px; padding: 1rem; background: #111; }
.field { position: relative; }
.field input, .field select, .field textarea {
  width: 100%; background: #0f0f0f; color: var(--ivory); border: 1px solid #2f2f2f; border-radius: 10px;
  padding: 1.05rem .8rem .5rem; font: inherit;
}
.field textarea { min-height: 110px; resize: vertical; }
.field label {
  position: absolute; left: .8rem; top: .78rem; color: #9e978b; font-size: .82rem; pointer-events: none; transition: .2s ease;
}
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field select:focus + label, .field select:valid + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label {
  top: .2rem; font-size: .67rem; color: var(--gold); letter-spacing: .08em; text-transform: uppercase;
}
.field.full { grid-column: 1 / -1; }

.footer { border-top: 1px solid #252525; padding: 2rem 0; text-align: center; color: #ada597; }
.footer a { color: var(--gold); text-decoration: none; }

.reveal { opacity: 0; transform: translateY(22px); }
.testimonial-track { display: flex; }
.testimonial { flex: 0 0 100%; box-sizing: border-box; }

@media (max-width: 980px) {
  .split, .room-wrap { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .cards-grid, .amenities-grid, .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .room-canvas { height: min(360px, 55vw); }
  .section { padding: 4.5rem 0; }
}

@media (max-width: 760px) {
  .hero-canvas { display: none; }
  .hero {
    min-height: 100svh;
    background:
      linear-gradient(rgba(10,10,10,.5), rgba(10,10,10,.82)),
      radial-gradient(ellipse at 30% 20%, rgba(201,161,90,0.12), transparent 55%),
      var(--obsidian);
  }
  .hero-content { width: min(900px, 94%); padding: 0 0.5rem; }
  .hero h1 { font-size: clamp(2.2rem, 9vw, 3.4rem); }
  .hero p { font-size: 0.95rem; }
  .nav-cta { display: none; }
  .hamburger { display: flex; }
  .nav-links {
    position: fixed; top: 0; right: -100%;
    width: min(300px, 86vw); height: 100vh; height: 100dvh;
    flex-direction: column; align-items: flex-start;
    padding: 5.5rem 1.5rem 2rem; gap: 1.25rem;
    background: rgba(10,10,10,0.98); border-left: 1px solid var(--line);
    transition: right .3s ease; z-index: 21; overflow-y: auto;
  }
  .nav-links.open { right: 0; }
  .nav-links a { font-size: 0.9rem; padding: 0.35rem 0; }
  .cards-grid, .amenities-grid, .gallery-grid, .booking-form { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .room-panel h3 { font-size: 1.6rem; }
  .room-canvas { height: 260px; }
  .amenity-canvas { height: 140px; }
  .globe-canvas { height: 240px; }
  .map-wrapper iframe { height: 280px; }
  .testimonial-slider { grid-template-columns: 1fr; gap: 0.75rem; }
  .testimonial-slider button { justify-self: center; }
  .btn-gold { width: 100%; text-align: center; display: inline-block; }
  #toggle-map { width: 100%; }
  .section { padding: 3.5rem 0; }
  .footer { padding: 1.5rem 0; font-size: 0.9rem; }
}

@media (max-width: 480px) {
  .stats { grid-template-columns: 1fr; }
  .gallery-grid img { height: 180px; }
  .card h4 { font-size: 1.35rem; }
  .booking-form { padding: 0.85rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}
