/* ============================
   CSS VARIABLES & RESET
============================ */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --gold: #C9A84C;
  --gold-light: #E8C97A;
  --gold-dim: #7a6230;
  --black: #0A0A0A;
  --dark: #111111;
  --dark2: #1a1a1a;
  --dark3: #222222;
  --white: #F5F0E8;
  --white-dim: rgba(245,240,232,0.6);
  --font-display: 'Cormorant Garamond', serif;
  --font-body: 'Montserrat', sans-serif;
  --transition: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

html { scroll-behavior: smooth; }

body {
  background: var(--black);
  color: var(--white);
  font-family: var(--font-body);
  font-weight: 300;
  overflow-x: hidden;
  cursor: none;
}

/* Custom cursor */
.cursor {
  width: 8px; height: 8px;
  background: var(--gold);
  border-radius: 50%;
  position: fixed;
  pointer-events: none;
  z-index: 99999;
  transition: transform 0.1s;
  mix-blend-mode: difference;
}
.cursor-ring {
  width: 36px; height: 36px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  position: fixed;
  pointer-events: none;
  z-index: 99998;
  transition: all 0.18s var(--transition);
  opacity: 0.6;
}

/* ============================
   SCROLLBAR
============================ */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--black); }
::-webkit-scrollbar-thumb { background: var(--gold-dim); border-radius: 2px; }

/* ============================
   NAVBAR
============================ */
nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 1000;
  display: flex; align-items: center; justify-content: space-between;
  padding: 28px 60px;
  transition: all 0.5s var(--transition);
}
nav.scrolled {
  background: rgba(10,10,10,0.92);
  backdrop-filter: blur(20px);
  padding: 18px 60px;
  border-bottom: 1px solid rgba(201,168,76,0.15);
}
.nav-logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--gold);
  text-decoration: none;
}
.nav-logo span { font-style: italic; font-weight: 300; color: var(--white); }
.nav-links {
  display: flex; gap: 40px; list-style: none;
}
.nav-links a {
  color: var(--white-dim);
  text-decoration: none;
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  transition: color 0.3s;
  font-weight: 400;
}
.nav-links a:hover { color: var(--gold); }
.nav-cta {
  background: transparent;
  border: 1px solid var(--gold);
  color: var(--gold);
  padding: 10px 28px;
  font-family: var(--font-body);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  cursor: none;
  transition: all 0.3s;
  font-weight: 400;
}
.nav-cta:hover { background: var(--gold); color: var(--black); }

/* Mobile menu */
.hamburger {
  display: none;
  flex-direction: column; gap: 5px; cursor: none;
  background: none; border: none;
}
.hamburger span {
  display: block; width: 26px; height: 1px;
  background: var(--gold); transition: all 0.3s;
}

/* ============================
   HERO
============================ */
#hero {
  height: 100vh;
  position: relative;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute; inset: 0;
  background:
    linear-gradient(135deg, rgba(10,10,10,0.85) 0%, rgba(10,10,10,0.4) 50%, rgba(10,10,10,0.9) 100%),
    url('https://images.unsplash.com/photo-1618773928121-c32242e63f39?w=1800&q=80') center/cover no-repeat;
  animation: heroZoom 18s ease-in-out infinite alternate;
}
@keyframes heroZoom {
  from { transform: scale(1); }
  to { transform: scale(1.08); }
}

/* Gold particle canvas */
#particles { position: absolute; inset: 0; pointer-events: none; }

.hero-content {
  position: relative; z-index: 2;
  text-align: center;
  max-width: 900px;
  padding: 0 40px;
}

.hero-eyebrow {
  font-size: 0.65rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 28px;
  opacity: 0;
  animation: fadeUp 1s 0.5s var(--transition) forwards;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 8vw, 7rem);
  font-weight: 300;
  line-height: 1.05;
  color: var(--white);
  margin-bottom: 32px;
  opacity: 0;
  animation: fadeUp 1s 0.8s var(--transition) forwards;
}
.hero-title em {
  font-style: italic;
  color: var(--gold);
  font-weight: 300;
}

.hero-sub {
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  color: var(--white-dim);
  margin-bottom: 0;
  line-height: 2;
  max-width: 480px;
  margin-inline: auto;
  opacity: 0;
  animation: fadeUp 1s 1.1s var(--transition) forwards;
}

/* Stats bar */
.hero-stats {
  position: absolute; bottom: 0; left: 0; right: 0;
  display: flex;
  background: rgba(201,168,76,0.08);
  backdrop-filter: blur(10px);
  border-top: 1px solid rgba(201,168,76,0.2);
  z-index: 2;
}
.stat-item {
  flex: 1; padding: 24px;
  text-align: center;
  border-right: 1px solid rgba(201,168,76,0.1);
}
.stat-item:last-child { border-right: none; }
.stat-num {
  font-family: var(--font-display);
  font-size: 2.2rem; font-weight: 300;
  color: var(--gold); display: block;
}
.stat-label {
  font-size: 0.55rem; letter-spacing: 0.25em;
  text-transform: uppercase; color: var(--white-dim);
  margin-top: 4px;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  to { opacity: 1; }
}

/* ============================
   SECTION DEFAULTS
============================ */
section { padding: 120px 60px; }

.section-tag {
  font-size: 0.6rem; letter-spacing: 0.4em;
  text-transform: uppercase; color: var(--gold);
  margin-bottom: 16px; display: block;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 300; line-height: 1.1;
  margin-bottom: 20px;
}
.section-title em { font-style: italic; color: var(--gold); }
.section-line {
  width: 60px; height: 1px;
  background: var(--gold); margin-bottom: 32px;
}
.section-body {
  font-size: 0.82rem; line-height: 2.2;
  color: var(--white-dim); max-width: 520px;
}

/* Reveal on scroll */
.reveal {
  opacity: 0; transform: translateY(40px);
  transition: opacity 0.9s var(--transition), transform 0.9s var(--transition);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.15s; }
.reveal-delay-2 { transition-delay: 0.3s; }
.reveal-delay-3 { transition-delay: 0.45s; }

/* ============================
   ROOMS & SUITES — 3D CARDS
============================ */
#rooms { background: var(--dark); }

.rooms-header { max-width: 1320px; margin: 0 auto 80px; }

.rooms-grid {
  max-width: 1320px; margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

/* 3D Card */
.room-card-wrap {
  perspective: 1200px;
  height: 520px;
}
.room-card {
  width: 100%; height: 100%;
  position: relative;
  transform-style: preserve-3d;
  transition: transform 0.7s var(--transition);
  cursor: none;
}
.room-card-wrap:hover .room-card { transform: rotateY(180deg); }

.room-front, .room-back {
  position: absolute; inset: 0;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  overflow: hidden;
}

.room-front {
  background: var(--dark2);
  border: 1px solid rgba(201,168,76,0.1);
}
.room-front img {
  width: 100%; height: 65%; object-fit: cover;
  display: block;
  transition: transform 0.6s;
}
.room-card-wrap:hover .room-front img { transform: scale(1.04); }

.room-front-info { padding: 24px 28px; }
.room-type {
  font-size: 0.55rem; letter-spacing: 0.3em;
  text-transform: uppercase; color: var(--gold);
  margin-bottom: 8px; display: block;
}
.room-name {
  font-family: var(--font-display);
  font-size: 1.6rem; font-weight: 300;
  margin-bottom: 12px;
}
.room-price {
  font-family: var(--font-display);
  font-size: 1.1rem; color: var(--gold);
}
.room-price sup { font-size: 0.6rem; vertical-align: top; margin-top: 4px; }

.room-back {
  transform: rotateY(180deg);
  background: linear-gradient(145deg, #1a1508, #0e0c04);
  border: 1px solid rgba(201,168,76,0.3);
  display: flex; flex-direction: column;
  justify-content: center; align-items: center;
  padding: 40px 32px; text-align: center;
}
.room-back-title {
  font-family: var(--font-display);
  font-size: 2rem; font-weight: 300;
  color: var(--gold); margin-bottom: 20px;
}
.room-back-desc {
  font-size: 0.75rem; line-height: 2;
  color: var(--white-dim); margin-bottom: 28px;
}
.room-amenities {
  display: flex; flex-wrap: wrap; gap: 8px;
  justify-content: center; margin-bottom: 36px;
}
.amenity-tag {
  font-size: 0.55rem; letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 5px 12px;
  border: 1px solid rgba(201,168,76,0.3);
  color: var(--gold-light);
}
.btn-book {
  background: var(--gold); color: var(--black);
  padding: 12px 36px;
  font-size: 0.62rem; letter-spacing: 0.25em;
  text-transform: uppercase; border: none;
  cursor: none; font-family: var(--font-body);
  font-weight: 500; transition: all 0.3s;
  text-decoration: none;
}
.btn-book:hover { background: var(--gold-light); }

/* ============================
   RESTAURANT
============================ */
#restaurant {
  background: var(--black);
  display: flex; align-items: center; gap: 0;
  padding: 0; overflow: hidden;
}
.restaurant-img {
  width: 50%; height: 700px; object-fit: cover;
  flex-shrink: 0;
  filter: brightness(0.85);
}
.restaurant-content {
  flex: 1; padding: 80px;
}
.restaurant-menu-preview {
  margin-top: 48px;
  border-top: 1px solid rgba(201,168,76,0.15);
}
.menu-item {
  display: flex; justify-content: space-between; align-items: center;
  padding: 18px 0;
  border-bottom: 1px solid rgba(201,168,76,0.08);
}
.menu-item-name {
  font-family: var(--font-display);
  font-size: 1.1rem; font-weight: 300;
}
.menu-item-desc {
  font-size: 0.65rem; color: var(--white-dim);
  letter-spacing: 0.08em;
}
.menu-item-price {
  font-family: var(--font-display);
  font-size: 1rem; color: var(--gold);
  white-space: nowrap; margin-left: 20px;
}

/* ============================
   SPA
============================ */
#spa {
  background: var(--dark);
  text-align: center;
}
.spa-header { max-width: 600px; margin: 0 auto 80px; }

.spa-grid {
  max-width: 1320px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 2px;
}
.spa-card {
  position: relative; height: 420px; overflow: hidden;
  cursor: none;
}
.spa-card img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.7s var(--transition), filter 0.7s;
  filter: brightness(0.6) saturate(0.8);
}
.spa-card:hover img { transform: scale(1.08); filter: brightness(0.5) saturate(0.6); }

.spa-card-overlay {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  justify-content: flex-end; padding: 32px;
  background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 60%);
}
.spa-card-num {
  font-family: var(--font-display);
  font-size: 3rem; font-weight: 300;
  color: rgba(201,168,76,0.2);
  line-height: 1; margin-bottom: 6px;
}
.spa-card-name {
  font-family: var(--font-display);
  font-size: 1.3rem; font-weight: 300; color: var(--white);
  margin-bottom: 6px;
}
.spa-card-desc {
  font-size: 0.65rem; color: var(--white-dim);
  line-height: 1.8;
  max-height: 0; overflow: hidden;
  transition: max-height 0.5s var(--transition), opacity 0.4s;
  opacity: 0;
}
.spa-card:hover .spa-card-desc { max-height: 80px; opacity: 1; }

/* ============================
   GALLERY
============================ */
#gallery { background: var(--black); padding: 120px 0; }
.gallery-header { padding: 0 60px; margin-bottom: 60px; }

/* Filter Tabs */
.gallery-filters {
  display: flex; gap: 12px; flex-wrap: wrap;
  margin-top: 40px;
}
.gallery-filter {
  background: transparent;
  border: 1px solid rgba(201,168,76,0.25);
  color: var(--white-dim);
  padding: 9px 26px;
  font-family: var(--font-body);
  font-size: 0.6rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  cursor: none;
  transition: all 0.3s var(--transition);
  font-weight: 400;
}
.gallery-filter:hover {
  border-color: var(--gold);
  color: var(--gold);
}
.gallery-filter.active {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--black);
  font-weight: 500;
}

.gallery-masonry {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 200px;
  gap: 4px;
  padding: 0 4px;
}
.gallery-item {
  overflow: hidden; position: relative; cursor: none;
  transition: opacity 0.4s ease, transform 0.4s ease;
}
.gallery-item.hidden {
  display: none;
}
.gallery-item.tall { grid-row: span 2; }
.gallery-item.wide { grid-column: span 2; }

.gallery-item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.7s var(--transition), filter 0.5s;
  filter: brightness(0.8) saturate(0.9);
}
.gallery-item:hover img { transform: scale(1.1); filter: brightness(1) saturate(1.1); }

.gallery-item-overlay {
  position: absolute; inset: 0;
  background: rgba(201,168,76,0);
  transition: background 0.4s;
}
.gallery-item:hover .gallery-item-overlay {
  background: rgba(201,168,76,0.06);
}

/* ============================
   LIGHTBOX
============================ */
.lightbox {
  display: none;
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.95);
  z-index: 99990;
  align-items: center;
  justify-content: center;
  padding: 40px;
  backdrop-filter: blur(8px);
}
.lightbox.open {
  display: flex;
  animation: lightboxFadeIn 0.3s ease;
}
@keyframes lightboxFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
.lightbox-img {
  max-width: 90vw;
  max-height: 88vh;
  object-fit: contain;
  border: 1px solid rgba(201,168,76,0.2);
  box-shadow: 0 0 80px rgba(0,0,0,0.8);
  animation: lightboxZoomIn 0.35s var(--transition);
}
@keyframes lightboxZoomIn {
  from { transform: scale(0.88); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}
.lightbox-close {
  position: absolute; top: 28px; right: 36px;
  background: none; border: 1px solid rgba(201,168,76,0.4);
  color: var(--gold);
  font-size: 1.6rem; line-height: 1;
  width: 46px; height: 46px;
  display: flex; align-items: center; justify-content: center;
  cursor: none;
  transition: all 0.3s;
  font-family: serif;
}
.lightbox-close:hover {
  background: var(--gold);
  color: var(--black);
}

/* ============================
   BOOKING FORM
============================ */
#booking {
  background: linear-gradient(135deg, #0d0b04, var(--dark));
  position: relative; overflow: hidden;
}
#booking::before {
  content: '';
  position: absolute; inset: 0;
  background: url('https://images.unsplash.com/photo-1551882547-ff40c63fe5fa?w=1800&q=60') center/cover;
  opacity: 0.04;
}
.booking-container {
  max-width: 900px; margin: 0 auto;
  position: relative; z-index: 1;
}
.booking-header { text-align: center; margin-bottom: 70px; }

.booking-form {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(201,168,76,0.2);
  padding: 60px;
  backdrop-filter: blur(10px);
}
.form-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 24px;
  margin-bottom: 24px;
}
.form-row.three { grid-template-columns: 1fr 1fr 1fr; }

.form-group { display: flex; flex-direction: column; gap: 10px; }
.form-group label {
  font-size: 0.58rem; letter-spacing: 0.25em;
  text-transform: uppercase; color: var(--gold);
}
.form-group input,
.form-group select {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(201,168,76,0.2);
  border-radius: 0;
  color: var(--white);
  padding: 14px 18px;
  font-family: var(--font-body);
  font-size: 0.8rem; font-weight: 300;
  outline: none;
  transition: border-color 0.3s;
  cursor: none;
  -webkit-appearance: none;
}
.form-group input:focus,
.form-group select:focus { border-color: var(--gold); }
.form-group select option { background: var(--dark2); }
.form-group input::placeholder { color: rgba(245,240,232,0.25); font-size: 0.75rem; }

.btn-submit {
  display: block; width: 100%; margin-top: 36px;
  background: var(--gold); color: var(--black);
  padding: 18px; border: none; cursor: none;
  font-family: var(--font-body);
  font-size: 0.68rem; letter-spacing: 0.3em;
  text-transform: uppercase; font-weight: 500;
  transition: all 0.3s;
}
.btn-submit:hover { background: var(--gold-light); letter-spacing: 0.4em; }

/* Confirmation toast */
.toast {
  position: fixed; bottom: 40px; right: 40px;
  background: var(--gold); color: var(--black);
  padding: 16px 28px;
  font-size: 0.7rem; letter-spacing: 0.15em;
  text-transform: uppercase; font-weight: 500;
  transform: translateY(120px); opacity: 0;
  transition: all 0.4s var(--transition);
  z-index: 9999;
}
.toast.show { transform: translateY(0); opacity: 1; }

/* ============================
   CONTACT
============================ */
#contact { background: var(--dark); }
.contact-grid {
  max-width: 1320px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: start;
}
.contact-item { margin-bottom: 44px; }
.contact-item-label {
  font-size: 0.58rem; letter-spacing: 0.3em;
  text-transform: uppercase; color: var(--gold);
  margin-bottom: 10px;
}
.contact-item-value {
  font-family: var(--font-display);
  font-size: 1.2rem; font-weight: 300;
  line-height: 1.7;
}
.contact-nearby {
  font-family: var(--font-body);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  color: var(--gold-dim);
  display: block;
  margin-top: 6px;
}

/* Map iframe container */
.contact-map {
  width: 100%; height: 440px;
  border: 1px solid rgba(201,168,76,0.15);
  overflow: hidden;
  position: relative;
}
.contact-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* WhatsApp social link */
.social-links { display: flex; gap: 20px; margin-top: 48px; }
.social-link {
  width: 52px; height: 52px;
  border: 1px solid rgba(201,168,76,0.3);
  display: flex; align-items: center; justify-content: center;
  color: var(--gold-dim); text-decoration: none;
  font-size: 0.65rem; letter-spacing: 0.1em;
  transition: all 0.3s;
}
.social-link:hover {
  border-color: var(--gold);
  background: rgba(201,168,76,0.06);
  transform: translateY(-3px);
}
.whatsapp-link { padding: 10px; }
.whatsapp-icon {
  width: 30px; height: 30px;
  object-fit: contain;
  display: block;
}

/* ============================
   FOOTER
============================ */
footer {
  background: var(--black);
  border-top: 1px solid rgba(201,168,76,0.12);
  padding: 48px 60px;
  display: flex; align-items: center; justify-content: space-between;
}
.footer-logo {
  font-family: var(--font-display);
  font-size: 1.2rem; color: var(--gold); font-weight: 300;
}
.footer-copy {
  font-size: 0.6rem; letter-spacing: 0.15em;
  color: rgba(245,240,232,0.25); text-transform: uppercase;
}

/* ============================
   GOLD DIVIDER
============================ */
.gold-divider {
  width: 100%; height: 1px;
  background: linear-gradient(to right, transparent, var(--gold), transparent);
  opacity: 0.3;
}

/* ============================
   RESPONSIVE
============================ */
@media (max-width: 1024px) {
  .rooms-grid { grid-template-columns: 1fr 1fr; }
  .spa-grid { grid-template-columns: 1fr 1fr; }
  .gallery-masonry { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  nav { padding: 20px 24px; }
  nav.scrolled { padding: 14px 24px; }
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }
  section { padding: 80px 24px; }
  .hero-stats { display: none; }
  .rooms-grid { grid-template-columns: 1fr; }
  #restaurant { flex-direction: column; }
  .restaurant-img { width: 100%; height: 300px; }
  .restaurant-content { padding: 40px 24px; }
  .spa-grid { grid-template-columns: 1fr 1fr; }
  .gallery-masonry { grid-template-columns: 1fr 1fr; grid-auto-rows: 160px; }
  .gallery-item.wide { grid-column: span 1; }
  .gallery-filters { gap: 8px; }
  .gallery-filter { padding: 7px 16px; font-size: 0.55rem; }
  .form-row { grid-template-columns: 1fr; }
  .form-row.three { grid-template-columns: 1fr; }
  .booking-form { padding: 32px 24px; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .contact-map { height: 320px; }
  footer { flex-direction: column; gap: 20px; text-align: center; }
  .cursor, .cursor-ring { display: none; }
  body { cursor: auto; }
  .room-card-wrap:hover .room-card { transform: none; }
  .lightbox-close { cursor: pointer; }
  .gallery-filter { cursor: pointer; }
  .gallery-item { cursor: pointer; }
}
