/* ============================================================
   IZA HOME — Premium Accommodation Platform
   Main Stylesheet  |  Elegant Light Theme
   ============================================================ */

/* ── Reset & Root ─────────────────────────────────────────── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --gold:        #C4922A;
  --gold-light:  #D4A84B;
  --gold-dark:   #9A7020;
  --gold-pale:   #FDF7EC;
  --black:       #111111;
  --dark:        #2A2826;
  --darker:      #1A1816;
  --white:       #FFFFFF;
  --cream:       #FAFAF7;
  --beige:       #F5F0E8;
  --muted:       #7A7870;
  --border:      #E8E2D4;
  --card-border: rgba(196,146,42,0.2);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Poppins', sans-serif;
  background: var(--cream);
  color: var(--black);
  overflow-x: hidden;
}

/* ── Navigation ───────────────────────────────────────────── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 1.1rem 2rem;
  background: transparent;
  transition: padding 0.4s ease;
}

.navbar-container {
  max-width: 1300px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 100px;
  padding: 0.65rem 1.8rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.18);
  transition: all 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar-container:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.28);
}

/* Scrolled — solid black full-width bar */
nav.scrolled {
  padding: 0;
}

nav.scrolled .navbar-container {
  max-width: 100%;
  border-radius: 0;
  margin: 0;
  padding: 0.9rem 3rem;
  background: #000000;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border: none;
  border-bottom: 1px solid rgba(196, 146, 42, 0.2);
  box-shadow: 0 4px 28px rgba(0, 0, 0, 0.5);
}

nav.scrolled .navbar-container:hover {
  background: #111111;
}

/* ── Logo image ── */
.logo-img {
  height: 52px;
  width: auto;
  object-fit: contain;
  display: block;
  transition: filter 0.4s ease, transform 0.3s ease;
}

.logo-img:hover {
  transform: scale(1.04);
}

nav.scrolled .logo-img {
  filter: none;
}

/* ── Nav links ── */
.nav-links { display: flex; gap: 2rem; list-style: none; }

.nav-links a {
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
  font-size: 0.74rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  transition: color 0.3s;
}

.nav-links a:hover { color: var(--gold-light); }

.nav-links a.nav-active {
  color: var(--gold);
  font-weight: 600;
  position: relative;
}

.nav-links a.nav-active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
}

nav.scrolled .nav-links a             { color: rgba(255, 255, 255, 0.82); }
nav.scrolled .nav-links a:hover       { color: var(--gold-light); }
nav.scrolled .nav-links a.nav-active  { color: var(--gold); }

/* ── Nav actions ── */
.nav-actions { display: flex; gap: 0.8rem; align-items: center; }

.nav-cta {
  background: transparent;
  border: 1.5px solid rgba(255, 255, 255, 0.55);
  color: rgba(255, 255, 255, 0.88);
  padding: 0.45rem 1.3rem;
  font-family: 'Poppins', sans-serif;
  font-size: 0.68rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  cursor: pointer;
  border-radius: 100px;
  transition: all 0.3s;
  display: inline-block;
  text-decoration: none;
}

.nav-cta:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.85);
  color: #fff;
}

nav.scrolled .nav-cta {
  border-color: rgba(255, 255, 255, 0.55);
  color: rgba(255, 255, 255, 0.88);
}

nav.scrolled .nav-cta:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.85);
  color: #fff;
}

.nav-cta-gold {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--white) !important;
}

.nav-cta-gold:hover { background: var(--gold-dark); border-color: var(--gold-dark); }

nav.scrolled .nav-cta-gold { border-color: var(--gold); }

/* ── nav-right groups links + actions on desktop ── */
.nav-right {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-left: auto;
}

/* ── Hamburger button ── */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
  margin-left: auto;
}

.hamburger:hover span { background: rgba(255,255,255,0.75); }

.hamburger span {
  display: block;
  width: 22px;
  height: 2.5px;
  background: #ffffff;
  border-radius: 3px;
  transition: transform 0.32s ease, opacity 0.22s ease;
  pointer-events: none;
}

/* X state */
.hamburger.active span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.active span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

@media (max-width: 768px) {
  .hamburger  { display: flex !important; }
  .nav-right  { display: none; }
}

/* ── Mobile slide-in nav ── */
.mobile-nav {
  position: fixed;
  top: 0;
  right: -100%;
  width: min(300px, 82vw);
  height: 100vh;
  background: #0a0a0a;
  z-index: 1050;
  display: flex;
  flex-direction: column;
  padding: 0 0 2rem;
  transition: right 0.36s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: -10px 0 50px rgba(0,0,0,0.5);
}

.mobile-nav.open { right: 0; }

.mobile-nav-header {
  display: flex;
  align-items: center;
  padding: 1.4rem 1.6rem;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  min-height: 70px;
}

.mobile-nav-logo { height: 36px; object-fit: contain; }

.mobile-nav-close {
  margin-left: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 50%;
  cursor: pointer;
  color: #ffffff;
  transition: background 0.2s, border-color 0.2s;
  flex-shrink: 0;
}

.mobile-nav-close:hover {
  background: rgba(255,255,255,0.16);
  border-color: rgba(255,255,255,0.35);
}

.mobile-nav-close svg { width: 16px; height: 16px; }

.mobile-nav-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  padding: 0.8rem 0;
  flex: 1;
}

.mobile-nav-links li a {
  display: block;
  padding: 1rem 1.6rem;
  color: rgba(255,255,255,0.78);
  text-decoration: none;
  font-family: 'Poppins', sans-serif;
  font-size: 0.92rem;
  font-weight: 400;
  letter-spacing: 0.3px;
  border-left: 3px solid transparent;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}

.mobile-nav-links li a:hover {
  color: #ffffff;
  background: rgba(255,255,255,0.04);
  border-left-color: var(--gold);
}

.mobile-nav-links li a.nav-active {
  color: var(--gold);
  border-left-color: var(--gold);
  font-weight: 600;
}

.mobile-nav-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1.2rem 1.6rem 0;
  border-top: 1px solid rgba(255,255,255,0.07);
}

.mobile-nav-actions a {
  display: block;
  text-align: center;
  padding: 0.8rem 1rem;
  border-radius: 8px;
  font-family: 'Poppins', sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  transition: background 0.2s, border-color 0.2s;
}

.mobile-signin {
  border: 1.5px solid rgba(255,255,255,0.3);
  color: rgba(255,255,255,0.88) !important;
}

.mobile-signin:hover { border-color: rgba(255,255,255,0.7); background: rgba(255,255,255,0.06); }

.mobile-book {
  background: var(--gold);
  border: 1.5px solid var(--gold);
  color: #ffffff !important;
}

.mobile-book:hover { background: var(--gold-dark); border-color: var(--gold-dark); }

/* ── Backdrop ── */
.mobile-nav-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  z-index: 1040;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.36s ease;
}

.mobile-nav-backdrop.active {
  opacity: 1;
  pointer-events: all;
}

/* ── Hero ─────────────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  text-align: left;
  padding: 8rem 6rem 5rem;
  position: relative;
  overflow: hidden;
}

/* Slides container */
.hero-slides {
  position: absolute;
  inset: 0;
  z-index: 0;
}

/* Each slide */
.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.4s ease;
  will-change: opacity, transform;
}

.hero-slide.active {
  opacity: 1;
  animation: kenBurns 7s ease-out forwards;
}

@keyframes kenBurns {
  0%   { transform: scale(1);    }
  100% { transform: scale(1.12); }
}

/* Dark gradient overlay */
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(to right,
    rgba(8,8,8,0.82) 0%,
    rgba(8,8,8,0.52) 55%,
    rgba(8,8,8,0.18) 100%);
  pointer-events: none;
}

/* Push all direct hero content above the overlay */
.hero > *:not(.hero-slides):not(.hero-overlay) {
  position: relative;
  z-index: 2;
}

/* Slide dot indicators */
.hero-dots {
  position: absolute;
  bottom: 2.8rem;
  left: 6rem;
  display: flex;
  gap: 0.5rem;
  z-index: 3;
}

.hero-dot {
  width: 30px;
  height: 2px;
  background: rgba(255,255,255,0.28);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: width 0.4s ease, background 0.4s ease;
}

.hero-dot.active {
  width: 52px;
  background: var(--gold);
}

.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.8rem, 6vw, 5.5rem);
  font-weight: 400;
  line-height: 1.1;
  color: #ffffff;
  margin-bottom: 1.5rem;
  max-width: 800px;
  animation: fadeUp 0.8s ease 0.3s both;
}

.hero h1 em { font-style: italic; color: var(--gold); }

/* ── Cycling word animation ── */
.hero-word {
  display: inline-block;
  position: relative;
  vertical-align: baseline;
}

.hero-word-text {
  display: inline-block;
  animation: wordIn 0.7s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.hero-word-text.leaving {
  animation: wordOut 0.5s cubic-bezier(0.55, 0, 0.45, 1) forwards;
}

@keyframes wordIn {
  0%   { opacity: 0; transform: translateY(18px); filter: blur(6px); }
  100% { opacity: 1; transform: translateY(0);    filter: blur(0);   }
}

@keyframes wordOut {
  0%   { opacity: 1; transform: translateY(0);     filter: blur(0);   }
  100% { opacity: 0; transform: translateY(-18px); filter: blur(6px); }
}

.hero p {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.72);
  max-width: 500px;
  line-height: 1.9;
  margin-bottom: 3rem;
  font-weight: 300;
  animation: fadeUp 0.8s ease 0.5s both;
}

/* ── Search Bar — Glassmorphism ───────────────────────────── */
.search-container {
  background: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow:
    0 8px 48px rgba(0, 0, 0, 0.45),
    0 2px 16px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: stretch;
  max-width: 880px;
  width: 100%;
  margin: 0 0 1rem;
  overflow: hidden;
  animation: fadeUp 0.8s ease 0.7s both;
}

.search-field {
  flex: 1;
  padding: 1.3rem 1.6rem;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  transition: background 0.2s;
}

.search-field:hover { background: rgba(255, 255, 255, 0.06); }
.search-field-narrow { max-width: 130px; border-right: none; }

.search-field label {
  font-size: 0.56rem;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--gold-light);
  font-weight: 600;
}

.search-field input,
.search-field select {
  background: transparent;
  border: none;
  outline: none;
  color: #ffffff;
  font-family: 'Poppins', sans-serif;
  font-size: 0.82rem;
  font-weight: 400;
  width: 100%;
  color-scheme: dark;
}

.search-field select option { background: #1c1a18; color: #ffffff; }

.search-btn {
  background: var(--gold);
  border: none;
  padding: 0 2.4rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Poppins', sans-serif;
  font-size: 0.68rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--white);
  font-weight: 600;
  transition: background 0.3s;
  white-space: nowrap;
}

.search-btn:hover { background: var(--gold-dark); }
.search-btn svg { width: 15px; height: 15px; }

/* ── Stats — Glassmorphism (light) ───────────────────────── */
.stats {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 1.2rem;
  padding: 2.2rem 5rem;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: relative;
}

.stat {
  flex: 1;
  max-width: 220px;
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(196, 146, 42, 0.18);
  border-radius: 14px;
  padding: 1.4rem 1.2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  cursor: default;
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.stat::before {
  content: '';
  position: absolute;
  top: 0; left: 15%; right: 15%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(196,146,42,0.55), transparent);
}

.stat:hover {
  transform: translateY(-4px);
  border-color: rgba(196, 146, 42, 0.4);
  box-shadow: 0 12px 32px rgba(196,146,42,0.1), 0 4px 12px rgba(0,0,0,0.06);
}

.stat-icon {
  width: 32px;
  height: 32px;
  margin: 0 auto 0.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(196, 146, 42, 0.25);
  border-radius: 50%;
  background: rgba(196, 146, 42, 0.06);
}

.stat-icon svg {
  width: 14px;
  height: 14px;
  stroke: var(--gold);
}

.stat-num {
  font-family: 'Poppins', sans-serif;
  font-size: 2rem;
  color: var(--gold);
  font-weight: 600;
  line-height: 1;
  margin-bottom: 0.35rem;
  letter-spacing: -0.5px;
}

.stat-label {
  font-size: 0.54rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--muted);
}

/* ── Sections — Shared ────────────────────────────────────── */
section { padding: 5.5rem 3rem; }

.section-label {
  font-size: 0.6rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400;
  margin-bottom: 1rem;
  line-height: 1.2;
  color: var(--black);
}

.section-title em { font-style: italic; color: var(--gold); }

.section-sub {
  font-size: 0.85rem;
  color: var(--muted);
  max-width: 500px;
  line-height: 1.9;
  font-weight: 300;
}

/* ── Featured Rooms ───────────────────────────────────────── */
.featured { background: var(--cream); }

.featured-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 3rem;
}

.view-all {
  font-size: 0.66rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  text-decoration: none;
  border-bottom: 1px solid rgba(196,146,42,0.3);
  padding-bottom: 2px;
  transition: border-color 0.3s;
}

.view-all:hover { border-color: var(--gold); }

.rooms-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.8rem;
  background: transparent;
}

.room-card {
  background: var(--white);
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.4s, box-shadow 0.4s;
  border: 1px solid var(--border);
  box-shadow: 0 2px 16px rgba(0,0,0,0.05);
}

.room-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.1), 0 2px 8px rgba(196,146,42,0.08);
}

.room-card:hover .room-img { transform: scale(1.05); }

.room-img-wrap { overflow: hidden; height: 260px; position: relative; }

.room-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
  display: block;
}

.room-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: var(--gold);
  color: var(--white);
  font-size: 0.56rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 0.3rem 0.85rem;
  font-weight: 700;
}

.room-info { padding: 1.6rem; }

.room-name {
  font-family: 'Poppins', sans-serif;
  font-size: 1.1rem;
  margin-bottom: 0.3rem;
  font-weight: 600;
  color: var(--black);
}

.room-location {
  font-size: 0.68rem;
  color: var(--muted);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.room-amenities { display: flex; gap: 0.8rem; flex-wrap: wrap; margin-bottom: 1.2rem; }

.amenity {
  font-size: 0.63rem;
  letter-spacing: 0.5px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 4px;
}

.amenity::before { content: '·'; color: var(--gold); font-size: 1rem; line-height: 1; }

.room-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--border);
  padding-top: 1rem;
}

.room-price {
  font-family: 'Poppins', sans-serif;
  font-size: 1.1rem;
  color: var(--gold);
  font-weight: 600;
}

.room-price span {
  font-family: 'Poppins', sans-serif;
  font-size: 0.63rem;
  color: var(--muted);
  font-weight: 300;
}

.book-btn {
  background: transparent;
  border: 1px solid rgba(196,146,42,0.45);
  color: var(--gold-dark);
  padding: 0.45rem 1.1rem;
  font-size: 0.6rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  cursor: pointer;
  font-family: 'Poppins', sans-serif;
  transition: all 0.3s;
  text-decoration: none;
  display: inline-block;
}

.book-btn:hover { background: var(--gold); color: var(--white); border-color: var(--gold); }

/* ── Locations ────────────────────────────────────────────── */
.locations { background: var(--beige); }

.locations-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 0;
}

.section-sub-right { text-align: right; margin-bottom: 0; }

.locations-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
  margin-top: 3rem;
}

.loc-card {
  position: relative;
  height: 300px;
  overflow: hidden;
  cursor: pointer;
  border-radius: 4px;
  display: block;
  text-decoration: none;
}

.loc-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              filter   0.7s ease;
  filter: brightness(0.72);
  transform-origin: center center;
}

.loc-card:hover .loc-img {
  transform: scale(1.1);
  filter: brightness(0.45);
}

.loc-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
  background: linear-gradient(0deg, rgba(10,10,10,0.85) 0%, rgba(10,10,10,0.1) 55%, transparent 100%);
  transition: background 0.5s ease;
}

.loc-card:hover .loc-overlay {
  background: linear-gradient(0deg, rgba(10,10,10,0.92) 0%, rgba(10,10,10,0.3) 60%, transparent 100%);
}

.loc-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  font-weight: 500;
  color: #fff;
  margin-bottom: 0.2rem;
  transform: translateY(4px);
  transition: transform 0.4s ease;
}

.loc-card:hover .loc-name {
  transform: translateY(0);
}

.loc-count {
  font-size: 0.6rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold-light);
  opacity: 0.75;
  transform: translateY(6px);
  transition: transform 0.4s ease 0.05s, opacity 0.4s ease 0.05s;
}

.loc-card:hover .loc-count {
  transform: translateY(0);
  opacity: 1;
}

/* ── Why Us ───────────────────────────────────────────────── */
.why {
  position: relative;
  padding: 7rem 2rem;
  overflow: hidden;
  isolation: isolate;
}

/* YouTube iframe stretched to fill section */
.why-video-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  overflow: hidden;
}
.why-video-bg iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 177.78vh;   /* 16/9 ratio */
  height: 56.25vw;   /* 9/16 ratio */
  min-width: 100%;
  min-height: 100%;
  transform: translate(-50%, -50%);
  border: none;
}

/* Dark overlay so text stays readable */
.why-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    to bottom,
    rgba(4,3,2,0.72) 0%,
    rgba(4,3,2,0.62) 50%,
    rgba(4,3,2,0.78) 100%
  );
}

.why-wrapper {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
}

.why-intro {
  text-align: center;
  max-width: 580px;
  margin: 0 auto 4.5rem;
}

/* Override text colors for dark video background */
.why .section-title {
  color: #ffffff;
}
.why .section-sub {
  color: rgba(255,255,255,0.6);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.8rem;
}

.why-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 2.8rem 2.4rem 2.4rem;
  position: relative;
  overflow: hidden;
  border-top: 3px solid var(--gold);
  box-shadow: 0 4px 28px rgba(0,0,0,0.06);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.why-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 24px 64px rgba(0,0,0,0.11), 0 0 0 1px rgba(196,146,42,0.18);
}

.why-card--featured {
  background: #0a0a0a;
  border-top-color: var(--gold);
}

.why-card--featured .why-title { color: #ffffff; }
.why-card--featured .why-desc  { color: rgba(255,255,255,0.55); }
.why-card--featured .why-badge {
  background: rgba(196,146,42,0.15);
  border-color: rgba(196,146,42,0.3);
}
.why-card--featured .why-watermark { color: rgba(255,255,255,0.04); }

.why-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
}

.why-badge {
  font-family: 'Poppins', sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--gold);
  background: rgba(196,146,42,0.08);
  border: 1px solid rgba(196,146,42,0.22);
  border-radius: 100px;
  padding: 0.28rem 0.8rem;
  letter-spacing: 0.06em;
}

.why-icon {
  width: 56px;
  height: 56px;
  background: #000000;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.35s ease, transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.why-card:hover .why-icon {
  background: var(--gold);
  transform: scale(1.13) rotate(-8deg);
}

.why-icon svg {
  width: 24px;
  height: 24px;
  stroke: #ffffff;
}

/* Per-icon hover animations */
@keyframes whyShield {
  0%   { transform: scale(1) translateY(0); }
  35%  { transform: scale(1.25) translateY(-4px); }
  65%  { transform: scale(0.92); }
  100% { transform: scale(1) translateY(0); }
}

@keyframes whyClock {
  0%   { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes whyCurrency {
  0%,100% { transform: translateY(0); }
  25%      { transform: translateY(-6px); }
  75%      { transform: translateY(3px); }
}

.why-card:nth-child(1):hover .why-icon svg { animation: whyShield   0.55s ease forwards; }
.why-card:nth-child(2):hover .why-icon svg { animation: whyClock    0.65s ease forwards; }
.why-card:nth-child(3):hover .why-icon svg { animation: whyCurrency 0.55s ease forwards; }

.why-title {
  font-family: 'Poppins', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: #0a0a0a;
  margin-bottom: 0.9rem;
  line-height: 1.3;
}

.why-desc {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.85;
  font-weight: 400;
}

.why-watermark {
  position: absolute;
  bottom: -0.8rem;
  right: 1.4rem;
  font-family: 'Poppins', sans-serif;
  font-size: 7rem;
  color: rgba(196,146,42,0.06);
  font-weight: 700;
  line-height: 1;
  pointer-events: none;
  user-select: none;
}

/* ── CTA Section (kept dark for contrast) ─────────────────── */
.cta-section {
  background: var(--black);
  text-align: center;
  padding: 6rem 3rem;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('https://images.unsplash.com/photo-1542314831-068cd1dbfeeb?w=1200&q=30') center/cover;
  opacity: 0.06;
}

.cta-section > * { position: relative; z-index: 1; }

.cta-label { color: rgba(196,146,42,0.65); }

.cta-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: #fff;
}

.cta-title em { font-style: italic; color: var(--gold); }

.cta-sub { color: rgba(255,255,255,0.5); margin: 0 auto 2.5rem; }

.cta-btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

.btn-primary {
  background: var(--gold);
  color: var(--white);
  border: none;
  padding: 0.95rem 2.8rem;
  font-family: 'Poppins', sans-serif;
  font-size: 0.72rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
}

.btn-primary:hover { background: var(--gold-dark); }

.btn-ghost {
  background: transparent;
  color: rgba(255,255,255,0.8);
  border: 1.5px solid rgba(255,255,255,0.3);
  padding: 0.95rem 2.8rem;
  font-family: 'Poppins', sans-serif;
  font-size: 0.72rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s;
  font-weight: 400;
}

.btn-ghost:hover { border-color: rgba(255,255,255,0.6); color: #fff; }

/* ── Footer ───────────────────────────────────────────────── */
footer {
  background: #000000;
  border-top: 1px solid rgba(196,146,42,0.12);
  font-family: 'Poppins', sans-serif;
}

.footer-main {
  max-width: 1300px;
  margin: 0 auto;
  padding: 4rem 2rem 3rem;
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1fr 1fr;
  gap: 3rem;
}

/* Brand column */
.footer-logo-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 1.1rem;
  text-decoration: none;
}
.footer-logo-img { height: 90px; width: auto; display: block; opacity: 0.95; }
.footer-logo-text {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-style: italic;
  color: var(--gold);
  line-height: 1;
}
.footer-tagline {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.38);
  line-height: 1.75;
  max-width: 230px;
  margin-bottom: 1.6rem;
}
.footer-social {
  display: flex;
  gap: 0.6rem;
}
.footer-social-link {
  width: 34px; height: 34px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center;
  text-decoration: none;
  color: rgba(255,255,255,0.3);
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}
.footer-social-link:hover {
  border-color: rgba(196,146,42,0.5);
  color: var(--gold);
  background: rgba(196,146,42,0.07);
}
.footer-social-link svg { width: 15px; height: 15px; }

/* Nav columns */
.footer-col-title {
  font-size: 0.55rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 1.2rem;
}
.footer-col-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}
.footer-col-links a {
  font-size: 0.73rem;
  color: rgba(255,255,255,0.38);
  text-decoration: none;
  transition: color 0.2s, padding-left 0.2s;
  display: block;
}
.footer-col-links a:hover {
  color: rgba(255,255,255,0.82);
  padding-left: 4px;
}

/* Gold divider */
.footer-divider {
  height: 1px;
  max-width: 1300px;
  margin: 0 auto;
  background: linear-gradient(90deg, transparent, rgba(196,146,42,0.25) 30%, rgba(196,146,42,0.25) 70%, transparent);
}

/* Bottom bar */
.footer-bottom {
  max-width: 1300px;
  margin: 0 auto;
  padding: 1.4rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.footer-copy {
  font-size: 0.6rem;
  color: rgba(255,255,255,0.2);
  letter-spacing: 0.8px;
}
.footer-credit {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.footer-credit-text {
  font-size: 0.65rem;
  color: rgba(255,255,255,0.55);
  letter-spacing: 0.3px;
}
.footer-credit-brand {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gold);
  text-decoration: none;
  transition: color 0.2s, text-shadow 0.2s;
  text-shadow: 0 0 18px rgba(196,146,42,0.35);
}
.footer-credit-brand:hover {
  color: var(--gold-light);
  text-shadow: 0 0 24px rgba(196,146,42,0.6);
}
.footer-credit-dot {
  width: 3px; height: 3px;
  border-radius: 50%;
  background: rgba(196,146,42,0.45);
  display: inline-block;
  flex-shrink: 0;
}
.footer-product-badge {
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  background: rgba(196,146,42,0.1);
  border: 1px solid rgba(196,146,42,0.45);
  padding: 0.22rem 0.65rem;
  border-radius: 5px;
}

/* Responsive */
@media (max-width: 960px) {
  .footer-main { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .footer-main { grid-template-columns: 1fr; padding: 3rem 1.5rem 2rem; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 0.6rem; }
  .footer-credit { justify-content: flex-start; }
}

/* ── Form Components (shared with auth pages) ─────────────── */
.form-group { margin-bottom: 1.1rem; }

.form-group label {
  display: block;
  font-size: 0.58rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 0.45rem;
  font-weight: 600;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  background: var(--white);
  border: 1.5px solid var(--border);
  padding: 0.75rem 1rem;
  color: var(--black);
  font-family: 'Poppins', sans-serif;
  font-size: 0.82rem;
  outline: none;
  transition: border-color 0.3s, box-shadow 0.3s;
  resize: vertical;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: rgba(196,146,42,0.55);
  box-shadow: 0 0 0 3px rgba(196,146,42,0.07);
}

.form-group input::placeholder { color: #BBBAB5; }
.form-group select option { background: var(--white); color: var(--black); }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

.modal-submit {
  width: 100%;
  background: var(--black);
  border: none;
  padding: 0.95rem;
  font-family: 'Poppins', sans-serif;
  font-size: 0.72rem;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--white);
  font-weight: 600;
  cursor: pointer;
  margin-top: 0.5rem;
  transition: background 0.3s;
}

.modal-submit:hover { background: var(--gold); }

/* ── Animations ───────────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 1024px) {
  .rooms-grid { grid-template-columns: repeat(2, 1fr); }
  .locations-grid { grid-template-columns: repeat(2, 1fr); }
  .loc-card { height: 260px; }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  nav { padding: 1rem 1.5rem; }
  .nav-links   { display: none; }
  .nav-actions { display: none; }
  .nav-right   { display: none; }
  .hero { padding: 7rem 1.5rem 4rem; }
  section { padding: 3.5rem 1.5rem; }
  .stats { gap: 1rem; flex-wrap: wrap; padding: 2.5rem 1.5rem; }
  .stat { max-width: calc(50% - 0.5rem); }
  /* ── Home page rooms grid — 2 columns ── */
  .rooms-grid        { grid-template-columns: repeat(2,1fr); gap: 0.75rem; }
  .room-card         { border-radius: 12px; }

  /* Image */
  .room-img-wrap     { height: 130px; }
  .room-badge        { font-size: 0.44rem; padding: 0.18rem 0.5rem; top: 8px; left: 8px; letter-spacing: 1px; }

  /* Info block */
  .room-info         { padding: 0.7rem 0.75rem 0.8rem; }
  .room-name         { font-size: 0.76rem; line-height: 1.25; margin-bottom: 0.2rem; }
  .room-location     { font-size: 0.58rem; letter-spacing: 0.5px; margin-bottom: 0.55rem; }

  /* Amenities */
  .room-amenities    { gap: 0.25rem; margin-bottom: 0.6rem; flex-wrap: wrap; }
  .amenity           { font-size: 0.54rem; gap: 2px; }
  .amenity::before   { font-size: 0.75rem; }

  /* Footer — stack price over button */
  .room-footer       { flex-direction: column; align-items: flex-start; gap: 0.45rem; padding-top: 0.6rem; }
  .room-price        { font-size: 0.82rem; }
  .room-price span   { font-size: 0.54rem; }

  /* Reserve button — full width */
  .book-btn {
    width: 100%;
    text-align: center;
    padding: 0.45rem 0.4rem;
    font-size: 0.56rem;
    letter-spacing: 1px;
    display: block;
  }
  .why-grid { grid-template-columns: 1fr; }
  .locations-grid { grid-template-columns: 1fr 1fr; }
  .featured-header { flex-direction: column; gap: 1rem; align-items: flex-start; }
  .locations-header { flex-direction: column; gap: 1rem; }
  .section-sub-right { text-align: left; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 0.5rem; }
  .search-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    flex-direction: unset;
    border-radius: 16px;
  }
  .search-field {
    border-right: none;
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }
  .search-field-narrow { max-width: 100%; }
  .search-btn {
    grid-column: 1 / -1;
    padding: 1rem 2rem;
    justify-content: center;
    border-radius: 0 0 12px 12px;
  }
  .form-row { grid-template-columns: 1fr; }
}
