/* ==========================================================================
   CSS VARIABLES & DESIGN TOKENS
   ========================================================================== */
:root {
  --font-sans: 'Montserrat', sans-serif;
  --font-serif: 'Playfair Display', serif;

  /* Colors */
  --color-primary: #1b3820;
  --color-primary-light: #2c4f32;
  --color-primary-dark: #0f2112;
  --color-accent: #c49a45;
  --color-accent-hover: #b08734;
  --color-text-dark: #111111;
  --color-text-muted: #1a1a1a;
  --color-bg-light: #FAF8F5;
  --color-bg-white: #ffffff;
  
  /* UI Elements */
  --shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
  --shadow-md: 0 8px 30px rgba(0,0,0,0.08);
  --shadow-lg: 0 16px 40px rgba(0,0,0,0.12);
  --border-radius-sm: 4px;
  --border-radius-md: 12px;
  --border-radius-lg: 24px;
  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: all 0.2s ease;
  
  /* Glassmorphism */
  --glass-bg: rgba(255, 255, 255, 0.75);
  --glass-border: rgba(255, 255, 255, 0.4);
  --glass-blur: blur(20px);
}

/* Preloader Styling */
.preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100dvh;
  background-color: var(--color-primary-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.preloader.fade-out {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.preloader-content {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
.preloader-logo {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 6vw, 3.5rem);
  font-weight: 800;
  letter-spacing: 6px;
  color: var(--color-bg-light);
  animation: logoFadeIn 1.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  opacity: 0;
}
.preloader-line {
  width: 0;
  height: 2px;
  background-color: var(--color-accent);
  animation: lineGrow 1.8s cubic-bezier(0.1, 0.8, 0.2, 1) forwards;
}
@keyframes logoFadeIn {
  to {
    opacity: 1;
    letter-spacing: 12px;
  }
}
@keyframes lineGrow {
  to {
    width: 180px;
  }
}

/* ==========================================================================
   RESET & BASE STYLES
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-sans);
  color: var(--color-text-dark);
  background-color: var(--color-bg-white);
  line-height: 1.6;
  overflow-x: hidden;
  font-weight: 500; /* Increased for mobile legibility and bold look */
}

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

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

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--color-bg-light);
}
::-webkit-scrollbar-thumb {
  background: var(--color-primary-light);
  border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--color-primary);
}

/* ==========================================================================
   REUSABLE UTILITIES & COMPONENTS
   ========================================================================== */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 100px 0;
}

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

.section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 60px auto;
}

.section-label {
  display: block;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--color-accent);
  font-weight: 600;
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 5.5vw, 2.8rem);
  font-weight: 700;
  line-height: 1.25;
  color: var(--color-primary);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 1.5px;
  border-radius: var(--border-radius-sm);
  transition: var(--transition-smooth);
  cursor: pointer;
  border: 1px solid transparent;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn::after {
  content: '';
  position: absolute;
  top: 0;
  left: -50%;
  width: 200%;
  height: 100%;
  background: linear-gradient(
    to right,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.3) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: skewX(-25deg);
  transition: 0.75s ease;
  z-index: -1;
}

.btn:hover::after {
  left: 125%;
}

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

.btn-primary:hover {
  background-color: var(--color-accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(196, 154, 69, 0.2);
}

.btn-outline {
  background-color: transparent;
  color: var(--color-bg-white);
  border-color: rgba(255, 255, 255, 0.4);
}

.btn-outline:hover {
  background-color: var(--color-bg-white);
  color: var(--color-primary);
  border-color: var(--color-bg-white);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 8px 18px;
  font-size: 0.85rem;
}

.btn-block {
  display: flex;
  width: 100%;
}

/* ==========================================================================
   HEADER / NAVIGATION
   ========================================================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: var(--transition-smooth);
  border-bottom: 1px solid transparent;
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px;
}

.header.scrolled {
  background-color: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border-bottom: 1px solid var(--glass-border);
  box-shadow: var(--shadow-sm);
}

.header.scrolled .header-container {
  padding: 16px 24px;
}

.logo {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--color-bg-white);
  transition: var(--transition-smooth);
}

.header.scrolled .logo {
  color: var(--color-primary);
}

.nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 1px;
  color: rgba(255, 255, 255, 0.85);
}

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

.header.scrolled .nav-link {
  color: var(--color-text-dark);
}

.header.scrolled .nav-link:hover {
  color: var(--color-accent);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
}

.nav-toggle .bar {
  display: block;
  width: 25px;
  height: 2px;
  margin: 5px auto;
  background-color: var(--color-bg-white);
  transition: var(--transition-fast);
}

.header.scrolled .nav-toggle .bar {
  background-color: var(--color-primary);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero {
  position: relative;
  height: 100dvh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-bg-white);
  text-align: center;
  overflow: hidden;
}

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

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.05);
  animation: slowZoom 20s infinite alternate;
}

@keyframes slowZoom {
  0% { transform: scale(1); }
  100% { transform: scale(1.08); }
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(15, 33, 18, 0.6) 0%, rgba(15, 33, 18, 0.8) 100%);
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 800px;
  padding: 0 24px;
}

.hero-subtitle {
  display: inline-block;
  font-size: 0.9rem;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 20px;
  font-weight: 700;
  animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 8vw, 4rem);
  line-height: 1.15;
  font-weight: 800;
  margin-bottom: 24px;
  text-shadow: 0 4px 20px rgba(15, 33, 18, 0.3);
  animation: fadeInUp 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-text {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  font-weight: 500;
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 40px;
  line-height: 1.8;
  animation: fadeInUp 1.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  animation: fadeInUp 1.4s ease;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ==========================================================================
   ABOUT SECTION
   ========================================================================== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-content .section-label {
  text-align: left;
}

.about-content .section-title {
  margin-bottom: 24px;
}

.about-text {
  font-size: 1.05rem;
  color: var(--color-text-muted);
  margin-bottom: 20px;
  line-height: 1.8;
}

.about-stats {
  display: flex;
  gap: 48px;
  margin-top: 40px;
  border-top: 1px solid #eeeeee;
  padding-top: 30px;
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  color: var(--color-accent);
  font-weight: 600;
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--color-text-muted);
  font-weight: 500;
}

.about-image-wrapper {
  position: relative;
  border-radius: var(--border-radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  width: 100%;
  min-width: 0; /* Prevents layout blowout in Safari grid/flexboxes */
}

.about-image-wrapper::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 12px solid rgba(255, 255, 255, 0.1);
  pointer-events: none;
}

.about-image {
  width: 100%;
  height: 500px;
  object-fit: cover;
  transition: var(--transition-smooth);
}

.about-image-wrapper:hover .about-image {
  transform: scale(1.03);
}

/* ==========================================================================
   AMENITIES SECTION
   ========================================================================== */
.amenities-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.amenity-card {
  background-color: var(--color-bg-white);
  padding: 40px;
  border-radius: var(--border-radius-md);
  border: 1px solid #f0edf8;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
}

.amenity-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
  border-color: rgba(196, 154, 69, 0.3);
}

.amenity-icon {
  width: 48px;
  height: 48px;
  color: var(--color-accent);
  margin-bottom: 24px;
}

.amenity-icon svg {
  width: 100%;
  height: 100%;
}

.amenity-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 12px;
}

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

/* ==========================================================================
   GALLERY SECTION
   ========================================================================== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

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

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

.gallery-hover {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 33, 18, 0.6);
  opacity: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
  z-index: 10;
}

.gallery-hover span {
  color: var(--color-bg-white);
  font-size: 0.9rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  border: 1px solid var(--color-bg-white);
  padding: 8px 16px;
  font-weight: 500;
  transform: translateY(10px);
  transition: var(--transition-smooth);
}

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

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

.gallery-item:hover .gallery-hover span {
  transform: translateY(0);
}

/* Masonry variations for larger displays */
@media (min-width: 992px) {
  .gallery-item:nth-child(1) {
    grid-column: span 2;
    grid-row: span 2;
    aspect-ratio: auto;
    height: 100%;
  }
  .gallery-item:nth-child(6) {
    grid-column: span 2;
    aspect-ratio: auto;
    height: 100%;
  }
}

/* ==========================================================================
   INTERACTIVE CALCULATOR
   ========================================================================== */
.calculator-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 80px;
  align-items: center;
}

.calculator-info .section-label {
  text-align: left;
}

.calculator-info .section-title {
  margin-bottom: 24px;
}

.calculator-text {
  font-size: 1.05rem;
  color: var(--color-text-muted);
  margin-bottom: 32px;
}

.pricing-rules {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.rule-item {
  position: relative;
  padding-left: 28px;
  font-size: 0.95rem;
  color: var(--color-text-dark);
}

.rule-item::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--color-accent);
  font-weight: bold;
}

.calculator-card {
  background-color: var(--color-bg-white);
  padding: 40px;
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-lg);
  border: 1px solid #f0edf8;
}

.card-title {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 24px;
}

.form-group {
  margin-bottom: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

label {
  display: block;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
  color: var(--color-text-muted);
  margin-bottom: 8px;
}

input[type="date"], select {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #e0dfd5;
  background-color: var(--color-bg-light);
  border-radius: var(--border-radius-sm);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  color: var(--color-text-dark);
  outline: none;
  transition: var(--transition-fast);
}

input[type="date"]:focus, select:focus {
  border-color: var(--color-accent);
  background-color: var(--color-bg-white);
  box-shadow: 0 0 0 3px rgba(196, 154, 69, 0.1);
}

/* Breakdown styles */
.pricing-breakdown {
  margin: 30px 0 24px 0;
  background-color: var(--color-bg-light);
  padding: 20px;
  border-radius: var(--border-radius-sm);
  animation: fadeIn 0.4s ease;
}

.breakdown-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  color: var(--color-text-muted);
  margin-bottom: 12px;
}

.breakdown-row.discount {
  color: #2c7c3e;
  font-weight: 500;
}

.divider {
  border: 0;
  height: 1px;
  background-color: #e0dfd5;
  margin: 16px 0;
}

.breakdown-row.total {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 0;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(5px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
  background-color: var(--color-primary-dark);
  color: rgba(255, 255, 255, 0.7);
  padding: 80px 0 40px 0;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 80px;
  margin-bottom: 60px;
}

.footer-logo {
  font-family: var(--font-serif);
  color: var(--color-bg-white);
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: 2px;
  margin-bottom: 16px;
}

.footer-tagline {
  font-size: 1rem;
  font-style: italic;
  max-width: 320px;
}

.footer-title {
  color: var(--color-bg-white);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 600;
  margin-bottom: 24px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

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

.footer-contact p {
  margin-bottom: 12px;
  font-size: 0.95rem;
}

.footer-divider {
  border: 0;
  height: 1px;
  background-color: rgba(255, 255, 255, 0.1);
  margin-bottom: 30px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
}

/* ==========================================================================
   LIGHTBOX MODAL
   ========================================================================== */
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100dvh;
  background-color: rgba(15, 33, 18, 0.98);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.lightbox.active {
  display: flex;
  opacity: 1;
}

.lightbox-content {
  position: relative;
  max-width: 90%;
  max-height: 85dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.lightbox img {
  max-width: 100%;
  max-height: 70dvh;
  object-fit: contain;
  border-radius: var(--border-radius-sm);
  box-shadow: 0 20px 50px rgba(0,0,0,0.5);
  animation: zoomIn 0.3s ease;
  margin: 0 auto;
}

@keyframes zoomIn {
  from { transform: scale(0.95); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.lightbox-caption {
  color: #ffffff;
  margin-top: 16px;
  font-size: 1rem;
  letter-spacing: 1px;
  font-weight: 300;
  text-align: center;
}

/* Controls */
.lightbox-prev, .lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  color: #ffffff;
  font-size: 2rem;
  cursor: pointer;
  transition: var(--transition-smooth);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2010;
}

.lightbox-prev:hover, .lightbox-next:hover {
  background-color: var(--color-accent);
  border-color: var(--color-accent);
  color: #ffffff;
  transform: translateY(-50%) scale(1.1);
}

.lightbox-close {
  position: absolute;
  top: 24px;
  right: 24px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  color: #ffffff;
  font-size: 2.2rem;
  cursor: pointer;
  transition: var(--transition-smooth);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2010;
  line-height: 1;
}

.lightbox-close:hover {
  background-color: #ff3b30;
  border-color: #ff3b30;
  transform: scale(1.1);
}

.lightbox-prev {
  left: 24px;
}

.lightbox-next {
  right: 24px;
}

/* ==========================================================================
   RESPONSIVE DESIGN (MEDIA QUERIES)
   ========================================================================== */
@media (max-width: 991px) {
  .section {
    padding: 80px 0;
  }
  
  .about-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  
  .about-image {
    width: 100%;
    height: auto;
    aspect-ratio: 16/10;
  }
  
  .about-stats {
    gap: 24px;
    flex-wrap: wrap; /* Allows wrapping on smaller iPhone displays */
  }
  
  .amenities-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  
  .calculator-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  
  .footer-top {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .section-title {
    font-size: 2rem;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-text {
    font-size: 1rem;
  }
  
  /* Mobile Menu Toggle */
  .nav-toggle {
    display: block;
  }
  
  .nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 320px;
    height: 100dvh;
    background-color: var(--color-primary-dark);
    flex-direction: column;
    justify-content: center;
    gap: 40px;
    padding: calc(40px + env(safe-area-inset-top)) calc(40px + env(safe-area-inset-right)) calc(40px + env(safe-area-inset-bottom)) 40px;
    transition: var(--transition-smooth);
    box-shadow: -10px 0 30px rgba(0,0,0,0.15);
    z-index: 999;
  }
  
  .nav.active {
    right: 0;
  }
  
  .nav-link {
    font-size: 1.1rem;
  }
  
  .nav-toggle.active .bar:nth-child(2) {
    opacity: 0;
  }
  
  .nav-toggle.active .bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  
  .nav-toggle.active .bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }
  
  .amenities-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
  
  .lightbox-prev {
    left: 12px;
  }
  
  .lightbox-next {
    right: 12px;
  }
  
  .lightbox-prev, .lightbox-next {
    width: 40px;
    height: 40px;
    font-size: 1.5rem;
  }
  
  .lightbox-close {
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    font-size: 1.8rem;
  }
  
  .lightbox img {
    max-height: 65dvh;
  }
  
  .lightbox-caption {
    font-size: 0.9rem;
    margin-top: 12px;
    padding: 0 16px;
  }
}

/* ==========================================================================
   VIDEO BACKGROUND HERO SUPPORT
   ========================================================================== */
.hero-bg video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
}

/* ==========================================================================
   INFO / RECOMMENDATIONS SECTION
   ========================================================================== */
.info-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 800px;
  margin: 0 auto;
}

.info-card {
  background-color: var(--color-bg-white);
  padding: 35px 30px;
  border-radius: var(--border-radius-md);
  border: 1px solid #f0edf8;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
}

.info-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: rgba(196, 154, 69, 0.2);
}

.info-card-icon {
  width: 44px;
  height: 44px;
  color: var(--color-accent);
  margin-bottom: 20px;
}

.info-card-icon svg {
  width: 100%;
  height: 100%;
}

.info-card-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 12px;
}

.info-card-text {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

@media (max-width: 991px) {
  .info-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .info-cards-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   FLOATING WHATSAPP WIDGET & ANIMATIONS
   ========================================================================== */
.whatsapp-widget {
  position: fixed;
  bottom: calc(24px + env(safe-area-inset-bottom));
  right: calc(24px + env(safe-area-inset-right));
  z-index: 1001;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
  pointer-events: none;
}

.whatsapp-widget * {
  pointer-events: auto;
}

.whatsapp-bubble {
  background-color: var(--color-bg-white);
  border: 1px solid rgba(37, 211, 102, 0.2);
  border-radius: var(--border-radius-md);
  padding: 16px 44px 16px 20px;
  box-shadow: var(--shadow-lg);
  max-width: 280px;
  position: relative;
  transform: translateY(15px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.5s cubic-bezier(0.16, 1, 0.3, 1),
              visibility 0.5s;
  margin-bottom: 4px;
}

.whatsapp-bubble.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.whatsapp-bubble::after {
  content: '';
  position: absolute;
  bottom: -8px;
  right: 24px;
  width: 16px;
  height: 16px;
  background-color: var(--color-bg-white);
  border-right: 1px solid rgba(37, 211, 102, 0.2);
  border-bottom: 1px solid rgba(37, 211, 102, 0.2);
  transform: rotate(45deg);
}

.whatsapp-bubble-close {
  position: absolute;
  top: 10px;
  right: 12px;
  background: none;
  border: none;
  color: #888888;
  font-size: 1.2rem;
  cursor: pointer;
  line-height: 1;
  transition: var(--transition-fast);
}

.whatsapp-bubble-close:hover {
  color: var(--color-text-dark);
}

.whatsapp-bubble-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.whatsapp-bubble-text strong {
  font-size: 0.85rem;
  color: var(--color-primary);
  font-weight: 700;
}

.whatsapp-bubble-text span {
  font-size: 0.8rem;
  color: #333333;
  line-height: 1.35;
  font-weight: 500;
}

.whatsapp-float {
  width: 60px;
  height: 60px;
  background-color: #25D366;
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2), 0 0 20px rgba(37, 211, 102, 0.4);
  transition: var(--transition-smooth);
  animation: whatsappPulse 3s infinite;
  position: relative;
}

.whatsapp-badge {
  position: absolute;
  top: 2px;
  right: 2px;
  width: 12px;
  height: 12px;
  background-color: #ff3b30;
  border: 2px solid #25D366;
  border-radius: 50%;
  display: none;
  animation: badgePulse 2s infinite;
  z-index: 10;
}

.whatsapp-badge.show {
  display: block;
}

.whatsapp-float svg {
  width: 30px;
  height: 30px;
}

.whatsapp-float:hover {
  transform: scale(1.1) rotate(5deg);
  background-color: #20ba5a;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25), 0 0 30px rgba(37, 211, 102, 0.6);
}

@keyframes whatsappPulse {
  0% {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2), 0 0 0 0 rgba(37, 211, 102, 0.5);
  }
  70% {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2), 0 0 0 15px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2), 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

@keyframes badgePulse {
  0% { transform: scale(1); opacity: 0.9; }
  50% { transform: scale(1.25); opacity: 1; }
  100% { transform: scale(1); opacity: 0.9; }
}

@media (max-width: 768px) {
  .whatsapp-widget {
    bottom: calc(20px + env(safe-area-inset-bottom));
    right: calc(20px + env(safe-area-inset-right));
  }
  .whatsapp-float {
    width: 54px;
    height: 54px;
  }
  .whatsapp-float svg {
    width: 26px;
    height: 26px;
  }
  .whatsapp-bubble {
    max-width: 240px;
    padding: 12px 36px 12px 16px;
  }
}

/* ==========================================================================
   SCROLL REVEAL ANIMATIONS (Intersection Observer)
   ========================================================================== */
.reveal-element {
  opacity: 0;
  transform: translateY(30px) scale(0.96);
  filter: blur(10px);
  transition: opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1), 
              transform 1.2s cubic-bezier(0.16, 1, 0.3, 1),
              filter 1.2s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, opacity, filter;
}

.reveal-element.revealed {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
}

/* Delay staggered reveals for grid elements */
.amenities-grid > .reveal-element:nth-child(1) { transition-delay: 0s; }
.amenities-grid > .reveal-element:nth-child(2) { transition-delay: 0.1s; }
.amenities-grid > .reveal-element:nth-child(3) { transition-delay: 0.2s; }
.amenities-grid > .reveal-element:nth-child(4) { transition-delay: 0.3s; }
.amenities-grid > .reveal-element:nth-child(5) { transition-delay: 0.4s; }
.amenities-grid > .reveal-element:nth-child(6) { transition-delay: 0.5s; }

.info-cards-grid > .reveal-element:nth-child(1) { transition-delay: 0s; }
.info-cards-grid > .reveal-element:nth-child(2) { transition-delay: 0.1s; }

.gallery-grid > .reveal-element:nth-child(1) { transition-delay: 0s; }
.gallery-grid > .reveal-element:nth-child(2) { transition-delay: 0.05s; }
.gallery-grid > .reveal-element:nth-child(3) { transition-delay: 0.1s; }
.gallery-grid > .reveal-element:nth-child(4) { transition-delay: 0.15s; }
.gallery-grid > .reveal-element:nth-child(5) { transition-delay: 0.2s; }
.gallery-grid > .reveal-element:nth-child(6) { transition-delay: 0.25s; }
.gallery-grid > .reveal-element:nth-child(7) { transition-delay: 0.3s; }
.gallery-grid > .reveal-element:nth-child(8) { transition-delay: 0.35s; }
