/* 
========================================================================
TATHASTU HERITAGE RESORT — HOMEPAGE CSS DESIGN SYSTEM
========================================================================
*/

/* --- 1. DESIGN TOKENS --- */
:root {
  /* Colors */
  --sandstone: #C9A27E;
  --dusk-indigo: #1F2640;
  --terracotta-ember: #B5552E;
  --marble-ivory: #F2EBE0;
  --jaali-shadow: #3A2E22;
  --haldi-gold: #D9A441;
  
  /* Shared Gradients */
  --gradient-dusk: linear-gradient(135deg, #1F2640 0%, #15192B 100%);
  --gradient-sand: linear-gradient(135deg, #F2EBE0 0%, #E6DEC2 100%);
  --gradient-placeholder: linear-gradient(135deg, #C9A27E 0%, #1F2640 100%);
  
  /* Fonts */
  --font-display: 'Marcellus', serif;
  --font-body: 'Jost', sans-serif;
  --font-caption: 'Outfit', sans-serif;
  
  /* Spacing & Easing */
  --ease-premium: cubic-bezier(0.16, 1, 0.3, 1);
  --header-height: 80px;
}

/* --- 2. BASE RESET & GENERAL --- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  width: 100%;
  background-color: var(--marble-ivory);
  color: var(--jaali-shadow);
  font-family: var(--font-body);
  font-size: 16px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Lenis smooth scrolling recommended styles */
html.lenis, html.lenis body {
  height: auto;
}

.lenis-smooth {
  scroll-behavior: auto !important;
}

.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}

.lenis-stopped {
  overflow: hidden;
}

.lenis-scrolling iframe {
  pointer-events: none;
}

/* Tactile Grain Overlay */
body::after {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 9999;
}

/* Scroll Container */
#scroll-container {
  width: 100%;
  position: relative;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

p {
  font-size: 1.1rem;
  line-height: 1.7;
  font-weight: 300;
  margin-bottom: 1.5rem;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.4s var(--ease-premium);
}

img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* --- 3. COMMON LAYOUTS & REUSABLES --- */
.section-container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 8rem 2rem;
}

.eyebrow {
  font-family: var(--font-caption);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: var(--terracotta-ember);
  margin-bottom: 1rem;
  font-weight: 600;
  display: block;
}

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

/* Buttons */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2.5rem;
  background-color: var(--dusk-indigo);
  color: var(--marble-ivory);
  font-family: var(--font-caption);
  font-size: 0.9rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  border: 1px solid var(--dusk-indigo);
  position: relative;
  overflow: hidden;
  transition: color 0.4s var(--ease-premium);
  z-index: 1;
}

.btn-primary::before {
  content: "";
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--terracotta-ember);
  transition: transform 0.4s var(--ease-premium);
  z-index: -1;
}

.btn-primary:hover {
  color: var(--marble-ivory);
  border-color: var(--terracotta-ember);
}

.btn-primary:hover::before {
  transform: translateY(-100%);
}

/* Gold Luxury Outline Button */
.btn-gold {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2.5rem;
  background-color: transparent;
  color: var(--haldi-gold);
  font-family: var(--font-caption);
  font-size: 0.9rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  border: 1px solid var(--haldi-gold);
  position: relative;
  overflow: hidden;
  transition: all 0.4s var(--ease-premium);
  z-index: 1;
  cursor: pointer;
  text-decoration: none;
}

.btn-gold:hover {
  background-color: var(--haldi-gold);
  color: #121626 !important;
  border-color: var(--haldi-gold);
}

.btn-gold:focus-visible {
  outline: 2px solid var(--haldi-gold);
  outline-offset: 4px;
}

/* Experiences Pillar Outline Button */
.pillar-cta {
  display: inline-flex;
  align-self: flex-start; /* Stop flex stretching */
  align-items: center;
  justify-content: center;
  margin-top: 1.8rem;
  padding: 0.75rem 1.8rem;
  font-family: var(--font-caption);
  font-size: 0.8rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--terracotta-ember);
  border: 1px solid rgba(181, 85, 46, 0.4);
  background-color: transparent;
  transition: all 0.4s var(--ease-premium);
  text-decoration: none;
  cursor: pointer;
}

.pillar-cta:hover {
  background-color: var(--terracotta-ember);
  color: var(--marble-ivory) !important;
  border-color: var(--terracotta-ember);
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(181, 85, 46, 0.15);
}

/* Rooms Card Hover Overlay CTA */
.room-cta {
  display: inline-flex;
  align-items: center;
  margin-top: 1.2rem;
  font-family: var(--font-caption);
  font-size: 0.8rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--haldi-gold);
  text-decoration: none;
  transition: color 0.3s var(--ease-premium), transform 0.3s var(--ease-premium);
}

.room-cta:hover {
  color: var(--marble-ivory);
  transform: translateX(4px);
}

/* Philosophy Section Desktop Animated CTA */
.feeling-cta {
  opacity: 0;
  transform: translateY(20px);
  will-change: transform, opacity;
}

/* Image Slots / Placeholders */
.img-slot {
  width: 100%;
  height: 100%;
  background: var(--gradient-placeholder);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.img-placeholder-caption {
  font-family: var(--font-caption);
  font-size: 0.75rem;
  color: rgba(242, 235, 224, 0.7);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  text-align: center;
  padding: 2rem;
  border: 1px dashed rgba(242, 235, 224, 0.3);
  margin: 1.5rem;
  pointer-events: none;
}

/* --- 4. PRELOADER --- */
.preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--dusk-indigo);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

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

.preloader-logo-img {
  height: 120px;
  width: auto;
  object-fit: contain;
  margin-bottom: 2rem;
  display: inline-block;
}

.preloader-tagline {
  font-family: var(--font-caption);
  font-size: 0.75rem;
  color: var(--sandstone);
  letter-spacing: 0.4em;
  font-weight: 500;
}

/* --- 5. HEADER & NAV --- */
.main-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 1200;
  display: flex;
  align-items: center;
  transition: background-color 0.5s var(--ease-premium), border-bottom 0.5s var(--ease-premium);
  border-bottom: 1px solid rgba(242, 235, 224, 0.1);
}

.header-container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo-link {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.8rem;
  color: var(--marble-ivory);
}

.logo-img {
  height: 45px;
  width: auto;
  object-fit: contain;
  transition: transform 0.4s var(--ease-premium);
}

.logo-link:hover .logo-img {
  transform: scale(1.05);
}

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

.logo-dark-theme {
  display: none;
}

.main-header.scrolled .logo-light-theme {
  display: none;
}

.main-header.scrolled .logo-dark-theme {
  display: block;
}

.logo-text {
  display: none !important; /* Globally hidden to prevent overlap if cached HTML is served */
}

.logo-subtext {
  font-family: var(--font-caption);
  font-size: 0.6rem;
  letter-spacing: 0.35em;
  color: var(--sandstone);
  font-weight: 500;
}

.desktop-nav {
  display: flex;
  align-items: center;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 3rem;
}

.nav-link {
  font-family: var(--font-caption);
  font-size: 0.85rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--marble-ivory);
  position: relative;
  padding: 0.5rem 0;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background-color: var(--terracotta-ember);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s var(--ease-premium);
}

.nav-link:hover {
  color: var(--sandstone);
}

.nav-link:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header-cta-btn {
  font-family: var(--font-caption);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  padding: 0.7rem 1.8rem;
  background-color: transparent;
  color: var(--marble-ivory);
  border: 1px solid rgba(242, 235, 224, 0.4);
  transition: all 0.4s var(--ease-premium);
}

.header-cta-btn:hover {
  background-color: var(--marble-ivory);
  color: var(--dusk-indigo);
  border-color: var(--marble-ivory);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 30px;
  height: 20px;
  position: relative;
  z-index: 1100;
}

.mobile-menu-toggle .bar {
  display: block;
  width: 100%;
  height: 1.5px;
  background-color: var(--marble-ivory);
  position: absolute;
  transition: all 0.3s ease;
}

.mobile-menu-toggle .bar:nth-child(1) { top: 0; }
.mobile-menu-toggle .bar:nth-child(2) { top: 9px; }
.mobile-menu-toggle .bar:nth-child(3) { top: 18px; }

/* Morph hamburger into X close button when active */
.mobile-menu-toggle.active .bar {
  background-color: var(--marble-ivory) !important;
}
.mobile-menu-toggle.active .bar:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}
.mobile-menu-toggle.active .bar:nth-child(2) {
  opacity: 0;
  transform: translateX(-20px);
}
.mobile-menu-toggle.active .bar:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

/* Header Scroll Class (Scrubbed in JS) */
.main-header.scrolled {
  background-color: var(--marble-ivory);
  border-bottom-color: rgba(58, 46, 34, 0.1);
}
.main-header.scrolled .logo-link,
.main-header.scrolled .nav-link {
  color: var(--jaali-shadow);
}
.main-header.scrolled .header-cta-btn {
  color: var(--jaali-shadow);
  border-color: rgba(58, 46, 34, 0.3);
}
.main-header.scrolled .header-cta-btn:hover {
  background-color: var(--dusk-indigo);
  color: var(--marble-ivory);
  border-color: var(--dusk-indigo);
}
.main-header.scrolled .mobile-menu-toggle .bar {
  background-color: var(--jaali-shadow);
}

/* Mobile Nav Drawer */
.mobile-nav-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  height: 100vh;
  background-color: var(--dusk-indigo);
  z-index: 1100;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 100px 2.5rem 3rem 2.5rem; /* Room for header controls */
  overflow-y: auto;
  transition: right 0.6s var(--ease-premium);
}

.mobile-nav-drawer.active {
  right: 0;
}

/* Force header background transparent when menu drawer is active */
.main-header.drawer-open {
  background-color: transparent !important;
  border-bottom-color: transparent !important;
  box-shadow: none !important;
}

.mobile-drawer-nav {
  width: 100%;
}

.mobile-drawer-nav ul {
  list-style: none;
  text-align: left;
  padding: 0;
  margin: 0;
}

.mobile-drawer-nav li {
  margin: 0;
  width: 100%;
  text-align: left;
}

.mobile-drawer-nav a {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--marble-ivory);
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
  display: block;
  width: 100%;
  padding: 0.9rem 0;
  transition: color 0.3s ease;
}

.mobile-drawer-nav > ul > li > a {
  border-bottom: 1px solid rgba(247, 245, 240, 0.06);
}

.mobile-drawer-nav a:hover {
  color: var(--haldi-gold);
}

/* --- 6. SECTION 1: HERO (JAALI ZOOM-THROUGH) --- */
.hero-section {
  width: 100%;
  height: 250vh; /* Accommodates the scroll pinning timeline */
  position: relative;
  background-color: var(--dusk-indigo);
}

.hero-sticky-wrapper {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

.hero-image-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('../assets/images/building/0w6a0137.jpg');
  background-size: cover;
  background-position: center;
  z-index: 1;
  will-change: transform;
  transform: translate3d(0, 0, 0);
  backface-visibility: hidden;
}

.hero-image-container::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(31, 38, 64, 0.22); /* Lightened to 0.22 on desktop for vivid clarity */
  z-index: 2;
}

.hero-video-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.jaali-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  transform-origin: 50% 50%;
  pointer-events: none;
  /* Removed heavy drop-shadow filter to achieve 60fps scaling */
  will-change: transform;
  transform: translate3d(0, 0, 0);
  backface-visibility: hidden;
}

.hero-content {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 3;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 100px 2rem 40px 2rem;
  background: linear-gradient(to bottom, rgba(31, 38, 64, 0.4) 0%, rgba(31, 38, 64, 0.7) 100%);
  color: var(--marble-ivory);
  opacity: 0; /* Animated on load/scroll past */
  pointer-events: none;
}

.hero-content.active {
  pointer-events: all;
}

.hero-title {
  font-size: 4rem;
  line-height: 1.1;
  max-width: 1100px;
  margin-bottom: 1.5rem;
  color: var(--marble-ivory);
  text-shadow: 0 4px 15px rgba(0, 0, 0, 0.7); /* High legibility over bright video */
}

.hero-subtitle {
  font-family: var(--font-body);
  font-size: 1.8rem;
  font-weight: 300;
  letter-spacing: 0.05em;
  color: var(--sandstone);
  margin-bottom: 3rem;
  max-width: 800px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6); /* High legibility over bright video */
}

.hero-desc-block {
  max-width: 850px;
  margin-bottom: 3.5rem;
}

.hero-desc-block p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: rgba(242, 235, 224, 0.85);
  margin-bottom: 1.2rem;
}

.mobile-only-desc {
  display: none;
}

.hero-cta-wrapper {
  margin-top: 1rem;
}

/* --- 7. SECTION 2: A FEELING (SCROLL-SCRUB) --- */
.feeling-section {
  width: 100%;
  height: 300vh; /* Pinned for scroll scrub */
  position: relative;
}

.feeling-sticky-wrapper {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

.feeling-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.feeling-bg::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(31, 38, 64, 0.85);
  z-index: 2;
}

.feeling-content {
  position: relative;
  z-index: 3;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 220px 10% 40px; /* Pushes content down past the scalloped arch clip zone */
  color: var(--marble-ivory);
}

.feeling-content .eyebrow {
  color: var(--terracotta-ember);
  margin-bottom: 1rem;
}

.feeling-title {
  font-size: 3rem;
  color: var(--sandstone);
  margin-top: 1rem;
  margin-bottom: 3.5rem;
  text-align: center;
}

.feeling-sentences-wrapper {
  max-width: 900px;
  text-align: center;
}

.scrub-sentence {
  font-family: var(--font-display);
  font-size: 1.8rem;
  line-height: 1.6;
  margin-bottom: 2.5rem;
  opacity: 0.2; /* Controlled by ScrollTrigger */
  color: var(--marble-ivory);
  transition: color 0.4s;
}

.scrub-sentence:nth-child(1) {
  font-size: 2.2rem;
  color: var(--marble-ivory);
}

/* --- 8. SECTION 3: CRAFTED (HORIZONTAL PILLARS) --- */
.pillars-section {
  width: 100%;
  height: 100vh;
  position: relative;
  z-index: 5;
  background-color: var(--marble-ivory);
}

.pillars-sticky-wrapper {
  position: relative;
  top: 0;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

.horizontal-scroll-container {
  display: flex;
  flex-wrap: nowrap;
  width: 425vw; /* 5 panels * 85vw */
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  will-change: transform;
  transform: translate3d(0, 0, 0);
  backface-visibility: hidden;
}

.horizontal-panel {
  width: 85vw; /* Reduced from 100vw to tighten horizontal gap and invite scroll */
  height: 100%;
  display: flex;
  align-items: center;
  padding: 0 8%;
  position: relative;
  flex-shrink: 0;
}

/* Intro Panel */
.intro-panel {
  background-color: var(--marble-ivory);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8%;
  height: 100%;
}

.intro-panel-content {
  width: 480px;
  min-width: 380px;
  flex: 0 1 auto;
}

.intro-image-frame {
  height: 70%;
  width: auto;
  aspect-ratio: 1 / 1.2;
  flex: 0 0 auto;
  position: relative;
  overflow: hidden;
  filter: drop-shadow(0 15px 30px rgba(58, 46, 34, 0.12));
  transition: filter 0.4s var(--ease-premium);
}

.intro-image-frame:hover {
  filter: drop-shadow(0 22px 40px rgba(58, 46, 34, 0.2));
}

.intro-panel-content .section-title {
  font-size: 3.5rem;
  color: var(--dusk-indigo);
  margin-bottom: 2rem;
  line-height: 1.15;
}

.intro-panel-content .section-desc {
  font-size: 1.2rem;
  color: var(--jaali-shadow);
}

.scroll-indicator {
  margin-top: 3rem;
  font-family: var(--font-caption);
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--terracotta-ember);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.scroll-indicator .arrow {
  font-size: 1.2rem;
}

.pillar-panel {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8%;
  height: 100%;
}

.pillar-panel .arch-frame {
  height: 70%;
  width: auto;
  aspect-ratio: 1 / 1.2;
  flex: 0 0 auto;
}

.pillar-panel .pillar-info {
  width: 480px;
  min-width: 380px;
  flex: 0 1 auto;
}

.arch-frame {
  position: relative;
  aspect-ratio: 1 / 1.2;
  overflow: hidden;
  filter: drop-shadow(0 15px 30px rgba(58, 46, 34, 0.12));
  transition: filter 0.4s var(--ease-premium);
}

.arch-frame:hover {
  filter: drop-shadow(0 22px 40px rgba(58, 46, 34, 0.2));
}

.arch-image-wrapper {
  width: 100%;
  height: 100%;
  /* Using SVG clip-path for an authentic scalloped Haveli arch */
  clip-path: url(#scalloped-arch-clip);
  transform: scale(0.95);
  will-change: transform;
  backface-visibility: hidden;
}

.arch-frame:hover .arch-image-wrapper {
  transform: scale(1);
}

.pillar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.arch-contour {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 2;
}

.pillar-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.pillar-num {
  font-family: var(--font-caption);
  font-size: 3.2rem;
  font-weight: 300;
  color: var(--terracotta-ember);
  opacity: 0.85;
  line-height: 1;
  margin-bottom: 1.2rem;
  letter-spacing: 0.05em;
}

.pillar-title {
  font-size: clamp(2rem, 2.5vw, 2.8rem);
  line-height: 1.25;
  color: var(--dusk-indigo);
  margin-bottom: 1.8rem;
  letter-spacing: 0.04em;
}

.pillar-text {
  color: var(--jaali-shadow);
  font-size: clamp(1rem, 1.1vw, 1.12rem);
  line-height: 1.85;
  font-weight: 300;
  opacity: 0.85;
  letter-spacing: 0.02em;
  width: 100%;
}

/* --- 9. SECTION 4: SANCTUARIES (ROOMS GRID) --- */
.sanctuaries-section {
  background-color: var(--marble-ivory);
  position: relative;
  z-index: 5;
}

.sanctuaries-section .section-title {
  font-size: 3.2rem;
  color: var(--dusk-indigo);
  margin-bottom: 5rem;
}

.rooms-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-top: 2rem;
}

.room-card {
  position: relative;
  aspect-ratio: 1.4 / 1;
  overflow: hidden;
  cursor: pointer;
}

.room-image-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  transform: scale(1);
  transition: transform 1.2s var(--ease-premium);
}

.room-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
  pointer-events: none;
}

.room-slide.active {
  opacity: 1;
  pointer-events: auto;
}

/* Controls */
.room-slide-controls {
  position: absolute;
  top: 50%;
  width: 100%;
  display: flex;
  justify-content: space-between;
  transform: translateY(-50%);
  padding: 0 1.5rem;
  z-index: 10;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s var(--ease-premium);
}

.room-card:hover .room-slide-controls {
  opacity: 1;
}

.slide-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(31, 38, 64, 0.7);
  color: var(--marble-ivory);
  border: 1px solid rgba(242, 235, 224, 0.2);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  pointer-events: auto;
  transition: background-color 0.3s, transform 0.3s;
}

.slide-btn:hover {
  background-color: var(--terracotta-ember);
  transform: scale(1.1);
}

.room-card:hover .room-image-wrapper {
  transform: scale(1.05);
}

.room-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(31, 38, 64, 0.7) 0%, rgba(31, 38, 64, 0) 60%);
  display: flex;
  align-items: flex-end;
  padding: 3rem;
  z-index: 2;
}

.room-content-card {
  transform: translateY(20px);
  transition: transform 0.6s var(--ease-premium);
}

.room-card:hover .room-content-card {
  transform: translateY(0);
}

.room-title {
  font-size: 2rem;
  color: var(--marble-ivory);
  margin-bottom: 0.5rem;
}

.room-text {
  font-size: 1rem;
  color: rgba(242, 235, 224, 0.85);
  margin-bottom: 0;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.6s var(--ease-premium), transform 0.6s var(--ease-premium);
  transition-delay: 0.1s;
}

.room-card:hover .room-text {
  opacity: 1;
  transform: translateY(0);
}

/* --- 10. SECTION 5: WHERE FOREVER BEGINS (WEDDINGS) --- */
.weddings-section {
  position: relative;
  width: 100%;
  min-height: 100vh;
  display: flex;
  align-items: center;
  color: var(--marble-ivory);
  overflow: hidden;
  z-index: 5;
}

.weddings-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.weddings-bg::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(31, 38, 64, 0.72) 0%, rgba(21, 25, 43, 0.82) 100%);
  z-index: 2;
}

.weddings-content {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  padding: 8rem 2rem;
}

.weddings-title {
  font-size: 4rem;
  text-align: center;
  color: var(--marble-ivory);
  margin-bottom: 3.5rem;
  line-height: 1.1;
}

.weddings-body {
  max-width: 750px;
  margin: 0 auto;
  text-align: center;
}

.weddings-lead {
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--sandstone);
  line-height: 1.5;
  margin-bottom: 2.5rem;
}

.weddings-body p:not(.weddings-lead) {
  color: rgba(242, 235, 224, 0.8);
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

/* --- 11. SECTION 6: BEYOND THE ORDINARY (POETIC LIST) --- */
.ordinary-section {
  background-color: var(--dusk-indigo);
  color: var(--marble-ivory);
  position: relative;
  z-index: 5;
}

.ordinary-title {
  font-size: 3.5rem;
  color: var(--sandstone);
  margin-bottom: 1.5rem;
}

.ordinary-lead {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--marble-ivory);
  margin-bottom: 5rem;
  opacity: 0.8;
}

.poetic-lines-list {
  max-width: 800px;
  margin: 0 auto 5rem;
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.poetic-line {
  font-family: var(--font-display);
  font-size: 2.2rem;
  letter-spacing: 0.05em;
  opacity: 0.15; /* Animated in JS */
  transform: translateY(20px);
  transition: opacity 1s var(--ease-premium), transform 1.2s var(--ease-premium);
  color: var(--marble-ivory);
  border-bottom: 1px solid rgba(242, 235, 224, 0.1);
  padding-bottom: 1.5rem;
}

.poetic-line.active {
  opacity: 1;
  transform: translateY(0);
}

.ordinary-desc {
  max-width: 800px;
  margin: 0 auto;
  font-size: 1.15rem;
  line-height: 1.8;
  color: rgba(242, 235, 224, 0.75);
}

/* --- 12. SECTION 7: SPIRIT & FINAL CTA (CLOSING MOTIF) --- */
.closing-section {
  width: 100%;
  height: 250vh; /* Pinned for closing overlay animation */
  position: relative;
  background-color: var(--dusk-indigo);
  color: var(--marble-ivory);
}

.closing-sticky-wrapper {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

.closing-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.closing-bg::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(31, 38, 64, 0.7) 0%, rgba(31, 38, 64, 0.95) 100%);
  z-index: 2;
}

.closing-content {
  position: relative;
  z-index: 3;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 130px 2rem 40px; /* Clear fixed header with 130px top spacing */
}

.closing-title {
  font-size: 3.5rem;
  max-width: 900px;
  margin-bottom: 3rem;
  color: var(--marble-ivory);
  line-height: 1.15;
}

.closing-body {
  max-width: 700px;
  margin-bottom: 4rem;
}

.closing-quote {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--sandstone);
  line-height: 1.5;
  margin-top: 2rem;
}

.closing-cta-block {
  margin-top: 1rem;
}

.closing-sub {
  font-family: var(--font-caption);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.3em;
  color: var(--terracotta-ember);
  margin-bottom: 1rem;
}

.closing-mirror {
  font-family: var(--font-display);
  font-size: 2.2rem;
  color: var(--marble-ivory);
  margin-bottom: 3rem;
}

/* Closing Jaali screen overlay */
.jaali-closing-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 4;
  pointer-events: none;
  opacity: 0; /* Animated in JS */
  will-change: transform, opacity;
  transform: translate3d(0, 0, 0);
  backface-visibility: hidden;
}

/* --- 13. FOOTER --- */
.main-footer {
  background-color: #121626; /* Deep brand night-sky navy for an ultra-premium, grounded feel */
  color: var(--marble-ivory);
  position: relative;
  z-index: 5;
  border-top: 4px double rgba(201, 162, 126, 0.35); /* Double gold border for royal theme */
}

.footer-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 6rem 2rem;
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 6rem;
}

.footer-brand-section {
  max-content: 400px;
}

.footer-logo-img {
  height: 60px;
  width: auto;
  object-fit: contain;
  margin-bottom: 2rem;
}

.footer-desc {
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.6;
  font-weight: 300;
  color: rgba(242, 235, 224, 0.7);
  letter-spacing: 0.02em;
  max-width: 320px;
}

.footer-links-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 3rem;
}

.footer-col-title {
  font-family: var(--font-display);
  font-size: 1rem;
  letter-spacing: 0.15em;
  color: var(--haldi-gold);
  margin-bottom: 1.8rem;
  font-weight: 500;
  text-transform: uppercase;
}

.footer-contact-list,
.footer-social-links,
.footer-legal-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.footer-contact-list li {
  font-size: 1.05rem;
  color: rgba(242, 235, 224, 0.85);
  font-weight: 400;
  display: flex;
  align-items: flex-start;
  line-height: 1.5;
}

.footer-icon {
  width: 18px;
  height: 18px;
  margin-right: 12px;
  margin-top: 3px;
  flex-shrink: 0;
  display: inline-block;
}

.footer-link {
  font-size: 1.05rem;
  color: rgba(242, 235, 224, 0.85);
  font-weight: 400;
  display: inline-block;
  transition: transform 0.3s var(--ease-premium), color 0.3s var(--ease-premium);
}

.footer-contact-list a {
  transition: color 0.3s var(--ease-premium);
}

.footer-contact-list a:hover {
  color: var(--haldi-gold) !important;
}

.footer-link:hover {
  color: var(--haldi-gold) !important;
  transform: translateX(6px);
}

.footer-bottom {
  border-top: 1px solid rgba(242, 235, 224, 0.05);
  padding: 2.5rem 2rem;
}

.footer-bottom-container {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.95rem;
  color: rgba(242, 235, 224, 0.6);
}

.designed-by {
  font-family: var(--font-caption);
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

/* --- 14. RESPONSIVENESS (MOBILE DEGRADATION) --- */
@media screen and (max-width: 1024px) {
  /* Common */
  .section-container {
    padding: 4rem 1.5rem; /* Tightened from 6rem for better mobile balancing */
  }
  
  /* Navigation */
  .desktop-nav,
  .header-cta-btn,
  .logo-text {
    display: none !important; /* Hide text logo on mobile to prevent overlapping */
  }
  .mobile-menu-toggle {
    display: block;
  }
  
  /* Hero */
  .hero-section {
    height: auto; /* Dissolves pinning scroll-jacking */
  }
  .hero-sticky-wrapper {
    position: relative !important;
    height: 80vh !important; /* Set to 80vh on mobile to balance video crop and text space */
    overflow: hidden;
  }
  .hero-image-container::after {
    background: rgba(31, 38, 64, 0.12) !important; /* Ultra-clear mobile video overlay */
  }
  .jaali-overlay {
    /* Hide detailed zoom-through mask overlay on mobile for performance/readability */
    display: none;
  }
  .hero-content {
    position: absolute !important;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 3;
    display: flex;
    flex-direction: column;
    justify-content: center; /* Centered in remaining space */
    align-items: center;
    text-align: center;
    background: transparent !important;
    padding: 80px 1.5rem 0; /* Top padding to safely clear the fixed header */
    box-sizing: border-box;
    opacity: 1 !important; /* Force parent opacity to 1 on mobile so children can fade in */
    pointer-events: all !important;
  }
  .hero-desc-block {
    display: block !important;
    max-width: 600px;
    margin-bottom: 2rem;
  }
  .desktop-only-desc {
    display: none !important;
  }
  .mobile-only-desc {
    display: block !important;
    font-size: 0.95rem !important;
    line-height: 1.4 !important;
    color: rgba(242, 235, 224, 0.85) !important;
    margin-bottom: 1.5rem !important;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6) !important;
  }
  .hero-title {
    font-size: 2.0rem; /* Adjusted for better mobile scaling without clipping */
    line-height: 1.2;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.7) !important;
  }
  .hero-subtitle {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6) !important;
  }
  
  /* Feeling */
  .feeling-section {
    height: auto;
  }
  .feeling-sticky-wrapper {
    position: relative !important;
    height: auto !important;
    padding: 0 !important;
  }
  .feeling-content {
    height: auto !important;
    padding: 8rem 1.5rem 6rem !important; /* Direct padding: 8rem top spacing for professional breathing room */
  }
  .feeling-sentences-wrapper {
    margin-top: 2rem;
  }
  .scrub-sentence {
    opacity: 1;
    transform: none;
    margin-bottom: 2rem;
    font-size: 1.2rem;
  }.scrub-sentence:nth-child(1) {
    font-size: 1.6rem;
  }
  
  /* Pillars (Horizontal list goes vertical) */
  .pillars-section {
    height: auto;
  }
  .pillars-sticky-wrapper {
    position: relative;
    height: auto;
    overflow: visible;
  }
  .horizontal-scroll-container {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: auto;
    position: relative;
  }
  .horizontal-panel {
    width: 100%;
    height: auto;
    padding: 2.5rem 1.5rem !important; /* Reduced from 4rem for tighter mobile layout */
  }
  .intro-panel {
    display: flex;
    flex-direction: column;
    gap: 3rem;
  }
  .intro-panel-content {
    width: 100%;
    max-width: none;
    min-width: 0 !important; /* Reset desktop min-width to prevent overflow on mobile */
    flex: none;
    text-align: center;
  }
  .section-title {
    font-size: 2.2rem !important;
    line-height: 1.2 !important;
  }
  .intro-image-frame {
    display: none !important;
  }
  .intro-image-frame .arch-image-wrapper,
  .arch-frame .arch-image-wrapper {
    position: absolute !important; /* Prevent natural image proportions from collapsing height */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
  }
  .scroll-indicator {
    display: none;
  }
  .pillar-panel {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .pillar-panel .arch-frame {
    width: 85% !important; /* Limit width on mobile so it doesn't touch the screen sides */
    max-width: 330px !important; /* Cap max-width for tablet/landscape viewports */
    margin: 0 auto !important; /* Center horizontally within grid */
    height: auto;
    aspect-ratio: 1 / 1.2 !important;
    flex: none;
    position: relative;
  }
  .pillar-panel .pillar-info {
    width: 100%;
    max-width: none;
    min-width: 0 !important; /* Reset desktop min-width to prevent overflow on mobile */
    flex: none;
    align-items: center; /* Center-align flex items on mobile for perfect balance */
    text-align: center; /* Center text alignment for titles and paragraphs */
  }
  .pillar-title {
    font-size: 2.2rem;
  }
  
  /* Sanctuaries */
  .rooms-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .room-overlay {
    padding: 1.5rem;
  }
  .room-text {
    opacity: 1;
    transform: none;
  }
  .room-content-card {
    transform: none;
  }
  
  /* Weddings */
  .weddings-title {
    font-size: 2.6rem;
  }
  .weddings-lead {
    font-size: 1.4rem;
  }
  
  /* Beyond Ordinary */
  .ordinary-title {
    font-size: 2.6rem;
  }
  .poetic-line {
    font-size: 1.6rem;
    opacity: 1;
    transform: none;
  }
  
  /* Closing & Footer */
  .closing-section {
    height: auto;
  }
  .closing-sticky-wrapper {
    position: relative;
    height: auto;
    padding: 6rem 1.5rem;
    background-color: var(--dusk-indigo);
  }
  .closing-content {
    height: auto !important;
    padding: 0 !important;
  }
  .jaali-closing-overlay {
    display: none;
  }
  .closing-title {
    font-size: 2.6rem;
  }
  .closing-mirror {
    font-size: 1.6rem;
  }
  
  .footer-container {
    grid-template-columns: 1fr;
    gap: 4rem;
  }
  .footer-links-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .footer-bottom-container {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}

/* Mobile Breakpoint down to 375px */
@media screen and (max-width: 480px) {
  .section-container {
    padding: 3rem 1.25rem; /* Tightened further for small mobile viewports */
  }
  .hero-title {
    font-size: 1.7rem; /* Clean 2-line wrap on narrow screens */
  }
  .section-title, 
  .weddings-title, 
  .closing-title {
    font-size: 1.8rem !important; /* Standardized h2 size */
  }
  .pillar-title, 
  .room-title {
    font-size: 1.4rem; /* Standardized h3 card headers */
  }
  p {
    font-size: 0.95rem; /* Standardized mobile body font */
  }
  .btn-primary,
  .btn-gold {
    width: 100%;
    padding: 0.9rem 1.5rem;
  }
  .feeling-cta {
    opacity: 1 !important;
    transform: none !important;
    margin-top: 2.5rem !important;
  }
  .pillar-cta {
    align-self: center !important;
    width: 100% !important;
    max-width: 280px !important;
    box-sizing: border-box;
  }
}

/* --- 11.5 SIGHTSEEING SECTION --- */
.sightseeing-section {
  background-color: var(--marble-ivory);
  position: relative;
  z-index: 5;
  border-top: 1px solid rgba(58, 46, 34, 0.05);
}

.sightseeing-lead {
  max-width: 700px;
  margin: 0 auto 4rem;
  color: var(--jaali-shadow);
  opacity: 0.85;
}

.sightseeing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  margin-top: 2rem;
}

.sightseeing-card {
  background-color: rgba(242, 235, 224, 0.4);
  border: 1px solid rgba(201, 162, 126, 0.2);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  transition: transform 0.4s var(--ease-premium), border-color 0.4s var(--ease-premium);
}

.sightseeing-card:hover {
  transform: translateY(-8px);
  border-color: var(--sandstone);
}

.sightseeing-image-wrapper {
  width: 100%;
  aspect-ratio: 1.5 / 1;
  overflow: hidden;
}

.sightseeing-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease-premium);
}

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

.sightseeing-info h3 {
  font-size: 1.4rem;
  color: var(--dusk-indigo);
  margin-bottom: 0.75rem;
}

.sightseeing-info p {
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 0;
  color: var(--jaali-shadow);
  opacity: 0.8;
}

@media screen and (max-width: 1024px) {
  .sightseeing-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
}

@media screen and (max-width: 640px) {
  .sightseeing-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

/* --- 11.6 SKETCH ART GALLERY --- */
.sketch-art-container {
  margin-top: 6rem;
  padding-top: 6rem;
  border-top: 1px solid rgba(242, 235, 224, 0.1);
  text-align: center;
}

.sketch-gallery-title {
  font-size: 2.5rem;
  color: var(--marble-ivory);
  margin-bottom: 1rem;
}

.sketch-gallery-desc {
  max-width: 650px;
  margin: 0 auto 4rem;
  color: rgba(242, 235, 224, 0.7);
  font-size: 1.05rem;
}

.sketch-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  padding: 0 1rem;
}

.sketch-card {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border: 1px solid rgba(242, 235, 224, 0.15);
  background-color: rgba(31, 38, 64, 0.5);
  transition: border-color 0.4s var(--ease-premium), transform 0.4s var(--ease-premium);
}

.sketch-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.1) brightness(0.9);
  transition: filter 0.6s ease, transform 0.8s var(--ease-premium);
}

.sketch-card:hover {
  border-color: var(--sandstone);
  transform: scale(1.03);
}

.sketch-card:hover img {
  filter: none;
  transform: scale(1.05);
}

@media screen and (max-width: 1024px) {
  .sketch-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
}

@media screen and (max-width: 480px) {
  .sketch-grid {
    grid-template-columns: repeat(2, 1fr); /* 2 columns to prevent overly long scroll heights */
    gap: 0.8rem;
  }
  .sketch-gallery-title {
    font-size: 1.8rem;
  }
}

/* --- 15. ACCESSIBILITY & REDUCED MOTION --- */
.mobile-menu-toggle:focus-visible,
.btn-primary:focus-visible,
.header-cta-btn:focus-visible,
.nav-link:focus-visible {
  outline: 2px solid var(--terracotta-ember);
  outline-offset: 4px;
}

@media (prefers-reduced-motion: reduce) {
  /* Disable Smooth Scroll */
  html {
    scroll-behavior: auto !important;
  }
  
  /* Disable custom animations */
  *, *::before, *::after {
    animation-delay: -1ms !important;
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    background-attachment: initial !important;
    scroll-behavior: auto !important;
    transition-duration: 0s !important;
    transition-delay: 0s !important;
  }
  
  /* Override custom GSAP components */
  .hero-section,
  .feeling-section,
  .pillars-section,
  .closing-section {
    height: auto !important;
  }
  .feeling-sticky-wrapper,
  .pillars-sticky-wrapper,
  .closing-sticky-wrapper {
    position: relative !important;
    height: auto !important;
  }
  .hero-sticky-wrapper {
    position: relative !important;
    height: 100vh !important;
  }
  .jaali-overlay,
  .jaali-closing-overlay {
    display: none !important;
  }
  .hero-content {
    opacity: 1 !important;
    pointer-events: all !important;
  }
  .scrub-sentence {
    opacity: 1 !important;
  }
  .horizontal-scroll-container {
    position: relative !important;
    flex-direction: column !important;
    width: 100% !important;
    height: auto !important;
    left: 0 !important;
  }
  .horizontal-panel {
    width: 100% !important;
    height: auto !important;
  }
  .poetic-line {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* Floating Scroll Navigation Controls */
.scroll-nav-controls {
  position: fixed;
  right: 2rem;
  bottom: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  z-index: 100;
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
  transition: opacity 0.4s var(--ease-premium), transform 0.4s var(--ease-premium);
}

.scroll-nav-controls.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}

.scroll-nav-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(31, 38, 64, 0.85); /* Dusk Indigo base with opacity */
  border: 1px solid rgba(217, 164, 65, 0.3); /* Thin gold border */
  color: var(--haldi-gold);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s var(--ease-premium);
  backdrop-filter: blur(8px);
  box-shadow: 0 8px 30px rgba(18, 22, 38, 0.25);
  padding: 0;
}

.scroll-nav-btn svg {
  width: 20px;
  height: 20px;
  transition: transform 0.3s var(--ease-premium);
}

.scroll-nav-btn:hover {
  background: var(--haldi-gold);
  color: #121626;
  border-color: var(--haldi-gold);
  transform: scale(1.08);
  box-shadow: 0 12px 35px rgba(217, 164, 65, 0.3);
}

.scroll-nav-btn.scroll-to-top:hover svg {
  transform: translateY(-2px);
}

.scroll-nav-btn.scroll-to-bottom:hover svg {
  transform: translateY(2px);
}

/* Adjust position on small mobile to not overlay copyright */
@media screen and (max-width: 480px) {
  .scroll-nav-controls {
    right: 1.25rem;
    bottom: 1.25rem;
    gap: 0.5rem;
  }
  .scroll-nav-btn {
    width: 40px;
    height: 40px;
  }
}

/* ==========================================================================
   14. SUBPAGES LAYOUT SYSTEM
   ========================================================================== */

/* Subpage Hero Banner */
.subpage-hero {
  position: relative;
  min-height: 80vh;
  background-color: var(--dusk-indigo);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  margin-top: 0;
  padding-top: 160px; /* Clear the header completely */
  padding-bottom: 80px;
}

@media screen and (max-width: 768px) {
  .subpage-hero {
    min-height: auto; /* Let it scale naturally to prevent vertical clipping */
    padding-top: 140px; /* Mobile header clearance */
    padding-bottom: 60px;
  }
}

.subpage-hero-bg {
  position: absolute;
  top: -10%;
  left: 0;
  width: 100%;
  height: 120%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  filter: brightness(0.4) contrast(1.05);
  transform: scale(1.05);
  will-change: transform;
  z-index: 1;
}

.subpage-hero::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(18, 22, 38, 0.8), rgba(18, 22, 38, 0.5));
  z-index: 2;
}

.subpage-hero-content {
  position: relative;
  z-index: 5;
  color: var(--marble-ivory);
  padding: 0 1.5rem;
  max-width: 950px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.subpage-hero-eyebrow {
  font-family: var(--font-caption);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--haldi-gold);
  margin-top: 1.5rem;
  margin-bottom: 1rem;
  display: block;
}

.subpage-hero-title {
  font-family: var(--font-royal);
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 400;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--marble-ivory);
  margin-bottom: 0.75rem;
  text-shadow: 0 4px 15px rgba(18, 22, 38, 0.4);
}

.subpage-hero-title.long-title {
  font-size: clamp(1.8rem, 4vw, 3rem);
}

.subpage-hero-subhead {
  font-family: var(--font-royal);
  font-style: italic;
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  color: var(--sand-drift);
  margin-bottom: 1.2rem;
  letter-spacing: 0.02em;
  max-width: 800px;
}

.subpage-hero-para {
  font-family: var(--font-sans);
  font-size: clamp(0.92rem, 1.2vw, 1.05rem);
  line-height: 1.6;
  font-weight: 300;
  color: rgba(242, 235, 224, 0.85);
  max-width: 700px;
  margin-bottom: 2rem;
}

.subpage-hero-cta {
  margin-top: 0.5rem;
}

/* Breadcrumbs navigation */
.breadcrumbs {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  font-family: var(--font-caption);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.breadcrumbs a {
  color: rgba(247, 245, 240, 0.6);
  text-decoration: none;
  transition: color 0.3s ease;
}

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

.breadcrumbs .separator {
  color: rgba(247, 245, 240, 0.3);
}

.breadcrumbs .current {
  color: var(--marble-ivory);
}

/* Subpage Grid Layouts */
.subpage-section {
  padding: 8rem 0;
  position: relative;
}

.subpage-section.bg-sand {
  background-color: #faf8f5; /* Light luxury warm cream */
}

.subpage-section.bg-indigo {
  background-color: var(--dusk-indigo);
  color: var(--marble-ivory);
}

.subpage-intro-text {
  text-align: center;
  max-width: 750px;
  margin: 0 auto 5rem;
}

.subpage-intro-text .section-title {
  margin-bottom: 1.5rem;
}

/* Double column template for rooms and pages */
.subpage-grid-2 {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 5rem;
  align-items: center;
}

.subpage-grid-2.reverse {
  grid-template-columns: 0.9fr 1.1fr;
}

.subpage-text-col {
  display: flex;
  flex-direction: column;
}

.subpage-text-col .section-title {
  margin-bottom: 1.5rem;
}

.subpage-text-col p {
  margin-bottom: 1.5rem;
  line-height: 1.8;
}

/* Room details and features list */
.features-box {
  margin: 2rem 0;
  padding: 1.5rem 2rem;
  background-color: rgba(31, 38, 64, 0.03);
  border-left: 2px solid var(--terracotta-ember);
}

.bg-indigo .features-box {
  background-color: rgba(255, 255, 255, 0.03);
  border-left-color: var(--haldi-gold);
}

.features-box h4 {
  font-family: var(--font-royal);
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}

.features-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.features-list li {
  font-family: var(--font-sans);
  font-size: 0.9rem;
  color: var(--slate-gray);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.bg-indigo .features-list li {
  color: rgba(247, 245, 240, 0.8);
}

.features-list li::before {
  content: '✓';
  color: var(--terracotta-ember);
  font-weight: bold;
}

.bg-indigo .features-list li::before {
  content: '✓';
  color: var(--haldi-gold);
}

/* Amenities bar grid */
.amenities-bar {
  margin-top: 4rem;
  padding: 3rem 0;
  border-top: 1px solid rgba(181, 85, 46, 0.15);
  border-bottom: 1px solid rgba(181, 85, 46, 0.15);
}

.bg-indigo .amenities-bar {
  border-color: rgba(255, 255, 255, 0.1);
}

.amenities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 2.5rem;
}

.amenity-card {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.amenity-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: rgba(181, 85, 46, 0.08);
  color: var(--terracotta-ember);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  transition: all 0.3s ease;
}

.bg-indigo .amenity-icon {
  background-color: rgba(217, 164, 65, 0.1);
  color: var(--haldi-gold);
}

.amenity-card:hover .amenity-icon {
  background-color: var(--terracotta-ember);
  color: var(--marble-ivory);
  transform: translateY(-4px);
}

.bg-indigo .amenity-card:hover .amenity-icon {
  background-color: var(--haldi-gold);
  color: #121626;
}

.amenity-name {
  font-family: var(--font-caption);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* Contact page form styling */
.contact-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 6rem;
}

.contact-info-col {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.contact-info-block h3 {
  font-family: var(--font-royal);
  font-size: 1.3rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--dusk-indigo);
  margin-bottom: 1rem;
}

.contact-info-block p {
  line-height: 1.7;
  font-size: 0.95rem;
}

.contact-info-block p a {
  color: var(--terracotta-ember);
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-info-block p a:hover {
  color: var(--dusk-indigo);
}

.contact-form-card {
  background-color: #ffffff;
  padding: 3.5rem 3rem;
  border: 1px solid rgba(217, 164, 65, 0.25);
  box-shadow: 0 20px 50px rgba(31, 38, 64, 0.04);
  position: relative;
}

.contact-form-card::before {
  content: '';
  position: absolute;
  top: 6px;
  left: 6px;
  right: 6px;
  bottom: 6px;
  border: 1px solid rgba(217, 164, 65, 0.08);
  pointer-events: none;
}

.contact-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.contact-form-grid .full-width {
  grid-column: span 2;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  font-family: var(--font-caption);
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--dusk-indigo);
}

.form-input {
  width: 100%;
  padding: 0.8rem 0;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--dusk-indigo);
  background-color: transparent;
  border: none;
  border-bottom: 1px solid rgba(18, 22, 38, 0.15);
  transition: all 0.3s ease;
  box-sizing: border-box;
  border-radius: 0;
}

textarea.form-input {
  border: 1px solid rgba(18, 22, 38, 0.12);
  padding: 0.8rem;
  background-color: #faf8f5;
  border-radius: 0px;
}

.form-input:focus {
  outline: none;
  border-bottom-color: var(--haldi-gold);
}

textarea.form-input:focus {
  border-color: var(--haldi-gold);
}

.form-input::placeholder {
  color: rgba(31, 38, 64, 0.35);
}

/* Discover Udaipur Cards Grid */
.discover-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2.5rem;
}

.discover-card {
  background-color: var(--marble-ivory);
  border: 1px solid rgba(18, 22, 38, 0.05);
  overflow: hidden;
  transition: all 0.4s var(--ease-premium);
}

.discover-card-img-wrapper {
  height: 240px;
  overflow: hidden;
  position: relative;
}

.discover-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-premium);
}

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

.discover-card-body {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.discover-card-title {
  font-family: var(--font-royal);
  font-size: 1.25rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--dusk-indigo);
}

.discover-card-text {
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--slate-gray);
}

/* Journal Grid Layout */
.journal-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 3rem;
}

.journal-card {
  background: transparent;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  transition: all 0.3s ease;
}

.journal-card-img-wrapper {
  position: relative;
  height: 260px;
  overflow: hidden;
  border-radius: 2px;
}

.journal-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease-premium);
}

.journal-card-tag {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background-color: var(--marble-ivory);
  color: var(--terracotta-ember);
  padding: 0.4rem 0.9rem;
  font-family: var(--font-caption);
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.journal-card:hover .journal-card-img {
  transform: scale(1.05);
}

.journal-card-date {
  font-family: var(--font-caption);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--slate-gray);
  text-transform: uppercase;
}

.journal-card-title {
  font-family: var(--font-royal);
  font-size: 1.35rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--dusk-indigo);
  text-decoration: none;
  transition: color 0.3s ease;
}

.journal-card-title:hover {
  color: var(--terracotta-ember);
}

.journal-card-excerpt {
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--slate-gray);
}

.journal-card-link {
  font-family: var(--font-caption);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--terracotta-ember);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  align-self: flex-start;
  transition: color 0.3s ease;
}

.journal-card-link:hover {
  color: var(--dusk-indigo);
}

/* Form success message popup */
.form-success-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(18, 22, 38, 0.8);
  backdrop-filter: blur(8px);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s var(--ease-premium);
}

.form-success-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.form-success-card {
  background-color: var(--marble-ivory);
  border: 1px solid var(--haldi-gold);
  padding: 4rem;
  max-width: 450px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  transform: translateY(30px);
  transition: transform 0.4s var(--ease-premium);
}

.form-success-overlay.active .form-success-card {
  transform: translateY(0);
}

.form-success-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: rgba(217, 164, 65, 0.1);
  color: var(--haldi-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
}

.form-success-title {
  font-family: var(--font-royal);
  font-size: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--dusk-indigo);
}

/* ==========================================================================
   15. RESPONSIVE SUBPAGES OVERRIDES
   ========================================================================== */
@media screen and (max-width: 1024px) {
  .subpage-section {
    padding: 5rem 0;
  }
  .subpage-grid-2, .subpage-grid-2.reverse {
    grid-template-columns: 1fr;
    gap: 3.5rem;
  }
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 4rem;
  }
  .contact-form-card {
    padding: 2.5rem;
  }
}

@media screen and (max-width: 768px) {
  .features-list {
    grid-template-columns: 1fr;
  }
  .contact-form-grid {
    grid-template-columns: 1fr;
  }
  .contact-form-grid .full-width {
    grid-column: span 1;
  }
  .amenities-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}

/* Submenu & Dropdowns Styling */
.nav-item-dropdown {
  position: relative;
}

.arrow-down {
  font-size: 0.55rem;
  margin-left: 5px;
  display: inline-block;
  transition: transform 0.3s ease;
  vertical-align: middle;
  opacity: 0.7;
}

.nav-item-dropdown:hover .arrow-down {
  transform: rotate(180deg);
}

.submenu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(15px);
  background: rgba(18, 22, 38, 0.98); /* Deep dark navy */
  backdrop-filter: blur(10px);
  border: 1px solid rgba(217, 164, 65, 0.25);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
  padding: 0.8rem 0;
  min-width: 200px;
  list-style: none;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s var(--ease-premium), transform 0.3s var(--ease-premium), visibility 0.3s var(--ease-premium);
  z-index: 1000;
  margin: 0;
}

.submenu::before {
  content: '';
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 10px;
  height: 10px;
  background: rgba(18, 22, 38, 0.98);
  border-left: 1px solid rgba(217, 164, 65, 0.25);
  border-top: 1px solid rgba(217, 164, 65, 0.25);
}

.nav-item-dropdown:hover .submenu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
  pointer-events: all;
}

.submenu li {
  width: 100%;
  padding: 0;
  margin: 0;
}

.submenu li a {
  display: block;
  padding: 0.6rem 1.5rem;
  font-family: var(--font-caption);
  font-size: 0.72rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(247, 245, 240, 0.75);
  text-decoration: none;
  transition: all 0.3s ease;
  text-align: center;
}

.submenu li a:hover {
  background: rgba(217, 164, 65, 0.08);
  color: var(--haldi-gold);
  padding-left: 1.8rem;
}

/* Mobile drawer submenu styling */
.drawer-submenu {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease-premium);
  list-style: none;
  padding-left: 1.5rem;
  margin: 0;
}

.drawer-item-dropdown.open .drawer-submenu {
  max-height: 350px;
}

.mobile-drawer-nav a.drawer-link-parent {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  text-decoration: none;
}

.drawer-arrow-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(217, 164, 65, 0.05); /* Soft gold wash background */
  border: 1px solid rgba(217, 164, 65, 0.15); /* Gold outline */
  color: var(--haldi-gold); /* Gold arrow */
  transition: all 0.3s ease;
  flex-shrink: 0; /* Prevent arrow circle from shrinking */
  margin-left: 1rem;
}

.drawer-arrow-svg {
  width: 16px;
  height: 16px;
  transition: transform 0.3s ease;
}

.drawer-item-dropdown.open .drawer-arrow-wrapper {
  background: var(--haldi-gold);
  color: var(--indigo-night);
  border-color: var(--haldi-gold);
}

.drawer-item-dropdown.open .drawer-arrow-svg {
  transform: rotate(180deg);
}

.drawer-submenu li a {
  display: block;
  padding: 0.6rem 0;
  font-family: var(--font-caption);
  font-size: 0.85rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(247, 245, 240, 0.75);
  text-decoration: none;
  transition: color 0.3s ease;
}

.drawer-submenu li a:hover {
  color: var(--haldi-gold);
}

/* Subpage Refined Styling (v1.3.21 Vibe Updates) */

/* Subpage Hero Styles are defined globally in Section 14 */

/* 2. Interactive Room carousels styling */
.room-carousel {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 0.5rem;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.carousel-viewport {
  overflow: hidden;
  width: 100%;
  border-radius: 0.5rem;
  border: 1px solid rgba(217, 164, 65, 0.25);
  position: relative;
}

.carousel-track {
  display: flex;
  transition: transform 0.6s var(--ease-premium);
  will-change: transform;
}

.carousel-slide {
  flex: 0 0 100%;
  width: 100%;
  position: relative;
}

.carousel-slide img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* Carousel controls styled with premium gold borders */
.carousel-controls {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 1.5rem;
  z-index: 10;
  background: rgba(18, 22, 38, 0.85);
  backdrop-filter: blur(8px);
  padding: 0.5rem 1.2rem;
  border-radius: 2rem;
  border: 1px solid rgba(217, 164, 65, 0.3);
}

.carousel-arrow {
  background: none;
  border: none;
  color: var(--sand-drift);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid rgba(217, 164, 65, 0.4);
  transition: all 0.3s ease;
}

.carousel-arrow svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.carousel-arrow:hover {
  background: var(--haldi-gold);
  color: var(--indigo-night);
  border-color: var(--haldi-gold);
  transform: scale(1.05);
}

.carousel-counter {
  font-family: var(--font-caption);
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--haldi-gold);
  letter-spacing: 0.15em;
  min-width: 60px;
  text-align: center;
}

/* 3. Refined SVG Dropdown Menu Arrows */
.arrow-down-svg {
  width: 10px;
  height: 10px;
  margin-left: 5px;
  display: inline-block;
  transition: transform 0.3s ease;
  vertical-align: middle;
  opacity: 0.7;
}

.nav-item-dropdown:hover .arrow-down-svg {
  transform: rotate(180deg);
}

/* 4. Elegant Amenities Section Styles */
.amenities-bar {
  padding: 1.5rem 0;
  border-top: 1px solid rgba(181, 85, 46, 0.15);
  border-bottom: 1px solid rgba(181, 85, 46, 0.15);
}

.amenity-card {
  background: #ffffff; /* White base card */
  border: 1px solid rgba(217, 164, 65, 0.22); /* Gold border */
  padding: 1.6rem 1.2rem;
  border-radius: 0px; /* Sharp palace border style */
  position: relative;
  transition: all 0.4s var(--ease-premium);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.02); /* Soft shadow */
}

.amenity-card::before {
  content: '';
  position: absolute;
  top: 4px;
  left: 4px;
  right: 4px;
  bottom: 4px;
  border: 1px solid rgba(217, 164, 65, 0.08); /* Inner border */
  pointer-events: none;
  transition: all 0.4s var(--ease-premium);
}

.amenity-card:hover {
  background: rgba(217, 164, 65, 0.04); /* Soft hover wash */
  border-color: var(--haldi-gold);
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(217, 164, 65, 0.08);
}

.amenity-card:hover::before {
  border-color: var(--haldi-gold);
  top: 2px;
  left: 2px;
  right: 2px;
  bottom: 2px;
}

/* Light text styling inside cards */
.amenity-name {
  font-family: var(--font-royal);
  font-size: 1.15rem;
  color: var(--indigo-night); /* Dark navy */
  letter-spacing: 0.05em;
  margin-bottom: 0.8rem;
  text-transform: uppercase;
}

.amenity-desc {
  font-family: var(--font-primary);
  font-size: 0.88rem;
  color: rgba(18, 22, 38, 0.7); /* Muted slate */
  line-height: 1.5;
  margin: 0;
}

.amenity-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(217, 164, 65, 0.08); /* Soft gold circle start */
  color: var(--haldi-gold); /* Gold icon color */
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(217, 164, 65, 0.18);
  transition: all 0.4s var(--ease-premium);
}

.amenity-card:hover .amenity-icon {
  background: var(--haldi-gold); /* Solid gold on hover */
  color: var(--indigo-night); /* Navy icon on hover */
  border-color: var(--haldi-gold);
  box-shadow: 0 0 15px rgba(217, 164, 65, 0.25);
}

.amenity-icon svg {
  width: 26px;
  height: 26px;
  transition: transform 0.4s ease;
}

.amenity-card:hover .amenity-icon svg {
  transform: scale(1.08) rotate(5deg);
}

/* 5. Editorial Conveniences Section (Luxury Modern Grid) */
.conveniences-container-modern {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

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

.convenience-item-modern {
  text-align: center;
  padding: 1.5rem 1rem;
  border-right: 1px solid rgba(217, 164, 65, 0.22);
  transition: transform 0.4s var(--ease-premium);
}

.convenience-item-modern:last-child {
  border-right: none;
}

.convenience-item-modern:hover {
  transform: translateY(-4px);
}

.convenience-icon-modern {
  color: var(--haldi-gold);
  margin-bottom: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.convenience-icon-modern svg {
  width: 32px;
  height: 32px;
  transition: transform 0.4s ease;
}

.convenience-item-modern:hover .convenience-icon-modern svg {
  transform: scale(1.1) rotate(3deg);
}

.convenience-name-modern {
  font-family: var(--font-display); /* Premium Serif font Marcellus */
  font-size: 1.1rem;
  color: var(--dusk-indigo) !important;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.8rem;
}

.convenience-desc-modern {
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: rgba(31, 38, 64, 0.82) !important; /* Rich legible indigo-slate */
  line-height: 1.6;
  margin: 0;
}

/* Tablet Layout */
@media screen and (max-width: 1024px) {
  .conveniences-grid-modern {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
  .convenience-item-modern {
    border-right: none;
    border-bottom: 1px solid rgba(217, 164, 65, 0.15);
  }
  .convenience-item-modern:nth-child(3n) {
    border-right: none;
  }
}

/* Mobile Layout */
@media screen and (max-width: 768px) {
  .conveniences-grid-modern {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .convenience-item-modern {
    border-right: none;
    border-bottom: 1px solid rgba(217, 164, 65, 0.12);
    padding: 2rem 1.5rem;
  }
  .convenience-item-modern:last-child {
    border-bottom: none;
  }
}

/* Contact Details List */
.contact-details-list {
  list-style: none;
  padding: 0;
  margin: 2rem 0;
}

.contact-details-list li {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
  color: var(--indigo-night);
}

.contact-icon-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(217, 164, 65, 0.1);
  color: var(--haldi-gold);
  border: 1px solid rgba(217, 164, 65, 0.2);
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.contact-details-list li:hover .contact-icon-wrapper {
  background: var(--haldi-gold);
  color: var(--dusk-indigo);
  border-color: var(--haldi-gold);
  transform: scale(1.05);
}

.contact-details-list li a {
  color: inherit;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.contact-details-list li a:hover {
  color: var(--terracotta-ember);
}

/* 5. Custom Dividers and Layout Details */
.gold-divider {
  width: 80px;
  height: 2px;
  background: var(--haldi-gold);
  margin: 1.5rem auto;
}

.subpage-section {
  padding: 1.5rem 0;
}

.features-box {
  background: rgba(247, 245, 240, 0.85);
  border-left: 3px solid var(--terracotta-ember);
  padding: 1.2rem 1.5rem;
  border-radius: 0 0.5rem 0.5rem 0;
  margin: 1rem 0;
}

.features-box h4 {
  font-family: var(--font-royal);
  color: var(--indigo-night);
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1.2rem;
}

/* Lightbox Overlay */
.room-lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(18, 22, 38, 0.98);
  backdrop-filter: blur(15px);
  z-index: 10000;
  display: flex;
  aria-hidden: true;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

.room-lightbox.active {
  opacity: 1;
  visibility: visible;
}

.lightbox-content-wrapper {
  position: relative;
  max-width: 90%;
  max-height: 80%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.lightbox-img {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
  border-radius: 4px;
  border: 1px solid rgba(217, 164, 65, 0.3);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  transform: scale(0.95);
  transition: transform 0.4s var(--ease-premium);
}

.room-lightbox.active .lightbox-img {
  transform: scale(1);
}

.lightbox-close {
  position: absolute;
  top: 2rem;
  right: 2rem;
  background: none;
  border: none;
  color: var(--sand-drift);
  font-size: 3rem;
  cursor: pointer;
  transition: color 0.3s ease;
  line-height: 1;
  z-index: 10010;
}

.lightbox-close:hover {
  color: var(--haldi-gold);
}

.lightbox-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(18, 22, 38, 0.6);
  border: 1px solid rgba(217, 164, 65, 0.3);
  color: var(--sand-drift);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 10010;
}

.lightbox-arrow:hover {
  background: var(--haldi-gold);
  color: var(--indigo-night);
  border-color: var(--haldi-gold);
}

.lightbox-arrow.prev {
  left: 2rem;
}

.lightbox-arrow.next {
  right: 2rem;
}

.lightbox-arrow svg {
  width: 20px;
  height: 20px;
}

/* Lightbox expand button on carousel */
.lightbox-trigger {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: rgba(18, 22, 38, 0.75);
  border: 1px solid rgba(217, 164, 65, 0.3);
  color: var(--sand-drift);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 10;
}

.lightbox-trigger:hover {
  background: var(--haldi-gold);
  color: var(--indigo-night);
  border-color: var(--haldi-gold);
  transform: scale(1.05);
}

.lightbox-trigger svg {
  width: 18px;
  height: 18px;
}

/* Room Specs Grid */
.room-specs-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin: 2rem 0;
  border-top: 1px solid rgba(181, 85, 46, 0.15);
  border-bottom: 1px solid rgba(181, 85, 46, 0.15);
  padding: 1.5rem 0;
}

.spec-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.spec-label {
  font-family: var(--font-caption);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--terracotta-ember);
  margin-bottom: 0.4rem;
}

.spec-value {
  font-family: var(--font-royal);
  font-size: 1.2rem;
  color: var(--indigo-night);
}

.amenity-desc {
  font-family: var(--font-primary);
  font-size: 0.75rem;
  color: rgba(247, 245, 240, 0.65);
  line-height: 1.5;
  margin-top: 0.6rem;
  max-width: 180px;
}

.bg-indigo .amenity-desc {
  color: rgba(247, 245, 240, 0.65);
}

@media screen and (max-width: 768px) {
  .room-specs-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.2rem;
  }
}

/* Triad Gallery Grid Layout (Breezie UI inspired) */
.triad-gallery-grid {
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  gap: 1rem;
  padding: 1.2rem 0;
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
}

.triad-item {
  position: relative;
  overflow: hidden;
  height: 420px;
  border-radius: 4px;
  border: 1px solid rgba(217, 164, 65, 0.18);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.05);
  cursor: zoom-in; /* Indicate clickable image zoom */
}

.triad-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-premium);
}

.triad-item:hover img {
  transform: scale(1.04);
}

@media screen and (max-width: 900px) {
  .triad-gallery-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 1.5rem;
  }
  .triad-item {
    height: 300px;
  }
}

/* Asymmetric 60/40 Split Content Grid */
.split-content-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 2.5rem;
  max-width: 1400px;
  margin: 1rem auto 3rem;
  padding: 0 2rem;
  align-items: start;
}

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

.description-col h2 {
  font-family: var(--font-royal);
  font-size: 2.2rem;
  color: var(--indigo-night);
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.facilities-col {
  background: #ffffff;
  border: 1px solid rgba(217, 164, 65, 0.22);
  padding: 2.2rem 2rem;
  position: relative;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.03);
}

.facilities-col::before {
  content: '';
  position: absolute;
  top: 6px;
  left: 6px;
  right: 6px;
  bottom: 6px;
  border: 1px solid rgba(217, 164, 65, 0.08);
  pointer-events: none;
}

.facilities-col h3 {
  font-family: var(--font-royal);
  font-size: 1.8rem;
  color: var(--indigo-night);
  margin-bottom: 2rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-bottom: 1px solid rgba(217, 164, 65, 0.15);
  padding-bottom: 1rem;
}

.facilities-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.facilities-list li {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  margin-bottom: 1.8rem;
  font-size: 0.98rem;
  color: var(--indigo-night);
  font-family: var(--font-primary);
}

.facilities-list li:last-child {
  margin-bottom: 0;
}

.facility-icon-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(217, 164, 65, 0.08);
  color: var(--haldi-gold);
  border: 1px solid rgba(217, 164, 65, 0.15);
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.facilities-list li:hover .facility-icon-wrapper {
  background: var(--haldi-gold);
  color: var(--indigo-night);
  border-color: var(--haldi-gold);
  box-shadow: 0 0 10px rgba(217, 164, 65, 0.25);
}

@media screen and (max-width: 900px) {
  .split-content-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
    padding: 0 1.5rem;
    margin-bottom: 4rem;
  }
  .facilities-col {
    padding: 2.2rem 1.8rem;
  }
}

/* Subpage Closing Section */
.subpage-closing-section {
  background-color: var(--dusk-indigo);
  color: var(--marble-ivory);
  padding: 6rem 2rem;
  text-align: center;
  border-top: 1px solid rgba(217, 164, 65, 0.15);
  position: relative;
  overflow: hidden;
}

.subpage-closing-section .closing-sub {
  font-family: var(--font-caption);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--haldi-gold);
  margin-bottom: 1rem;
}

.subpage-closing-section .closing-title {
  font-family: var(--font-royal);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  color: var(--marble-ivory);
  margin-bottom: 2rem;
  max-width: 850px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.3;
}

.subpage-closing-section p {
  color: rgba(242, 235, 224, 0.75);
  max-width: 700px;
  margin: 0 auto 2.5rem;
  font-size: 1.05rem;
  line-height: 1.6;
}
