/* ===== THREE STAYS & TRAVEL — Custom Styles ===== */

/* ---------- Google Fonts ---------- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Montserrat:wght@400;500;600;700;800&family=Playfair+Display:wght@400;500;600;700;800&display=swap');

/* ---------- CSS Custom Properties ---------- */
:root {
  /* Primary */
  --forest-green: #1B5E3F;
  --forest-green-light: #2D7A4A;
  --gold: #FFA500;
  --gold-light: #FFB81C;
  --burnt-orange: #D97E3A;
  --burnt-orange-light: #E67E22;
  --deep-navy: #1A1A1A;

  /* Secondary */
  --soft-cream: #FAFAF8;
  --light-sage: #E8F4F0;
  --warm-beige: #F5E6D3;

  /* Accent */
  --coral: #FF6B6B;
  --sky-blue: #0EA5E9;
  --emerald: #047857;

  /* Fonts */
  --font-headline: 'Playfair Display', serif;
  --font-body: 'Inter', sans-serif;
  --font-ui: 'Montserrat', sans-serif;
}

/* ---------- Base Resets ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--deep-navy);
  background: var(--soft-cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ---------- Typography ---------- */
h1, .h1 { font-family: var(--font-headline); font-weight: 700; font-size: 3rem; line-height: 1.15; }
h2, .h2 { font-family: var(--font-headline); font-weight: 700; font-size: 2.25rem; line-height: 1.2; }
h3, .h3 { font-family: var(--font-ui); font-weight: 600; font-size: 1.5rem; line-height: 1.3; }
h4, .h4 { font-family: var(--font-ui); font-weight: 600; font-size: 1.125rem; }

@media (max-width: 767px) {
  h1, .h1 { font-size: 2rem; }
  h2, .h2 { font-size: 1.5rem; }
  h3, .h3 { font-size: 1.125rem; }
  body { font-size: 0.875rem; }
}

/* ---------- Links ---------- */
a { color: var(--forest-green); text-decoration: none; transition: color 0.3s; }
a:hover { color: var(--burnt-orange); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  font-family: var(--font-ui); font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.08em; font-size: 0.875rem;
  padding: 0.85rem 2rem; border-radius: 0.5rem;
  cursor: pointer; border: none; transition: all 0.3s ease;
  min-height: 44px; min-width: 44px;
}
.btn-primary {
  background: var(--forest-green); color: #fff;
}
.btn-primary:hover { background: var(--burnt-orange); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,0,0,0.15); }
.btn-secondary {
  background: transparent; color: #fff; border: 2px solid #fff;
}
.btn-secondary:hover { background: #fff; color: var(--forest-green); }
.btn-gold {
  background: var(--gold); color: var(--deep-navy);
}
.btn-gold:hover { background: var(--burnt-orange); color: #fff; transform: translateY(-2px); }
.btn-outline {
  background: transparent; color: var(--forest-green); border: 2px solid var(--forest-green);
}
.btn-outline:hover { background: var(--forest-green); color: #fff; }

/* ---------- Section Utilities ---------- */
.section { padding: 5rem 1.5rem; }
.section-sage { background: var(--light-sage); }
.section-beige { background: var(--warm-beige); }
.section-cream { background: var(--soft-cream); }
.container { max-width: 1200px; margin: 0 auto; width: 100%; }

.section-title {
  text-align: center; margin-bottom: 1rem;
  position: relative; display: inline-block;
}
.section-title::after {
  content: ''; display: block; width: 60px; height: 3px;
  background: var(--gold); margin: 0.75rem auto 0;
}
.section-subtitle {
  text-align: center; color: #666; max-width: 640px;
  margin: 0 auto 3rem; font-size: 1.05rem;
}

/* ---------- Card Base ---------- */
.card {
  background: #fff; border-radius: 1rem; overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.06);
  transition: all 0.35s ease;
  height: 100%;
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.12);
  border-color: var(--burnt-orange);
}

/* ---------- Gold Underline Decoration ---------- */
.gold-line { width: 50px; height: 3px; background: var(--gold); }

/* ---------- Star Rating ---------- */
.stars { color: var(--gold); display: flex; gap: 2px; }

/* ---------- Badge ---------- */
.badge {
  display: inline-block; font-family: var(--font-ui); font-size: 0.7rem;
  font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em;
  padding: 0.25rem 0.65rem; border-radius: 9999px;
}
.badge-green { background: var(--forest-green); color: #fff; }
.badge-gold  { background: var(--gold); color: var(--deep-navy); }
.badge-orange{ background: var(--burnt-orange); color: #fff; }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 92vh;
  display: flex; align-items: center; justify-content: center;
  text-align: center; color: #fff; overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background-size: cover; background-position: center;
}
.hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(135deg, rgba(27,94,63,0.82) 0%, rgba(26,26,26,0.70) 100%);
}
.hero-content { position: relative; z-index: 2; max-width: 800px; padding: 2rem; }

/* ---------- Carousel ---------- */
.carousel-wrapper { position: relative; overflow: hidden; }
.carousel-track { display: flex; transition: transform 0.5s ease; }
.carousel-slide { flex: 0 0 100%; min-width: 100%; }
.carousel-btn {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 44px; height: 44px; border-radius: 9999px;
  background: rgba(255,255,255,0.9); border: none;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; font-size: 1.25rem; z-index: 3;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15); transition: background 0.3s;
}
.carousel-btn:hover { background: var(--gold); color: #fff; }
.carousel-btn.prev { left: 0.75rem; }
.carousel-btn.next { right: 0.75rem; }
.carousel-dots { display: flex; gap: 0.5rem; justify-content: center; margin-top: 1rem; }
.carousel-dot {
  width: 10px; height: 10px; border-radius: 9999px; border: none;
  background: #ccc; cursor: pointer; transition: background 0.3s;
}
.carousel-dot.active { background: var(--forest-green); }

/* ---------- Property Card Image Carousel ---------- */
.prop-carousel { position: relative; height: 220px; overflow: hidden; }
.prop-carousel img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; opacity: 0; transition: opacity 0.5s; image-rendering: crisp-edges; filter: contrast(1.08) saturate(1.1) brightness(1.02); }
.prop-carousel img.active { opacity: 1; }
.prop-carousel .prop-prev,
.prop-carousel .prop-next {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 32px; height: 32px; border-radius: 9999px;
  background: rgba(255,255,255,0.85); border: none;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  font-size: 0.85rem; z-index: 2; opacity: 0; transition: opacity 0.3s;
}
.prop-carousel:hover .prop-prev,
.prop-carousel:hover .prop-next { opacity: 1; }
.prop-carousel .prop-prev { left: 0.5rem; }
.prop-carousel .prop-next { right: 0.5rem; }

/* ---------- Modal ---------- */
.modal-backdrop {
  position: fixed; inset: 0; z-index: 1000;
  background: rgba(0,0,0,0.6); display: none;
  align-items: center; justify-content: center;
  padding: 1rem; overflow-y: auto;
}
.modal-backdrop.open { display: flex; }
.modal {
  background: #fff; border-radius: 1rem; width: 100%;
  max-width: 900px; max-height: 90vh; overflow-y: auto;
  position: relative; animation: modalIn 0.3s ease;
}
@keyframes modalIn { from { opacity: 0; transform: scale(0.95); } to { opacity: 1; transform: scale(1); } }
.modal-close {
  position: absolute; top: 1rem; right: 1rem; z-index: 10;
  width: 40px; height: 40px; border-radius: 9999px;
  background: var(--forest-green); color: #fff; border: none;
  cursor: pointer; font-size: 1.25rem;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.3s;
}
.modal-close:hover { background: var(--burnt-orange); }

/* ============================================================
   PREMIUM PROPERTY MODAL GALLERY — Inspired by Top Travel Brands
   ============================================================ */

/* Full-width hero gallery with professional controls */
.media-gallery {
  position: relative;
  width: 100%;
  background: #000;
  border-radius: 0;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 16 / 9;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
}

.media-container {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.media-container img,
.media-container video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: none;
  animation: fadeInMedia 0.5s ease;
}

.media-container img.active,
.media-container video.active {
  display: block;
}

.media-container iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: none;
  animation: fadeInMedia 0.5s ease;
}

.media-container iframe.active {
  display: block;
}

@keyframes fadeInMedia {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Professional media badge */
.media-badge {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: var(--forest-green);
  color: #fff;
  padding: 0.6rem 1.2rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  z-index: 15;
  backdrop-filter: blur(8px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

/* Bottom controls with gradient overlay */
.media-controls {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.3) 80%, transparent 100%);
  padding: 4rem 2rem 1.75rem;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  z-index: 10;
}

.media-counter {
  font-family: var(--font-ui);
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.05em;
}

.media-nav-buttons {
  display: flex;
  gap: 1.25rem;
  align-items: center;
}

.media-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  border: 1.5px solid rgba(255, 255, 255, 0.5);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transition: all 0.35s cubic-bezier(0.23, 1, 0.32, 1);
  backdrop-filter: blur(8px);
  font-weight: 600;
}

.media-btn:hover {
  background: var(--gold);
  color: var(--deep-navy);
  border-color: var(--gold);
  transform: scale(1.15);
  box-shadow: 0 8px 24px rgba(255, 165, 0, 0.35);
}

/* Media dot indicators */
.media-dots {
  position: absolute;
  bottom: 1.75rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.6rem;
  z-index: 10;
}

.media-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
  border: none;
  cursor: pointer;
  transition: all 0.35s ease;
}

.media-dot.active {
  background: var(--gold);
  width: 32px;
  border-radius: 9999px;
  box-shadow: 0 0 16px rgba(255, 165, 0, 0.5);
}

.media-dot:hover {
  background: rgba(255, 255, 255, 0.9);
  transform: scale(1.1);
}

/* Thumbnail strip */
.media-thumbs {
  display: flex;
  flex-shrink: 0;
  gap: 6px;
  padding: 10px 12px;
  background: #111;
  overflow-x: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,.25) transparent;
}
.media-thumbs::-webkit-scrollbar { height: 4px; }
.media-thumbs::-webkit-scrollbar-thumb { background: rgba(255,255,255,.25); border-radius: 2px; }
.media-thumb {
  flex-shrink: 0;
  width: 72px;
  height: 52px;
  border-radius: 6px;
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  opacity: 0.55;
  transition: all .2s ease;
}
.media-thumb:hover { opacity: 0.85; }
.media-thumb.active {
  border-color: var(--gold, #FFA500);
  opacity: 1;
  box-shadow: 0 0 8px rgba(255,165,0,.4);
}
.media-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Large navigation arrows */
.media-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  font-weight: 700;
  z-index: 5;
  opacity: 0;
  transition: all 0.35s cubic-bezier(0.23, 1, 0.32, 1);
  backdrop-filter: blur(8px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.media-arrow:hover {
  background: var(--gold);
  color: var(--deep-navy);
  border-color: var(--gold);
  transform: translateY(-50%) scale(1.2);
  box-shadow: 0 8px 28px rgba(255, 165, 0, 0.4);
}

.media-gallery:hover .media-arrow {
  opacity: 1;
}

.media-prev { left: 1.5rem; }
.media-next { right: 1.5rem; }

/* Fullscreen mode */
.media-gallery.fullscreen-active {
  position: fixed;
  inset: 0;
  z-index: 9999;
  aspect-ratio: auto;
  border-radius: 0;
}

.media-gallery.fullscreen-active .media-controls {
  padding: 3rem 2.5rem;
}

/* Mobile responsiveness */
@media (max-width: 1024px) {
  .media-gallery {
    aspect-ratio: 4 / 3;
  }

  .media-arrow {
    width: 48px;
    height: 48px;
    font-size: 1.2rem;
  }

  .media-arrow:hover {
    transform: translateY(-50%) scale(1.12);
  }
}

@media (max-width: 768px) {
  .media-gallery {
    aspect-ratio: 1 / 1;
  }

  .media-arrow {
    width: 44px;
    height: 44px;
    font-size: 1rem;
  }

  .media-arrow:hover {
    transform: translateY(-50%) scale(1.08);
  }

  .media-controls {
    padding: 2.5rem 1rem 1rem;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
  }

  .media-nav-buttons {
    order: -1;
    width: 100%;
    justify-content: center;
  }

  .media-counter {
    font-size: 0.85rem;
  }

  .media-btn {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }

  .media-dot {
    width: 10px;
    height: 10px;
  }

  .media-dot.active {
    width: 24px;
  }

  .media-badge {
    top: 1rem;
    right: 1rem;
    font-size: 0.65rem;
    padding: 0.4rem 0.8rem;
  }
}

/* ============================================================
   PREMIUM MODAL LAYOUT — Inspired by Airbnb & Booking.com
   ============================================================ */

.modal {
  border-radius: 1rem !important;
  max-width: 1100px !important;
  overflow-y: auto !important;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25) !important;
}

.modal > div > div {
  display: flex;
  flex-direction: column;
}

.modal .media-gallery {
  border-radius: 1rem 1rem 0 0;
  height: 600px;
  margin-bottom: 0;
}

/* Modal typography hierarchy */
.modal h1 {
  font-size: 2rem;
  color: var(--forest-green);
  line-height: 1.3;
  margin-bottom: 1rem;
  font-weight: 700;
}

.modal h3 {
  font-size: 1.375rem;
  color: var(--forest-green);
  font-weight: 700;
  margin-bottom: 1.5rem;
  font-family: var(--font-headline);
}

.modal .text-base {
  font-size: 1rem;
  line-height: 1.6;
}

/* Amenity cards styling */
.modal .grid-cols-2.sm\:grid-cols-4 > div {
  background: #fff;
  border: 1.5px solid #e5e5e5;
  border-radius: 0.75rem;
  padding: 1rem;
  text-align: center;
  transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
  cursor: pointer;
}

.modal .grid-cols-2.sm\:grid-cols-4 > div:hover {
  border-color: var(--forest-green);
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(27, 94, 63, 0.15);
}

.modal .grid-cols-2.sm\:grid-cols-4 > div span[style*="font-size: 2rem"] {
  display: block;
  margin-bottom: 0.75rem;
  font-size: 2.5rem !important;
}

.modal .grid-cols-2.sm\:grid-cols-4 > div p {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--forest-green);
}

/* Review cards styling */
.modal .bg-white.rounded-lg.p-5 {
  border: 1px solid #e5e5e5;
  background: linear-gradient(135deg, #fefefe 0%, #f9f9f9 100%);
  transition: all 0.35s ease;
}

.modal .bg-white.rounded-lg.p-5:hover {
  border-color: var(--gold);
  box-shadow: 0 6px 16px rgba(255, 165, 0, 0.12);
  transform: translateY(-2px);
}

.modal .bg-white.rounded-lg.p-5 p:nth-child(2) {
  color: #666;
  font-style: italic;
  font-size: 0.95rem;
  line-height: 1.5;
}

.modal .bg-white.rounded-lg.p-5 p:last-child {
  color: var(--forest-green);
  font-size: 0.85rem;
  font-weight: 700;
  margin-top: 0.75rem;
}

/* Pricing card styling */
.modal .bg-gradient-to-br {
  background: linear-gradient(135deg, var(--forest-green) 0%, var(--emerald) 100%) !important;
  border-radius: 0.875rem;
  position: relative;
  overflow: hidden;
}

.modal .bg-gradient-to-br::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.12) 0%, transparent 100%);
  pointer-events: none;
}

.modal .bg-gradient-to-br * {
  position: relative;
  z-index: 1;
}

.modal .bg-gradient-to-br .font-headline {
  font-size: 3rem;
  color: #fff;
}

.modal .bg-gradient-to-br .text-4xl {
  color: #fff;
}

/* Trust signal styling */
.modal .flex.items-center.gap-3 {
  padding: 1.25rem 0;
  border-bottom: 1px solid #e5e5e5;
}

.modal .flex.items-center.gap-3 svg {
  filter: drop-shadow(0 2px 4px rgba(255, 165, 0, 0.25));
}

.modal .flex.items-center.gap-3 span {
  font-weight: 600;
  color: var(--forest-green);
}

/* Rating summary card */
.modal .flex.flex-col.justify-between .mb-6.pb-6 {
  padding: 0;
  border-bottom: 1px solid #e5e5e5;
}

.modal .flex.items-center.gap-2 {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.modal .flex.items-center.gap-2 .font-headline {
  font-size: 1.75rem;
  color: var(--forest-green);
}

/* CTA Buttons styling */
.modal .space-y-3 {
  margin-top: 2rem;
}

.modal .btn-primary {
  background: var(--forest-green);
  color: #fff;
  border: none;
  padding: 1rem;
  border-radius: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(27, 94, 63, 0.2);
}

.modal .btn-primary:hover {
  background: var(--burnt-orange);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(217, 126, 58, 0.3);
}

.modal .btn-outline {
  border: 2px solid var(--forest-green);
  color: var(--forest-green);
  background: transparent;
  padding: 1rem;
  border-radius: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: all 0.3s ease;
}

.modal .btn-outline:hover {
  background: var(--forest-green);
  color: #fff;
  transform: translateY(-2px);
}

/* Responsive modal layout */
@media (max-width: 1024px) {
  .modal {
    max-width: 95% !important;
    border-radius: 1rem;
  }

  .modal .lg\:col-span-2 {
    border-right: none !important;
    border-bottom: 1px solid #e5e5e5;
  }

  .modal .lg\:col-span-1 {
    border-left: none !important;
    border-top: 1px solid #e5e5e5;
  }

  .modal .lg\:border-l {
    border-left: none !important;
  }

  .modal .lg\:border-r {
    border-right: none !important;
  }

  .modal h1 {
    font-size: 1.75rem;
  }

  .modal .media-gallery {
    height: 480px;
  }
}

@media (max-width: 768px) {
  .modal {
    max-width: 100% !important;
    max-height: 95vh !important;
    border-radius: 1.5rem 1.5rem 0 0 !important;
  }

  .modal-close {
    top: 1rem !important;
    right: 1rem !important;
    z-index: 20 !important;
  }

  .modal .media-gallery {
    aspect-ratio: auto;
    height: 380px;
    border-radius: 0;
  }

  .modal h1 {
    font-size: 1.5rem;
  }

  .modal h3 {
    font-size: 1.125rem;
    margin-bottom: 1rem;
  }

  .modal .p-8 {
    padding: 1.5rem;
  }

  .modal .lg\:col-span-2,
  .modal .lg\:col-span-1 {
    padding: 1.5rem;
  }

  .modal .grid-cols-2.sm\:grid-cols-4 {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }

  .modal .grid-cols-2.sm\:grid-cols-4 > div {
    padding: 0.75rem;
  }

  .modal .grid-cols-2.sm\:grid-cols-4 > div span[style*="font-size: 2rem"] {
    font-size: 2rem !important;
  }

  .modal .space-y-4 {
    gap: 1rem;
  }

  .modal .space-y-4 > div {
    padding: 1rem;
  }
}

/* ---------- FAQ Accordion ---------- */
.faq-item { border-bottom: 1px solid #e5e5e5; }
.faq-question {
  display: flex; justify-content: space-between; align-items: center;
  padding: 1.25rem 0; cursor: pointer; font-family: var(--font-ui);
  font-weight: 600; font-size: 1rem;
}
.faq-question .faq-icon { transition: transform 0.3s; font-size: 1.25rem; }
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.4s ease, padding 0.3s; }
.faq-item.open .faq-answer { max-height: 600px; padding-bottom: 1.25rem; }

/* ============================================================
   HAMBURGER BUTTON — Premium redesign
   ============================================================ */
.hamburger {
  display: none;
  flex-direction: column;
  align-items: flex-end;         /* staggered-width bars align right */
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  padding: 0.55rem 0.65rem;
  z-index: 102;
  background: var(--forest-green);
  border-radius: 0.5rem;
  border: none;
  min-width: 44px;
  min-height: 44px;
  position: relative;
  overflow: hidden;
  transition: background 0.35s ease;
}
/* Gold wash sweep on hover */
.hamburger::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s cubic-bezier(0.23, 1, 0.32, 1);
  border-radius: inherit;
}
.hamburger:hover::after { transform: scaleX(1); }
.hamburger.open { background: var(--burnt-orange); }
.hamburger.open::after { transform: scaleX(0); }

/* White bars — z-index above the shimmer layer */
.hamburger span {
  display: block;
  height: 2px;
  background: #ffffff;
  border-radius: 2px;
  position: relative;
  z-index: 1;
  transition: width 0.3s ease,
              transform 0.4s cubic-bezier(0.23, 1, 0.32, 1),
              opacity 0.3s ease;
}
.hamburger span:nth-child(1) { width: 22px; }
.hamburger span:nth-child(2) { width: 14px; } /* short middle — asymmetric design */
.hamburger span:nth-child(3) { width: 22px; }
.hamburger:hover span:nth-child(2) { width: 22px; } /* extend on hover */

/* Open state → morph to × */
.hamburger.open span:nth-child(1) { transform: translateY(7px)  rotate(45deg);  width: 22px; }
.hamburger.open span:nth-child(2) { transform: translateX(10px); opacity: 0;     width: 22px; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); width: 22px; }

/* ============================================================
   MOBILE NAV DRAWER — Premium dark-forest slide panel
   ============================================================ */

/* Hide mobile-only brand block on desktop */
.nav-mobile-brand { display: none; }

@media (max-width: 1023px) {
  .hamburger { display: flex; }

  .nav-links {
    display: flex !important;                          /* override Tailwind hidden */
    position: fixed;
    top: 0; right: -100%;
    width: 82%; max-width: 360px;
    height: 100vh; height: 100dvh;                    /* notch-safe */
    background: linear-gradient(155deg, #1a5a3a 0%, #0f3022 60%, #0a1f16 100%);
    flex-direction: column;
    gap: 0; padding: 0;
    box-shadow: -12px 0 60px rgba(0, 0, 0, 0.4);
    transition: right 0.45s cubic-bezier(0.23, 1, 0.32, 1);
    z-index: 100;
    overflow-y: auto;
    overflow-x: hidden;
  }
  .nav-links.open { right: 0; }

  /* Decorative gold pin-stripe at very top */
  .nav-links::before {
    content: '';
    display: block;
    flex-shrink: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--gold), var(--burnt-orange), var(--gold));
  }

  /* Brand header area (populated by JS .nav-mobile-brand) */
  .nav-mobile-brand {
    padding: 4rem 1.75rem 1.25rem;
    background: rgba(0, 0, 0, 0.25);
    border-bottom: 1px solid rgba(255, 165, 0, 0.2);
    flex-shrink: 0;
  }
  .nav-mobile-brand-inner {
    display: flex;
    align-items: center;
    gap: 0.85rem;
  }
  .nav-mobile-brand-icon {
    width: 46px; height: 46px;
    border-radius: 50%;
    background: var(--gold);
    color: var(--deep-navy);
    font-family: var(--font-headline);
    font-weight: 800;
    font-size: 1.05rem;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 0 0 3px rgba(255,165,0,0.25);
  }
  .nav-mobile-brand-name {
    display: block;
    font-family: var(--font-headline);
    font-weight: 700;
    color: #ffffff;
    font-size: 1.15rem;
    line-height: 1.25;
    letter-spacing: 0.01em;
  }
  .nav-mobile-brand-amp {
    color: var(--gold);
    font-style: italic;
  }
  .nav-mobile-brand-tag {
    display: block;
    font-family: var(--font-ui);
    font-size: 0.62rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: rgba(255, 165, 0, 0.7);
    margin-top: 4px;
  }

  /* Nav items — stagger slide-in when drawer opens */
  .nav-links li {
    transform: translateX(30px);
    opacity: 0;
    transition: transform 0.35s ease, opacity 0.35s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  }
  .nav-links.open li               { transform: translateX(0); opacity: 1; }
  .nav-links.open li:nth-child(1)  { transition-delay: 0.07s; }
  .nav-links.open li:nth-child(2)  { transition-delay: 0.12s; }
  .nav-links.open li:nth-child(3)  { transition-delay: 0.17s; }
  .nav-links.open li:nth-child(4)  { transition-delay: 0.22s; }
  .nav-links.open li:nth-child(5)  { transition-delay: 0.27s; }
  .nav-links.open li:nth-child(6)  { transition-delay: 0.32s; }
  .nav-links.open li:nth-child(7)  { transition-delay: 0.37s; }

  /* Each link row */
  .nav-links li a {
    display: flex;
    align-items: center;
    padding: 1rem 2rem;
    color: rgba(255, 255, 255, 0.78) !important;
    font-family: var(--font-ui);
    font-size: 0.92rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    position: relative;
    text-decoration: none;
    transition: color 0.25s ease, padding-left 0.25s ease, background 0.25s ease;
  }
  /* Gold left-bar indicator */
  .nav-links li a::before {
    content: '';
    position: absolute;
    left: 0; top: 18%; height: 64%;
    width: 3px;
    background: var(--gold);
    border-radius: 0 3px 3px 0;
    transform: scaleY(0);
    transition: transform 0.25s ease;
  }
  .nav-links li a:hover {
    color: #ffffff !important;
    background: rgba(255, 255, 255, 0.06);
    padding-left: 2.5rem;
  }
  .nav-links li a:hover::before { transform: scaleY(1); }

  /* Book Now CTA — last item, gold button */
  .nav-links li:last-child {
    margin-top: 0.5rem;
    padding: 1rem 1.75rem 2.5rem;
    border: none;
  }
  .nav-links li:last-child a.btn {
    display: flex !important;
    justify-content: center;
    width: 100%;
    background: var(--gold) !important;
    color: var(--deep-navy) !important;
    font-size: 0.875rem;
    font-weight: 700 !important;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 0.9rem 1.5rem;
    border-radius: 0.5rem !important;
    transition: background 0.3s, color 0.3s;
  }
  .nav-links li:last-child a.btn:hover {
    background: var(--burnt-orange) !important;
    color: #ffffff !important;
    padding-left: 1.5rem; /* prevent link-hover indent */
  }
  .nav-links li:last-child a.btn::before { display: none !important; }

  /* Overlay with blur */
  .nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    z-index: 99;
  }
  .nav-overlay.open { display: block; }
}

/* ---------- Filter Toggle (mobile) ---------- */
.filter-toggle { display: none; }
@media (max-width: 1023px) {
  .filter-toggle { display: inline-flex; }
  .filters-panel { display: none; }
  .filters-panel.open { display: block; }
}

/* ---------- Lazy image placeholder ---------- */
img[data-src] { background: #eee; }

/* ---------- Newsletter ---------- */
.newsletter-input {
  padding: 0.85rem 1.25rem; border: none; border-radius: 0.5rem 0 0 0.5rem;
  font-family: var(--font-body); font-size: 1rem; flex: 1; min-height: 44px;
  outline: none;
}
.newsletter-btn {
  padding: 0.85rem 1.75rem; border: none; border-radius: 0 0.5rem 0.5rem 0;
  background: var(--gold); color: var(--deep-navy); font-family: var(--font-ui);
  font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em;
  cursor: pointer; font-size: 0.875rem; transition: background 0.3s;
}
.newsletter-btn:hover { background: var(--burnt-orange); color: #fff; }

/* ---------- Misc ---------- */
.text-forest { color: var(--forest-green); }
.text-gold { color: var(--gold); }
.text-orange { color: var(--burnt-orange); }
.bg-forest { background: var(--forest-green); }
.bg-gold { background: var(--gold); }
.bg-cream { background: var(--soft-cream); }
.bg-sage { background: var(--light-sage); }
.bg-beige { background: var(--warm-beige); }

/* Hide scrollbar for carousel */
.no-scrollbar::-webkit-scrollbar { display: none; }
.no-scrollbar { -ms-overflow-style: none; scrollbar-width: none; }

/* ---------- Amenity icons ---------- */
.amenity-icon {
  display: inline-flex; align-items: center; gap: 0.35rem;
  font-size: 0.8rem; color: #555; font-family: var(--font-ui);
}

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  position: relative; min-height: 45vh;
  display: flex; align-items: center; justify-content: center;
  text-align: center; color: #fff; overflow: hidden;
}

/* ---------- Breadcrumb ---------- */
.breadcrumb { font-family: var(--font-ui); font-size: 0.85rem; display: flex; gap: 0.5rem; flex-wrap: wrap; }
.breadcrumb a { color: var(--gold); }
.breadcrumb span { color: rgba(255,255,255,0.7); }

/* Form styles */
.form-input {
  width: 100%; padding: 0.85rem 1rem; border: 1px solid #ddd;
  border-radius: 0.5rem; font-family: var(--font-body); font-size: 1rem;
  transition: border-color 0.3s; outline: none; min-height: 44px;
}
.form-input:focus { border-color: var(--forest-green); box-shadow: 0 0 0 3px rgba(27,94,63,0.1); }
.form-label { display: block; font-family: var(--font-ui); font-weight: 600; font-size: 0.875rem; margin-bottom: 0.5rem; }
.form-error { color: var(--coral); font-size: 0.8rem; margin-top: 0.25rem; display: none; }
.form-input.invalid { border-color: var(--coral); }
.form-input.invalid + .form-error { display: block; }

/* ========================================
   GLOBAL UX COMPONENTS
   ======================================== */

/* ---------- Page Preloader ---------- */
#ts-preloader {
  position: fixed; inset: 0; z-index: 99999;
  background: var(--forest-green);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}
#ts-preloader.hide { opacity: 0; visibility: hidden; pointer-events: none; }
.preloader-logo {
  font-family: var(--font-headline); color: #fff; font-size: 2.5rem;
  font-weight: 800; letter-spacing: 0.02em;
}
.preloader-logo span { color: var(--gold); }
.preloader-tagline {
  font-family: var(--font-ui); color: rgba(255,255,255,0.6);
  font-size: 0.7rem; letter-spacing: 0.35em; text-transform: uppercase;
  margin-top: 0.5rem;
}
.preloader-bar-wrap {
  width: 180px; height: 3px; background: rgba(255,255,255,0.2);
  border-radius: 9999px; margin-top: 2rem; overflow: hidden;
}
.preloader-bar {
  height: 100%; width: 0; background: var(--gold);
  border-radius: 9999px;
  animation: preloaderFill 1.4s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}
@keyframes preloaderFill {
  0%   { width: 0%; }
  60%  { width: 75%; }
  100% { width: 100%; }
}

/* ---------- Back to Top ---------- */
#back-to-top {
  position: fixed; bottom: 7rem; right: 1.5rem; z-index: 500;
  width: 48px; height: 48px; border-radius: 9999px;
  background: var(--forest-green); color: #fff; border: none;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 15px rgba(27,94,63,0.35);
  opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: opacity 0.3s, visibility 0.3s, transform 0.3s, background 0.3s;
}
#back-to-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
#back-to-top:hover { background: var(--gold); transform: translateY(-3px); }
#back-to-top svg { width: 20px; height: 20px; }

/* ---------- WhatsApp Floating Button ---------- */
#whatsapp-btn {
  position: fixed; bottom: 2rem; right: 1.5rem; z-index: 500;
  width: 56px; height: 56px; border-radius: 9999px;
  background: #25D366; color: #fff; border: none;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.45);
  text-decoration: none;
  animation: waPulse 2.5s ease-in-out infinite;
}
#whatsapp-btn:hover { background: #20ba5a; transform: scale(1.1); color: #fff; animation: none; }
#whatsapp-btn svg { width: 28px; height: 28px; }
@keyframes waPulse {
  0%, 100% { box-shadow: 0 4px 20px rgba(37,211,102,0.45); }
  50%       { box-shadow: 0 4px 30px rgba(37,211,102,0.75), 0 0 0 10px rgba(37,211,102,0.12); }
}
.wa-tooltip {
  position: absolute; right: calc(100% + 12px); top: 50%;
  transform: translateY(-50%); white-space: nowrap;
  background: #1a1a1a; color: #fff; font-family: var(--font-ui);
  font-size: 0.75rem; font-weight: 600; padding: 0.45rem 0.85rem;
  border-radius: 0.5rem; pointer-events: none;
  opacity: 0; transition: opacity 0.25s;
}
.wa-tooltip::after {
  content: ''; position: absolute; left: 100%; top: 50%;
  transform: translateY(-50%);
  border: 6px solid transparent; border-left-color: #1a1a1a;
}
#whatsapp-btn:hover .wa-tooltip { opacity: 1; }

/* ---------- Sticky Mobile CTA Bar ---------- */
#mobile-cta-bar {
  position: fixed; bottom: 0; left: 0; width: 100%; z-index: 490;
  background: var(--forest-green);
  display: none; /* shown via JS on mobile */
  padding: 0.85rem 1.25rem;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.15);
  align-items: center; justify-content: space-between; gap: 0.75rem;
}
#mobile-cta-bar .cta-text { color: #fff; font-family: var(--font-ui); font-size: 0.85rem; }
#mobile-cta-bar .cta-text strong { display: block; font-size: 1rem; }
#mobile-cta-bar .cta-actions { display: flex; gap: 0.5rem; flex-shrink: 0; }
#mobile-cta-bar a {
  display: flex; align-items: center; justify-content: center;
  border-radius: 0.5rem; font-family: var(--font-ui); font-weight: 700;
  font-size: 0.78rem; padding: 0.55rem 1rem; text-transform: uppercase;
  letter-spacing: 0.05em; min-height: 40px; transition: all 0.25s;
}
#mobile-cta-bar .cta-wa { background: #25D366; color: #fff; }
#mobile-cta-bar .cta-wa:hover { background: #20ba5a; color: #fff; }
#mobile-cta-bar .cta-book { background: var(--gold); color: var(--deep-navy); }
#mobile-cta-bar .cta-book:hover { background: var(--burnt-orange); color: #fff; }
#mobile-cta-bar .cta-dismiss {
  background: none; border: none; color: rgba(255,255,255,0.5);
  cursor: pointer; font-size: 1.1rem; padding: 0.25rem; flex-shrink: 0;
}
@media (max-width: 767px) {
  #mobile-cta-bar { display: flex; }
  /* push back-to-top above the bar */
  #back-to-top { bottom: 5.5rem; }
}

/* ---------- Cookie Consent Banner ---------- */
#cookie-banner {
  position: fixed; bottom: 0; left: 0; width: 100%; z-index: 800;
  background: var(--deep-navy); color: #fff;
  padding: 1rem 1.5rem;
  display: flex; flex-wrap: wrap; align-items: center; gap: 1rem;
  justify-content: space-between;
  transform: translateY(100%);
  transition: transform 0.5s cubic-bezier(0.34, 1.2, 0.64, 1);
}
#cookie-banner.show { transform: translateY(0); }
.cookie-text { font-size: 0.85rem; color: rgba(255,255,255,0.8); flex: 1; min-width: 200px; }
.cookie-text a { color: var(--gold); text-decoration: underline; }
.cookie-actions { display: flex; gap: 0.75rem; flex-shrink: 0; flex-wrap: wrap; }
.cookie-accept {
  background: var(--gold); color: var(--deep-navy); border: none;
  font-family: var(--font-ui); font-weight: 700; font-size: 0.8rem;
  text-transform: uppercase; letter-spacing: 0.06em;
  padding: 0.55rem 1.25rem; border-radius: 0.375rem;
  cursor: pointer; transition: background 0.3s;
}
.cookie-accept:hover { background: var(--gold-light); }
.cookie-decline {
  background: transparent; color: rgba(255,255,255,0.6);
  border: 1px solid rgba(255,255,255,0.2);
  font-family: var(--font-ui); font-size: 0.8rem;
  padding: 0.55rem 1rem; border-radius: 0.375rem;
  cursor: pointer; transition: all 0.3s;
}
.cookie-decline:hover { color: #fff; border-color: #fff; }
@media (max-width: 640px) {
  #mobile-cta-bar ~ #cookie-banner,
  #cookie-banner { bottom: 0; }
}

/* ---------- Feature Strip (below navbar) ---------- */
#feature-strip {
  background: var(--deep-navy); color: rgba(255,255,255,0.85);
  font-family: var(--font-ui); font-size: 0.78rem; font-weight: 500;
  letter-spacing: 0.04em; overflow: hidden; height: 36px;
  display: flex; align-items: center;
  position: relative; z-index: 49;
  margin-top: 64px; /* navbar height */
}
@media (min-width: 1024px) { #feature-strip { margin-top: 80px; } }
.strip-track {
  display: flex; gap: 0; align-items: center;
  animation: stripScroll 28s linear infinite;
  white-space: nowrap;
}
.strip-track:hover { animation-play-state: paused; }
.strip-item {
  display: flex; align-items: center; gap: 0.4rem;
  padding: 0 2rem;
  border-right: 1px solid rgba(255,255,255,0.1);
}
.strip-item span { color: var(--gold); }
@keyframes stripScroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ---------- Modernized Live Chat Widget ---------- */
#ts-chat-fab {
  position: fixed; bottom: 24px; right: 24px; z-index: 9999;
  width: 60px; height: 60px; border-radius: 50%;
  background: linear-gradient(135deg,#1B5E3F,#2D7A4A);
  color: #fff; border: none; cursor: pointer;
  box-shadow: 0 4px 20px rgba(0,0,0,.25);
  display: flex; align-items: center; justify-content: center;
  transition: transform .2s,box-shadow .2s;font-size:1.5rem;
}
#ts-chat-fab:hover { transform:scale(1.08); box-shadow:0 6px 28px rgba(0,0,0,.35); }
#ts-chat-fab .ts-unread {
  position: absolute; top: -2px; right: -2px;
  min-width: 20px; height: 20px; border-radius: 10px;
  background: #e74c3c; color: #fff; font-size: .7rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  padding: 0 5px; border: 2px solid #fff;
  box-shadow: 0 2px 8px rgba(231,76,60,0.15);
}

#ts-chat-box {
  position: fixed; bottom: 96px; right: 24px; z-index: 9999;
  width: 370px; max-width: calc(100vw - 32px); height: 500px; max-height: calc(100vh - 120px);
  border-radius: 16px; background: #fff;
  box-shadow: 0 8px 40px rgba(0,0,0,.18);
  display: none; flex-direction: column; overflow: hidden;
  font-family: Inter,Montserrat,system-ui,sans-serif;
}
#ts-chat-box.open { display: flex; }
.ts-chat-head {
  background: linear-gradient(135deg,#1B5E3F,#2D7A4A); color: #fff;
  padding: 16px 18px; display: flex; align-items: center; justify-content: space-between; flex-shrink: 0;
}
.ts-chat-head h4 { margin:0; font-size:.95rem; font-weight:700; }
.ts-chat-head p { margin:2px 0 0; font-size:.7rem; opacity:.8; }
.ts-chat-close { background:none; border:none; color:#fff; font-size:1.3rem; cursor:pointer; padding:4px 8px; border-radius:8px; line-height:1; }
.ts-chat-close:hover { background:rgba(255,255,255,.15); }
.ts-chat-msgs { flex:1; overflow-y:auto; padding:16px; display:flex; flex-direction:column; gap:10px; background:#f8faf9; }
.ts-chat-msgs::-webkit-scrollbar{width:5px;}.ts-chat-msgs::-webkit-scrollbar-thumb{background:#ccc;border-radius:3px;}
.ts-chat-welcome { text-align:center; padding:30px 20px; color:#666; }
.ts-chat-welcome .ts-logo { font-size:2.5rem; margin-bottom:8px; }
.ts-msg { display:flex; align-items:flex-end; gap:8px; margin-bottom:2px; }
.ts-msg.user { justify-content:flex-end; }
.ts-msg.admin { justify-content:flex-start; }
.ts-avatar { width:32px; height:32px; border-radius:50%; background:#e8f4f0; display:flex; align-items:center; justify-content:center; font-size:1.3rem; box-shadow:0 1px 4px rgba(0,0,0,0.06); }
.ts-avatar.admin { background:#f5e6d3; }
.ts-avatar.user { background:#e8f4f0; }
.ts-bubble { max-width: 75vw; max-width: 270px; padding: 10px 16px; border-radius: 18px; font-size: .97rem; line-height: 1.5; background: #fff; color: #222; box-shadow: 0 1px 6px rgba(0,0,0,0.04); position:relative; }
.ts-msg.user .ts-bubble { background: linear-gradient(135deg,#e8f4f0,#d1f2eb); color: #1B5E3F; border-bottom-right-radius: 6px; border-bottom-left-radius: 18px; }
.ts-msg.admin .ts-bubble { background: linear-gradient(135deg,#f5e6d3,#fff6e5); color: #8a5a13; border-bottom-left-radius: 6px; border-bottom-right-radius: 18px; }
.ts-time { display:block; font-size:.72rem; color:#aaa; margin-top:4px; text-align:right; }
.ts-typing { display:flex; align-items:center; gap:4px; height:18px; margin:0 0 8px 0; padding-left:2px; }
.ts-typing span{width:7px;height:7px;background:#999;border-radius:50%;animation:ts-bounce .6s infinite alternate;}
.ts-typing span:nth-child(2){animation-delay:.2s;}.ts-typing span:nth-child(3){animation-delay:.4s;}
@keyframes ts-bounce{to{opacity:.3;transform:translateY(-4px);}}
@media(max-width:480px){#ts-chat-box{bottom:0;right:0;width:100%;max-width:100%;height:100vh;max-height:100vh;border-radius:0;}#ts-chat-fab{bottom:16px;right:16px;width:54px;height:54px;}}
@media(max-width:767px){#ts-chat-fab{bottom:5rem;}#ts-chat-box{bottom:0;}}

/* ========================================
   ANIMATION SYSTEM
   ======================================== */

/* ---------- Scroll Progress Bar ---------- */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; z-index: 9999;
  background: linear-gradient(90deg, var(--gold), var(--burnt-orange), var(--forest-green));
  width: 0%; transition: width 0.05s linear;
}

/* ---------- Scroll-Reveal Directions ---------- */
.fade-up, .fade-down, .fade-left, .fade-right, .fade-scale, .fade-rotate {
  opacity: 0; transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: opacity, transform;
}
.fade-up    { transform: translateY(50px); }
.fade-down  { transform: translateY(-50px); }
.fade-left  { transform: translateX(-60px); }
.fade-right { transform: translateX(60px); }
.fade-scale { transform: scale(0.85); }
.fade-rotate{ transform: rotate(-3deg) translateY(30px); }

.fade-up.animate-in, .fade-down.animate-in, .fade-left.animate-in,
.fade-right.animate-in, .fade-scale.animate-in, .fade-rotate.animate-in {
  opacity: 1; transform: translate(0,0) scale(1) rotate(0deg);
}

/* Stagger delay utilities 1–12 */
.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }
.stagger-5 { transition-delay: 0.5s; }
.stagger-6 { transition-delay: 0.6s; }
.stagger-7 { transition-delay: 0.7s; }
.stagger-8 { transition-delay: 0.8s; }
.stagger-9 { transition-delay: 0.9s; }
.stagger-10{ transition-delay: 1.0s; }
.stagger-11{ transition-delay: 1.1s; }
.stagger-12{ transition-delay: 1.2s; }

/* ---------- Hero Slideshow + Ken Burns ---------- */
.hero-slideshow {
  position: absolute; inset: 0; z-index: 0;
}
.hero-slideshow .slide {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: 0; transition: opacity 1.5s ease-in-out;
  animation: kenBurns 20s ease-in-out infinite alternate;
}
.hero-slideshow .slide.active { opacity: 1; }
.hero-slideshow .slide:nth-child(1) { animation-delay: 0s; }
.hero-slideshow .slide:nth-child(2) { animation-delay: -5s; }
.hero-slideshow .slide:nth-child(3) { animation-delay: -10s; }
.hero-slideshow .slide:nth-child(4) { animation-delay: -15s; }

@keyframes kenBurns {
  0%   { transform: scale(1) translate(0, 0); }
  50%  { transform: scale(1.12) translate(-1.5%, -1%); }
  100% { transform: scale(1.05) translate(1%, 0.5%); }
}

/* ---------- Floating Particles ---------- */
.particles {
  position: absolute; inset: 0; z-index: 1; overflow: hidden; pointer-events: none;
}
.particle {
  position: absolute; border-radius: 50%; opacity: 0;
  animation: particleFloat linear infinite;
}
.particle--gold { background: radial-gradient(circle, rgba(255,165,0,0.5), transparent 70%); }
.particle--white { background: radial-gradient(circle, rgba(255,255,255,0.35), transparent 70%); }

@keyframes particleFloat {
  0%   { opacity: 0; transform: translateY(0) scale(0.5); }
  15%  { opacity: 1; }
  85%  { opacity: 1; }
  100% { opacity: 0; transform: translateY(-100vh) scale(1); }
}

/* ---------- Typewriter ---------- */
.typewriter-cursor::after {
  content: '|';
  animation: cursorBlink 0.7s infinite;
  color: var(--gold);
  font-weight: 300;
  margin-left: 2px;
}
@keyframes cursorBlink {
  0%, 100% { opacity: 1; } 50% { opacity: 0; }
}

/* ---------- Gradient Animated Text ---------- */
.gradient-text {
  background: linear-gradient(90deg, var(--gold), var(--burnt-orange), var(--gold));
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradientShift 4s ease-in-out infinite;
}
@keyframes gradientShift {
  0%   { background-position: 0% center; }
  50%  { background-position: 100% center; }
  100% { background-position: 0% center; }
}

/* ---------- Button Shimmer ---------- */
.btn-shimmer { position: relative; overflow: hidden; }
.btn-shimmer::after {
  content: '';
  position: absolute; top: -50%; left: -50%;
  width: 200%; height: 200%;
  background: linear-gradient(90deg, transparent 30%, rgba(255,255,255,0.25) 50%, transparent 70%);
  transform: rotate(25deg) translateX(-120%);
  animation: shimmer 3s ease-in-out infinite;
}
@keyframes shimmer {
  0%, 100% { transform: rotate(25deg) translateX(-120%); }
  50%      { transform: rotate(25deg) translateX(120%); }
}

/* ---------- Pulse Glow (CTA) ---------- */
.pulse-glow {
  animation: pulseGlow 2.5s ease-in-out infinite;
}
@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 0 5px rgba(255,165,0,0.3); }
  50%      { box-shadow: 0 0 25px rgba(255,165,0,0.5), 0 0 50px rgba(255,165,0,0.2); }
}

/* ---------- Counter Number ---------- */
.counter-value {
  display: inline-block;
  font-variant-numeric: tabular-nums;
}

/* ---------- Tilt Card Effect ---------- */
.tilt-card {
  transition: transform 0.15s ease-out;
  transform-style: preserve-3d;
}
.tilt-card:hover { transform: perspective(800px) rotateY(0deg) rotateX(0deg); }

/* ---------- Image Reveal ---------- */
.img-reveal {
  position: relative; overflow: hidden;
}
.img-reveal::after {
  content: ''; position: absolute; inset: 0;
  background: var(--forest-green);
  transform: scaleX(1); transform-origin: left;
  transition: transform 0.8s cubic-bezier(0.77, 0, 0.175, 1);
}
.img-reveal.animate-in::after {
  transform: scaleX(0); transform-origin: right;
}

/* ---------- Magnetic Button ---------- */
.btn-magnetic {
  transition: transform 0.2s ease-out;
}

/* ---------- Decorative Blobs ---------- */
.blob {
  position: absolute; border-radius: 50%;
  filter: blur(60px); opacity: 0.15; pointer-events: none;
  animation: blobFloat 8s ease-in-out infinite alternate;
}
@keyframes blobFloat {
  0%   { transform: translate(0, 0) scale(1); }
  100% { transform: translate(30px, -20px) scale(1.1); }
}

/* ---------- Underline Hover (nav) ---------- */
.nav-hover-line {
  position: relative;
}
.nav-hover-line::after {
  content: ''; position: absolute; bottom: -4px; left: 0;
  width: 0; height: 2px; background: var(--gold);
  transition: width 0.3s ease;
}
.nav-hover-line:hover::after { width: 100%; }

/* ---------- Section Divider Wave ---------- */
.wave-divider {
  position: absolute; bottom: -1px; left: 0; width: 100%;
  overflow: hidden; line-height: 0;
}
.wave-divider svg {
  display: block; width: 100%; height: 60px;
}

/* ---------- Rotating Badge ---------- */
.rotate-badge {
  animation: spinSlow 12s linear infinite;
}
@keyframes spinSlow {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* ---------- Loading Skeleton ---------- */
.skeleton {
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: skeletonLoad 1.5s infinite;
  border-radius: 0.5rem;
}
@keyframes skeletonLoad {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* ---------- Enhanced Card Hover ---------- */
.card-enhanced {
  transition: all 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.card-enhanced:hover {
  transform: translateY(-10px);
  box-shadow: 0 25px 50px rgba(0,0,0,0.12);
}
.card-enhanced:hover img {
  transform: scale(1.08);
}
.card-enhanced img {
  transition: transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ---------- Text Reveal Line ---------- */
.text-reveal {
  overflow: hidden; display: inline-block;
}
.text-reveal span {
  display: inline-block;
  transform: translateY(110%);
  transition: transform 0.7s cubic-bezier(0.77, 0, 0.175, 1);
}
.text-reveal.animate-in span { transform: translateY(0); }

/* ---------- Gold Line Animated ---------- */
.gold-line-anim {
  width: 0; height: 3px; background: var(--gold);
  transition: width 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.3s;
}
.gold-line-anim.animate-in { width: 60px; }

/* ---------- Page hero Ken Burns ---------- */
.page-hero .hero-bg {
  animation: kenBurns 20s ease-in-out infinite alternate;
}

/* ---------- Smooth appearance for hero content ---------- */
.hero-content-anim > * {
  opacity: 0; transform: translateY(30px);
  animation: heroItemIn 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}
.hero-content-anim > *:nth-child(1) { animation-delay: 0.3s; }
.hero-content-anim > *:nth-child(2) { animation-delay: 0.6s; }
.hero-content-anim > *:nth-child(3) { animation-delay: 0.9s; }
.hero-content-anim > *:nth-child(4) { animation-delay: 1.2s; }
.hero-content-anim > *:nth-child(5) { animation-delay: 1.5s; }

@keyframes heroItemIn {
  to { opacity: 1; transform: translateY(0); }
}

/* ---------- Responsive reductions ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .fade-up, .fade-down, .fade-left, .fade-right, .fade-scale, .fade-rotate {
    opacity: 1; transform: none;
  }
}

/* ========================================
   Premium Services Grid (Airbnb-inspired)
   ======================================== */

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 300px;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

/* Large featured card - spans 2 columns and 2 rows */
.service-card-lg {
  grid-column: span 2;
  grid-row: span 2;
  cursor: pointer;
  display: block;
  text-decoration: none;
}

/* Medium cards - span 2 columns, 1 row */
.service-card-md {
  grid-column: span 2;
  grid-row: span 1;
  cursor: pointer;
  display: block;
  text-decoration: none;
}

/* Small cards - span 1 column, 1 row */
.service-card-sm {
  grid-column: span 1;
  grid-row: span 1;
  cursor: pointer;
  display: block;
  text-decoration: none;
}

/* Base card styling */
.service-card {
  position: relative;
  overflow: hidden;
  border-radius: 1.5rem;
  transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(27, 94, 63, 0.2);
}

.service-card:hover img {
  transform: scale(1.1);
}

.service-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Premium gradient overlays */
.service-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.3) 40%, rgba(0,0,0,0.6) 100%);
  pointer-events: none;
  z-index: 1;
}

/* Responsive: Tablet */
@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 280px;
    gap: 1.25rem;
  }

  .service-card-lg {
    grid-column: span 2;
    grid-row: span 2;
  }

  .service-card-md {
    grid-column: span 1;
    grid-row: span 1;
  }

  .service-card-sm {
    grid-column: span 1;
    grid-row: span 1;
  }
}

/* Responsive: Mobile tablet */
@media (max-width: 768px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 250px;
    gap: 1rem;
  }

  .service-card-lg {
    grid-column: span 2;
    grid-row: span 1;
  }

  .service-card-md {
    grid-column: span 1;
    grid-row: span 1;
  }

  .service-card-sm {
    grid-column: span 1;
    grid-row: span 1;
  }
}

/* Responsive: Mobile */
@media (max-width: 640px) {
  .services-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 220px;
    gap: 0.875rem;
  }

  .service-card-lg,
  .service-card-md,
  .service-card-sm {
    grid-column: span 1;
    grid-row: span 1;
  }

  .service-card {
    border-radius: 1.25rem;
  }
}

/* ========================================
   Premium Services Grid (Airbnb-inspired)
   ======================================== */

/* ---------- Brand Story Section ---------- */
.brand-story {
  position: relative;
  padding: 5rem 1.5rem;
  background: linear-gradient(135deg, #ffffff 0%, #f9f9f7 100%);
  overflow: hidden;
}

.brand-story::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(250,165,0,0.08) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.brand-story h2 {
  font-size: 3.5rem;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 1;
}

.brand-story p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #555;
}

.brand-story ul {
  list-style: none;
  padding: 0;
}

.brand-story li {
  display: flex;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(0,0,0,0.05);
}

.brand-story li:last-child {
  border-bottom: none;
}

.brand-story svg {
  flex-shrink: 0;
}

/* Feature Card with overlay image */
.feature-card {
  background: #fff;
  border-radius: 1.5rem;
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  box-shadow: 0 8px 25px rgba(0,0,0,0.06);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.feature-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 20px 50px rgba(27, 94, 63, 0.12);
}

.feature-card:hover img {
  transform: scale(1.15) rotate(2deg);
}

.feature-card img {
  transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.feature-card h3 {
  font-size: 1.3rem;
  color: var(--forest-green);
  margin-top: 0.5rem;
}

/* Premium Photo Gallery */
.photo-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  padding: 3rem 0;
}

.gallery-item {
  position: relative;
  border-radius: 1.5rem;
  overflow: hidden;
  aspect-ratio: 4/3;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.gallery-item:hover img {
  transform: scale(1.12) rotate(1deg);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(27, 94, 63, 0.7) 0%, rgba(26, 26, 26, 0.8) 100%);
  opacity: 0;
  transition: opacity 0.5s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #fff;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-overlay p {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.gallery-overlay span {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.8);
}

/* Premium Section Heading */
.premium-heading {
  text-align: center;
  margin-bottom: 3rem;
  position: relative;
}

.premium-heading::before {
  content: '';
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  border-radius: 2px;
}

.premium-heading h2 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.premium-heading p {
  font-size: 1.1rem;
  color: #666;
  max-width: 600px;
  margin: 0 auto;
}

/* Enhanced testimonial card */
.testimonial-premium {
  background: #fff;
  border-radius: 1.5rem;
  padding: 2rem;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  transition: all 0.4s ease;
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
}

.testimonial-premium::before {
  content: '"';
  position: absolute;
  top: -20px;
  right: -10px;
  font-size: 6rem;
  color: rgba(250, 165, 0, 0.1);
  font-family: var(--font-headline);
  pointer-events: none;
}

.testimonial-premium:hover {
  border-color: var(--gold);
  transform: translateY(-8px);
  box-shadow: 0 15px 40px rgba(27, 94, 63, 0.12);
}

.testimonial-premium .avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  margin-bottom: 1rem;
  border: 3px solid var(--gold);
  object-fit: cover;
}

.testimonial-premium .name {
  font-weight: 700;
  color: var(--forest-green);
  margin-bottom: 0.25rem;
}

.testimonial-premium .role {
  font-size: 0.85rem;
  color: #999;
  margin-bottom: 1rem;
}

.testimonial-premium .text {
  font-style: italic;
  color: #666;
  line-height: 1.7;
  margin-bottom: 1rem;
}

/* Stats section enhanced */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  text-align: center;
}

.stat-item {
  position: relative;
  padding: 2rem;
}

.stat-item .number {
  font-size: 3.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--gold), var(--burnt-orange));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 0.5rem;
  line-height: 1;
}

.stat-item .label {
  font-size: 1rem;
  color: var(--forest-green);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Premium CTA section */
.cta-premium {
  position: relative;
  padding: 6rem 2rem;
  background: linear-gradient(135deg, var(--forest-green) 0%, #0f3a22 50%, var(--deep-navy) 100%);
  border-radius: 2rem;
  overflow: hidden;
  color: #fff;
  text-align: center;
}

.cta-premium::before {
  content: '';
  position: absolute;
  top: -30%;
  left: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(250, 165, 0, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.cta-premium h2 {
  font-size: 2.8rem;
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
}

.cta-premium p {
  font-size: 1.1rem;
  max-width: 500px;
  margin: 0 auto 2rem;
  color: rgba(255, 255, 255, 0.9);
  position: relative;
  z-index: 1;
}

.cta-premium .btn {
  position: relative;
  z-index: 1;
}

/* Scroll indicator element */
.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  opacity: 0.7;
  animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(10px); }
}

.scroll-indicator svg {
  width: 24px;
  height: 24px;
  stroke: var(--gold);
  stroke-width: 2;
  fill: none;
  stroke-linecap: round;
}

/* Premium divider line */
.divider-premium {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(27, 94, 63, 0.2), transparent);
  margin: 2rem 0;
}

/* ========================================
   COMPREHENSIVE MOBILE & RESPONSIVE FIXES
   ======================================== */

/* --- Global overflow prevention --- */
html { overflow-x: hidden; }
body { overflow-x: hidden; max-width: 100vw; }
img  { max-width: 100%; height: auto; display: block; }

/* --- iOS input focus zoom prevention (≥16px stops auto-zoom) --- */
@media (max-width: 767px) {
  input[type="text"],
  input[type="email"],
  input[type="tel"],
  input[type="search"],
  input[type="number"],
  input[type="password"],
  select, textarea { font-size: 16px; }
}

/* --- Touch devices: disable hover-only effects --- */
@media (hover: none) and (pointer: coarse) {
  .tilt-card { transform: none !important; }
  .btn-magnetic { transform: none !important; }
  .card-enhanced:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1) !important;
  }
}

/* --- Keyboard focus accessibility --- */
:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ===== EXTRA SMALL SCREENS (<480px) ===== */
@media (max-width: 480px) {
  .section { padding: 2.5rem 1rem; }
  .section-subtitle { font-size: 0.875rem; margin-bottom: 1.75rem; }

  /* Hero */
  .hero { min-height: 100vh; }
  .hero-content { padding: 1rem 0.75rem; }

  /* Inner page hero */
  .page-hero { min-height: 40vh; }

  /* Typography scale down */
  h1, .h1 { font-size: 1.75rem; line-height: 1.2; }
  h2, .h2 { font-size: 1.35rem; }
  h3, .h3 { font-size: 1rem; }

  /* Shorter card images */
  .card .h-52, .h-52 { height: 9rem; }

  /* Footer */
  footer .grid { gap: 1.5rem; }
}

/* ===== SMALL MOBILE (<640px) ===== */
@media (max-width: 640px) {
  /* Feature strip: slimmer */
  #feature-strip { height: 28px; font-size: 0.67rem; letter-spacing: 0.025em; }
  .strip-item { padding: 0 0.9rem; }

  /* Carousel buttons */
  .carousel-btn { width: 36px; height: 36px; font-size: 0.875rem; }
  .carousel-btn.prev { left: 0.25rem; }
  .carousel-btn.next { right: 0.25rem; }

  /* Testimonials: tighter padding */
  .carousel-slide .bg-white { padding: 1.25rem; }

  /* Newsletter: stack vertically */
  footer form.flex { flex-wrap: wrap; gap: 0.4rem; }
  footer .newsletter-input  { border-radius: 0.5rem; width: 100%; }
  footer .newsletter-btn    { border-radius: 0.5rem; width: 100%; justify-content: center; }

  /* Reduce late stagger delays (animations feel slow on mobile) */
  .stagger-5,  .stagger-6  { transition-delay: 0.2s; }
  .stagger-7,  .stagger-8,
  .stagger-9,  .stagger-10,
  .stagger-11, .stagger-12  { transition-delay: 0.25s; }

  /* Gold underline centred */
  .section-title::after { margin: 0.5rem auto 0; }
}

/* ===== MOBILE (<768px) general ===== */
@media (max-width: 767px) {
  /* Preloader: smaller logo */
  .preloader-logo { font-size: 1.85rem; }

  /* FAQ */
  .faq-question { font-size: 0.9rem; padding: 1rem 0; }

  /* Modal: slide up from bottom */
  .modal-backdrop { align-items: flex-end; padding: 0; }
  .modal {
    border-radius: 1rem 1rem 0 0;
    max-height: 90vh;
    margin: 0;
    width: 100%;
  }

  /* Breadcrumb */
  .breadcrumb { font-size: 0.78rem; }

  /* Page hero h1 */
  .page-hero h1 { font-size: 1.9rem; }
}

/* ===== TABLET (768px–1023px) ===== */
@media (min-width: 768px) and (max-width: 1023px) {
  .section { padding: 4rem 2rem; }
  .page-hero { min-height: 50vh; }
}

/* ===== LARGE SCREENS (≥1440px) ===== */
@media (min-width: 1440px) {
  .container { max-width: 1380px; }
  .section { padding: 6rem 2rem; }
}

/* ===== SAFE AREA INSETS (notched phones / foldables) ===== */
@supports (padding-bottom: env(safe-area-inset-bottom)) {
  #mobile-cta-bar { padding-bottom: max(0.85rem, env(safe-area-inset-bottom)); }
  #cookie-banner  { padding-bottom: max(1rem,   env(safe-area-inset-bottom)); }
  .chat-panel     { padding-bottom: env(safe-area-inset-bottom); }
}
