/* ==========================================================================
   St. George Home Stay, Valparai - Bespoke Forest Editorial Stylesheet
   Palette: Deep Moss Green, Misty Forest, Warm Sand/Linen, Muted Antique Brass
   Typography: Italiana (Display Serif), Plus Jakarta Sans (Clean Humanist Body)
   Strict adherence to the reference design: no flashy colors, serene retreat
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cinzel+Decorative:wght@400;700&family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,400&family=Italiana&family=Marcellus&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&display=swap');

:root {
  /* Color Palette strictly inspired by the reference image */
  --bg-deep: #1a2517;
  --bg-forest: #253522;
  --bg-moss: #33472f;
  --bg-card: #2b3b27;
  --bg-card-subtle: rgba(43, 59, 39, 0.7);
  --bg-mist: rgba(51, 71, 47, 0.45);
  --bg-overlay: rgba(22, 33, 20, 0.85);

  /* Text & Accents - Warm, earthy, calm */
  --text-primary: #f5f2e9;
  --text-secondary: #d4cfbe;
  --text-muted: #9fa793;
  --text-dim: #7a846f;
  --accent-brass: #c9bea2;
  --accent-olive: #8c9e80;
  --accent-sand: #dfd8c5;
  
  /* Borders */
  --border-subtle: rgba(235, 230, 215, 0.12);
  --border-medium: rgba(235, 230, 215, 0.22);
  --border-focus: rgba(201, 190, 162, 0.5);

  /* Fonts */
  --font-serif: 'Italiana', 'Cormorant Garamond', 'Marcellus', Georgia, serif;
  --font-serif-body: 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  
  /* Transitions & Shadows */
  --transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  --shadow-soft: 0 10px 30px rgba(10, 18, 9, 0.35);
  --shadow-deep: 0 20px 50px rgba(8, 14, 7, 0.55);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-deep);
  color: var(--text-primary);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-deep);
  color: var(--text-secondary);
  line-height: 1.65;
  overflow-x: hidden;
  position: relative;
}

/* Subtle organic grain overlay for a tactile, editorial print feeling */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: radial-gradient(rgba(245, 242, 233, 0.02) 1px, transparent 0);
  background-size: 24px 24px;
  pointer-events: none;
  z-index: 999;
}

/* Typography Helpers */
h1, h2, h3, h4, .font-display {
  font-family: var(--font-serif);
  color: var(--text-primary);
  font-weight: 400;
  letter-spacing: 0.02em;
}

p {
  color: var(--text-secondary);
  font-weight: 300;
  font-size: 0.95rem;
  line-height: 1.75;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

button {
  cursor: pointer;
  font-family: var(--font-sans);
  border: none;
  background: none;
  transition: var(--transition);
}

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

/* Container */
.container {
  width: 100%;
  max-width: 1240px;
  margin-inline: auto;
  padding-inline: 1.5rem;
}

/* Top Live Announcement / Coordinate Bar */
.top-meta-bar {
  background-color: #151f13;
  border-bottom: 1px solid var(--border-subtle);
  padding: 0.5rem 1.5rem;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 100;
  position: relative;
}

.top-meta-bar .location-coords {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.top-meta-bar .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-olive);
  animation: pulse-dot 2.5s infinite ease-in-out;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 0.4; transform: scale(0.9); }
  50% { opacity: 1; transform: scale(1.15); }
}

/* Navigation Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(26, 37, 23, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-subtle);
  transition: var(--transition);
}

.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  max-width: 1380px;
  margin-inline: auto;
}

/* Logo Brand (Matching intertwined rings from reference) */
.brand-identity {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.brand-symbol {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  letter-spacing: 0.06em;
  color: var(--text-primary);
  line-height: 1.1;
}

.brand-subtitle {
  font-size: 0.65rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-brass);
}

/* Navigation Links */
.desktop-nav {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.nav-link {
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  color: var(--text-secondary);
  position: relative;
  padding: 0.35rem 0;
  background: none;
  border: none;
  cursor: pointer;
  transition: color 0.3s ease;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--accent-brass);
  transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-link:hover, .nav-link.active {
  color: var(--text-primary);
}

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

/* Header Right Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

/* Live Time & Weather Badge (Matching reference: EST 19:20 am -> IST 06:15 pm) */
.live-station-badge {
  background: rgba(37, 53, 34, 0.85);
  border: 1px solid var(--border-subtle);
  padding: 0.4rem 0.85rem;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.75rem;
  color: var(--accent-sand);
  letter-spacing: 0.05em;
}

.live-station-badge svg {
  color: var(--accent-brass);
}

/* Reserve CTA Button */
.btn-reserve-nav {
  background: var(--bg-moss);
  border: 1px solid var(--border-medium);
  color: var(--text-primary);
  padding: 0.5rem 1.15rem;
  border-radius: 4px;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 500;
}

.btn-reserve-nav:hover {
  background: var(--accent-brass);
  color: var(--bg-deep);
  border-color: var(--accent-brass);
}

/* Sound Toggle Button */
.btn-sound-toggle {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  background: rgba(37, 53, 34, 0.5);
  transition: var(--transition);
}

.btn-sound-toggle:hover {
  color: var(--accent-brass);
  border-color: var(--border-medium);
}

.btn-sound-toggle.playing {
  color: var(--accent-brass);
  background: rgba(201, 190, 162, 0.15);
  border-color: var(--accent-brass);
}

/* Mobile Menu Button */
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 28px;
  padding: 4px 0;
}

.mobile-menu-btn span {
  display: block;
  width: 100%;
  height: 1.5px;
  background-color: var(--text-primary);
  transition: var(--transition);
}

/* ==========================================================================
   Hero Section - Overhead Misty Canopy Experience
   ========================================================================== */
.hero-forest-stage {
  position: relative;
  height: clamp(640px, 85vh, 780px);
  min-height: 640px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 2.5rem 1.5rem 1.75rem;
  background: linear-gradient(180deg, rgba(26, 37, 23, 0.4) 0%, rgba(26, 37, 23, 0.95) 100%);
  overflow: hidden;
}

/* Aerial Canopy Background */
.hero-backdrop-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.72;
  filter: saturate(0.9) contrast(1.05);
  z-index: 1;
}

/* Atmospheric Mist Layers */
.hero-mist-layer {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 60% 40%, rgba(55, 75, 50, 0.45) 0%, rgba(26, 37, 23, 0.85) 80%);
  pointer-events: none;
  z-index: 2;
}

.floating-mist-particles {
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.035'/%3E%3C/svg%3E");
  opacity: 0.6;
  z-index: 3;
  pointer-events: none;
}

/* Interactive Topography Hotspots on Hero */
.hero-hotspots-container {
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
}

.map-pin-hotspot {
  position: absolute;
  pointer-events: auto;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transform: translate(-50%, -50%);
  transition: transform 0.25s ease;
}

.map-pin-hotspot:hover {
  transform: translate(-50%, -55%);
}

.map-pin-beacon {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #f7eed7;
  border: 2px solid var(--bg-deep);
  box-shadow: 0 0 12px rgba(247, 238, 215, 0.8);
  position: relative;
}

.map-pin-beacon::after {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 1px solid rgba(247, 238, 215, 0.6);
  animation: pulse-ring 2.8s cubic-bezier(0.215, 0.61, 0.355, 1) infinite;
}

@keyframes pulse-ring {
  0% { transform: scale(0.6); opacity: 1; }
  100% { transform: scale(2.2); opacity: 0; }
}

.map-pin-label {
  background: rgba(22, 33, 20, 0.88);
  border: 1px solid var(--border-medium);
  padding: 0.3rem 0.65rem;
  border-radius: 4px;
  font-size: 0.72rem;
  letter-spacing: 0.05em;
  color: var(--text-primary);
  white-space: nowrap;
  backdrop-filter: blur(6px);
  pointer-events: none;
}

.map-pin-label small {
  display: block;
  font-size: 0.62rem;
  color: var(--accent-brass);
}

/* Pin Coordinates */
.pin-stgeorge { top: 58%; left: 32%; }
.pin-forestoffice { top: 48%; left: 38%; }
.pin-koolangal { top: 72%; left: 68%; }
.pin-nallamudi { top: 30%; left: 74%; }
.pin-chinnakallar { top: 22%; left: 24%; }

/* Hero Center Content */
.hero-content-inner {
  position: relative;
  z-index: 5;
  max-width: 820px;
  margin-top: auto;
  margin-bottom: auto;
  padding: 2rem 0;
}

.hero-subtitle-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-brass);
  margin-bottom: 1rem;
}

.hero-main-title {
  font-size: clamp(2.4rem, 5.5vw, 4.4rem);
  line-height: 1.1;
  margin-bottom: 1.25rem;
  color: var(--text-primary);
  text-shadow: 0 4px 18px rgba(10, 16, 9, 0.7);
}

.hero-description-lead {
  font-size: clamp(1rem, 1.4vw, 1.2rem);
  font-weight: 300;
  color: var(--text-secondary);
  max-width: 650px;
  margin-bottom: 2rem;
  line-height: 1.75;
}

/* Hero Quick Booking Bar (User specified dates: 17 Oct - 18 Oct 2026) */
.hero-booking-dock {
  background: rgba(32, 45, 29, 0.94);
  border: 1px solid var(--border-medium);
  border-radius: 8px;
  padding: 1.25rem 1.5rem;
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow-deep);
  display: grid;
  grid-template-columns: repeat(4, 1fr) auto;
  gap: 1rem;
  align-items: center;
  max-width: 1080px;
  margin-inline: auto;
  position: relative;
  z-index: 10;
}

.dock-field {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  border-right: 1px solid var(--border-subtle);
  padding-right: 1rem;
}

.dock-field:last-of-type {
  border-right: none;
}

.dock-field label {
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-brass);
}

.dock-value {
  font-family: var(--font-sans);
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-primary);
}

.dock-value small {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 300;
}

.dock-action-btn {
  background: var(--accent-brass);
  color: var(--bg-deep);
  padding: 0.85rem 1.5rem;
  border-radius: 4px;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.dock-action-btn:hover {
  background: #eee8d5;
  transform: translateY(-2px);
}

/* Scroll Chevron Cue */
.hero-scroll-cue {
  position: relative;
  z-index: 5;
  text-align: center;
  margin-top: 1.5rem;
  color: var(--accent-brass);
}

.hero-scroll-cue svg {
  animation: bounce-subtle 2s infinite ease-in-out;
}

@keyframes bounce-subtle {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(6px); }
}

/* ==========================================================================
   Editorial Split Section (Direct Reference Mockup Implementation)
   Left: High-res Nature / Verandah Photography + Editorial Italiana Prose
   Right: Foggy Mountain Canopy & Continuous Topological Atmosphere
   ========================================================================== */
.editorial-mockup-wrapper {
  padding: 4.5rem 0;
  background-color: var(--bg-forest);
  position: relative;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.editorial-frame-container {
  max-width: 1280px;
  margin-inline: auto;
  padding-inline: 1.5rem;
}

/* Section Header Note */
.section-meta-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 3.5rem;
}

.section-tag {
  display: inline-block;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-brass);
  margin-bottom: 0.75rem;
}

.section-heading-lg {
  font-size: clamp(2rem, 3.6vw, 3rem);
  line-height: 1.2;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

/* Split Card Grid (Matching Reference Image) */
.editorial-split-card {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  background: #243421;
  border: 1px solid var(--border-medium);
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 3.5rem;
  box-shadow: var(--shadow-deep);
}

.editorial-split-card.reverse {
  grid-template-columns: 0.85fr 1.15fr;
}

/* Left Pane: Photo + Editorial Description */
.editorial-left-pane {
  display: flex;
  flex-direction: column;
  background: #202d1d;
  border-right: 1px solid var(--border-subtle);
}

.editorial-split-card.reverse .editorial-left-pane {
  border-right: none;
  border-left: 1px solid var(--border-subtle);
}

.editorial-photo-box {
  width: 100%;
  height: 380px;
  position: relative;
  overflow: hidden;
}

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

.editorial-split-card:hover .editorial-photo-box img {
  transform: scale(1.03);
}

.editorial-text-box {
  padding: 2.25rem 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Title in the EXACT font from reference image */
.editorial-title {
  font-family: var(--font-serif);
  font-size: 2.3rem;
  line-height: 1.2;
  color: var(--text-primary);
  margin-bottom: 1.2rem;
  letter-spacing: 0.02em;
}

.editorial-body-prose {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 300;
  line-height: 1.8;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

.editorial-badges-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: auto;
}

.feature-pill {
  font-size: 0.72rem;
  letter-spacing: 0.05em;
  padding: 0.35rem 0.75rem;
  background: rgba(51, 71, 47, 0.6);
  border: 1px solid var(--border-subtle);
  border-radius: 9999px;
  color: var(--accent-sand);
}

/* Right Pane: Misty Landscape Atmosphere */
.editorial-right-pane {
  position: relative;
  background: #1c2819;
  min-height: 100%;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 2rem;
}

.editorial-right-pane::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(16, 24, 15, 0.7) 0%, rgba(16, 24, 15, 0.15) 45%, rgba(16, 24, 15, 0.88) 100%);
  z-index: 1;
  pointer-events: none;
}

.editorial-right-pane .mist-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.92;
  filter: none;
  transition: transform 0.8s ease;
}

.editorial-split-card:hover .editorial-right-pane .mist-bg {
  transform: scale(1.04);
}

.mist-info-header {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.mist-time-stamp {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  color: var(--accent-brass);
  background: rgba(22, 33, 20, 0.75);
  padding: 0.3rem 0.6rem;
  border-radius: 4px;
  border: 1px solid var(--border-subtle);
}

.mist-pin-anchor {
  position: relative;
  z-index: 2;
  background: rgba(26, 37, 23, 0.88);
  border: 1px solid var(--border-medium);
  padding: 1.25rem;
  border-radius: 8px;
  backdrop-filter: blur(10px);
  margin-top: auto;
}

.mist-pin-anchor h5 {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  color: var(--text-primary);
  margin-bottom: 0.4rem;
}

.mist-pin-anchor p {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ==========================================================================
   Property Overview & Amenities (Detailed Specifications)
   ========================================================================== */
.amenities-section {
  padding: 5rem 0;
  background-color: var(--bg-deep);
  position: relative;
}

.amenities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}

.amenity-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  padding: 1.75rem;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.amenity-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-medium);
  background: #31442c;
  box-shadow: var(--shadow-soft);
}

.amenity-icon-box {
  width: 44px;
  height: 44px;
  border-radius: 6px;
  background: rgba(51, 71, 47, 0.6);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-brass);
}

.amenity-card h4 {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: var(--text-primary);
}

.amenity-card p {
  font-size: 0.86rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ==========================================================================
   Interactive Map View & Landmark Distances ("Check the Map")
   ========================================================================== */
.map-view-section {
  padding: 5rem 0;
  background: var(--bg-forest);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.map-layout-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 2rem;
  margin-top: 2.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border-medium);
  border-radius: 10px;
  overflow: hidden;
}

.map-sidebar-destinations {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  background: #202e1c;
  border-right: 1px solid var(--border-subtle);
  max-height: 600px;
  overflow-y: auto;
}

.map-address-banner {
  background: rgba(51, 71, 47, 0.4);
  border: 1px solid var(--border-subtle);
  padding: 1rem;
  border-radius: 6px;
  margin-bottom: 0.5rem;
}

.map-address-banner strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.15rem;
  color: var(--text-primary);
  margin-bottom: 0.25rem;
}

.map-address-banner p {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.destinations-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.destination-item {
  background: rgba(37, 53, 34, 0.6);
  border: 1px solid var(--border-subtle);
  border-radius: 6px;
  padding: 0.85rem 1rem;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.destination-item:hover, .destination-item.active {
  background: rgba(201, 190, 162, 0.12);
  border-color: var(--accent-brass);
}

.destination-info h6 {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: 0.15rem;
}

.destination-info span {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.destination-dist {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--accent-brass);
  background: rgba(22, 33, 20, 0.6);
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
}

/* Interactive Map Canvas Container */
.map-canvas-container {
  min-height: 480px;
  width: 100%;
  position: relative;
  background: #182215;
}

#valparai-leaflet-map {
  width: 100%;
  height: 100%;
  min-height: 520px;
}

/* Custom dark forest theme for OpenStreetMap tiles */
.leaflet-tile {
  filter: brightness(0.6) invert(1) contrast(3) hue-rotate(205deg) saturate(0.3) brightness(0.7);
}

.leaflet-container {
  background: #182215 !important;
}

/* Custom Forest Leaflet popup styling */
.leaflet-popup-content-wrapper {
  background: #202d1d !important;
  color: var(--text-primary) !important;
  border: 1px solid var(--border-medium) !important;
  border-radius: 6px !important;
  box-shadow: var(--shadow-soft) !important;
}

.leaflet-popup-tip {
  background: #202d1d !important;
}

.leaflet-popup-content h4 {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: var(--accent-brass);
  margin-bottom: 4px;
}

.leaflet-popup-content p {
  font-size: 0.8rem;
  color: var(--text-secondary);
  line-height: 1.4;
}

/* ==========================================================================
   Photo Gallery Showcase
   ========================================================================== */
.gallery-section {
  padding: 5rem 0;
  background: var(--bg-deep);
}

.gallery-filter-tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
}

.gallery-tab-btn {
  padding: 0.5rem 1.15rem;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  border: 1px solid var(--border-subtle);
  border-radius: 9999px;
  background: rgba(37, 53, 34, 0.4);
}

.gallery-tab-btn:hover, .gallery-tab-btn.active {
  color: var(--text-primary);
  background: var(--bg-moss);
  border-color: var(--accent-brass);
}

.gallery-masonry-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
}

.gallery-thumb-item {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  height: 250px;
  cursor: pointer;
  border: 1px solid var(--border-subtle);
  background: #1e2b1b;
}

.gallery-thumb-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

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

.gallery-thumb-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(18, 27, 16, 0.9) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.25rem;
  opacity: 0.9;
  transition: opacity 0.3s ease;
}

.gallery-thumb-overlay span {
  font-size: 0.75rem;
  color: var(--accent-brass);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.gallery-thumb-overlay h5 {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  color: var(--text-primary);
}

/* ==========================================================================
   Humanised Host Note & Local Philosophy
   ========================================================================== */
.host-story-section {
  padding: 5rem 0;
  background: var(--bg-forest);
  border-top: 1px solid var(--border-subtle);
}

.host-note-container {
  max-width: 900px;
  margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid var(--border-medium);
  border-radius: 10px;
  padding: 3.5rem;
  position: relative;
  box-shadow: var(--shadow-deep);
}

.host-note-container::before {
  content: '“';
  position: absolute;
  top: 1.5rem;
  left: 2rem;
  font-family: var(--font-serif);
  font-size: 6rem;
  line-height: 1;
  color: rgba(201, 190, 162, 0.12);
  pointer-events: none;
}

.host-letter-content h3 {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
}

.host-letter-content p {
  font-size: 1rem;
  line-height: 1.85;
  color: var(--text-secondary);
  margin-bottom: 1.25rem;
}

.host-signoff {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.host-signature-name {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  color: var(--accent-brass);
}

.host-contacts-direct {
  display: flex;
  gap: 1rem;
}

.btn-contact-pill {
  padding: 0.45rem 1rem;
  border-radius: 4px;
  font-size: 0.8rem;
  border: 1px solid var(--border-medium);
  color: var(--text-primary);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(37, 53, 34, 0.6);
}

.btn-contact-pill:hover {
  background: var(--accent-brass);
  color: var(--bg-deep);
}

/* ==========================================================================
   Booking Drawer & Reservation Modal
   ========================================================================== */
.reservation-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(14, 21, 12, 0.85);
  backdrop-filter: blur(8px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  padding: 1.5rem;
}

.reservation-modal-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

.reservation-modal-card {
  background: #233320;
  border: 1px solid var(--border-medium);
  border-radius: 12px;
  width: 100%;
  max-width: 620px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-deep);
  position: relative;
  padding: 2.25rem;
}

.modal-close-btn {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  border: 1px solid var(--border-subtle);
}

.modal-close-btn:hover {
  color: var(--text-primary);
  border-color: var(--border-medium);
}

.modal-header {
  margin-bottom: 1.75rem;
}

.modal-header h3 {
  font-family: var(--font-serif);
  font-size: 2rem;
  color: var(--text-primary);
  margin-bottom: 0.4rem;
}

.modal-header p {
  font-size: 0.88rem;
  color: var(--text-muted);
}

.booking-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
  margin-bottom: 1.5rem;
}

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

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

.form-group label {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-brass);
}

.form-control {
  background: #192517;
  border: 1px solid var(--border-subtle);
  border-radius: 6px;
  padding: 0.65rem 0.85rem;
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 0.9rem;
}

.form-control:focus {
  outline: none;
  border-color: var(--border-focus);
}

.booking-summary-box {
  background: rgba(22, 33, 20, 0.6);
  border: 1px solid var(--border-subtle);
  border-radius: 6px;
  padding: 1.25rem;
  margin-bottom: 1.5rem;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  padding: 0.35rem 0;
  color: var(--text-secondary);
}

.summary-row.total {
  border-top: 1px solid var(--border-subtle);
  margin-top: 0.5rem;
  padding-top: 0.75rem;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-primary);
}

.btn-submit-booking {
  width: 100%;
  padding: 0.85rem;
  background: var(--accent-brass);
  color: var(--bg-deep);
  font-weight: 600;
  border-radius: 6px;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.btn-submit-booking:hover {
  background: #eee8d5;
}

.direct-options-row {
  margin-top: 1rem;
  display: flex;
  gap: 0.75rem;
}

.direct-options-row a {
  flex: 1;
  text-align: center;
  padding: 0.65rem;
  background: rgba(51, 71, 47, 0.5);
  border: 1px solid var(--border-subtle);
  border-radius: 6px;
  font-size: 0.8rem;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
}

.direct-options-row a:hover {
  border-color: var(--accent-brass);
}

/* ==========================================================================
   Image Lightbox Modal
   ========================================================================== */
.lightbox-modal {
  position: fixed;
  inset: 0;
  background: rgba(10, 16, 9, 0.95);
  backdrop-filter: blur(12px);
  z-index: 1100;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  padding: 2rem;
}

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

.lightbox-content-wrap {
  position: relative;
  max-width: 900px;
  width: 100%;
  text-align: center;
}

.lightbox-img {
  max-height: 80vh;
  margin: 0 auto;
  border-radius: 6px;
  border: 1px solid var(--border-medium);
  box-shadow: var(--shadow-deep);
}

.lightbox-caption {
  margin-top: 1rem;
  font-family: var(--font-serif);
  font-size: 1.35rem;
  color: var(--text-primary);
}

.lightbox-close-btn {
  position: absolute;
  top: -2.5rem;
  right: 0;
  color: var(--text-muted);
  font-size: 1.5rem;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: #141d12;
  border-top: 1px solid var(--border-subtle);
  padding: 4rem 0 2rem;
  position: relative;
}

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

.footer-col h5 {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: var(--text-primary);
  margin-bottom: 1.2rem;
}

.footer-col p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.footer-links-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-links-list li a {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer-links-list li a:hover {
  color: var(--accent-brass);
}

.footer-bottom-bar {
  border-top: 1px solid var(--border-subtle);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.78rem;
  color: var(--text-dim);
}

/* ==========================================================================
   3D Coverflow Perspective Destinations Carousel (Matching 4th Reference Image)
   ========================================================================== */
.coverflow-section {
  padding: 5.5rem 0 6rem;
  background: #1c2719;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border-subtle);
}

.coverflow-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 30%, rgba(55, 75, 50, 0.45) 0%, rgba(20, 30, 18, 0.95) 80%);
  pointer-events: none;
}

.coverflow-stage-wrapper {
  position: relative;
  width: 100%;
  max-width: 1300px;
  margin: 0 auto;
  perspective: 1200px;
  padding: 2rem 0 3.5rem;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 580px;
}

.coverflow-track {
  position: relative;
  width: 100%;
  height: 520px;
  display: flex;
  justify-content: center;
  align-items: center;
  transform-style: preserve-3d;
}

.coverflow-card {
  position: absolute;
  width: 330px;
  height: 480px;
  border-radius: 14px;
  overflow: hidden;
  cursor: pointer;
  background: #172415;
  border: 1px solid rgba(235, 230, 215, 0.18);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
  transition: transform 0.65s cubic-bezier(0.25, 1, 0.5, 1), 
              opacity 0.65s cubic-bezier(0.25, 1, 0.5, 1), 
              filter 0.65s cubic-bezier(0.25, 1, 0.5, 1),
              box-shadow 0.65s ease;
  user-select: none;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.coverflow-card-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}

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

.coverflow-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20, 30, 18, 0.3) 0%, rgba(20, 30, 18, 0.15) 35%, rgba(14, 22, 13, 0.95) 100%);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.5rem;
  z-index: 2;
}

/* 3D Arc Positioning - Center Active Highlighted Card */
.coverflow-card.pos-center {
  transform: translateX(0) translateZ(90px) rotateY(0deg) scale(1.08);
  opacity: 1;
  z-index: 10;
  filter: none;
  box-shadow: 0 30px 65px rgba(0, 0, 0, 0.75), 0 0 0 1.5px rgba(201, 190, 162, 0.45);
}

/* Left 1 */
.coverflow-card.pos-left-1 {
  transform: translateX(-70%) translateZ(-40px) rotateY(24deg) scale(0.9);
  opacity: 0.68;
  z-index: 6;
  filter: brightness(0.65) blur(0.5px);
}

/* Right 1 */
.coverflow-card.pos-right-1 {
  transform: translateX(70%) translateZ(-40px) rotateY(-24deg) scale(0.9);
  opacity: 0.68;
  z-index: 6;
  filter: brightness(0.65) blur(0.5px);
}

/* Left 2 */
.coverflow-card.pos-left-2 {
  transform: translateX(-132%) translateZ(-130px) rotateY(34deg) scale(0.76);
  opacity: 0.35;
  z-index: 3;
  filter: brightness(0.45) blur(1.5px);
}

/* Right 2 */
.coverflow-card.pos-right-2 {
  transform: translateX(132%) translateZ(-130px) rotateY(-34deg) scale(0.76);
  opacity: 0.35;
  z-index: 3;
  filter: brightness(0.45) blur(1.5px);
}

/* Hidden Cards beyond the 5 visible ones */
.coverflow-card.pos-hidden {
  transform: translateX(0) translateZ(-260px) scale(0.5);
  opacity: 0;
  pointer-events: none;
  z-index: 1;
}

/* Typography & Info on 3D Card */
.card-top-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #f5f2e9;
  background: rgba(22, 33, 20, 0.75);
  backdrop-filter: blur(8px);
  padding: 0.35rem 0.75rem;
  border-radius: 4px;
  border: 1px solid rgba(235, 230, 215, 0.2);
  align-self: flex-start;
}

.card-distance-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--accent-brass);
  background: rgba(26, 37, 23, 0.92);
  border: 1px solid var(--accent-brass);
  padding: 0.35rem 0.85rem;
  border-radius: 9999px;
  margin-bottom: 0.65rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
  letter-spacing: 0.04em;
}

.card-place-title {
  font-family: var(--font-serif);
  font-size: 1.7rem;
  line-height: 1.15;
  color: var(--text-primary);
  margin-bottom: 0.45rem;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.65);
}

.card-place-desc {
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 0.95rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-action-btn {
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-primary);
  background: rgba(45, 63, 40, 0.85);
  border: 1px solid var(--border-medium);
  padding: 0.45rem 0.95rem;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 500;
  transition: var(--transition);
}

.card-action-btn:hover {
  background: var(--accent-brass);
  color: var(--bg-deep);
}

/* Nav arrows (< and > matching 4th reference image) */
.coverflow-nav-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(26, 37, 23, 0.85);
  border: 1px solid var(--border-medium);
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 25;
  transition: var(--transition);
  backdrop-filter: blur(8px);
}

.coverflow-nav-arrow:hover {
  background: var(--accent-brass);
  color: var(--bg-deep);
  transform: translateY(-50%) scale(1.08);
}

.coverflow-nav-arrow.prev { left: 2.5rem; }
.coverflow-nav-arrow.next { right: 2.5rem; }

/* Slide Indicators */
.coverflow-indicators {
  display: flex;
  justify-content: center;
  gap: 0.6rem;
  margin-top: 1.75rem;
}

.coverflow-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(235, 230, 215, 0.25);
  cursor: pointer;
  transition: var(--transition);
}

.coverflow-dot.active {
  width: 32px;
  border-radius: 9999px;
  background: var(--accent-brass);
}

/* ==========================================================================
   Responsive Adaptations
   ========================================================================== */
@media (max-width: 992px) {
  .hero-booking-dock {
    grid-template-columns: 1fr 1fr;
  }
  .dock-field:nth-child(2) {
    border-right: none;
  }
  .dock-action-btn {
    grid-column: 1 / -1;
  }
  .editorial-split-card, .editorial-split-card.reverse {
    grid-template-columns: 1fr;
  }
  .editorial-left-pane {
    border-right: none;
    border-bottom: 1px solid var(--border-subtle);
  }
  .editorial-split-card.reverse .editorial-left-pane {
    border-left: none;
    border-bottom: 1px solid var(--border-subtle);
  }
  .editorial-right-pane {
    min-height: 300px;
  }
  .map-layout-grid {
    grid-template-columns: 1fr;
  }
  .map-sidebar-destinations {
    border-right: none;
    border-bottom: 1px solid var(--border-subtle);
    max-height: 380px;
  }
  .footer-top-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .desktop-nav {
    display: none;
  }
  .mobile-menu-btn {
    display: flex;
  }
  .top-meta-bar {
    display: none;
  }
  .live-station-badge {
    display: none;
  }
  .hero-forest-stage {
    min-height: 80vh;
  }
  .booking-form-grid {
    grid-template-columns: 1fr;
  }
  .footer-top-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   Multi-Column Paginated Views System
   Separates all information into focused, dedicated pages (Stay, Balcony, Places, etc.)
   ========================================================================== */

.app-view {
  display: none;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1), transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  min-height: 75vh;
  padding-bottom: 3.5rem;
}

.app-view.active {
  display: block;
  opacity: 1;
  transform: translateY(0);
  animation: appViewEnter 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes appViewEnter {
  0% {
    opacity: 0;
    transform: translateY(12px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* View Bottom Pagination & Column Transition Bar */
.view-pagination-footer {
  margin-top: 3.5rem;
  padding: 1.5rem 2rem;
  background: rgba(26, 37, 23, 0.75);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.view-pagination-footer .page-step-count {
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-brass);
  font-weight: 500;
  text-align: center;
}

.btn-page-nav {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  background: #253522;
  border: 1px solid var(--border-medium);
  color: var(--text-primary);
  padding: 0.75rem 1.4rem;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.25s ease;
  text-align: left;
}

.btn-page-nav:hover {
  background: var(--accent-brass);
  color: var(--bg-deep);
  border-color: var(--accent-brass);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}

.btn-page-nav small {
  display: block;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  opacity: 0.75;
}

.btn-page-nav span {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 500;
}

.btn-page-nav.next {
  margin-left: auto;
  text-align: right;
}

/* Overview Intro Card in View Stay */
.stay-overview-intro-card {
  margin-top: 2.5rem;
  background: rgba(32, 45, 29, 0.85);
  border: 1px solid var(--border-medium);
  border-radius: 12px;
  padding: 2.5rem;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2.5rem;
  align-items: center;
}

.stay-overview-intro-card h3 {
  font-family: var(--font-serif);
  font-size: 2rem;
  color: var(--text-primary);
  margin-bottom: 0.85rem;
}

.stay-overview-intro-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.stay-quick-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.stay-highlight-box {
  background: rgba(22, 33, 20, 0.85);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.stay-highlight-item {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
}

.stay-highlight-item svg {
  color: var(--accent-brass);
  flex-shrink: 0;
  margin-top: 2px;
}

.stay-highlight-item strong {
  display: block;
  font-size: 0.9rem;
  color: var(--text-primary);
}

.stay-highlight-item span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Mobile Fixed Bottom Navigation Bar */
.mobile-bottom-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 62px;
  background: rgba(18, 26, 16, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  z-index: 999;
  justify-content: space-around;
  align-items: center;
  padding: 0 0.5rem;
  padding-bottom: env(safe-area-inset-bottom, 0px);
}

.bottom-tab-item {
  background: none;
  border: none;
  color: rgba(235, 240, 230, 0.55);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  font-size: 0.68rem;
  letter-spacing: 0.03em;
  padding: 6px 6px;
  cursor: pointer;
  transition: all 0.2s ease;
  flex: 1;
  text-align: center;
}

.bottom-tab-item svg {
  stroke-width: 1.8;
  transition: transform 0.2s ease, stroke 0.2s ease;
}

.bottom-tab-item.active {
  color: var(--accent-brass);
}

.bottom-tab-item.active svg {
  stroke: var(--accent-brass);
  transform: translateY(-2px);
}

.bottom-tab-item.reserve-tab {
  color: var(--accent-brass);
}

/* Mobile Fullscreen Navigation Drawer */
.mobile-nav-drawer {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(16, 23, 14, 0.98);
  backdrop-filter: blur(20px);
  z-index: 2000;
  display: flex;
  flex-direction: column;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  padding: 1.5rem 1.25rem;
  overflow-y: auto;
}

.mobile-nav-drawer.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--border-subtle);
}

.drawer-close-btn {
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.drawer-nav-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 1.5rem;
}

.mobile-drawer-link {
  background: rgba(32, 45, 29, 0.45);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  padding: 0.9rem 1.15rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  color: var(--text-primary);
  text-align: left;
  cursor: pointer;
  transition: all 0.2s ease;
}

.mobile-drawer-link:hover, .mobile-drawer-link.active {
  background: rgba(201, 190, 162, 0.15);
  border-color: var(--accent-brass);
}

.drawer-link-num {
  font-size: 0.75rem;
  color: var(--accent-brass);
  font-family: monospace;
}

.drawer-link-text {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  flex: 1;
}

.drawer-link-arrow {
  color: var(--accent-brass);
  font-size: 1rem;
}

.drawer-footer-actions {
  margin-top: auto;
  padding-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.drawer-contact-row {
  display: flex;
  justify-content: space-around;
  gap: 1rem;
  font-size: 0.85rem;
}

.drawer-contact-row a {
  color: var(--accent-sand);
}

/* ==========================================================================
   Compact Phone Screen Optimizations (<= 640px)
   ========================================================================== */
@media (max-width: 640px) {
  .mobile-bottom-bar {
    display: flex;
  }
  
  .app-view {
    padding-bottom: 85px; /* prevents bottom bar overlapping content */
  }

  .site-header {
    height: 56px;
  }

  .brand-title {
    font-size: 1.15rem;
  }

  .brand-subtitle {
    font-size: 0.62rem;
  }

  .btn-reserve-nav {
    padding: 0.35rem 0.75rem;
    font-size: 0.72rem;
  }

  .btn-sound-toggle {
    width: 30px;
    height: 30px;
  }

  /* Hero on mobile */
  .hero-main-title {
    font-size: clamp(1.85rem, 7.5vw, 2.35rem);
    line-height: 1.18;
  }

  .hero-description-lead {
    font-size: 0.9rem;
    line-height: 1.55;
    margin-bottom: 1.5rem;
  }

  .hero-booking-dock {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.4rem;
    padding: 0.75rem;
    border-radius: 10px;
  }

  .dock-field {
    padding: 0.5rem;
    border-right: none;
    border-bottom: 1px solid var(--border-subtle);
  }

  .dock-field label {
    font-size: 0.65rem;
  }

  .dock-value {
    font-size: 0.82rem;
  }

  .dock-action-btn {
    grid-column: 1 / -1;
    margin-top: 0.4rem;
    padding: 0.75rem;
    font-size: 0.85rem;
  }

  /* Stay Overview Card */
  .stay-overview-intro-card {
    grid-template-columns: 1fr;
    padding: 1.35rem;
    gap: 1.5rem;
  }

  .stay-overview-intro-card h3 {
    font-size: 1.45rem;
  }

  /* Balcony Split Cards on Mobile */
  .editorial-photo-box {
    height: 230px;
  }

  .editorial-text-box {
    padding: 1.25rem 1.25rem;
  }

  .editorial-title {
    font-size: 1.5rem;
  }

  .editorial-body-prose {
    font-size: 0.88rem;
    line-height: 1.65;
  }

  .editorial-right-pane {
    min-height: 240px;
    padding: 1.25rem;
  }

  /* Coverflow on Mobile */
  .coverflow-viewport {
    height: 480px;
  }

  .coverflow-card {
    width: clamp(270px, 82vw, 320px);
    height: 420px;
  }

  .card-place-title {
    font-size: 1.3rem;
  }

  .card-place-desc {
    font-size: 0.8rem;
    line-height: 1.45;
  }

  /* Amenities on Mobile */
  .amenities-spec-grid {
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
  }

  .amenity-card {
    padding: 1rem 0.85rem;
  }

  .amenity-card h4 {
    font-size: 0.92rem;
  }

  .amenity-card p {
    font-size: 0.75rem;
  }

  /* Map on Mobile */
  #valparai-leaflet-map {
    height: 300px;
  }

  /* Gallery on Mobile */
  .gallery-masonry-grid {
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
  }

  .gallery-thumb-item {
    height: 170px;
  }

  .gallery-filter-tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 0.5rem;
    -webkit-overflow-scrolling: touch;
  }

  .gallery-tab-btn {
    white-space: nowrap;
    padding: 0.4rem 0.75rem;
    font-size: 0.72rem;
  }

  /* Pagination Footer on Mobile */
  .view-pagination-footer {
    flex-direction: column;
    padding: 1.25rem;
    text-align: center;
  }

  .btn-page-nav {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  .btn-page-nav.next {
    margin-left: 0;
  }
}
