/* ============ Design Tokens ============ */
:root {
  --bg: #0b0a08;
  --bg-alt: #121009;
  --surface: #17140e;
  --surface-2: #1d1a12;
  --border: rgba(212, 175, 55, 0.18);
  --gold: #d4af37;
  --gold-light: #f3d585;
  --gold-deep: #a97e2b;
  --text: #f2ede0;
  --text-dim: #c9c2ac;
  --text-faint: #8a8371;
  --whatsapp: #25d366;
  --whatsapp-deep: #1cae54;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-soft: 0 20px 50px -20px rgba(0, 0, 0, 0.6);
  --font-serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --font-sans: 'Jost', 'Segoe UI', Roboto, Arial, sans-serif;
}

/* ============ Reset ============ */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-weight: 300;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
svg { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.container {
  width: 100%;
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 24px;
}

.gold-text {
  background: linear-gradient(120deg, var(--gold-deep), var(--gold-light) 45%, var(--gold) 75%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 600;
  letter-spacing: 0.01em;
}

/* ============ Buttons ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 26px;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  white-space: nowrap;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color .25s ease;
}
.btn svg { width: 17px; height: 17px; flex-shrink: 0; }
.btn-lg { padding: 16px 32px; font-size: 1rem; }

.btn-solid {
  background: linear-gradient(135deg, var(--whatsapp), var(--whatsapp-deep));
  color: #06210f;
  font-weight: 600;
  box-shadow: 0 10px 25px -8px rgba(37, 211, 102, 0.55);
}
.btn-solid:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -8px rgba(37, 211, 102, 0.7); }

.btn-outline {
  background: transparent;
  color: var(--gold-light);
  border: 1.5px solid var(--border);
}
.btn-outline:hover { border-color: var(--gold); background: rgba(212, 175, 55, 0.08); transform: translateY(-2px); }

.btn-light { color: var(--bg); background: var(--text); border-color: transparent; }
.btn-light:hover { background: var(--gold-light); }

.btn-ghost {
  background: transparent;
  color: var(--text-dim);
  border: 1px solid rgba(255,255,255,0.12);
  padding: 10px 18px;
  font-size: 0.85rem;
}
.btn-ghost:hover { color: var(--gold-light); border-color: var(--border); }

/* ============ Header ============ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 500;
  padding: 18px 0;
  background: linear-gradient(to bottom, rgba(11,10,8,0.9), rgba(11,10,8,0));
  transition: background 0.35s ease, padding 0.35s ease, box-shadow .35s ease;
}
.site-header.scrolled {
  padding: 10px 0;
  background: rgba(10, 9, 7, 0.92);
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 30px -15px rgba(0,0,0,0.7);
  border-bottom: 1px solid var(--border);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; }

.brand { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.brand-mark { height: 38px; width: auto; }
.brand-name {
  font-family: var(--font-serif);
  font-size: 1.28rem;
  font-weight: 600;
  color: var(--text);
  letter-spacing: 0.01em;
}
.brand-name em { font-style: normal; color: var(--gold-light); }

.main-nav { display: flex; gap: 30px; }
.main-nav a {
  font-size: 0.92rem;
  color: var(--text-dim);
  position: relative;
  padding: 4px 0;
  transition: color 0.25s ease;
}
.main-nav a:hover { color: var(--gold-light); }
.main-nav a::after {
  content: '';
  position: absolute; left: 0; bottom: -2px;
  height: 1px; width: 0;
  background: var(--gold);
  transition: width 0.3s ease;
}
.main-nav a:hover::after { width: 100%; }

.header-actions { display: flex; align-items: center; gap: 10px; }
.nav-panel { display: contents; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px; height: 40px;
  flex-shrink: 0;
  margin-left: auto;
}
.nav-toggle span {
  height: 2px; width: 100%;
  background: var(--gold-light);
  border-radius: 2px;
  transition: transform .3s ease, opacity .3s ease;
}
.nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============ Hero ============ */
.hero {
  position: relative;
  padding: 200px 0 150px;
  overflow: hidden;
  min-height: 700px;
  display: flex;
  align-items: center;
  background: var(--bg);
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 38%;
  background-repeat: no-repeat;
  z-index: 0;
}
.hero-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(100deg, rgba(6,5,4,0.95) 4%, rgba(6,5,4,0.86) 34%, rgba(6,5,4,0.55) 62%, rgba(6,5,4,0.22) 100%),
    linear-gradient(to top, rgba(4,3,2,0.75), transparent 42%);
}
.hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
}
.hero-copy { max-width: 640px; }
.eyebrow, .section-eyebrow {
  font-size: 0.8rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
  margin-bottom: 18px;
  display: inline-block;
}
.hero h1 {
  font-size: clamp(2.6rem, 5.2vw, 4.2rem);
  line-height: 1.08;
  color: var(--text);
  margin-bottom: 18px;
}
.hero-tamil {
  font-family: var(--font-serif);
  color: var(--text-faint);
  font-size: 1.05rem;
  margin-bottom: 22px;
}
.hero-desc {
  max-width: 480px;
  color: var(--text-dim);
  font-size: 1.05rem;
  margin-bottom: 34px;
}
.hero-ctas { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 40px; }

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
}
.hero-badges li {
  font-size: 0.8rem;
  color: var(--text-dim);
  padding: 8px 16px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(212, 175, 55, 0.04);
}


/* ============ Sections ============ */
.section { padding: 110px 0; }
.section-alt { background: var(--bg-alt); }
.section-title {
  font-size: clamp(1.9rem, 3.4vw, 2.6rem);
  color: var(--text);
  margin-bottom: 18px;
  max-width: 700px;
}
.section-lead { color: var(--text-dim); max-width: 560px; margin-bottom: 50px; font-size: 1.02rem; }

/* ============ Amenities ============ */
.amenities-grid {
  margin-top: 50px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
}
.amenity-card {
  padding: 34px 26px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: transform 0.3s ease, border-color 0.3s ease, background .3s ease;
}
.amenity-card:hover {
  transform: translateY(-6px);
  border-color: rgba(212,175,55,0.4);
  background: var(--surface-2);
}
.amenity-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px; height: 52px;
  border-radius: 50%;
  background: rgba(212, 175, 55, 0.1);
  color: var(--gold-light);
  margin-bottom: 20px;
}
.amenity-icon svg { width: 24px; height: 24px; }
.amenity-card h3 {
  font-size: 1.15rem;
  color: var(--text);
  margin-bottom: 10px;
  font-weight: 600;
}
.amenity-card p { color: var(--text-faint); font-size: 0.92rem; }

/* ============ Gallery ============ */
.gallery {
  margin-top: 10px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 230px;
  gap: 18px;
}
.gallery-item:nth-child(1) { grid-row: span 2; }
.gallery-item:nth-child(4) { grid-row: span 2; }
.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  display: block;
  width: 100%; height: 100%;
  border: 1px solid var(--border);
}
.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.gallery-item:hover img { transform: scale(1.08); }
.gallery-caption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 30px 18px 16px;
  font-family: var(--font-serif);
  font-size: 1rem;
  color: var(--text);
  text-align: left;
  background: linear-gradient(to top, rgba(0,0,0,0.85), transparent);
}

.rooms-cta {
  margin-top: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  padding: 30px 36px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
}
.rooms-cta p { color: var(--text-dim); max-width: 480px; }

/* ============ Occasions ============ */
.occasions {
  position: relative;
  padding: 110px 0;
  background:
    linear-gradient(rgba(8,7,5,0.86), rgba(8,7,5,0.9)),
    url('../assets/rooms/deluxe-suite.jpg') center 25% / cover no-repeat;
}
.occasions-inner { max-width: 680px; }
.section-eyebrow-light { color: var(--gold-light); }
.section-title-light { color: var(--text); }
.occasions-desc { color: var(--text-dim); font-size: 1.05rem; margin-bottom: 30px; max-width: 560px; }
.occasions-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 36px;
}
.occasions-list span {
  font-size: 0.85rem;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid var(--border);
  color: var(--gold-light);
  background: rgba(212,175,55,0.06);
}

/* ============ Location ============ */
.location-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 40px;
  align-items: stretch;
  margin-top: 40px;
}
.location-details {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 44px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.location-photo {
  margin: -44px -44px 28px;
  height: 170px;
  overflow: hidden;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}
.location-photo img { width: 100%; height: 100%; object-fit: cover; }
.location-details h3 {
  font-size: 1.6rem;
  color: var(--gold-light);
  margin-bottom: 16px;
}
.location-address { color: var(--text-dim); margin-bottom: 26px; line-height: 1.8; }
.location-phones { display: flex; flex-direction: column; gap: 12px; margin-bottom: 30px; }
.location-phones a {
  display: flex; align-items: center; gap: 10px;
  color: var(--text); font-size: 1.05rem; font-weight: 500;
  transition: color 0.25s ease;
}
.location-phones a svg { width: 17px; height: 17px; color: var(--gold); }
.location-phones a:hover { color: var(--gold-light); }
.location-ctas { display: flex; gap: 14px; flex-wrap: wrap; }

.location-map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  min-height: 340px;
}
.location-map iframe { width: 100%; height: 100%; min-height: 340px; border: 0; filter: grayscale(0.15) contrast(1.05); }

/* ============ Footer ============ */
.site-footer {
  background: #060504;
  border-top: 1px solid var(--border);
  padding: 70px 0 0;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 50px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.footer-brand { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.footer-brand .brand-mark { height: 44px; }
.footer-bismillah {
  font-family: var(--font-serif);
  color: var(--text-faint);
  font-size: 1rem;
  margin-top: 8px;
}
.footer-col h4 {
  font-family: var(--font-sans);
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
  font-weight: 500;
}
.footer-col { display: flex; flex-direction: column; gap: 11px; }
.footer-col a, .footer-col p { color: var(--text-faint); font-size: 0.92rem; }
.footer-col a:hover { color: var(--gold-light); }
.footer-bottom {
  text-align: center;
  padding: 26px 0;
  color: var(--text-faint);
  font-size: 0.8rem;
}

/* ============ Floating WhatsApp ============ */
.float-whatsapp {
  position: fixed;
  right: 26px; bottom: 26px;
  width: 60px; height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--whatsapp), var(--whatsapp-deep));
  display: flex; align-items: center; justify-content: center;
  color: #06210f;
  box-shadow: 0 12px 30px -8px rgba(37,211,102,0.6);
  z-index: 400;
  animation: floatPulse 2.6s ease-in-out infinite;
}
.float-whatsapp svg { width: 30px; height: 30px; }
@keyframes floatPulse {
  0%, 100% { box-shadow: 0 12px 30px -8px rgba(37,211,102,0.6); }
  50% { box-shadow: 0 12px 30px -4px rgba(37,211,102,0.9); }
}

/* ============ Mobile sticky bar ============ */
.mobile-sticky-bar {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 450;
  padding: 12px 16px;
  gap: 12px;
  background: rgba(10,9,7,0.96);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--border);
}
.mobile-sticky-bar .btn { flex: 1; }

/* ============ Lightbox ============ */
.lightbox {
  position: fixed; inset: 0;
  background: rgba(4,3,2,0.94);
  display: none;
  align-items: center; justify-content: center;
  z-index: 900;
  padding: 40px;
}
.lightbox.active { display: flex; flex-direction: column; }
.lightbox img {
  max-width: 90vw;
  max-height: 78vh;
  border-radius: 10px;
  box-shadow: 0 30px 80px -20px rgba(0,0,0,0.8);
}
.lightbox-caption {
  color: var(--text-dim);
  margin-top: 18px;
  font-family: var(--font-serif);
  font-size: 1.1rem;
}
.lightbox-close {
  position: absolute; top: 24px; right: 30px;
  font-size: 2.2rem; color: var(--text);
  line-height: 1;
}
.lightbox-close:hover { color: var(--gold-light); }
.lightbox-nav {
  position: absolute; top: 50%;
  transform: translateY(-50%);
  font-size: 1.6rem;
  color: var(--text);
  padding: 14px 18px;
}
.lightbox-nav:hover { color: var(--gold-light); }
.lightbox-prev { left: 12px; }
.lightbox-next { right: 12px; }

/* ============ Reveal animation ============ */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.8s ease, transform 0.8s ease; }
.reveal.in-view { opacity: 1; transform: translateY(0); }

/* ============ Responsive ============ */
@media (max-width: 980px) {
  .amenities-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 220px; }
  .gallery-item:nth-child(1), .gallery-item:nth-child(4) { grid-row: span 2; }
  .location-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .nav-panel { display: none; }
  .nav-toggle { display: flex; }
  .header-inner { gap: 10px; }
  .brand { min-width: 0; gap: 8px; }
  .brand-mark { height: 30px; }
  .brand-name { font-size: 1rem; white-space: nowrap; }

  .site-header.nav-open .nav-panel {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: rgba(8,7,5,0.98);
    padding: 24px 24px 28px;
    gap: 26px;
    border-bottom: 1px solid var(--border);
    max-height: calc(100vh - 100%);
    overflow-y: auto;
  }
  .site-header.nav-open .main-nav {
    display: flex;
    flex-direction: column;
    gap: 18px;
  }
  .site-header.nav-open .header-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }
  .site-header.nav-open .header-actions .btn { width: 100%; }

  .hero { padding: 120px 0 130px; min-height: 0; }
  .hero-scrim {
    background:
      linear-gradient(rgba(6,5,4,0.55), rgba(6,5,4,0.88) 55%, rgba(6,5,4,0.97)),
      linear-gradient(to top, rgba(4,3,2,0.4), transparent 30%);
  }
  .section { padding: 48px 0; }
  .occasions { padding: 56px 0; }
  .section-lead { margin-bottom: 30px; }
  .amenities-grid { margin-top: 30px; }
  .location-grid { margin-top: 26px; }
  .rooms-cta { margin-top: 32px; }
  .mobile-sticky-bar { display: flex; }
  body { padding-bottom: 78px; }
  .float-whatsapp { bottom: 92px; right: 18px; width: 54px; height: 54px; }
  .rooms-cta { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 560px) {
  .amenities-grid { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 180px; }
  .footer-inner { grid-template-columns: 1fr; }
}
