/* ============================================================
   LOCUST GROVE RETREAT — Main Stylesheet
   ============================================================ */

/* ── Google Fonts ── */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&family=Inter:wght@300;400;500;600;700&display=swap');

/* ── Variables ── */
:root {
  --green:        #2C5F2E;
  --green-dark:   #1A3D1B;
  --green-light:  #4A7D4C;
  --gold:         #C9A96E;
  --gold-dark:    #A07840;
  --cream:        #FAF7F2;
  --brown:        #3D3028;
  --brown-light:  #7A6A5A;
  --border:       #E8E0D5;
  --white:        #FFFFFF;
  --red:          #dc3545;

  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans:  'Inter', system-ui, -apple-system, sans-serif;

  --nav-height: 72px;
  --max-width:  1200px;
  --radius:     8px;
  --shadow:     0 4px 24px rgba(0,0,0,0.10);
  --transition: all 0.3s ease;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: var(--font-sans); color: var(--brown); background: var(--cream); line-height: 1.65; -webkit-font-smoothing: antialiased; }
img  { max-width: 100%; display: block; }
a    { text-decoration: none; color: inherit; }
button { font-family: inherit; }

/* ── Typography ── */
h1, h2, h3, h4 { font-family: var(--font-serif); line-height: 1.15; }
h1 { font-size: clamp(2.4rem, 5.5vw, 4.5rem); }
h2 { font-size: clamp(1.75rem, 3vw, 2.6rem); }
h3 { font-size: clamp(1.2rem,  2vw, 1.5rem); }
p  { color: var(--brown-light); }

.section-label {
  display: block;
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: .72rem;
  font-weight: 600;
  color: var(--gold-dark);
  margin-bottom: .5rem;
}

/* ── Layout ── */
.container     { max-width: var(--max-width); margin: 0 auto; padding: 0 28px; }
.section       { padding: 88px 0; }
.section-header{ text-align: center; margin-bottom: 52px; }
.section-header h2 { margin-top: .4rem; }

/* ============================================================
   NAVIGATION
   ============================================================ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 900;
  height: var(--nav-height);
  padding: 0 28px;
  display: flex; align-items: center;
  transition: var(--transition);
}
.nav.scrolled {
  background: white;
  box-shadow: 0 2px 20px rgba(0,0,0,.09);
}
.nav-inner {
  max-width: var(--max-width); margin: 0 auto; width: 100%;
  display: flex; justify-content: space-between; align-items: center;
}
.nav-logo {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  color: white;
  transition: var(--transition);
  letter-spacing: .02em;
}
.nav.scrolled .nav-logo { color: var(--green-dark); }

.nav-links { display: flex; gap: 30px; list-style: none; }
.nav-links a {
  color: rgba(255,255,255,.88);
  font-size: .88rem; font-weight: 500;
  transition: var(--transition);
}
.nav.scrolled .nav-links a { color: var(--brown); }
.nav-links a:hover { color: var(--gold); }

.btn-nav-book {
  background: var(--gold);
  color: white;
  padding: 10px 26px;
  border-radius: 50px;
  font-weight: 600;
  font-size: .88rem;
  transition: var(--transition);
  white-space: nowrap;
}
.btn-nav-book:hover { background: var(--gold-dark); transform: translateY(-1px); }

.nav-toggle {
  display: none; flex-direction: column; gap: 5px;
  cursor: pointer; background: none; border: none; padding: 4px;
}
.nav-toggle span {
  display: block; width: 24px; height: 2px;
  background: white; border-radius: 2px;
  transition: var(--transition);
}
.nav.scrolled .nav-toggle span { background: var(--brown); }

/* Mobile menu */
.mobile-menu {
  position: fixed; inset: 0; z-index: 800;
  background: white;
  display: flex; flex-direction: column;
  justify-content: center; align-items: center; gap: 36px;
  transform: translateX(100%);
  transition: transform .4s cubic-bezier(.23,1,.32,1);
}
.mobile-menu.open { transform: translateX(0); }
.mobile-menu a {
  font-family: var(--font-serif);
  font-size: 2rem; color: var(--brown);
  transition: var(--transition);
}
.mobile-menu a:hover { color: var(--green); }
.mobile-menu-close {
  position: absolute; top: 24px; right: 28px;
  background: none; border: none;
  font-size: 2rem; color: var(--brown); cursor: pointer;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  height: 100vh; min-height: 640px;
  position: relative; overflow: hidden;
}
.hero-slides { position: absolute; inset: 0; }
.hero-slide {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: 0; transition: opacity 1.4s ease;
}
.hero-slide.active { opacity: 1; }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(
    to right,
    rgba(0,0,0,.82) 0%,
    rgba(0,0,0,.65) 40%,
    rgba(0,0,0,.30) 70%,
    rgba(0,0,0,.20) 100%
  );
}
/* Extra dark band at bottom for scroll hint */
.hero-overlay::after {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0; height: 180px;
  background: linear-gradient(to top, rgba(0,0,0,.55), transparent);
}
.hero-content {
  position: relative; z-index: 2;
  height: 100%;
  display: flex; flex-direction: column;
  justify-content: center; align-items: flex-start;
  max-width: var(--max-width); margin: 0 auto; padding: 0 28px;
  padding-top: var(--nav-height);
}
.hero-content-inner {
  background: linear-gradient(135deg, rgba(0,0,0,.45) 0%, rgba(0,0,0,.15) 100%);
  backdrop-filter: blur(2px);
  border-radius: 16px;
  padding: 40px 44px 44px;
  max-width: 640px;
  border: 1px solid rgba(255,255,255,.08);
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(201,169,110,.92); backdrop-filter: blur(6px);
  color: white; padding: 6px 18px; border-radius: 50px;
  font-size: .75rem; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
  margin-bottom: 18px;
}
.hero-title { color: #ffffff; margin-bottom: 18px; text-shadow: 0 2px 8px rgba(0,0,0,.9), 0 4px 24px rgba(0,0,0,.8); }
.hero-subtitle {
  color: #ffffff;
  font-size: 1.15rem; max-width: 560px;
  margin-bottom: 42px; line-height: 1.6;
  text-shadow: 0 1px 8px rgba(0,0,0,.9), 0 2px 16px rgba(0,0,0,.7);
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.btn-primary {
  background: var(--gold); color: white;
  padding: 16px 38px; border-radius: 50px;
  font-weight: 700; font-size: .98rem;
  transition: var(--transition);
  display: inline-flex; align-items: center; gap: 8px;
  border: none; cursor: pointer;
}
.btn-primary:hover { background: var(--gold-dark); transform: translateY(-2px); box-shadow: 0 8px 28px rgba(201,169,110,.38); }

.btn-ghost {
  background: rgba(255,255,255,.14); backdrop-filter: blur(8px);
  color: white; padding: 16px 38px; border-radius: 50px;
  font-weight: 600; font-size: .98rem;
  border: 2px solid rgba(255,255,255,.38);
  transition: var(--transition);
  display: inline-flex; align-items: center; gap: 8px;
}
.btn-ghost:hover { background: rgba(255,255,255,.24); }

/* Dots */
.hero-dots {
  position: absolute; bottom: 32px; right: 32px; z-index: 3;
  display: flex; gap: 8px;
}
.hero-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(255,255,255,.35);
  border: none; cursor: pointer; transition: var(--transition);
}
.hero-dot.active { background: var(--gold); transform: scale(1.35); }

/* Scroll hint */
.hero-scroll {
  position: absolute; bottom: 38px; left: 50%; transform: translateX(-50%);
  z-index: 3; display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: rgba(255,255,255,.65); font-size: .7rem;
  letter-spacing: .14em; text-transform: uppercase;
}
.scroll-bar {
  width: 1px; height: 48px;
  background: linear-gradient(to bottom, rgba(255,255,255,.7), transparent);
  animation: scrollPulse 2.2s ease infinite;
}
@keyframes scrollPulse {
  0%,100% { opacity: 1; }
  50% { opacity: .35; }
}

/* ============================================================
   STATS BAR
   ============================================================ */
.stats-bar { background: var(--green-dark); padding: 24px 0; }
.stats-inner {
  display: flex; justify-content: space-around;
  align-items: center; flex-wrap: wrap; gap: 20px;
}
.stat-item { display: flex; align-items: center; gap: 14px; }
.stat-icon { font-size: 1.6rem; }
.stat-value { display: block; font-size: 1.2rem; font-weight: 700; color: white; }
.stat-label { display: block; font-size: .72rem; color: rgba(255,255,255,.6); text-transform: uppercase; letter-spacing: .1em; }

/* ============================================================
   ABOUT
   ============================================================ */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.about-images {
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
}
.about-images img { border-radius: var(--radius); object-fit: cover; width: 100%; }
.about-images img:first-child { grid-column: 1 / -1; height: 300px; }
.about-images img:not(:first-child) { height: 200px; }

.about-text .section-label { margin-bottom: .6rem; }
.about-text h2 { margin-bottom: 20px; }
.about-text p { margin-bottom: 16px; font-size: 1.04rem; line-height: 1.75; }

.about-stats { display: flex; gap: 36px; margin-top: 36px; padding-top: 28px; border-top: 1px solid var(--border); }
.astat-num  { font-family: var(--font-serif); font-size: 2.6rem; color: var(--gold); line-height: 1; }
.astat-label{ font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; color: var(--brown-light); margin-top: 4px; }

/* ============================================================
   PHOTO GALLERY
   ============================================================ */
.gallery { background: #EDE8E0; }

/* ── Category tabs ── */
.gallery-tabs {
  display: flex; gap: 10px; flex-wrap: wrap;
  justify-content: center; margin-bottom: 32px;
}
.gallery-tab {
  padding: 10px 24px; border-radius: 50px;
  border: 2px solid var(--border);
  background: white; color: var(--brown-light);
  font-size: .85rem; font-weight: 600;
  cursor: pointer; transition: var(--transition);
  font-family: var(--font-sans);
}
.gallery-tab:hover  { border-color: var(--gold); color: var(--brown); }
.gallery-tab.active { background: var(--green); border-color: var(--green); color: white; }

/* ── Grid ── */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.gallery-item {
  overflow: hidden; border-radius: var(--radius);
  cursor: pointer; position: relative;
  aspect-ratio: 4 / 3;
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s ease; }
.gallery-item:hover img { transform: scale(1.06); }
.gallery-hidden { display: none !important; }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 2000;
  background: rgba(0,0,0,.92);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none;
  transition: opacity .3s;
}
.lightbox.open { opacity: 1; pointer-events: all; }
.lightbox img { max-width: 88vw; max-height: 84vh; object-fit: contain; border-radius: 4px; }
.lightbox-close {
  position: absolute; top: 20px; right: 28px;
  color: white; font-size: 2.2rem; cursor: pointer;
  background: none; border: none; line-height: 1;
}
.lightbox-btn {
  position: absolute;
  background: rgba(255,255,255,.12); color: white;
  border: none; font-size: 1.6rem;
  width: 52px; height: 52px; border-radius: 50%;
  cursor: pointer; transition: var(--transition);
  display: flex; align-items: center; justify-content: center;
}
.lightbox-btn:hover { background: rgba(255,255,255,.24); }
.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }
.lightbox-count { position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%); color: rgba(255,255,255,.65); font-size: .85rem; }

/* ============================================================
   BEDROOMS
   ============================================================ */
.bedrooms-section { background: white; }
.bedrooms-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}
.bedroom-card {
  background: var(--cream);
  border-radius: 16px; overflow: hidden;
  border: 1px solid var(--border);
  transition: var(--transition);
}
.bedroom-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,0,0,.12); border-color: var(--gold); }
.bedroom-img { width: 100%; height: auto; display: block; }
.bedroom-img-placeholder {
  width: 100%; height: 280px;
  background: linear-gradient(145deg, var(--green-dark) 0%, var(--green) 100%);
  display: flex; align-items: center; justify-content: center;
  font-size: 4.5rem;
}
.bedroom-info { padding: 24px 28px; }
.bedroom-floor {
  display: inline-block;
  font-size: .68rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .1em;
  color: var(--gold-dark);
  background: rgba(201,169,110,.12);
  border: 1px solid rgba(201,169,110,.25);
  padding: 4px 12px; border-radius: 50px;
  margin-bottom: 12px;
}
.bedroom-name { font-family: var(--font-serif); font-size: 1.45rem; color: var(--brown); margin-bottom: 8px; line-height: 1.2; }
.bedroom-beds { font-size: .92rem; color: var(--brown-light); margin-bottom: 16px; line-height: 1.6; }
.bedroom-sleeps {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: .82rem; font-weight: 600; color: var(--green-dark);
  background: rgba(44,95,46,.08);
  border: 1px solid rgba(44,95,46,.15);
  padding: 6px 14px; border-radius: 50px;
}

/* ============================================================
   AMENITIES
   ============================================================ */
.amenities { background: var(--cream); }
.amenities-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.amenity-card {
  background: white;
  border: 1px solid var(--border); border-radius: 14px;
  padding: 32px 20px;
  display: flex; flex-direction: column; align-items: center;
  text-align: center;
  transition: var(--transition);
}
.amenity-card:hover { border-color: var(--gold); box-shadow: 0 6px 24px rgba(201,169,110,.16); transform: translateY(-3px); }
.amenity-icon { font-size: 2.2rem; margin-bottom: 14px; }
.amenity-name { font-weight: 600; font-size: .95rem; color: var(--brown); margin-bottom: 6px; }
.amenity-desc { font-size: .8rem; color: var(--brown-light); line-height: 1.55; }

/* ============================================================
   REVIEWS
   ============================================================ */
.reviews { background: var(--green-dark); }
.reviews .section-label { color: var(--gold); }
.reviews h2 { color: white; }
.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.review-card {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 12px; padding: 28px;
}
.review-stars { color: var(--gold); font-size: 1rem; margin-bottom: 14px; letter-spacing: 2px; }
.review-text { color: rgba(255,255,255,.82); font-size: .95rem; font-style: italic; line-height: 1.7; margin-bottom: 22px; }
.review-author { display: flex; align-items: center; gap: 12px; }
.review-avatar {
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--gold);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; color: white; font-size: 1rem; flex-shrink: 0;
}
.review-name  { font-weight: 600; font-size: .9rem; color: white; }
.review-meta  { font-size: .78rem; color: rgba(255,255,255,.45); margin-top: 2px; }

.rating-bar {
  text-align: center; margin-bottom: 52px;
  display: flex; flex-direction: column; align-items: center; gap: 6px;
}
.rating-num  { font-family: var(--font-serif); font-size: 5.5rem; color: var(--gold); line-height: 1; }
.rating-stars{ font-size: 1.6rem; color: var(--gold); letter-spacing: 4px; }
.rating-count{ color: rgba(255,255,255,.5); font-size: .88rem; }

/* ============================================================
   LOCATION
   ============================================================ */
.location-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.map-wrap {
  border-radius: 12px; overflow: hidden;
  height: 380px; background: #ddd; position: relative;
}
.map-wrap iframe { width: 100%; height: 100%; border: none; }
.map-placeholder {
  width: 100%; height: 100%;
  background: linear-gradient(135deg, #c8e6c9, #a5d6a7);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  color: var(--green-dark); gap: 10px;
}
.map-placeholder span { font-size: 3rem; }
.map-placeholder p { font-size: .9rem; font-weight: 600; }

.location-text h2 { margin-bottom: 16px; }
.location-text > p { margin-bottom: 28px; font-size: 1.04rem; line-height: 1.75; }
.nearby { list-style: none; }
.nearby li {
  display: flex; justify-content: space-between; align-items: center;
  padding: 13px 0; border-bottom: 1px solid var(--border);
  font-size: .94rem;
}
.nearby li:last-child { border-bottom: none; }
.nearby-dist { color: var(--brown-light); font-size: .85rem; }

/* ============================================================
   CTA SECTION
   ============================================================ */
.cta-section {
  background: linear-gradient(140deg, var(--green-dark) 0%, var(--green) 100%);
  padding: 110px 0; text-align: center;
}
.cta-section h2 { color: white; margin-bottom: 16px; }
.cta-section p  { color: rgba(255,255,255,.78); font-size: 1.12rem; margin-bottom: 44px; max-width: 480px; margin-left: auto; margin-right: auto; }

.btn-cta {
  background: var(--gold); color: white;
  padding: 20px 54px; border-radius: 50px;
  font-weight: 700; font-size: 1.1rem;
  display: inline-flex; align-items: center; gap: 10px;
  transition: var(--transition);
  box-shadow: 0 8px 36px rgba(0,0,0,.22);
}
.btn-cta:hover { background: var(--gold-dark); transform: translateY(-3px); box-shadow: 0 14px 44px rgba(0,0,0,.3); }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: #0D1A0D; color: rgba(255,255,255,.65); padding: 72px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 52px; margin-bottom: 52px; }
.footer-logo { font-family: var(--font-serif); font-size: 1.75rem; color: white; margin-bottom: 14px; display: block; }
.footer-brand p { font-size: .9rem; line-height: 1.75; max-width: 270px; }
.footer h4 { color: white; font-family: var(--font-sans); font-size: .82rem; text-transform: uppercase; letter-spacing: .12em; font-weight: 600; margin-bottom: 20px; }
.footer ul { list-style: none; }
.footer ul li { margin-bottom: 10px; }
.footer ul a { font-size: .9rem; transition: var(--transition); }
.footer ul a:hover { color: var(--gold); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.09); padding-top: 28px;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 14px; font-size: .83rem;
}
.social-links { display: flex; gap: 10px; }
.social-link {
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(255,255,255,.09);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; transition: var(--transition);
}
.social-link:hover { background: var(--gold); }

/* ============================================================
   BOOKING PAGE — HEADER
   ============================================================ */
.booking-header {
  background: linear-gradient(140deg, var(--green-dark) 0%, #243d25 100%);
  padding: calc(var(--nav-height) + 44px) 0 44px;
  color: white;
}
.booking-header h1 { color: white; font-size: 2.4rem; margin-bottom: 8px; }
.booking-header p  { color: rgba(255,255,255,.7); font-size: 1.04rem; }

/* ============================================================
   BOOKING LAYOUT
   ============================================================ */
.booking-body { padding: 44px 0 88px; }
.booking-layout { display: grid; grid-template-columns: 1fr 360px; gap: 32px; align-items: start; }

/* ── Progress ── */
.progress-bar { display: flex; position: relative; margin-bottom: 36px; }
.progress-bar::before {
  content: ''; position: absolute;
  top: 19px; left: 0; right: 0;
  height: 2px; background: var(--border); z-index: 0;
}
.progress-step { flex: 1; display: flex; flex-direction: column; align-items: center; position: relative; z-index: 1; }
.ps-circle {
  width: 40px; height: 40px; border-radius: 50%;
  background: white; border: 2px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: .88rem; color: var(--brown-light);
  transition: var(--transition); margin-bottom: 8px;
}
.ps-label { font-size: .72rem; font-weight: 500; color: var(--brown-light); text-align: center; }
.progress-step.active   .ps-circle { background: var(--green); border-color: var(--green); color: white; }
.progress-step.active   .ps-label  { color: var(--green); font-weight: 600; }
.progress-step.done     .ps-circle { background: var(--green); border-color: var(--green); color: white; }

/* ── Form Panel ── */
.form-panel { display: none; }
.form-panel.active { display: block; }

.card {
  background: white; border: 1px solid var(--border);
  border-radius: 12px; padding: 32px; margin-bottom: 20px;
}
.card h3 { margin-bottom: 24px; font-size: 1.2rem; }

/* ── Calendar ── */
.cal-wrap { user-select: none; }
.cal-months { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.cal-month {}
.cal-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.cal-nav {
  width: 34px; height: 34px; border-radius: 50%;
  border: 1px solid var(--border); background: none;
  cursor: pointer; font-size: 1rem; transition: var(--transition);
  display: flex; align-items: center; justify-content: center;
}
.cal-nav:hover { border-color: var(--green); color: var(--green); }
.cal-name { font-family: var(--font-serif); font-size: 1.05rem; font-weight: 600; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 3px; }
.cal-dh {
  text-align: center; font-size: .66rem; font-weight: 600;
  text-transform: uppercase; color: var(--brown-light); padding: 6px 0;
}
.cal-day {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  min-height: 52px; padding: 4px 2px;
  font-size: .82rem; border-radius: 8px; cursor: pointer;
  transition: background .15s, color .15s; position: relative;
}
.cd-num  { font-size: .85rem; line-height: 1.2; font-weight: 500; }
.cd-price {
  font-size: .6rem; line-height: 1.2; color: var(--green-dark);
  margin-top: 1px; font-weight: 600; letter-spacing: -.01em;
}
.cd-minstay {
  font-size: .5rem; line-height: 1.2; color: #7c3aed;
  margin-top: 1px; font-weight: 700; letter-spacing: -.01em;
}
/* Custom price that is lower than the default rate (discounted / sale) */
.cal-day.cd-sale {
  background: #eff6ff;
}
.cal-day.cd-sale .cd-num   { color: #1e40af; }
.cal-day.cd-sale .cd-price { color: #2563eb; font-weight: 700; }
.cal-day.cd-sale .cd-minstay { color: #4f86f7; }
/* Dates where a minimum stay can't start (not enough consecutive nights available) */
.cal-day.cd-min-restricted {
  cursor: not-allowed;
}
.cal-day.cd-min-restricted .cd-num    { color: #d0d0d0; font-weight: 400; }
.cal-day.cd-min-restricted .cd-price  { color: #c8c8c8; } /* muted price — still visible */
.cal-day.cd-min-restricted .cd-minstay { display: none; }  /* hide "Xn min" label */
/* Checkout dates too close to check-in to satisfy minimum stay */
.cal-day.cd-too-early {
  cursor: not-allowed;
  opacity: 0.45; /* faded but price still readable */
}
/* Dates inside the selected range should never look faded, even if also cd-too-early */
.cal-day.cd-range.cd-too-early { opacity: 1; }
/* Dates unreachable because a blocked night sits between check-in and here */
.cal-day.cd-blocked-path {
  cursor: not-allowed;
  opacity: 0.35;
}
.cal-day.cd-blocked-path .cd-price,
.cal-day.cd-blocked-path .cd-minstay { opacity: 0.5; }
/* Valid checkout dates — subtle green ring + green number to signal they're tappable */
.cal-day.cd-valid-checkout {
  box-shadow: inset 0 0 0 1.5px rgba(44, 95, 46, 0.35);
  border-radius: 7px;
  cursor: pointer;
}
.cal-day.cd-valid-checkout .cd-num {
  color: var(--green);
  font-weight: 600;
}
.cal-day:hover:not(.cd-empty):not(.cd-past):not(.cd-blocked):not(.cd-min-restricted):not(.cd-too-early):not(.cd-blocked-path) { background: var(--green); color: white; border-radius: 8px; }
.cal-day:hover:not(.cd-empty):not(.cd-past):not(.cd-blocked):not(.cd-min-restricted):not(.cd-too-early):not(.cd-blocked-path) .cd-price { color: rgba(255,255,255,.85); }
.cal-day.cd-today .cd-num  { font-weight: 700; color: var(--green); }
.cal-day.cd-past   { color: #ccc; cursor: not-allowed; }
.cal-day.cd-past .cd-price { color: #ddd; }
.cal-day.cd-blocked{ background: #fde8e8; color: #c44; cursor: not-allowed; border-radius: 6px; }
.cal-day.cd-blocked .cd-num { text-decoration: line-through; font-size: .78rem; }
.cal-day.cd-blocked .cd-price { color: #c44; opacity: .7; }
.cal-day.cd-empty  { cursor: default; }
.cal-day.cd-start  { background: var(--green); color: white; border-radius: 8px 0 0 8px; }
.cal-day.cd-end    { background: var(--green); color: white; border-radius: 0 8px 8px 0; }
.cal-day.cd-range  { background: rgba(44,95,46,.18); color: var(--green-dark); border-radius: 0; }
.cal-day.cd-start.cd-end { border-radius: 8px; }
.cal-day.cd-start .cd-price,
.cal-day.cd-end   .cd-price { color: rgba(255,255,255,.85); }
.cal-day.cd-range .cd-price  { color: var(--green); }
.cal-day.cd-range .cd-minstay { color: var(--green); }

.cal-legend { display: flex; gap: 20px; margin-top: 16px; font-size: .78rem; color: var(--brown-light); }
.cal-legend span { display: flex; align-items: center; gap: 6px; }
.legend-dot { width: 12px; height: 12px; border-radius: 3px; flex-shrink: 0; }

/* iCal sync */
.ical-card {
  background: #f0f7f0; border: 1px solid #b8d9b9;
  border-radius: var(--radius); padding: 18px; margin-bottom: 20px;
}
.ical-card h4 { color: var(--green-dark); font-size: .92rem; margin-bottom: 6px; display: flex; align-items: center; gap: 6px; }
.ical-card p  { font-size: .82rem; color: var(--brown-light); margin-bottom: 12px; }
.ical-row { display: flex; gap: 8px; }
.ical-row input { flex: 1; padding: 10px 14px; border: 1.5px solid var(--border); border-radius: var(--radius); font-size: .88rem; }
.ical-row input:focus { outline: none; border-color: var(--green); }
.ical-row button {
  background: var(--green); color: white; border: none;
  padding: 0 18px; border-radius: var(--radius);
  cursor: pointer; font-weight: 600; font-size: .82rem;
  white-space: nowrap; transition: var(--transition);
}
.ical-row button:hover { background: var(--green-dark); }
.ical-msg { margin-top: 8px; font-size: .8rem; }
.ical-msg.ok  { color: var(--green); }
.ical-msg.err { color: var(--red); }
.ical-msg.loading { color: var(--brown-light); }

/* Guest counter */
.guest-row  { display: flex; justify-content: space-between; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--border); }
.guest-row:last-child { border-bottom: none; }
.guest-info-label { font-weight: 500; font-size: .95rem; }
.guest-info-sub   { font-size: .8rem; color: var(--brown-light); }
.guest-counter    { display: flex; align-items: center; gap: 14px; }
.gc-btn {
  width: 34px; height: 34px; border-radius: 50%;
  border: 2px solid var(--border); background: none;
  font-size: 1.1rem; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: var(--transition);
}
.gc-btn:hover:not(:disabled) { border-color: var(--green); color: var(--green); }
.gc-btn:disabled { opacity: .35; cursor: not-allowed; }
.gc-val { font-size: 1.1rem; font-weight: 700; min-width: 28px; text-align: center; }

/* Form fields */
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: .84rem; font-weight: 600; margin-bottom: 6px; color: var(--brown); }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%; padding: 12px 16px;
  border: 2px solid var(--border); border-radius: var(--radius);
  font-size: .95rem; font-family: var(--font-sans);
  color: var(--brown); background: white;
  transition: var(--transition);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgba(44,95,46,.1); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* Terms */
.terms-scroll {
  background: #f8f6f2; border: 1px solid var(--border);
  border-radius: var(--radius); padding: 18px;
  max-height: 220px; overflow-y: auto;
  font-size: .84rem; line-height: 1.72;
  color: var(--brown-light); margin-bottom: 18px;
}
.terms-scroll h4 { color: var(--brown); margin-bottom: 8px; font-size: .88rem; }
.terms-scroll p  { margin-bottom: 10px; }
.terms-scroll ul { padding-left: 18px; margin-bottom: 10px; }
.terms-scroll ul li { margin-bottom: 4px; }
.check-row {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 16px; border: 2px solid var(--border); border-radius: var(--radius);
  cursor: pointer; transition: var(--transition); margin-bottom: 12px;
}
.check-row:hover { border-color: var(--green); }
.check-row input[type="checkbox"] { width: 18px; height: 18px; accent-color: var(--green); flex-shrink: 0; margin-top: 1px; }
.check-row label { font-size: .9rem; cursor: pointer; line-height: 1.5; color: var(--brown); }

/* Payment */
.stripe-element-wrap {
  border: 2px solid var(--border); border-radius: var(--radius); padding: 14px 16px;
  transition: var(--transition); background: white;
}
.stripe-element-wrap.focused { border-color: var(--green); box-shadow: 0 0 0 3px rgba(44,95,46,.1); }
#payment-error { color: var(--red); font-size: .85rem; margin-top: 10px; min-height: 20px; }
.pay-badges { display: flex; gap: 8px; margin-top: 14px; flex-wrap: wrap; }
.pay-badge {
  background: #f5f3f0; border: 1px solid var(--border);
  border-radius: 4px; padding: 4px 10px;
  font-size: .7rem; font-weight: 700; color: var(--brown-light);
}
.secure-note { display: flex; align-items: center; gap: 8px; color: var(--brown-light); font-size: .8rem; margin-top: 14px; }

/* Step buttons */
.btn-step-next,
.btn-step-prev,
.btn-pay {
  width: 100%; padding: 16px; border-radius: 50px;
  font-weight: 700; font-size: .98rem;
  cursor: pointer; transition: var(--transition); border: none;
  margin-top: 8px; display: flex; align-items: center; justify-content: center; gap: 8px;
}
.btn-step-next, .btn-pay { background: var(--green); color: white; }
.btn-step-next:hover, .btn-pay:hover { background: var(--green-dark); transform: translateY(-1px); }
.btn-step-next:disabled, .btn-pay:disabled { background: #ccc; cursor: not-allowed; transform: none; }
.btn-step-prev { background: none; color: var(--brown-light); border: 2px solid var(--border); }
.btn-step-prev:hover { border-color: var(--brown); color: var(--brown); }

/* ============================================================
   BOOKING SIDEBAR
   ============================================================ */
.booking-sidebar { position: sticky; top: 100px; }
.summary-card {
  background: white; border: 1px solid var(--border);
  border-radius: 12px; overflow: hidden;
}
.summary-img { width: 100%; height: 190px; object-fit: cover; }
.summary-body { padding: 24px; }
.summary-title { font-size: 1.08rem; margin-bottom: 4px; }
.summary-loc   { color: var(--brown-light); font-size: .84rem; margin-bottom: 20px; }
.summary-dates { display: flex; gap: 10px; margin-bottom: 18px; }
.date-box {
  flex: 1; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 10px; text-align: center;
}
.date-box-lbl { font-size: .66rem; text-transform: uppercase; letter-spacing: .08em; color: var(--brown-light); }
.date-box-val { font-weight: 700; font-size: .92rem; margin-top: 3px; color: var(--brown); }
.divider { border: none; border-top: 1px solid var(--border); margin: 16px 0; }
.price-row { display: flex; justify-content: space-between; font-size: .9rem; margin-bottom: 9px; color: var(--brown-light); }
.price-row.total { color: var(--brown); font-weight: 700; font-size: .98rem; border-top: 2px solid var(--border); padding-top: 12px; margin-top: 6px; margin-bottom: 6px; }
.deposit-highlight {
  background: rgba(44,95,46,.08); border: 1px solid rgba(44,95,46,.2);
  border-radius: var(--radius); padding: 14px;
  display: flex; justify-content: space-between; align-items: center;
  margin-top: 8px;
}
.deposit-highlight .label { font-weight: 600; font-size: .9rem; color: var(--green-dark); }
.deposit-highlight .amount{ font-weight: 800; font-size: 1.1rem; color: var(--green); }
.summary-note { font-size: .78rem; color: var(--brown-light); margin-top: 12px; text-align: center; line-height: 1.5; }

/* ============================================================
   CONFIRMATION
   ============================================================ */
.confirm-card { text-align: center; }
.confirm-icon {
  width: 80px; height: 80px; border-radius: 50%;
  background: rgba(44,95,46,.1);
  display: flex; align-items: center; justify-content: center;
  font-size: 2.6rem; margin: 0 auto 24px;
}
.confirm-card h2 { margin-bottom: 12px; color: var(--green-dark); }
.confirm-card p  { font-size: 1rem; max-width: 440px; margin: 0 auto 10px; }
.confirm-details {
  background: var(--cream); border-radius: var(--radius);
  padding: 20px; margin: 24px 0; text-align: left;
}
.confirm-details p { margin-bottom: 8px; }
.confirm-details strong { color: var(--brown); }

/* ============================================================
   ANIMATIONS / UTILITIES
   ============================================================ */
.fade-up { opacity: 0; transform: translateY(28px); transition: opacity .65s ease, transform .65s ease; }
.fade-up.visible { opacity: 1; transform: none; }

.spinner {
  display: inline-block; width: 20px; height: 20px;
  border: 2.5px solid rgba(255,255,255,.35);
  border-top-color: white; border-radius: 50%;
  animation: spin .75s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* Toast */
.toasts {
  position: fixed; top: 86px; right: 24px; z-index: 4000;
  display: flex; flex-direction: column; gap: 8px; pointer-events: none;
}
.toast {
  background: white; border-left: 4px solid var(--green);
  padding: 14px 18px; border-radius: 8px;
  box-shadow: 0 8px 28px rgba(0,0,0,.12);
  font-size: .9rem; max-width: 320px; pointer-events: all;
  animation: toastIn .3s ease;
}
.toast.error { border-color: var(--red); }
@keyframes toastIn { from { opacity: 0; transform: translateX(20px); } to { opacity: 1; transform: none; } }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
  .booking-layout { grid-template-columns: 1fr; }
  .booking-sidebar { position: static; }
}

@media (max-width: 900px) {
  .about-grid     { grid-template-columns: 1fr; }
  .reviews-grid   { grid-template-columns: 1fr 1fr; }
  .location-grid  { grid-template-columns: 1fr; }
  .footer-grid    { grid-template-columns: 1fr 1fr; }
  .cal-months     { grid-template-columns: 1fr; }
  .amenities-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .bedrooms-grid  { grid-template-columns: 1fr; }
  .bedroom-img-placeholder { height: 220px; }

  /* ── Global ── */
  .section   { padding: 56px 0; }
  .container { padding: 0 20px; }

  /* ── Nav ── */
  .nav-links, .btn-nav-book { display: none; }
  .nav-toggle { display: flex; }

  /* ── Hero ── */
  .hero-content { padding: 0 20px; padding-top: var(--nav-height); }
  .hero-content-inner {
    width: 100%;
    max-width: 100%;
    padding: 28px 22px 32px;
  }
  .hero-subtitle { font-size: 1rem; margin-bottom: 28px; }

  /* ── Disable fade-up animations on mobile for reliability ── */
  .fade-up { opacity: 1; transform: none; transition: none; }

  /* ── Gallery ── */
  .gallery-grid { grid-template-columns: 1fr 1fr; }

  /* ── About ── */
  .about-grid { gap: 40px; }

  /* ── Reviews / footer / forms ── */
  .reviews-grid { grid-template-columns: 1fr; }
  .footer-grid  { grid-template-columns: 1fr; gap: 32px; }
  .form-row     { grid-template-columns: 1fr; }

  /* ── Booking page ── */
  .booking-header { padding: calc(var(--nav-height) + 24px) 0 24px; }
  .booking-header h1 { font-size: 1.9rem; }
  .booking-body  { padding: 28px 0 60px; }
  .card          { padding: 22px 18px; }
  .card h3       { font-size: 1.1rem; margin-bottom: 18px; }

  /* ── Progress bar ── */
  .ps-label  { font-size: .65rem; }
  .ps-circle { width: 34px; height: 34px; font-size: .8rem; }
  .progress-bar::before { top: 16px; }

  /* ── Calendar ── */
  .cal-day   { min-height: 44px; }
  .cd-price  { font-size: .55rem; }

  /* ── Booking summary sidebar ── */
  .summary-body { padding: 18px; }
}

@media (max-width: 480px) {
  /* ── Global ── */
  .section   { padding: 44px 0; }
  .container { padding: 0 16px; }

  /* ── Hero ── */
  .hero-content { padding: 0 16px; padding-top: var(--nav-height); }
  .hero-content-inner { padding: 20px 16px 24px; }
  .hero-subtitle { font-size: .92rem; margin-bottom: 20px; }
  .hero-actions  { flex-direction: column; }
  .hero-dots     { right: 16px; bottom: 20px; }
  .hero-scroll   { display: none; }

  /* ── Buttons ── */
  .btn-primary, .btn-ghost { justify-content: center; width: 100%; }

  /* ── Stats bar ── */
  .stats-inner { flex-direction: column; align-items: flex-start; padding: 0 20px; gap: 16px; }

  /* ── About ── */
  .about-stats { flex-wrap: wrap; gap: 20px; }

  /* ── Gallery single column on very small screens ── */
  .gallery-grid { grid-template-columns: 1fr; }

  /* ── Progress bar — hide labels ── */
  .ps-label { display: none; }
  .progress-bar { margin-bottom: 20px; }
  .ps-circle { width: 30px; height: 30px; font-size: .75rem; }
  .progress-bar::before { top: 14px; }

  /* ── Booking header ── */
  .booking-header h1 { font-size: 1.55rem; }
  .booking-header p  { font-size: .9rem; }
  .booking-body  { padding: 20px 0 48px; }

  /* ── Cards ── */
  .card { padding: 16px 14px; border-radius: 10px; }
  .card h3 { font-size: 1rem; margin-bottom: 14px; }

  /* ── Calendar ── */
  .cal-day  { min-height: 38px; font-size: .78rem; }
  .cal-dh   { font-size: .6rem; padding: 4px 0; }
  .cal-name { font-size: .95rem; }

  /* ── Summary sidebar ── */
  .summary-body { padding: 14px; }
  .summary-img  { height: 150px; }

  /* ── Step buttons ── */
  .btn-step-next,
  .btn-step-prev,
  .btn-pay { padding: 14px; font-size: .92rem; }
}
