/* ==========================================================================
   RAAGA — LUXURY COMPONENTS STYLING
   ========================================================================== */

/* --------------------------------------------------------------------------
   01 — Floating Main Header & Brand Navigation
   -------------------------------------------------------------------------- */
.raaga-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 1.25rem 0;
  transition: background-color 0.4s ease, padding 0.4s ease, border-bottom 0.4s ease;
}

.raaga-header.is-scrolled {
  background-color: rgba(37, 39, 31, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: 0.85rem 0;
  border-bottom: 1px solid rgba(158, 142, 116, 0.25);
}

.raaga-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
}

/* Brand Logo */
.raaga-logo {
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  text-decoration: none;
}

.raaga-logo-title {
  font-family: var(--font-editorial);
  font-size: clamp(1.4rem, 1.8vw, 1.8rem);
  letter-spacing: 0.15em;
  color: var(--color-ivory-light);
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
}

.raaga-logo-sub {
  font-size: clamp(0.55rem, 0.65vw, 0.65rem);
  letter-spacing: 0.22em;
  color: var(--color-brass);
  text-transform: uppercase;
  margin-top: 0.2rem;
  white-space: nowrap;
}

/* SVG Logo Image — Header, Drawer, Footer */
.raaga-logo-link {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none;
}

.raaga-brand-logo-img {
  height: 38px;
  width: auto;
  display: block;
  object-fit: contain;
}

.raaga-drawer-logo-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 2.5rem;
}

.raaga-brand-logo-drawer {
  height: 48px;
  width: auto;
  display: block;
  object-fit: contain;
}

.raaga-brand-logo-footer {
  height: 34px;
  width: auto;
  display: block;
  object-fit: contain;
}


.raaga-nav-container {
  display: flex;
  align-items: center;
  justify-content: center;
}

.raaga-nav-links {
  display: flex;
  align-items: center;
  gap: clamp(0.75rem, 1.4vw, 1.8rem);
  list-style: none;
  margin: 0;
  padding: 0;
}

.raaga-nav-link {
  font-size: clamp(0.72rem, 0.8vw, 0.85rem);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(242, 237, 228, 0.85);
  transition: color 0.3s ease;
  white-space: nowrap;
  text-decoration: none;
  display: inline-block;
  padding: 0.2rem 0;
}

.raaga-nav-link:hover {
  color: var(--color-brass-light);
}

/* Header Actions */
.raaga-header-actions {
  display: flex;
  align-items: center;
  gap: clamp(0.6rem, 1vw, 1.2rem);
  flex-shrink: 0;
}

/* Sound Toggle Button */
.raaga-sound-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 1px solid rgba(242, 237, 228, 0.25);
  border-radius: 50%;
  color: var(--color-ivory-mid);
  transition: var(--transition-fast);
  background: rgba(242, 237, 228, 0.04);
  cursor: pointer;
  flex-shrink: 0;
}

.raaga-sound-btn:hover, .raaga-sound-btn.is-active {
  border-color: var(--color-brass);
  color: var(--color-brass-light);
  background: rgba(197, 160, 89, 0.12);
}

/* Header VIP CTA */
.raaga-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.4rem;
  background-color: var(--brand-earth-brown);
  color: var(--brand-warm-ivory);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 4px;
  border: 1px solid rgba(158, 142, 116, 0.4);
  transition: var(--transition-fast);
  white-space: nowrap;
  text-decoration: none;
  cursor: pointer;
  flex-shrink: 0;
}

.raaga-btn-primary:hover {
  background-color: #8C6038;
  color: #FFFFFF;
  border-color: var(--brand-stone-taupe);
  box-shadow: 0 4px 20px rgba(118, 80, 47, 0.45);
  transform: translateY(-2px);
}

/* --------------------------------------------------------------------------
   02 — 12-Layer Dynamic Atmospheric Background & Canvas
   -------------------------------------------------------------------------- */
#raaga-climate-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 1;
}

.raaga-sky-background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 0;
  background: linear-gradient(180deg, var(--sky-top) 0%, var(--sky-bottom) 100%);
  transition: background 1.2s var(--ease-cinematic);
  filter: brightness(var(--lighting-brightness));
}

.raaga-haze-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 2;
  background-color: var(--haze-color);
  transition: background-color 1.2s var(--ease-cinematic);
}

/* --------------------------------------------------------------------------
   03 — Hero Section & System B Climate Simulator Slider
   -------------------------------------------------------------------------- */
.raaga-hero-section {
  position: relative;
  min-height: 100vh;
  width: 100%;
  display: flex;
  align-items: center;
  padding-top: 6rem;
  padding-bottom: 4rem;
  z-index: 10;
  background: var(--color-forest-dark);
  box-shadow: inset 0 -120px 120px rgba(7, 19, 14, 0.95);
  overflow: hidden;
}

.raaga-hero-bg-video {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: translate(-50%, -50%);
  z-index: 1;
  pointer-events: none;
  transition: opacity 0.8s ease;
}

.raaga-hero-grid {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 3.5rem;
  align-items: center;
  width: 100%;
}

/* Hero Plot Count Badge */
.raaga-hero-plot-badge {
  display: flex;
  flex-direction: column;
  margin-bottom: 1.4rem;
}

.raaga-hero-plot-count {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 3.5vw, 3.2rem);
  color: #FAF7F2;
  font-weight: 400;
  line-height: 1.1;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.7);
  letter-spacing: -0.01em;
}

.raaga-hero-plot-sub {
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  color: var(--color-brass);
  text-transform: uppercase;
  margin-top: 0.3rem;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
}

.raaga-hero-headline {
  font-family: var(--font-serif);
  font-size: clamp(3.2rem, 5.5vw, 5.2rem);
  color: #FAF7F2;
  line-height: 1.08;
  font-weight: 400;
  margin-bottom: 1.5rem;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.7);
  letter-spacing: -0.01em;
}

.raaga-hero-headline em {
  font-style: italic;
  font-family: var(--font-serif);
  color: #E2C279;
  font-weight: 300;
}

.raaga-hero-subhead {
  font-size: 1.15rem;
  color: rgba(250, 247, 242, 0.88);
  line-height: 1.6;
  margin-bottom: 2.5rem;
  max-width: 520px;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.8);
}

/* Watch Raaga Film Button */
.watch-film {
  display: inline-flex;
  align-items: center;
  gap: 1.2rem;
  cursor: pointer;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.watch-film:hover {
  transform: translateY(-2px);
}

.watch-film .play-btn {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.4);
  background: rgba(11, 31, 23, 0.45);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FAF7F2;
  transition: all 0.3s ease;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.watch-film:hover .play-btn {
  background: #FAF7F2;
  color: #0B1F17;
  border-color: #FAF7F2;
  box-shadow: 0 0 30px rgba(250, 247, 242, 0.4);
}

.watch-film .watch-text {
  display: flex;
  flex-direction: column;
}

.watch-film .watch-text strong {
  font-size: 0.82rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #FAF7F2;
  font-weight: 700;
}

.watch-film .watch-text span {
  font-size: 0.75rem;
  color: rgba(250, 247, 242, 0.7);
  margin-top: 2px;
}

/* Glassmorphism Climate Widget */
.raaga-live-card,
.js-live-weather-card {
  background: rgba(11, 31, 23, 0.35) !important;
  backdrop-filter: blur(28px) saturate(180%) !important;
  -webkit-backdrop-filter: blur(28px) saturate(180%) !important;
  border: 1px solid rgba(255, 255, 255, 0.22) !important;
  border-radius: 20px;
  padding: 2.2rem 2rem;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6), inset 0 1px 1px rgba(255, 255, 255, 0.25) !important;
  position: relative;
  z-index: 10;
}

.raaga-live-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  margin-bottom: 1.8rem;
  width: 100%;
}

.raaga-live-badge-title {
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  font-weight: 700;
  text-transform: uppercase;
  color: rgba(250, 247, 242, 0.9);
  white-space: nowrap;
}

.raaga-live-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(52, 211, 153, 0.18);
  border: 1px solid rgba(52, 211, 153, 0.5);
  padding: 0.3rem 0.75rem;
  border-radius: 50px;
  color: #34D399;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  white-space: nowrap;
  flex-shrink: 0;
}

.raaga-live-badge-pill .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #34D399;
  box-shadow: 0 0 10px #34D399;
}

.raaga-live-main {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  margin-bottom: 1.8rem;
}

.raaga-live-main .temp-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FAF7F2;
  flex-shrink: 0;
}

.raaga-live-main .temp-value h3 {
  font-family: var(--font-sans);
  font-size: 3.5rem;
  font-weight: 300;
  color: #FAF7F2;
  line-height: 1;
  letter-spacing: -0.03em;
}

.raaga-live-main .temp-value span {
  font-size: 0.9rem;
  color: rgba(250, 247, 242, 0.75);
  display: block;
  margin-top: 4px;
}

.raaga-live-metrics-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
  padding: 1.2rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  margin-bottom: 1.2rem;
}

.raaga-metric-item {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  color: rgba(250, 247, 242, 0.85);
}

.raaga-metric-item svg {
  color: rgba(250, 247, 242, 0.75);
  flex-shrink: 0;
}

.raaga-metric-text strong {
  display: block;
  font-size: 0.9rem;
  color: #FAF7F2;
  font-weight: 600;
}

.raaga-metric-text span {
  font-size: 0.72rem;
  color: rgba(250, 247, 242, 0.6);
}

.raaga-live-footer {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding-top: 0.4rem;
  color: rgba(250, 247, 242, 0.85);
}

.raaga-live-footer svg {
  color: rgba(250, 247, 242, 0.75);
  flex-shrink: 0;
}

.raaga-live-footer .footer-text strong {
  display: block;
  font-size: 0.9rem;
  color: #FAF7F2;
  font-weight: 600;
}

.raaga-live-footer .footer-text span {
  font-size: 0.72rem;
  color: rgba(250, 247, 242, 0.6);
}

/* Vertical Timeline Scrub Rail (Right Edge) */
.vertical-timeline-rail {
  position: absolute;
  right: 2.5rem;
  top: 50%;
  transform: translateY(-50%);
  z-index: 100;
  display: flex;
  flex-direction: column;
  gap: 1.8rem;
  align-items: flex-end;
}

.timeline-node {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  cursor: pointer;
  opacity: 0.45;
  transition: all 0.3s ease;
}

.timeline-node:hover,
.timeline-node.is-active {
  opacity: 1;
}

.timeline-node .node-label {
  text-align: right;
  display: flex;
  flex-direction: column;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  color: #FAF7F2;
}

.timeline-node .node-label strong {
  font-weight: 700;
}

.timeline-node .node-label span {
  opacity: 0.7;
  font-size: 0.6rem;
}

.timeline-node .node-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.6);
  background: transparent;
  transition: all 0.3s ease;
}

.timeline-node.is-active .node-dot {
  background: #FAF7F2;
  border-color: #FAF7F2;
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.9);
  transform: scale(1.35);
}

/* Bottom Left Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 2.2rem;
  left: 3rem;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  color: rgba(250, 247, 242, 0.8);
  text-transform: uppercase;
  font-weight: 500;
}

.mouse-icon {
  width: 18px;
  height: 28px;
  border: 1.5px solid rgba(250, 247, 242, 0.6);
  border-radius: 12px;
  position: relative;
  display: inline-block;
}

.mouse-wheel {
  width: 3px;
  height: 6px;
  background: #FAF7F2;
  border-radius: 2px;
  position: absolute;
  top: 5px;
  left: 50%;
  transform: translateX(-50%);
  animation: scrollWheel 1.8s infinite;
}

@keyframes scrollWheel {
  0% { opacity: 1; transform: translate(-50%, 0); }
  100% { opacity: 0; transform: translate(-50%, 10px); }
}

/* System B Slider Control Wrap */
.raaga-simulator-card {
  background: rgba(11, 31, 23, 0.88);
  border: 1px solid rgba(197, 160, 89, 0.35);
  padding: 2.2rem;
  border-radius: 12px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6);
}

.raaga-simulator-label-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.2rem;
}

.raaga-simulator-tag {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-brass);
  font-weight: 600;
}

.raaga-time-tag {
  font-size: 0.85rem;
  color: var(--color-ivory-light);
  font-weight: 500;
}

/* Scrubbable Range Slider */
.raaga-climate-slider {
  width: 100%;
  -webkit-appearance: none;
  appearance: none;
  height: 6px;
  background: rgba(242, 237, 228, 0.2);
  border-radius: 4px;
  outline: none;
  margin-bottom: 1.5rem;
}

.raaga-climate-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--color-brass);
  border: 3px solid var(--color-forest-dark);
  cursor: pointer;
  box-shadow: 0 0 15px var(--color-brass-glow);
  transition: transform 0.2s ease;
}

.raaga-climate-slider::-webkit-slider-thumb:hover {
  transform: scale(1.2);
}

/* Quick Climate Moment Pills */
.raaga-climate-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.raaga-pill {
  padding: 0.4rem 0.85rem;
  border: 1px solid rgba(242, 237, 228, 0.15);
  border-radius: 30px;
  font-size: 0.72rem;
  color: rgba(242, 237, 228, 0.7);
  letter-spacing: 0.05em;
  transition: var(--transition-fast);
}

.raaga-pill:hover, .raaga-pill.is-active {
  border-color: var(--color-brass);
  color: var(--color-ivory-light);
  background: rgba(197, 160, 89, 0.15);
}

/* --------------------------------------------------------------------------
   04 — System A Live Weather API Display Card
   -------------------------------------------------------------------------- */
.raaga-live-card {
  background: rgba(11, 31, 23, 0.85);
  border: 1px solid rgba(197, 160, 89, 0.3);
  padding: 2rem;
  border-radius: 8px;
  color: var(--color-ivory-light);
}

.raaga-live-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(242, 237, 228, 0.12);
  padding-bottom: 1rem;
  margin-bottom: 1.5rem;
}

.raaga-live-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-brass);
  font-weight: 700;
}

.raaga-live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #4CAF50;
  box-shadow: 0 0 10px #4CAF50;
  animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
  0% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.8); }
  100% { opacity: 1; transform: scale(1); }
}

.raaga-live-card.is-error .raaga-live-dot {
  background-color: #FF9800;
  box-shadow: none;
  animation: none;
}

.raaga-live-main-temp {
  font-family: var(--font-editorial);
  font-size: 4rem;
  line-height: 1;
  color: var(--color-ivory-light);
  margin-bottom: 0.5rem;
}

.raaga-live-condition {
  font-size: 1.1rem;
  color: var(--color-brass-light);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.raaga-live-metrics-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(242, 237, 228, 0.1);
}

.raaga-metric-item {
  display: flex;
  flex-direction: column;
}

.raaga-metric-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(242, 237, 228, 0.6);
  margin-bottom: 0.2rem;
}

.raaga-metric-val {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--color-ivory-light);
}

.raaga-live-timestamp {
  font-size: 0.7rem;
  color: rgba(242, 237, 228, 0.5);
  margin-top: 1.2rem;
  text-align: right;
}

/* --------------------------------------------------------------------------
   05 — Storytelling Sections (Morning, Afternoon, Wind, Rain, Night, Stargazing)
   -------------------------------------------------------------------------- */
.raaga-experience-section {
  position: relative;
  padding: var(--space-xl) 0;
  z-index: 10;
  border-top: 1px solid rgba(242, 237, 228, 0.08);
  background-color: var(--color-forest-dark);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
  transition: background 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Seamless Section Edge Fog Blending Masks */
.raaga-experience-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 120px;
  background: linear-gradient(180deg, var(--color-forest-deep) 0%, transparent 100%);
  pointer-events: none;
  z-index: 2;
}

.raaga-experience-section::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 120px;
  background: linear-gradient(0deg, var(--color-forest-deep) 0%, transparent 100%);
  pointer-events: none;
  z-index: 2;
}

/* Section Specific Rich Background Overlays */
.raaga-section-morning-bg {
  background: linear-gradient(180deg, rgba(11, 31, 23, 0.75) 0%, rgba(7, 19, 14, 0.88) 100%), 
              url('../images/img/morning moment 01.png') center/cover no-repeat;
  background-attachment: fixed;
}

.raaga-section-afternoon-bg {
  background: linear-gradient(180deg, rgba(11, 31, 23, 0.75) 0%, rgba(15, 38, 28, 0.88) 100%), 
              url('../images/img/Afternoon Breeze 01.png') center/cover no-repeat;
  background-attachment: fixed;
}

.raaga-section-evening-bg {
  background: linear-gradient(180deg, rgba(19, 25, 22, 0.75) 0%, rgba(11, 31, 23, 0.88) 100%), 
              url('../images/img/Golden evening 01.png') center/cover no-repeat;
  background-attachment: fixed;
}

.raaga-section-rain-bg {
  background: linear-gradient(180deg, rgba(9, 16, 24, 0.78) 0%, rgba(7, 13, 20, 0.9) 100%), 
              url('../images/img/Mountain Rain 01.png') center/cover no-repeat;
  background-attachment: fixed;
}

.raaga-section-night-bg {
  background: linear-gradient(180deg, rgba(7, 13, 20, 0.78) 0%, rgba(4, 7, 11, 0.92) 100%), 
              url('../images/img/Night & Monfire 01.png') center/cover no-repeat;
  background-attachment: fixed;
}

.raaga-section-lifestyle-bg {
  background: linear-gradient(180deg, rgba(11, 31, 23, 0.82) 0%, rgba(7, 19, 14, 0.92) 100%), 
              url('../images/img/Community and lifestyle.png') center/cover no-repeat;
  background-attachment: fixed;
}

.raaga-section-campaign-bg {
  background: linear-gradient(180deg, rgba(7, 19, 14, 0.82) 0%, rgba(11, 31, 23, 0.92) 100%), 
              url('../images/img/Digital Campian.png') center/cover no-repeat;
  background-attachment: fixed;
}

.raaga-grid-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

/* Safari Tent Feature Card */
.raaga-safari-card {
  background: rgba(20, 53, 39, 0.85);
  border: 1px solid rgba(197, 160, 89, 0.3);
  padding: 3rem;
  border-radius: 8px;
  position: relative;
  overflow: hidden;
}

.raaga-safari-quote {
  font-family: var(--font-editorial);
  font-size: 1.8rem;
  line-height: 1.3;
  color: var(--color-ivory-light);
  margin-bottom: 1.5rem;
  font-style: italic;
}

/* --------------------------------------------------------------------------
   06 — Data-Driven Phased Release Masterplan Explorer
   -------------------------------------------------------------------------- */
.raaga-masterplan-section {
  position: relative;
  padding: var(--space-xl) 0;
  z-index: 10;
  background: var(--color-forest-deep);
}

.raaga-phase-tabs {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
  overflow-x: auto;
  padding-bottom: 0.5rem;
}

.raaga-phase-tab {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 1rem 1.5rem;
  border: 1px solid rgba(242, 237, 228, 0.15);
  border-radius: 6px;
  background: rgba(11, 31, 23, 0.6);
  color: var(--color-ivory-mid);
  transition: var(--transition-fast);
  min-width: 180px;
}

.raaga-phase-tab:hover, .raaga-phase-tab.is-active {
  border-color: var(--color-brass);
  background: rgba(197, 160, 89, 0.15);
}

.raaga-phase-name {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-ivory-light);
}

.raaga-phase-date {
  font-size: 0.75rem;
  color: var(--color-brass);
  margin-top: 0.2rem;
}

/* 3D Masterplan Image Container & View Switcher */
.raaga-map-view-toggle {
  display: flex;
  gap: 0.85rem;
  margin-bottom: 1.8rem;
  flex-wrap: wrap;
}

.raaga-map-toggle-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.75rem 1.4rem;
  border-radius: 40px;
  background: rgba(11, 31, 23, 0.7);
  border: 1px solid rgba(242, 237, 228, 0.18);
  color: var(--color-ivory-mid);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.raaga-map-toggle-btn:hover,
.raaga-map-toggle-btn.is-active {
  background: rgba(197, 160, 89, 0.2);
  border-color: var(--color-brass);
  color: var(--color-brass-light);
  box-shadow: 0 4px 20px rgba(197, 160, 89, 0.2);
}

.raaga-3d-map-wrap {
  position: relative;
  border: 1px solid rgba(197, 160, 89, 0.35);
  border-radius: 16px;
  overflow: hidden;
  background: var(--color-forest-dark);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.65);
  margin-bottom: 2rem;
}

.raaga-3d-map-badge {
  position: absolute;
  top: 1.25rem;
  left: 1.25rem;
  z-index: 10;
  background: rgba(7, 19, 14, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(197, 160, 89, 0.4);
  color: var(--color-brass-light);
  font-size: 0.68rem;
  letter-spacing: 0.15em;
  padding: 0.4rem 0.85rem;
  border-radius: 30px;
  font-weight: 600;
  text-transform: uppercase;
}

.raaga-3d-map-img-container {
  position: relative;
  width: 100%;
  cursor: zoom-in;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #050d09;
}

.raaga-3d-map-img {
  width: 100%;
  height: auto;
  max-height: 800px;
  object-fit: contain;
  display: block;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.raaga-3d-map-img-container:hover .raaga-3d-map-img {
  transform: scale(1.02);
}

.raaga-3d-map-overlay-hint {
  position: absolute;
  bottom: 1.25rem;
  right: 1.25rem;
  background: rgba(7, 19, 14, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(242, 237, 228, 0.2);
  color: var(--color-ivory-light);
  font-size: 0.75rem;
  padding: 0.45rem 0.9rem;
  border-radius: 30px;
  pointer-events: none;
  transition: all 0.3s ease;
}

/* 3D Map Lightbox Modal */
.raaga-lightbox-overlay {
  position: fixed;
  inset: 0;
  background: rgba(4, 12, 9, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 3500;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
  box-sizing: border-box;
}

.raaga-lightbox-overlay.is-active {
  opacity: 1;
  pointer-events: auto;
}

.raaga-lightbox-card {
  position: relative;
  max-width: 95vw;
  max-height: 92vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.raaga-lightbox-img {
  max-width: 100%;
  max-height: 85vh;
  object-fit: contain;
  border-radius: 12px;
  border: 1px solid rgba(197, 160, 89, 0.4);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.9);
}

.raaga-masterplan-svg-wrap {
  width: 100%;
  border: 1px solid rgba(242, 237, 228, 0.15);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
  background: var(--color-forest-dark);
}

.raaga-plot-node {
  cursor: pointer;
  transition: transform 0.3s ease, filter 0.3s ease;
}

.raaga-plot-node text {
  pointer-events: none;
  user-select: none;
}

.raaga-plot-node:hover {
  transform: translateY(-4px);
  filter: drop-shadow(0 0 12px var(--color-brass));
}

/* Plot Drawer Side Panel */
.raaga-plot-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 420px;
  max-width: 100vw;
  height: 100vh;
  height: 100svh;
  background: var(--color-forest-dark);
  border-left: 1px solid rgba(197, 160, 89, 0.4);
  z-index: 2800;
  padding: 3.2rem 2.25rem 2.25rem 2.25rem;
  transform: translateX(100%);
  transition: transform 0.5s var(--ease-cinematic);
  box-shadow: -20px 0 50px rgba(0, 0, 0, 0.85);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-sizing: border-box;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.raaga-plot-drawer::-webkit-scrollbar {
  width: 5px;
}

.raaga-plot-drawer::-webkit-scrollbar-track {
  background: rgba(7, 19, 14, 0.4);
}

.raaga-plot-drawer::-webkit-scrollbar-thumb {
  background: rgba(197, 160, 89, 0.4);
  border-radius: 4px;
}

.raaga-plot-drawer.is-open {
  transform: translateX(0);
}

.raaga-drawer-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(242, 237, 228, 0.08);
  border: 1px solid rgba(242, 237, 228, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-ivory-light);
  font-size: 1.4rem;
  cursor: pointer;
  transition: all 0.3s ease;
  line-height: 1;
  z-index: 10;
}

.raaga-drawer-close:hover {
  background: rgba(197, 160, 89, 0.25);
  border-color: var(--color-brass);
  color: var(--color-brass-light);
  transform: rotate(90deg);
}

.raaga-drawer-title {
  font-size: clamp(1.75rem, 3vw, 2.4rem);
  line-height: 1.15;
}

.raaga-drawer-specs {
  margin: 2rem 0;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.raaga-spec-row {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid rgba(242, 237, 228, 0.1);
  padding-bottom: 0.6rem;
}

.raaga-spec-label {
  font-size: 0.85rem;
  color: rgba(242, 237, 228, 0.6);
}

.raaga-spec-val {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-ivory-light);
}

/* --------------------------------------------------------------------------
   07 — 12 RAAGA Experiences & Amenity Grid
   -------------------------------------------------------------------------- */
.raaga-experiences-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.8rem;
  margin-top: 3rem;
}

.raaga-experience-card {
  background: rgba(20, 53, 39, 0.5);
  border: 1px solid rgba(242, 237, 228, 0.1);
  padding: 2.2rem 1.8rem;
  border-radius: 6px;
  transition: var(--transition-smooth);
}

.raaga-experience-card:hover {
  border-color: var(--color-brass);
  transform: translateY(-6px);
  background: rgba(20, 53, 39, 0.85);
}

.raaga-exp-icon {
  width: 42px;
  height: 42px;
  color: var(--color-brass);
  margin-bottom: 1.2rem;
}

.raaga-exp-title {
  font-family: var(--font-editorial);
  font-size: 1.4rem;
  color: var(--color-ivory-light);
  margin-bottom: 0.6rem;
}

.raaga-exp-desc {
  font-size: 0.88rem;
  color: rgba(242, 237, 228, 0.7);
}

/* --------------------------------------------------------------------------
   08 — VIP Private Tour & Safari Stay Booking Modal
   -------------------------------------------------------------------------- */
.raaga-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  height: 100svh;
  background: rgba(7, 19, 14, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem 1rem;
  box-sizing: border-box;
  overflow-y: auto;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.raaga-modal-overlay.is-active {
  opacity: 1;
  pointer-events: auto;
}

.raaga-modal-card {
  background: var(--color-forest-dark);
  border: 1px solid rgba(197, 160, 89, 0.4);
  width: 100%;
  max-width: 620px;
  max-height: 90vh;
  max-height: 90dvh;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 2.8rem 2.2rem 2.2rem 2.2rem;
  border-radius: 14px;
  position: relative;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.85);
  box-sizing: border-box;
}

/* Custom scrollbar for modal card */
.raaga-modal-card::-webkit-scrollbar {
  width: 5px;
}
.raaga-modal-card::-webkit-scrollbar-track {
  background: rgba(7, 19, 14, 0.4);
  border-radius: 4px;
}
.raaga-modal-card::-webkit-scrollbar-thumb {
  background: rgba(197, 160, 89, 0.4);
  border-radius: 4px;
}

.raaga-modal-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(242, 237, 228, 0.08);
  border: 1px solid rgba(242, 237, 228, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--color-ivory-light);
  cursor: pointer;
  transition: all 0.3s ease;
  line-height: 1;
  z-index: 10;
}

.raaga-modal-close:hover {
  background: rgba(197, 160, 89, 0.25);
  border-color: var(--color-brass);
  color: var(--color-brass-light);
  transform: rotate(90deg);
}

.raaga-form-grid-2col {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.raaga-form-group {
  margin-bottom: 1.25rem;
  display: flex;
  flex-direction: column;
}

.raaga-form-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-brass);
  margin-bottom: 0.4rem;
  font-weight: 600;
}

.raaga-form-input, .raaga-form-select, .raaga-form-textarea {
  width: 100%;
  box-sizing: border-box;
  background: rgba(242, 237, 228, 0.05);
  border: 1px solid rgba(242, 237, 228, 0.2);
  padding: 0.85rem 1rem;
  border-radius: 6px;
  color: var(--color-ivory-light);
  font-family: var(--font-ui);
  font-size: 1rem; /* 16px prevents iOS auto-zoom */
  outline: none;
  transition: border-color 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}

.raaga-form-select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23C5A059' d='M1.41 0L6 4.58 10.59 0 12 1.41l-6 6-6-6z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

.raaga-form-input:focus, .raaga-form-select:focus, .raaga-form-textarea:focus {
  border-color: var(--color-brass);
  background: rgba(242, 237, 228, 0.08);
  box-shadow: 0 0 12px rgba(197, 160, 89, 0.25);
}

/* --------------------------------------------------------------------------
   09 — Footer
   -------------------------------------------------------------------------- */
.raaga-footer {
  padding: var(--space-lg) 0;
  border-top: 1px solid rgba(242, 237, 228, 0.1);
  background: var(--color-forest-deep);
  position: relative;
  z-index: 10;
}

.raaga-footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* --------------------------------------------------------------------------
   10 — Resort Facilities Luxury Cards Grid
   -------------------------------------------------------------------------- */
.raaga-amenities-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

@media (max-width: 1024px) {
  .raaga-amenities-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .raaga-amenities-grid {
    grid-template-columns: 1fr;
  }
}

.raaga-amenity-card {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  background: rgba(11, 31, 23, 0.7);
  border: 1px solid rgba(242, 237, 228, 0.15);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s ease, box-shadow 0.4s ease;
  display: flex;
  flex-direction: column;
}

.raaga-amenity-card:hover {
  transform: translateY(-6px);
  border-color: rgba(197, 160, 89, 0.5);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5), 0 0 20px rgba(197, 160, 89, 0.2);
}

.raaga-amenity-img-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.raaga-amenity-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.raaga-amenity-card:hover .raaga-amenity-img-wrapper img {
  transform: scale(1.08);
}

.raaga-amenity-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 19, 14, 0.1) 0%, rgba(7, 19, 14, 0.75) 100%);
  pointer-events: none;
}

.raaga-amenity-content {
  padding: 1.25rem 1.4rem 1.4rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  background: linear-gradient(180deg, rgba(11, 31, 23, 0.85) 0%, rgba(7, 19, 14, 0.95) 100%);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.raaga-amenity-title {
  font-family: var(--font-editorial);
  font-size: 1.25rem;
  color: var(--color-ivory-light);
  margin-bottom: 0.35rem;
  letter-spacing: 0.02em;
  line-height: 1.2;
}

.raaga-amenity-desc {
  font-size: 0.82rem;
  color: rgba(242, 237, 228, 0.7);
  line-height: 1.4;
  margin: 0;
}

/* --------------------------------------------------------------------------
   11 — Utility Layout Grids
   -------------------------------------------------------------------------- */
.raaga-funnel-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
}

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

.raaga-proximity-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.2rem;
}


