/* =============================================================
   VEERA GROUP OF HOTELS — Global Base Styles
   Klyph Studios  |  veeraresidency.com
   ============================================================= */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;0,900;1,400;1,700&family=Poppins:wght@300;400;500;600;700&display=swap');
@import './tokens.css';

/* ── Reset & Base ───────────────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: var(--size-base);
  color: var(--text-dark);
  background-color: var(--cream-light);
  line-height: 1.6;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--maroon);
  text-decoration: none;
  transition: color var(--ease-base);
}

a:hover {
  color: var(--maroon-dark);
}

ul,
ol {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

/* ── Typography Scale ───────────────────────────────────────── */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-display);
  color: var(--text-dark);
  line-height: 1.2;
  font-weight: 700;
}

h1 {
  font-size: clamp(var(--size-4xl), 5vw, var(--size-7xl));
}

h2 {
  font-size: clamp(var(--size-3xl), 4vw, var(--size-5xl));
}

h3 {
  font-size: clamp(var(--size-2xl), 3vw, var(--size-4xl));
}

h4 {
  font-size: clamp(var(--size-xl), 2.5vw, var(--size-3xl));
}

h5 {
  font-size: var(--size-xl);
}

h6 {
  font-size: var(--size-lg);
}

p {
  margin-bottom: var(--space-4);
  line-height: 1.7;
}

p:last-child {
  margin-bottom: 0;
}

/* ── Layout Utilities ───────────────────────────────────────── */
.container {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: var(--space-6);
}

.container-wide {
  width: 100%;
  max-width: 1400px;
  margin-inline: auto;
  padding-inline: var(--space-6);
}

.section {
  padding-block: var(--space-20);
}

.section-sm {
  padding-block: var(--space-12);
}

.section-lg {
  padding-block: clamp(var(--space-20), 8vw, 120px);
}

/* ── Section Labels ─────────────────────────────────────────── */
.section-label {
  display: inline-block;
  font-family: var(--font-body);
  font-size: var(--size-xs);
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: var(--space-3);
}

.section-title {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: var(--space-4);
}

.section-title.center {
  text-align: center;
}

.section-divider {
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--maroon), var(--gold));
  border-radius: var(--radius-full);
  margin-bottom: var(--space-6);
}

.section-divider.center {
  margin-inline: auto;
}

.section-subtitle {
  font-size: var(--size-lg);
  color: var(--text-mid);
  max-width: 60ch;
  line-height: 1.7;
}

.section-subtitle.center {
  text-align: center;
  margin-inline: auto;
}

/* ── Buttons ────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-6);
  font-family: var(--font-body);
  font-size: var(--size-sm);
  font-weight: 600;
  letter-spacing: 0.04em;
  border-radius: var(--radius-full);
  transition: all var(--ease-base);
  white-space: nowrap;
  text-decoration: none;
  cursor: pointer;
}

.btn-primary {
  background: var(--maroon);
  color: var(--text-inverse);
  box-shadow: var(--shadow-maroon);
}

.btn-primary:hover {
  background: var(--maroon-dark);
  color: var(--text-inverse);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(147, 9, 9, 0.35);
}

.btn-secondary {
  background: transparent;
  color: var(--maroon);
  border: 2px solid var(--maroon);
}

.btn-secondary:hover {
  background: var(--maroon);
  color: var(--text-inverse);
  transform: translateY(-2px);
}

.btn-gold {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--text-dark);
  box-shadow: var(--shadow-gold);
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(196, 146, 42, 0.40);
  color: var(--text-dark);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.15);
  color: var(--text-inverse);
  border: 1px solid rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(8px);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.28);
  color: var(--text-inverse);
  transform: translateY(-2px);
}

.btn-lg {
  padding: var(--space-4) var(--space-8);
  font-size: var(--size-base);
}

.btn-sm {
  padding: var(--space-2) var(--space-4);
  font-size: var(--size-xs);
}

/* ── Navigation ─────────────────────────────────────────────── */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-nav);
  height: auto;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  transition: background var(--ease-slow), box-shadow var(--ease-slow);
}

.site-nav.transparent {
  background: transparent;
}

.site-nav.scrolled {
  background: var(--cream-light);
  box-shadow: var(--shadow-md);
}

.site-nav.dark {
  background: var(--text-dark);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: var(--space-6);
  height: 72px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  text-decoration: none;
}

.nav-logo img {
  height: 44px;
  width: auto;
  object-fit: contain;
}

.logo-group {
  margin-right: var(--space-2);
}

.logo-property {
  border-left: 1.5px solid rgba(255, 255, 255, 0.3);
  padding-left: var(--space-3);
  transition: filter var(--ease-base), border-color var(--ease-base);
}

/* On scrolled state, remove contrast/dark filter */
.site-nav.scrolled .logo-property {
  border-left-color: rgba(0, 0, 0, 0.15);
}

.nav-logo-text {
  display: flex;
  flex-direction: column;
}

.nav-logo-name {
  font-family: var(--font-display);
  font-size: var(--size-lg);
  font-weight: 700;
  color: var(--text-inverse);
  line-height: 1.1;
  transition: color var(--ease-base);
}

.nav-logo-sub {
  font-family: var(--font-body);
  font-size: var(--size-xs);
  font-weight: 500;
  color: rgba(255, 248, 240, 0.7);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color var(--ease-base);
}

.site-nav.scrolled .nav-logo-name {
  color: var(--text-dark);
}

.site-nav.scrolled .nav-logo-sub {
  color: var(--text-light);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-8);
}

.nav-link {
  font-size: var(--size-sm);
  font-weight: 500;
  color: rgba(255, 248, 240, 0.9);
  text-decoration: none;
  position: relative;
  transition: color var(--ease-base);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  border-radius: var(--radius-full);
  transition: width var(--ease-base);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-link:hover,
.nav-link.active {
  color: var(--cream-light);
}

.site-nav.scrolled .nav-link {
  color: var(--text-mid);
}

.site-nav.scrolled .nav-link:hover,
.site-nav.scrolled .nav-link.active {
  color: var(--maroon);
}

.site-nav.scrolled .btn-ghost {
  color: var(--maroon);
  border-color: rgba(147, 9, 9, 0.40);
  background: rgba(147, 9, 9, 0.05);
}

.site-nav.scrolled .btn-ghost:hover {
  background: var(--maroon);
  color: var(--text-inverse);
  border-color: var(--maroon);
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  cursor: pointer;
  padding: 4px;
}

.nav-hamburger span {
  display: block;
  height: 2px;
  background: var(--text-inverse);
  border-radius: var(--radius-full);
  transition: all var(--ease-base);
}

.site-nav.scrolled .nav-hamburger span {
  background: var(--text-dark);
}

.nav-hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-hamburger.open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.nav-hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Drawer */
.nav-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: min(320px, 90vw);
  height: 100dvh;
  background: var(--cream-light);
  z-index: calc(var(--z-nav) + 1);
  box-shadow: var(--shadow-xl);
  padding: var(--space-8) var(--space-6);
  display: flex;
  flex-direction: column;
  transition: right var(--ease-slow);
  overflow-y: auto;
}

.nav-drawer.open {
  right: 0;
}

.nav-drawer-close {
  align-self: flex-end;
  font-size: var(--size-xl);
  color: var(--text-mid);
  cursor: pointer;
  line-height: 1;
  margin-bottom: var(--space-8);
}

.nav-drawer-links {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
}

.nav-drawer-link {
  font-size: var(--size-lg);
  font-weight: 500;
  color: var(--text-dark);
  padding: var(--space-3) var(--space-2);
  border-bottom: 1px solid var(--border-light);
  transition: color var(--ease-fast), padding-left var(--ease-base);
}

.nav-drawer-link:hover {
  color: var(--maroon);
  padding-left: var(--space-4);
}

.nav-drawer-cta {
  margin-top: var(--space-8);
}

.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(44, 26, 26, 0.5);
  z-index: var(--z-nav);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--ease-slow);
  backdrop-filter: blur(4px);
}

.nav-overlay.visible {
  opacity: 1;
  pointer-events: all;
}

/* ── Utility Top Bar ── */
.utility-bar {
  background-color: var(--maroon-dark);
  color: var(--text-inverse);
  font-family: var(--font-body);
  font-size: var(--size-xs);
  font-weight: 500;
  height: 28px;
  display: flex;
  align-items: center;
  transition: height var(--ease-slow), opacity var(--ease-slow);
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  width: 100%;
}

.site-nav.scrolled .utility-bar {
  height: 0;
  opacity: 0;
  border-bottom-color: transparent;
}

.utility-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: var(--space-6);
}

.utility-left {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  color: var(--cream-mid);
}

.utility-right {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}

.utility-link {
  color: var(--text-inverse);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  transition: color var(--ease-base);
}

.utility-link:hover {
  color: var(--gold-light);
}

.utility-sep {
  color: var(--gold);
  opacity: 0.6;
}

/* ── Mobile Call Button ── */
.nav-phone-mobile {
  display: none;
}

@media (max-width: 768px) {
  .utility-bar {
    display: none;
  }

  .nav-phone-mobile {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: var(--text-inverse);
    transition: all var(--ease-base);
    text-decoration: none;
  }

  .site-nav.scrolled .nav-phone-mobile {
    background: rgba(147, 9, 9, 0.05);
    border-color: rgba(147, 9, 9, 0.2);
    color: var(--maroon);
  }

  .nav-phone-mobile svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
  }
}

/* ── Non-Transparent Header Desktop Offset ── */
@media (min-width: 769px) {
  .site-nav:not(.transparent)~#main-content {
    margin-top: 28px;
  }
}

/* ── Hero Section ───────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100dvh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.hero-slides {
  position: absolute;
  inset: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 0.8s ease;
  transform: scale(1.05);
  transition: opacity 1.2s ease, transform 8s ease;
}

.hero-slide.active {
  opacity: 1;
  transform: scale(1);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top,
      rgba(34, 18, 18, 0.95) 0%,
      rgba(34, 18, 18, 0.70) 50%,
      rgba(34, 18, 18, 0.50) 100%);
}

.hero-content {
  position: relative;
  z-index: var(--z-above);
  padding: var(--space-16) var(--space-6);
  max-width: 1200px;
  margin-inline: auto;
  width: 100%;
  padding-bottom: clamp(var(--space-20), 8vw, 100px);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  background: rgba(196, 146, 42, 0.20);
  border: 1px solid rgba(196, 146, 42, 0.40);
  border-radius: var(--radius-full);
  padding: var(--space-2) var(--space-4);
  font-size: var(--size-xs);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: var(--space-5);
  backdrop-filter: blur(8px);
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 5.5rem);
  font-weight: 900;
  color: var(--text-inverse);
  line-height: 1.05;
  margin-bottom: var(--space-5);
}

.hero-title em {
  font-style: italic;
  color: var(--gold-light);
}

.hero-subtitle {
  font-size: clamp(var(--size-base), 2vw, var(--size-xl));
  color: rgba(255, 248, 240, 0.82);
  max-width: 55ch;
  margin-bottom: var(--space-8);
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  align-items: center;
}

.hero-dots {
  display: flex;
  gap: var(--space-2);
  margin-top: var(--space-8);
}

.hero-dot {
  width: 8px;
  height: 8px;
  border-radius: var(--radius-full);
  background: rgba(255, 248, 240, 0.40);
  cursor: pointer;
  transition: all var(--ease-base);
}

.hero-dot.active {
  width: 28px;
  background: var(--gold);
}

/* ── Booking Bar ────────────────────────────────────────────── */
.booking-bar {
  background: var(--white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  padding: var(--space-6);
  display: grid;
  grid-template-columns: 1fr 1fr 1fr auto;
  gap: var(--space-4);
  align-items: end;
  border: 1px solid var(--border-light);
}

.booking-field {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
}

.booking-field label {
  font-size: var(--size-xs);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-light);
}

.booking-field input,
.booking-field select {
  font-family: var(--font-body);
  font-size: var(--size-base);
  font-weight: 500;
  color: var(--text-dark);
  border: none;
  border-bottom: 2px solid var(--border);
  padding: var(--space-2) 0;
  background: transparent;
  outline: none;
  cursor: pointer;
  transition: border-color var(--ease-base);
}

.booking-field input:focus,
.booking-field select:focus {
  border-color: var(--maroon);
}

/* ── Cards ──────────────────────────────────────────────────── */
.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  transition: transform var(--ease-base), box-shadow var(--ease-base);
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
}

.card-image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--ease-slow);
}

.card:hover .card-image img {
  transform: scale(1.06);
}

.card-body {
  padding: var(--space-6);
}

.card-label {
  font-size: var(--size-xs);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: var(--space-2);
}

.card-title {
  font-family: var(--font-display);
  font-size: var(--size-2xl);
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: var(--space-3);
  line-height: 1.2;
}

.card-text {
  font-size: var(--size-sm);
  color: var(--text-mid);
  line-height: 1.7;
  margin-bottom: var(--space-4);
}

/* ── Amenity Grid ───────────────────────────────────────────── */
.bg-cream.amenities-section {
  background-color: rgba(250, 229, 202, 0.5) !important;
}

/* 4 cards × 240px + 3 gaps × 24px = 1032px — ensures exactly 4 per row on desktop */
.amenities-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-6);
  max-width: 1032px;
  margin: 0 auto;
}

.amenity-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 240px;
  height: 152px;
  background: var(--white);
  border: 2px solid var(--maroon);
  border-radius: var(--radius-lg);
  padding: var(--space-4);
  text-align: center;
  box-shadow: var(--shadow-md);
  transition: transform var(--ease-base), box-shadow var(--ease-base);
}

.amenity-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  cursor: default;
}

.amenity-icon {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
  background: transparent;
  border-radius: 0;
}

.amenity-icon img {
  width: 56px;
  height: 56px;
  object-fit: contain;
  display: block;
}

.amenity-label {
  color: var(--text-dark);
  font-family: var(--font-display);
  font-size: var(--size-base);
  font-weight: 700;
  margin: 0;
  line-height: 1.2;
}

/* Tablet: 2 per row */
@media (max-width: 560px) {
  .amenities-grid {
    gap: var(--space-4);
  }

  .amenity-item {
    width: calc(50vw - 40px);
    height: 130px;
  }

  .amenity-icon img {
    width: 44px;
    height: 44px;
  }

  .amenity-label {
    font-size: var(--size-sm);
  }
}

/* ── Testimonials ───────────────────────────────────────────── */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: var(--space-6);
}

.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  box-shadow: var(--shadow-md);
  position: relative;
  transition: transform var(--ease-base);
}

.testimonial-card:hover {
  transform: translateY(-4px);
}

.testimonial-stars {
  display: flex;
  gap: 3px;
  margin-bottom: var(--space-4);
  color: var(--gold);
  font-size: var(--size-base);
}

.testimonial-text {
  font-size: var(--size-base);
  color: var(--text-mid);
  font-style: italic;
  line-height: 1.7;
  margin-bottom: var(--space-6);
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, var(--maroon), var(--gold));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--text-inverse);
  font-size: var(--size-lg);
  flex-shrink: 0;
}

.testimonial-name {
  font-weight: 600;
  font-size: var(--size-sm);
  color: var(--text-dark);
}

.testimonial-location {
  font-size: var(--size-xs);
  color: var(--text-light);
}

.testimonial-platform {
  font-size: var(--size-xs);
  color: var(--gold);
  font-weight: 600;
  margin-top: var(--space-1);
}

/* ── FAQ Accordion ──────────────────────────────────────────── */
.faq-list {
  max-width: 780px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color var(--ease-base), box-shadow var(--ease-base);
}

.faq-item.open {
  border-color: var(--maroon);
  box-shadow: var(--shadow-md);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding: var(--space-5) var(--space-6);
  cursor: pointer;
  font-weight: 600;
  font-size: var(--size-base);
  color: var(--text-dark);
  transition: color var(--ease-base);
  user-select: none;
}

.faq-item.open .faq-question {
  color: var(--maroon);
}

.faq-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: var(--radius-full);
  border: 2px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  transition: all var(--ease-base);
}

.faq-item.open .faq-icon {
  background: var(--maroon);
  border-color: var(--maroon);
  color: var(--text-inverse);
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
}

.faq-item.open .faq-answer {
  max-height: 500px;
}

.faq-answer-inner {
  padding: 0 var(--space-6) var(--space-5);
  font-size: var(--size-sm);
  color: var(--text-mid);
  line-height: 1.8;
}

/* ── Gallery ────────────────────────────────────────────────── */
.gallery-filters {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  justify-content: center;
  margin-bottom: var(--space-10);
}

.gallery-filter-btn {
  padding: var(--space-2) var(--space-5);
  border-radius: var(--radius-full);
  font-size: var(--size-sm);
  font-weight: 500;
  color: var(--text-mid);
  background: var(--white);
  border: 1px solid var(--border);
  cursor: pointer;
  transition: all var(--ease-base);
}

.gallery-filter-btn:hover,
.gallery-filter-btn.active {
  background: var(--maroon);
  color: var(--text-inverse);
  border-color: var(--maroon);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: var(--space-3);
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
  cursor: pointer;
  aspect-ratio: 4/3;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--ease-slow);
}

.gallery-item:hover img {
  transform: scale(1.08);
}

.gallery-item-overlay {
  position: absolute;
  inset: 0;
  background: var(--overlay);
  opacity: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--size-2xl);
  color: var(--text-inverse);
  transition: opacity var(--ease-base);
}

.gallery-item:hover .gallery-item-overlay {
  opacity: 1;
}

/* ── Lightbox ───────────────────────────────────────────────── */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: var(--z-modal);
  background: rgba(0, 0, 0, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--ease-base);
}

.lightbox.open {
  opacity: 1;
  pointer-events: all;
}

.lightbox-img {
  max-width: 90vw;
  max-height: 85dvh;
  object-fit: contain;
  border-radius: var(--radius-md);
}

.lightbox-close {
  position: absolute;
  top: var(--space-5);
  right: var(--space-5);
  font-size: var(--size-2xl);
  color: var(--text-inverse);
  cursor: pointer;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-full);
  transition: background var(--ease-base);
}

.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.28);
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: var(--size-2xl);
  color: var(--text-inverse);
  cursor: pointer;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-full);
  transition: background var(--ease-base);
}

.lightbox-nav:hover {
  background: rgba(255, 255, 255, 0.28);
}

.lightbox-prev {
  left: var(--space-5);
}

.lightbox-next {
  right: var(--space-5);
}

.lightbox-caption {
  position: absolute;
  bottom: var(--space-5);
  left: 50%;
  transform: translateX(-50%);
  font-size: var(--size-sm);
  color: rgba(255, 248, 240, 0.8);
  background: rgba(0, 0, 0, 0.5);
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-full);
  white-space: nowrap;
}

/* ── Floating CTA ───────────────────────────────────────────── */
.floating-cta {
  position: fixed;
  bottom: var(--space-6);
  right: var(--space-6);
  z-index: var(--z-above);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  align-items: flex-end;
}

.floating-btn {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-5);
  border-radius: var(--radius-full);
  font-size: var(--size-sm);
  font-weight: 600;
  text-decoration: none;
  box-shadow: var(--shadow-lg);
  transform: translateY(20px);
  opacity: 0;
  transition: transform var(--ease-base), opacity var(--ease-base), box-shadow var(--ease-base);
}

.floating-btn.visible {
  transform: translateY(0);
  opacity: 1;
}

.floating-btn:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: var(--shadow-xl);
}

.floating-whatsapp {
  background: #25D366;
  color: var(--white);
}

.floating-whatsapp:hover {
  color: var(--white);
}

.floating-book {
  background: var(--maroon);
  color: var(--text-inverse);
  box-shadow: var(--shadow-maroon);
}

.floating-book:hover {
  color: var(--text-inverse);
}

.floating-btn svg,
.floating-btn .btn-icon {
  font-size: var(--size-lg);
}

/* ── Footer ─────────────────────────────────────────────────── */
.site-footer {
  background: var(--text-dark);
  color: rgba(255, 248, 240, 0.75);
  padding: var(--space-16) 0 var(--space-8);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-10);
  margin-bottom: var(--space-12);
}

.footer-brand img {
  height: 48px;
  width: auto;
  object-fit: contain;
  margin-bottom: var(--space-4);
}

.footer-brand-name {
  font-family: var(--font-display);
  font-size: var(--size-xl);
  font-weight: 700;
  color: var(--text-inverse);
  margin-bottom: var(--space-2);
}

.footer-brand-tagline {
  font-size: var(--size-sm);
  line-height: 1.7;
  margin-bottom: var(--space-5);
}

.footer-social {
  display: flex;
  gap: var(--space-3);
}

.footer-social-link {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 248, 240, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 248, 240, 0.7);
  font-size: var(--size-base);
  transition: all var(--ease-base);
  text-decoration: none;
}

.footer-social-link:hover {
  background: var(--maroon);
  border-color: var(--maroon);
  color: var(--text-inverse);
  transform: translateY(-2px);
}

.footer-col-title {
  font-family: var(--font-display);
  font-size: var(--size-base);
  font-weight: 700;
  color: var(--text-inverse);
  margin-bottom: var(--space-5);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.footer-link {
  font-size: var(--size-sm);
  color: rgba(255, 248, 240, 0.65);
  text-decoration: none;
  transition: color var(--ease-fast), padding-left var(--ease-base);
  padding-left: 0;
}

.footer-link:hover {
  color: var(--cream);
  padding-left: var(--space-2);
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  margin-bottom: var(--space-3);
  font-size: var(--size-sm);
  color: rgba(255, 248, 240, 0.65);
}

.footer-contact-icon {
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--gold);
}

.footer-contact-text a {
  color: inherit;
  transition: color var(--ease-fast);
}

.footer-contact-text a:hover {
  color: var(--cream);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 248, 240, 0.10);
  padding-top: var(--space-6);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-4);
  font-size: var(--size-xs);
  color: rgba(255, 248, 240, 0.45);
}

.footer-bottom-links {
  display: flex;
  gap: var(--space-5);
}

.footer-bottom-link {
  color: rgba(255, 248, 240, 0.45);
  text-decoration: none;
  transition: color var(--ease-fast);
}

.footer-bottom-link:hover {
  color: rgba(255, 248, 240, 0.7);
}

/* ── Page Header Banner ─────────────────────────────────────── */
.page-header {
  position: relative;
  padding: 140px 0 80px;
  background: linear-gradient(135deg, var(--text-dark) 0%, #4a1010 100%);
  overflow: hidden;
  text-align: center;
}

.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('../images/hero-pattern.svg') repeat;
  opacity: 0.05;
}

.page-header-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.25;
}

.page-header-overlay {
  position: absolute;
  inset: 0;
  background: var(--overlay-dark);
}

.page-header-content {
  position: relative;
  z-index: var(--z-above);
}

.page-header-breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  margin-bottom: var(--space-4);
  font-size: var(--size-sm);
  color: rgba(255, 248, 240, 0.6);
}

.page-header-breadcrumb a {
  color: inherit;
  transition: color var(--ease-fast);
}

.page-header-breadcrumb a:hover {
  color: var(--gold-light);
}

.page-header-breadcrumb span {
  color: var(--gold-light);
}

.page-header h1 {
  font-size: clamp(var(--size-4xl), 5vw, var(--size-7xl));
  color: var(--text-inverse);
  margin-bottom: var(--space-4);
}

.page-header p {
  font-size: var(--size-lg);
  color: rgba(255, 248, 240, 0.75);
  max-width: 55ch;
  margin-inline: auto;
}

/* ── Maps ───────────────────────────────────────────────────── */
.map-wrapper {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 16/7;
}

.map-wrapper iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

/* ── Contact Form ───────────────────────────────────────────── */
.contact-form {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: var(--space-10);
  box-shadow: var(--shadow-lg);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-5);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.form-group.full {
  grid-column: 1 / -1;
}

.form-label {
  font-size: var(--size-sm);
  font-weight: 600;
  color: var(--text-dark);
}

.form-input,
.form-select,
.form-textarea {
  font-family: var(--font-body);
  font-size: var(--size-base);
  color: var(--text-dark);
  background: var(--cream-light);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  padding: var(--space-3) var(--space-4);
  outline: none;
  transition: border-color var(--ease-base), box-shadow var(--ease-base);
  width: 100%;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--maroon);
  box-shadow: 0 0 0 3px rgba(147, 9, 9, 0.10);
}

.form-textarea {
  resize: vertical;
  min-height: 130px;
}

/* ── Stat Bar ───────────────────────────────────────────────── */
.stats-bar {
  background: var(--maroon);
  padding: var(--space-10) 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-6);
  text-align: center;
}

.stat-item {}

.stat-number {
  font-family: var(--font-display);
  font-size: clamp(var(--size-4xl), 4vw, var(--size-6xl));
  font-weight: 900;
  color: var(--text-inverse);
  line-height: 1;
  margin-bottom: var(--space-2);
}

.stat-label {
  font-size: var(--size-sm);
  color: rgba(255, 248, 240, 0.7);
  font-weight: 500;
  letter-spacing: 0.05em;
}

/* ── Scroll Animation ───────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 {
  transition-delay: 0.1s;
}

.reveal-delay-2 {
  transition-delay: 0.2s;
}

.reveal-delay-3 {
  transition-delay: 0.3s;
}

.reveal-delay-4 {
  transition-delay: 0.4s;
}

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-8);
  }

  .booking-bar {
    grid-template-columns: 1fr 1fr;
  }

  .booking-bar .btn {
    grid-column: 1 / -1;
    justify-content: center;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-8);
  }
}

@media (max-width: 768px) {

  .nav-links,
  .nav-cta .btn {
    display: none;
  }

  .nav-hamburger {
    display: flex;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .form-group.full {
    grid-column: 1;
  }

  .booking-bar {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .map-wrapper {
    aspect-ratio: 4/3;
  }

  .floating-cta {
    bottom: var(--space-4);
    right: var(--space-4);
  }
}

@media (max-width: 480px) {
  :root {
    --space-6: 1.25rem;
  }

  .floating-btn span:not(.btn-icon) {
    display: none;
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* ── Skip Link ──────────────────────────────────────────────── */
.skip-link {
  position: absolute;
  top: -100%;
  left: var(--space-4);
  background: var(--maroon);
  color: var(--text-inverse);
  padding: var(--space-2) var(--space-4);
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  font-size: var(--size-sm);
  font-weight: 600;
  z-index: calc(var(--z-overlay) + 1);
  transition: top var(--ease-base);
}

.skip-link:focus {
  top: 0;
}

/* ── Utility Classes ────────────────────────────────────────── */
.text-center {
  text-align: center;
}

.text-right {
  text-align: right;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.bg-cream {
  background-color: var(--cream);
}

.bg-cream-light {
  background-color: var(--cream-light);
}

.bg-dark {
  background-color: var(--text-dark);
}

.bg-maroon {
  background-color: var(--maroon);
}

.bg-white {
  background-color: var(--white);
}

.color-maroon {
  color: var(--maroon);
}

.color-gold {
  color: var(--gold);
}

.color-inverse {
  color: var(--text-inverse);
}

.mt-auto {
  margin-top: auto;
}

.flex {
  display: flex;
}

.flex-col {
  flex-direction: column;
}

.items-center {
  align-items: center;
}

.justify-between {
  justify-content: space-between;
}

.gap-4 {
  gap: var(--space-4);
}

.gap-6 {
  gap: var(--space-6);
}

.w-full {
  width: 100%;
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-6);
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}

@media (max-width: 768px) {

  .grid-2,
  .grid-3 {
    grid-template-columns: 1fr;
  }
}

/* ── Gallery & Lightbox ─────────────────────────────────────── */
.gallery-filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  justify-content: center;
  margin-bottom: var(--space-10);
}

.gallery-filter-btn {
  padding: var(--space-2) var(--space-5);
  font-family: var(--font-body);
  font-size: var(--size-sm);
  font-weight: 500;
  color: var(--text-dark);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  transition: all var(--ease-base);
}

.gallery-filter-btn:hover,
.gallery-filter-btn.active {
  background: var(--maroon);
  color: var(--text-inverse);
  border-color: var(--maroon);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--space-6);
}

.gallery-item {
  position: relative;
  aspect-ratio: 4/3;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: transform var(--ease-base), box-shadow var(--ease-base);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--ease-slow);
}

.gallery-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.gallery-item:hover img {
  transform: scale(1.05);
}

/* Lightbox Modal */
.lightbox {
  position: fixed;
  inset: 0;
  background-color: rgba(44, 26, 26, 0.95);
  z-index: var(--z-overlay);
  display: none;
  align-items: center;
  justify-content: center;
  padding: var(--space-6);
}

.lightbox.open {
  display: flex;
}

.lightbox-content {
  position: relative;
  max-width: 90vw;
  max-height: 80vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lightbox-img {
  max-width: 100%;
  max-height: 75vh;
  object-fit: contain;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
}

.lightbox-caption {
  color: var(--text-inverse);
  font-size: var(--size-sm);
  margin-top: var(--space-4);
  text-align: center;
  font-family: var(--font-body);
}

.lightbox-close {
  position: absolute;
  top: var(--space-6);
  right: var(--space-6);
  color: var(--text-inverse);
  font-size: var(--size-3xl);
  background: rgba(255, 255, 255, 0.1);
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--ease-base);
  z-index: calc(var(--z-overlay) + 2);
}

.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.25);
}

.lightbox-prev,
.lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-inverse);
  font-size: var(--size-5xl);
  background: rgba(255, 255, 255, 0.08);
  width: 56px;
  height: 56px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--ease-base);
  z-index: calc(var(--z-overlay) + 1);
}

.lightbox-prev:hover,
.lightbox-next:hover {
  background: rgba(255, 255, 255, 0.2);
}

.lightbox-prev {
  left: var(--space-6);
}

.lightbox-next {
  right: var(--space-6);
}

@media (max-width: 768px) {

  .lightbox-prev,
  .lightbox-next {
    width: 44px;
    height: 44px;
    font-size: var(--size-3xl);
  }

  .lightbox-prev {
    left: var(--space-2);
  }

  .lightbox-next {
    right: var(--space-2);
  }
}

/* ── Founders List Component ── */
.founders-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-4);
  margin-top: var(--space-6);
  width: 100%;
}

.founder-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--space-3);
  padding: var(--space-6) var(--space-4);
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border-top: 4px solid var(--maroon);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  width: 100%;
}

.founder-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-top-color: var(--gold);
}

.founder-avatar {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, var(--maroon), var(--gold));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: var(--size-xl);
  font-weight: 700;
  color: var(--text-inverse);
  flex-shrink: 0;
  box-shadow: 0 4px 10px rgba(147, 9, 9, 0.15);
}

.founder-name {
  font-weight: 600;
  font-size: var(--size-base);
  color: var(--text-dark);
  margin-top: var(--space-1);
}

.founder-role {
  font-size: var(--size-sm);
  color: var(--text-light);
}

.founder-avatar img {
  width: 100%;
  height: 100%;
  border-radius: inherit;
  object-fit: cover;
  display: block;
}

@media (max-width: 768px) {
  .founders-list {
    grid-template-columns: 1fr;
  }
}

/* ── Booking Choice Modal ── */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(4px);
  z-index: var(--z-modal);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.modal-overlay.open {
  opacity: 1;
  pointer-events: all;
}

.modal-container {
  background: var(--white);
  padding: var(--space-8);
  border-radius: var(--radius-xl);
  max-width: 500px;
  width: 90%;
  position: relative;
  box-shadow: var(--shadow-xl);
  transform: translateY(20px);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  text-align: center;
  border: 1px solid var(--border-light);
}

.modal-overlay.open .modal-container {
  transform: translateY(0);
}

.modal-close {
  position: absolute;
  top: var(--space-4);
  right: var(--space-4);
  background: rgba(0, 0, 0, 0.05);
  color: var(--text-dark);
  border: none;
  font-size: var(--size-md);
  cursor: pointer;
  width: 32px;
  height: 32px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--ease-base);
}

.modal-close:hover {
  background: rgba(0, 0, 0, 0.1);
}

.modal-options {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  margin-top: var(--space-6);
}

.modal-option-btn {
  display: block;
  padding: var(--space-4);
  border-radius: var(--radius-lg);
  text-decoration: none;
  font-family: var(--font-display);
  font-size: var(--size-base);
  font-weight: 700;
  transition: all var(--ease-base);
}

.modal-option-btn.residency-btn {
  background: var(--maroon);
  color: var(--text-inverse);
}

.modal-option-btn.residency-btn:hover {
  background: var(--maroon-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.modal-option-btn.inn-btn {
  background: var(--white);
  color: var(--maroon);
  border: 2px solid var(--maroon);
}

.modal-option-btn.inn-btn:hover {
  background: var(--cream-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* ── Responsive Grid Helpers ── */
.grid-2-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-12);
  align-items: center;
}

@media (max-width: 768px) {
  .grid-2-col {
    grid-template-columns: 1fr !important;
    gap: var(--space-8) !important;
  }
}