/* ─── Google Fonts ─────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&family=Playfair+Display:ital,wght@0,400..900;1,400..900&display=swap');

/* ─── CSS Custom Properties ─────────────────────────────────── */
:root {
  --color-primary:             hsl(149,36%,21%);
  --color-primary-fg:          hsl(40,33%,98%);
  --color-secondary:           hsl(38,55%,52%);
  --color-secondary-fg:        hsl(150,28%,10%);
  --color-muted:               hsl(40,25%,93%);
  --color-muted-fg:            hsl(150,12%,45%);
  --color-foreground:          hsl(150,28%,14%);
  --color-background:          hsl(40,33%,98%);
  --color-border:              hsl(40,20%,85%);
  --color-accent:              hsl(185,38%,27%);
  --color-accent-fg:           hsl(40,33%,98%);
  --font-sans:                 'DM Sans', sans-serif;
  --font-serif:                'Playfair Display', serif;
  --radius:                    0.5rem;
  --shadow-sm:    0 2px 4px rgba(21,60,35,0.06), 0 1px 2px rgba(21,60,35,0.04);
  --shadow:       0 4px 8px rgba(21,60,35,0.08), 0 2px 4px rgba(21,60,35,0.05);
  --shadow-md:    0 6px 16px rgba(21,60,35,0.10), 0 2px 6px rgba(21,60,35,0.06);
  --shadow-lg:    0 12px 30px rgba(21,60,35,0.12), 0 4px 10px rgba(21,60,35,0.08);
  --shadow-xl:    0 20px 50px rgba(21,60,35,0.14), 0 8px 20px rgba(21,60,35,0.09);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  background-color: var(--color-background);
  color: var(--color-foreground);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

h1, h2, h3, h4 { font-family: var(--font-serif); }

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

a { text-decoration: none; color: inherit; }

/* ─── Brand Component Classes ───────────────────────────────── */

.section-green {
  background: var(--color-primary);
  color: var(--color-primary-fg);
}

.section-cream {
  background: hsl(40,33%,96%);
}

.whatsapp-btn {
  background: #25D366 !important;
  color: #fff !important;
  transition: background 0.2s;
}
.whatsapp-btn:hover { background: #20BD5C !important; }

.hero-gradient {
  background: linear-gradient(135deg, hsl(149,45%,12%) 0%, hsl(185,45%,18%) 50%, hsl(150,35%,22%) 100%);
}

.hero-overlay {
  background: linear-gradient(to right, rgba(21,55,35,0.88) 0%, rgba(21,55,35,0.55) 60%, rgba(21,55,35,0.20) 100%);
}

.hero-overlay-center {
  background: linear-gradient(to bottom, rgba(21,55,35,0.4) 0%, rgba(21,55,35,0.72) 60%, rgba(21,55,35,0.92) 100%);
}

.glass-nav {
  backdrop-filter: blur(16px) saturate(180%);
  background: rgba(255,255,255,0.88);
  border-bottom: 1px solid rgba(21,55,35,0.10);
}

.glass-nav-scrolled {
  backdrop-filter: blur(20px) saturate(200%);
  background: rgba(255,255,255,0.96);
  box-shadow: 0 2px 20px rgba(21,55,35,0.10);
}

.urgency-strip {
  background: linear-gradient(90deg, hsl(149,45%,16%) 0%, hsl(185,45%,22%) 50%, hsl(149,45%,16%) 100%);
}

.card-hover {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.card-hover:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

/* ─── Scroll-reveal Animations ───────────────────────────────── */
.fade-up {
  opacity: 1;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.stagger-1 { transition-delay: 0.08s; }
.stagger-2 { transition-delay: 0.16s; }
.stagger-3 { transition-delay: 0.24s; }
.stagger-4 { transition-delay: 0.32s; }
.stagger-5 { transition-delay: 0.40s; }

/* ─── Navbar ─────────────────────────────────────────────────── */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  transition: background 0.5s, padding 0.5s, box-shadow 0.5s;
  padding: 1rem 0;
}

#navbar.scrolled {
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(16px) saturate(180%);
  border-bottom: 1px solid var(--color-border);
  box-shadow: 0 1px 6px rgba(21,55,35,0.07);
  padding: 0.5rem 0;
}

#navbar.transparent {
  background: transparent;
}

.nav-link-transparent { color: rgba(255,255,255,0.9); }
.nav-link-transparent:hover { color: #fff; }
.nav-link-scrolled { color: var(--color-foreground); }
.nav-link-scrolled:hover { color: var(--color-primary); }

/* dropdown */
.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  padding-top: 6px;
  min-width: 12rem;
  z-index: 60;
}
.dropdown:hover .dropdown-menu,
.dropdown.open .dropdown-menu {
  display: block;
}
.dropdown-inner {
  background: #fff;
  border-radius: 0.75rem;
  box-shadow: 0 10px 40px rgba(21,55,35,0.18);
  border: 1px solid var(--color-border);
  overflow: hidden;
}
.dropdown-item {
  display: block;
  padding: 0.625rem 1rem;
  font-size: 0.875rem;
  color: var(--color-foreground);
  transition: background 0.15s, color 0.15s;
}
.dropdown-item:hover {
  background: var(--color-muted);
  color: var(--color-primary);
}

/* mobile menu */
#mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 40;
  background: #fff;
  padding-top: 4rem;
  overflow-y: auto;
}
#mobile-menu.open { display: block; }

/* mobile sticky bar */
#mobile-sticky {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 40;
  background: #fff;
  border-top: 1px solid var(--color-border);
}
@media (max-width: 1023px) {
  #mobile-sticky { display: flex; }
}
@media (min-width: 1024px) {
  #mobile-sticky { display: none !important; }
}

/* ─── Footer ─────────────────────────────────────────────────── */
footer {
  background: var(--color-primary);
  color: var(--color-primary-fg);
}

/* ─── Utilities ──────────────────────────────────────────────── */
.font-serif  { font-family: var(--font-serif); }
.font-sans   { font-family: var(--font-sans); }

/* page content pushed below fixed navbar */
.page-content { padding-top: 4rem; }

/* ─── Home hero ──────────────────────────────────────────────── */
.home-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.home-hero video,
.home-hero .hero-fallback-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* hero bottom scroll hint */
@keyframes scrollHint {
  0%,100% { opacity: 0.3; }
  50%       { opacity: 0.9; }
}
.scroll-hint { animation: scrollHint 2s ease-in-out infinite; }

/* ─── Photo strip hover ───────────────────────────────────────── */
.strip-photo-wrap {
  flex: 1;
  min-width: 0;
  overflow: hidden;
}
.strip-photo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}
.strip-photo-wrap:hover img { transform: scale(1.05); }

/* ─── Responsive helpers ─────────────────────────────────────── */
@media (max-width: 767px) {
  .md\:hidden { display: none !important; }
  .mobile-block { display: block !important; }
}
@media (min-width: 768px) {
  .mobile-only { display: none !important; }
}
@media (max-width: 1023px) {
  .lg\:hidden-up { display: none !important; }
}

/* ─── Star icon for reviews ──────────────────────────────────── */
.star-filled {
  display: inline-block;
  width: 0.875rem;
  height: 0.875rem;
  color: var(--color-secondary);
}

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

/* ─── Table ──────────────────────────────────────────────────── */
.data-table { width: 100%; border-collapse: collapse; font-size: 0.875rem; }
.data-table th { background: var(--color-primary); color: var(--color-primary-fg); padding: 1rem 1.5rem; text-align: left; font-weight: 500; }
.data-table td { padding: 1rem 1.5rem; color: var(--color-muted-fg); border-bottom: 1px solid var(--color-border); }
.data-table tr:last-child td { border-bottom: none; }

/* ─── FAQ accordion ──────────────────────────────────────────── */
.faq-item { border-bottom: 1px solid var(--color-border); }
.faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 1.25rem 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 500;
  color: var(--color-foreground);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  color: var(--color-muted-fg);
  font-size: 0.9375rem;
  line-height: 1.7;
}
.faq-answer.open {
  max-height: 500px;
  padding-bottom: 1.25rem;
}
.faq-chevron {
  transition: transform 0.3s ease;
  flex-shrink: 0;
  width: 1rem;
  height: 1rem;
  color: var(--color-muted-fg);
}
.faq-question.open .faq-chevron { transform: rotate(180deg); }

/* ─── Video iframe ───────────────────────────────────────────── */
.video-embed {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: 1rem;
}
.video-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ─── Booking form card ──────────────────────────────────────── */
.form-group { display: flex; flex-direction: column; gap: 0.375rem; }
.form-label { font-size: 0.875rem; font-weight: 500; color: var(--color-foreground); }
.form-input {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--color-border);
  border-radius: 0.625rem;
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  background: var(--color-background);
  color: var(--color-foreground);
  transition: border-color 0.2s;
}
.form-input:focus { outline: none; border-color: var(--color-primary); }
.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23697368' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  padding-right: 2.5rem;
}

/* ─── CTA banner (footer) ────────────────────────────────────── */
.cta-banner {
  position: relative;
  overflow: hidden;
  background: hsl(38,55%,52%);
  color: hsl(150,28%,10%);
}
.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.05;
  background-image: repeating-linear-gradient(45deg, currentColor 0, currentColor 1px, transparent 0, transparent 50%);
  background-size: 12px 12px;
  pointer-events: none;
}

/* ─── Footer link hover arrow ───────────────────────────────── */
.footer-link-arrow {
  display: inline-flex;
  width: 0;
  overflow: hidden;
  transition: width 0.2s;
}
.footer-link:hover .footer-link-arrow { width: 0.75rem; }
