/* ==========================================================================
   Radhanagar Beach Resort — Coastal Design System & Animations
   Beach Number 7, Radhanagar, Swaraj Dweep, Havelock, Andaman
   ========================================================================== */

:root {
  /* Luxury Coastal Editorial Palette */
  --sand-50: #faf7f2;
  --sand-100: #f2ece2;
  --sand-200: #e5dccd;
  --sand-300: #d4c7b2;
  --ocean-950: #07242b;
  --ocean-900: #0c3b44;
  --ocean-800: #114b56;
  --ocean-600: #1d6b75;
  --ocean-400: #4ca3ad;
  --ocean-100: #e7f2f3;
  --sunset-600: #b8563a;
  --sunset-500: #c86a4b;
  --sunset-400: #e39671;
  --gold-500: #b88a44;
  --gold-300: #dec089;
  --ink-900: #161d20;
  --ink-700: #445157;
  --ink-500: #6b787e;
  --white: #ffffff;

  /* Typography */
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Radii & Shadows */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 32px;
  --shadow-soft: 0 12px 32px -12px rgba(7, 36, 43, 0.08);
  --shadow-card: 0 22px 50px -16px rgba(7, 36, 43, 0.14);
  --shadow-glow: 0 14px 30px -8px rgba(184, 138, 68, 0.38);

  /* Layout */
  --container: 1240px;
  --header-h: 84px;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font-body);
  background-color: var(--sand-50);
  color: var(--ink-900);
  line-height: 1.65;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 5.5rem 0;
  position: relative;
}

.section-sm {
  padding: 3.5rem 0;
}

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

.bg-ocean {
  background: linear-gradient(155deg, var(--ocean-950) 0%, var(--ocean-800) 60%, var(--ocean-600) 100%);
  color: var(--white);
}

/* Typography Helpers */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--sunset-600);
  margin-bottom: 0.85rem;
}

.bg-ocean .eyebrow {
  color: var(--gold-300);
}

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

.section-title {
  font-size: clamp(2.1rem, 4vw, 3.2rem);
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--ink-700);
  max-width: 660px;
}

.bg-ocean .section-subtitle {
  color: rgba(255, 255, 255, 0.84);
}

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

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.9rem 1.75rem;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 0.94rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out), background-color 0.25s ease, color 0.25s ease;
  position: relative;
  overflow: hidden;
}

.btn:active {
  transform: scale(0.97);
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold-500) 0%, #9e7332 100%);
  color: var(--white);
  box-shadow: var(--shadow-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 36px -8px rgba(158, 115, 50, 0.5);
}

.btn-ocean {
  background: var(--ocean-800);
  color: var(--white);
  box-shadow: var(--shadow-soft);
}

.btn-ocean:hover {
  background: var(--ocean-900);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--ocean-800);
  border: 1.5px solid var(--ocean-800);
}

.btn-outline:hover {
  background: var(--ocean-800);
  color: var(--white);
}

.btn-outline-light {
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  color: var(--white);
  border: 1.5px solid rgba(255, 255, 255, 0.5);
}

.btn-outline-light:hover {
  background: var(--white);
  color: var(--ocean-900);
}

.btn-whatsapp {
  background: var(--ocean-900);
  color: var(--gold-300);
  border: 1px solid rgba(222, 192, 137, 0.4);
  box-shadow: 0 10px 25px -6px rgba(7, 36, 43, 0.35);
}

.btn-whatsapp:hover {
  background: var(--ocean-950);
  color: var(--white);
  transform: translateY(-2px);
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-h);
  z-index: 1050;
  transition: background-color 0.35s ease, box-shadow 0.35s ease, backdrop-filter 0.35s ease;
  background: rgba(253, 251, 247, 0.85);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(11, 79, 108, 0.08);
}

.site-header.is-transparent {
  background: linear-gradient(180deg, rgba(6, 40, 54, 0.72) 0%, rgba(6, 40, 54, 0) 100%);
  backdrop-filter: blur(4px);
  border-bottom-color: transparent;
  color: var(--white);
}

.site-header.is-transparent.is-scrolled {
  background: rgba(253, 251, 247, 0.94);
  backdrop-filter: blur(16px);
  color: var(--ink-900);
  box-shadow: 0 6px 24px rgba(6, 40, 54, 0.08);
  border-bottom-color: rgba(11, 79, 108, 0.08);
}

.site-header.is-transparent.is-scrolled .btn-outline-light {
  color: var(--ocean-900);
  border-color: var(--ocean-800);
  background: transparent;
}

.site-header.is-transparent.is-scrolled .btn-outline-light:hover {
  background: var(--ocean-800);
  color: var(--white);
}

.nav-wrap {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  line-height: 1.1;
}

.brand img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--gold-500);
  background: var(--white);
}

.brand-sub {
  display: block;
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.82;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.nav-links a {
  font-size: 0.92rem;
  font-weight: 600;
  position: relative;
  padding: 0.3rem 0;
  transition: color 0.2s ease;
}

.nav-links a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--sunset-500);
  transition: width 0.28s var(--ease-out);
}

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.nav-toggle {
  display: none;
  background: none;
  border: 1.5px solid currentColor;
  color: inherit;
  border-radius: 10px;
  padding: 0.45rem 0.65rem;
  cursor: pointer;
  font-size: 1.2rem;
  line-height: 1;
}

/* ==========================================================================
   Hero Section with Beach Sunset, Canvas Breeze & Animated Waves
   ========================================================================== */
.hero {
  position: relative;
  min-height: 94vh;
  min-height: 680px;
  display: flex;
  align-items: center;
  padding: calc(var(--header-h) + 2.5rem) 0 7rem;
  color: var(--white);
  overflow: hidden;
  background: var(--ocean-950);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 55%;
  filter: brightness(1.04) saturate(1.12) contrast(1.03);
  transform: scale(1.04);
  animation: heroKenBurns 24s ease-in-out infinite alternate;
}

@keyframes heroKenBurns {
  0% { transform: scale(1.04) translateY(0); }
  100% { transform: scale(1.1) translateY(-1.2%); }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(95deg, rgba(7, 36, 43, 0.72) 0%, rgba(7, 36, 43, 0.36) 48%, rgba(7, 36, 43, 0.05) 100%),
    linear-gradient(180deg, rgba(7, 36, 43, 0.25) 0%, transparent 25%, rgba(7, 36, 43, 0.35) 100%);
  z-index: 1;
}

#beach-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 3rem;
  align-items: center;
}

.hero-content {
  max-width: 680px;
}

.hero-showcase-card {
  background: rgba(7, 36, 43, 0.56);
  backdrop-filter: blur(18px);
  border: 1px solid rgba(222, 192, 137, 0.35);
  border-radius: var(--radius-lg);
  padding: 1.15rem;
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.35);
  color: var(--white);
}

.hero-showcase-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius-md);
  margin-bottom: 1rem;
}

.hero-showcase-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.86);
}

@media (max-width: 960px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .hero-showcase-card {
    display: none;
  }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.45rem 1rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.26);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 1.35rem;
  color: var(--gold-300);
}

.hero-title {
  font-size: clamp(2.7rem, 6vw, 4.7rem);
  font-weight: 700;
  line-height: 1.06;
  margin-bottom: 1.25rem;
  text-shadow: 0 6px 28px rgba(0, 0, 0, 0.32);
}

.hero-title span {
  color: var(--sunset-400);
  font-style: italic;
}

.hero-desc {
  font-size: clamp(1.02rem, 1.8vw, 1.22rem);
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2rem;
  max-width: 620px;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(120px, 1fr));
  gap: 1.25rem;
  max-width: 560px;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
}

.hero-stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 2rem;
  line-height: 1.1;
  color: var(--gold-300);
}

.hero-stat span {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.82);
}

/* Animated Ocean Waves */
.wave-divider {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
  z-index: 4;
  pointer-events: none;
}

.wave-divider svg {
  display: block;
  width: 100%;
  height: 92px;
}

.wave-parallax > use {
  animation: waveMove 18s cubic-bezier(0.55, 0.5, 0.45, 0.5) infinite;
}

.wave-parallax > use:nth-child(1) {
  animation-delay: -2s;
  animation-duration: 9s;
}

.wave-parallax > use:nth-child(2) {
  animation-delay: -3s;
  animation-duration: 13s;
}

.wave-parallax > use:nth-child(3) {
  animation-delay: -4s;
  animation-duration: 16s;
}

.wave-parallax > use:nth-child(4) {
  animation-delay: -5s;
  animation-duration: 22s;
}

@keyframes waveMove {
  0% { transform: translate3d(-90px, 0, 0); }
  100% { transform: translate3d(85px, 0, 0); }
}

/* ==========================================================================
   Page Banner (Inner Pages)
   ========================================================================== */
.page-banner {
  position: relative;
  padding: calc(var(--header-h) + 4.2rem) 0 5.5rem;
  background: linear-gradient(135deg, var(--ocean-950) 0%, var(--ocean-800) 100%);
  color: var(--white);
  overflow: hidden;
}

.page-banner-bg {
  position: absolute;
  inset: 0;
  opacity: 0.28;
}

.page-banner-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-banner .container {
  position: relative;
  z-index: 2;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.78);
  margin-bottom: 1rem;
}

.breadcrumbs a:hover {
  color: var(--gold-300);
}

/* ==========================================================================
   Cards, Grids & Room Showcase
   ========================================================================== */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.25rem;
  align-items: center;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.85rem;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(11, 79, 108, 0.08);
  display: flex;
  flex-direction: column;
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
}

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

.card-media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--sand-200);
}

.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.65s var(--ease-out);
}

.card:hover .card-media img {
  transform: scale(1.07);
}

.card-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  padding: 0.38rem 0.85rem;
  border-radius: 999px;
  background: rgba(6, 40, 54, 0.84);
  backdrop-filter: blur(8px);
  color: var(--gold-300);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.card-body {
  padding: 1.65rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.card-title {
  font-size: 1.65rem;
  margin-bottom: 0.5rem;
  color: var(--ocean-950);
}

.card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: 0.9rem 0 1.1rem;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.32rem 0.75rem;
  border-radius: 999px;
  background: var(--sand-100);
  color: var(--ocean-900);
  font-size: 0.8rem;
  font-weight: 600;
}

.pill-ocean {
  background: var(--ocean-100);
  color: var(--ocean-900);
}

/* Feature Strip */
.feature-box {
  background: var(--white);
  padding: 1.75rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(11, 79, 108, 0.08);
  box-shadow: var(--shadow-soft);
  transition: transform 0.3s var(--ease-out);
}

.feature-box:hover {
  transform: translateY(-4px);
}

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--ocean-100);
  color: var(--ocean-800);
  display: grid;
  place-items: center;
  font-size: 1.4rem;
  margin-bottom: 1rem;
}

/* Gallery Mosaic */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

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

.gallery-item.tall {
  grid-row: span 2;
  aspect-ratio: auto;
}

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

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

.gallery-caption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 1.5rem 1rem 0.85rem;
  background: linear-gradient(transparent, rgba(6, 40, 54, 0.82));
  color: var(--white);
  font-size: 0.86rem;
  font-weight: 600;
  opacity: 0;
  transition: opacity 0.3s ease;
}

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

/* FAQ Accordion (AEO) */
.faq-list {
  display: grid;
  gap: 1rem;
  max-width: 860px;
  margin: 0 auto;
}

.faq-item {
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid rgba(11, 79, 108, 0.1);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.faq-q {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 1.25rem 1.5rem;
  font-family: var(--font-body);
  font-size: 1.04rem;
  font-weight: 700;
  color: var(--ocean-950);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  cursor: pointer;
}

.faq-q span.icon {
  font-size: 1.35rem;
  color: var(--sunset-500);
  transition: transform 0.3s ease;
}

.faq-item.open .faq-q span.icon {
  transform: rotate(45deg);
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.38s var(--ease-out), padding 0.3s ease;
  padding: 0 1.5rem;
  color: var(--ink-700);
}

.faq-item.open .faq-a {
  max-height: 360px;
  padding: 0 1.5rem 1.35rem;
}

/* Blog Cards & Article Layout */
.article-shell {
  max-width: 820px;
  margin: 0 auto;
}

.article-body h2 {
  font-size: 2rem;
  margin: 2.2rem 0 0.85rem;
  color: var(--ocean-950);
}

.article-body h3 {
  font-size: 1.45rem;
  margin: 1.6rem 0 0.6rem;
  color: var(--ocean-800);
}

.article-body p {
  margin-bottom: 1.15rem;
  color: var(--ink-700);
  font-size: 1.04rem;
}

.article-body ul, .article-body ol {
  margin: 0 0 1.3rem 1.35rem;
  list-style: disc;
  color: var(--ink-700);
}

.article-body li {
  margin-bottom: 0.45rem;
}

.aeo-callout {
  background: var(--ocean-100);
  border-left: 4px solid var(--ocean-600);
  padding: 1.35rem 1.5rem;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin: 1.75rem 0;
}

.aeo-callout strong {
  display: block;
  color: var(--ocean-950);
  margin-bottom: 0.35rem;
}

/* Interactive Occupancy Filter / Estimator */
.filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-bottom: 2rem;
}

.filter-tab {
  padding: 0.6rem 1.2rem;
  border-radius: 999px;
  border: 1.5px solid var(--ocean-800);
  background: transparent;
  color: var(--ocean-900);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.25s ease;
}

.filter-tab.active,
.filter-tab:hover {
  background: var(--ocean-800);
  color: var(--white);
}

/* Map & Contact */
.map-frame {
  width: 100%;
  min-height: 380px;
  border: 0;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  position: relative;
  z-index: 1;
  background: var(--sand-100);
}

.form-grid {
  display: grid;
  gap: 1rem;
}

.input {
  width: 100%;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--sand-300);
  background: var(--white);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--ink-900);
}

.input:focus {
  outline: none;
  border-color: var(--ocean-600);
}

/* Lightbox Modal */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(6, 40, 54, 0.92);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.lightbox.open {
  display: flex;
}

.lightbox img {
  max-height: 85vh;
  max-width: 90vw;
  border-radius: var(--radius-md);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
  position: absolute;
  top: 1.5rem;
  right: 1.75rem;
  background: rgba(255, 255, 255, 0.14);
  color: var(--white);
  border: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 1.5rem;
  cursor: pointer;
}

/* Floating WhatsApp & Book Bar */
.floating-concierge {
  position: fixed;
  bottom: 1.35rem;
  right: 1.35rem;
  z-index: 950;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  align-items: flex-end;
}

.float-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.78rem 1.2rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.88rem;
  box-shadow: 0 10px 28px rgba(6, 40, 54, 0.25);
  transition: transform 0.25s ease;
}

.float-btn:hover {
  transform: translateY(-3px);
}

/* Footer */
.site-footer {
  background: var(--ocean-950);
  color: rgba(255, 255, 255, 0.84);
  padding: 4.5rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}

.footer-title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--gold-300);
  margin-bottom: 1rem;
}

.footer-links li {
  margin-bottom: 0.55rem;
  font-size: 0.92rem;
}

.footer-links a:hover {
  color: var(--sunset-400);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  padding: 1.5rem 10.5rem 5.2rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.66);
}

/* Scroll Progress Bar */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--ocean-400), var(--sunset-500), var(--gold-500));
  z-index: 1200;
  transition: width 0.08s linear;
}

/* Quick Booking & Occupancy Bar */
.quick-book-bar {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(11, 79, 108, 0.1);
  padding: 1.35rem 1.5rem;
  margin-top: -3.2rem;
  position: relative;
  z-index: 10;
  display: grid;
  grid-template-columns: repeat(4, 1fr) auto;
  gap: 1rem;
  align-items: end;
}

.quick-book-field label {
  display: block;
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ocean-800);
  margin-bottom: 0.35rem;
}

.quick-book-field .input {
  height: 46px;
}

/* Data Comparison Table */
.data-table-wrap {
  overflow-x: auto;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(11, 79, 108, 0.1);
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 680px;
}

.data-table th,
.data-table td {
  padding: 1.05rem 1.25rem;
  text-align: left;
  border-bottom: 1px solid var(--sand-200);
  font-size: 0.94rem;
}

.data-table th {
  background: var(--ocean-950);
  color: var(--gold-300);
  font-family: var(--font-body);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.data-table tr:last-child td {
  border-bottom: none;
}

.data-table tr:hover td {
  background: var(--sand-50);
}

/* Back to Top Button */
.back-to-top {
  position: fixed;
  bottom: 8.2rem;
  right: 1.35rem;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--ocean-900);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: var(--shadow-soft);
  cursor: pointer;
  display: grid;
  place-items: center;
  font-size: 1.1rem;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity 0.3s ease, transform 0.3s ease, background 0.25s ease;
  z-index: 940;
}

.back-to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--sunset-500);
}

/* ==========================================================================
   AI Resort Concierge Bot Widget
   ========================================================================== */
.ai-launcher {
  position: fixed;
  bottom: 1.35rem;
  left: 1.35rem;
  z-index: 960;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.82rem 1.25rem;
  border-radius: 999px;
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  background: linear-gradient(135deg, var(--ocean-950) 0%, var(--ocean-700, #106478) 100%);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 14px 32px rgba(6, 40, 54, 0.34);
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s ease;
}

.ai-launcher:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 36px rgba(6, 40, 54, 0.42);
}

.ai-pulse {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #38e59a;
  box-shadow: 0 0 0 0 rgba(56, 229, 154, 0.7);
  animation: aiPulse 2s infinite;
}

@keyframes aiPulse {
  0% { box-shadow: 0 0 0 0 rgba(56, 229, 154, 0.7); }
  70% { box-shadow: 0 0 0 10px rgba(56, 229, 154, 0); }
  100% { box-shadow: 0 0 0 0 rgba(56, 229, 154, 0); }
}

.ai-widget {
  position: fixed;
  bottom: 5.2rem;
  left: 1.35rem;
  width: min(390px, calc(100vw - 2rem));
  max-height: min(560px, calc(100vh - 7rem));
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 64px rgba(6, 40, 54, 0.32);
  border: 1px solid rgba(11, 79, 108, 0.15);
  display: none;
  flex-direction: column;
  overflow: hidden;
  z-index: 1100;
}

.ai-widget.open {
  display: flex;
  animation: aiSlideUp 0.32s var(--ease-out);
}

@keyframes aiSlideUp {
  from { opacity: 0; transform: translateY(18px) scale(0.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.ai-header {
  background: linear-gradient(135deg, var(--ocean-950) 0%, var(--ocean-800) 100%);
  color: var(--white);
  padding: 1rem 1.15rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.ai-header-info {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.ai-header-info img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1.5px solid var(--gold-300);
  object-fit: cover;
  background: var(--white);
}

.ai-close {
  background: rgba(255, 255, 255, 0.14);
  border: none;
  color: var(--white);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
}

.ai-messages {
  flex: 1;
  overflow-y: auto;
  padding: 1rem;
  background: var(--sand-50);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.ai-msg {
  max-width: 88%;
  padding: 0.78rem 0.95rem;
  border-radius: 14px;
  font-size: 0.89rem;
  line-height: 1.5;
}

.ai-msg.bot {
  align-self: flex-start;
  background: var(--white);
  color: var(--ink-900);
  border: 1px solid var(--sand-200);
  border-bottom-left-radius: 4px;
}

.ai-msg.user {
  align-self: flex-end;
  background: var(--ocean-800);
  color: var(--white);
  border-bottom-right-radius: 4px;
}

.ai-msg-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.55rem;
}

.ai-msg-link {
  display: inline-block;
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  background: var(--ocean-100);
  color: var(--ocean-900);
  font-size: 0.78rem;
  font-weight: 700;
}

.ai-msg-link:hover {
  background: var(--ocean-800);
  color: var(--white);
}

.ai-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  padding: 0.6rem 0.9rem;
  background: var(--sand-100);
  border-top: 1px solid var(--sand-200);
}

.ai-chip {
  padding: 0.34rem 0.7rem;
  border-radius: 999px;
  border: 1px solid var(--ocean-600);
  background: var(--white);
  color: var(--ocean-900);
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
}

.ai-chip:hover {
  background: var(--ocean-800);
  color: var(--white);
}

.ai-input-row {
  display: flex;
  gap: 0.5rem;
  padding: 0.75rem;
  background: var(--white);
  border-top: 1px solid var(--sand-200);
}

.ai-input-row input {
  flex: 1;
  padding: 0.65rem 0.85rem;
  border-radius: 999px;
  border: 1.5px solid var(--sand-300);
  font-family: var(--font-body);
  font-size: 0.88rem;
}

.ai-input-row input:focus {
  outline: none;
  border-color: var(--ocean-600);
}

.ai-input-row button {
  padding: 0.65rem 1.05rem;
  border-radius: 999px;
  border: none;
  background: var(--sunset-500);
  color: var(--white);
  font-weight: 700;
  cursor: pointer;
}

/* Scroll Up & Scroll Down Directional Reveal Animations */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.68s var(--ease-out), transform 0.68s var(--ease-out);
  will-change: opacity, transform;
}

.reveal.from-above {
  transform: translateY(-32px);
}

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

.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }

/* Responsive */
@media (max-width: 1024px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .quick-book-bar { grid-template-columns: repeat(2, 1fr); margin-top: 1.5rem; }
}

@media (max-width: 1040px) {
  .nav-links, .nav-actions .btn-outline-desk {
    display: none;
  }
  .nav-toggle {
    display: inline-flex;
  }
  .nav-links.is-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: var(--sand-50);
    color: var(--ink-900);
    padding: 1.5rem;
    border-bottom: 1px solid var(--sand-300);
    box-shadow: var(--shadow-card);
  }
}

@media (max-width: 820px) {
  .grid-2, .grid-3, .grid-4, .footer-grid, .quick-book-bar {
    grid-template-columns: 1fr;
  }
  .hero-stats {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
  }
  .ai-launcher span.label-text {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-bg img,
  .wave-parallax > use,
  .ai-pulse {
    animation: none !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
