/* ════════════════════════════════════════════
   CASITA BIRA-BIRA — Stylesheet
   Mediterraans · Luxueus · Warm
   ════════════════════════════════════════════ */

/* ─── CSS Variables ─────────────────────────── */
:root {
  --white: #ffffff;
  --off-white: #fafaf8;
  --sand-light: #f5efe6;
  --sand: #e8ddd0;
  --blue-light: #ddeef8;
  --blue: #4a90c4;
  --blue-dark: #2e6d9e;
  --terracotta: #c4704a;
  --terracotta-dark: #a05535;
  --gold: #d4a96a;
  --text-dark: #1a1a2e;
  --text-mid: #4a4a5a;
  --text-light: #7a7a8a;
  --nav-height: 70px;
  --section-pad: 100px;
  --radius: 12px;
  --radius-sm: 6px;
  --shadow: 0 8px 40px rgba(0,0,0,0.12);
  --shadow-lg: 0 20px 60px rgba(0,0,0,0.18);
  --transition: 0.35s cubic-bezier(0.4,0,0.2,1);
}

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

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

body {
  font-family: 'Lato', sans-serif;
  color: var(--text-dark);
  background: var(--white);
  overflow-x: hidden;
  line-height: 1.7;
}

img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { border: none; background: none; cursor: pointer; font-family: inherit; }
select, input, textarea {
  font-family: 'Lato', sans-serif;
  font-size: 1rem;
}

/* ─── Typography ────────────────────────────── */
h1, h2, h3 { font-family: 'Playfair Display', serif; line-height: 1.2; }
h1 { font-size: clamp(2.8rem, 6vw, 5rem); font-weight: 700; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); font-weight: 600; }
h3 { font-size: clamp(1.2rem, 2vw, 1.6rem); font-weight: 600; }

.section-label {
  font-family: 'Lato', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: 0.75rem;
}

.section-title {
  color: var(--text-dark);
  margin-bottom: 1.5rem;
}

.section-text p {
  color: var(--text-mid);
  font-size: 1.1rem;
  font-weight: 300;
  max-width: 70ch;
  margin-bottom: 1.2rem;
}

.section-subtitle {
  color: var(--text-mid);
  font-size: 1.05rem;
  max-width: 55ch;
}

/* ─── Buttons ───────────────────────────────── */
.btn-primary {
  display: inline-block;
  background: var(--terracotta);
  color: var(--white);
  padding: 1rem 2.4rem;
  border-radius: 3px;
  font-family: 'Lato', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  box-shadow: 0 4px 20px rgba(196,112,74,0.35);
}
.btn-primary:hover {
  background: var(--terracotta-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(196,112,74,0.45);
}
.btn-full { width: 100%; text-align: center; }

.btn-nav {
  display: inline-block;
  background: var(--terracotta);
  color: var(--white);
  padding: 0.55rem 1.4rem;
  border-radius: 3px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: background var(--transition);
}
.btn-nav:hover { background: var(--terracotta-dark); }

/* ─── Animations ────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: none;
}

.animate-fade-up {
  opacity: 0;
  transform: translateY(40px);
  animation: fadeUp 1s ease 0.3s forwards;
}
@keyframes fadeUp {
  to { opacity: 1; transform: none; }
}

/* ─── NAVIGATION ────────────────────────────── */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-height);
  transition: background var(--transition), backdrop-filter var(--transition), box-shadow var(--transition);
}

#navbar.scrolled {
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 2px 20px rgba(0,0,0,0.08);
}

.nav-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--white);
  white-space: nowrap;
  transition: color var(--transition);
  flex-shrink: 0;
}
#navbar.scrolled .nav-logo { color: var(--text-dark); }

.nav-links {
  display: flex;
  gap: 2rem;
  align-items: center;
  flex: 1;
}
.nav-links a {
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.9);
  transition: color var(--transition);
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0;
  width: 0; height: 2px;
  background: var(--gold);
  transition: width var(--transition);
}
.nav-links a:hover::after { width: 100%; }
.nav-links a:hover { color: var(--white); }
#navbar.scrolled .nav-links a { color: var(--text-mid); }
#navbar.scrolled .nav-links a:hover { color: var(--terracotta); }

.nav-right {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-shrink: 0;
}

.lang-switcher {
  display: flex;
  gap: 0.2rem;
  background: rgba(255,255,255,0.15);
  border-radius: 20px;
  padding: 0.2rem;
  transition: background var(--transition);
}
#navbar.scrolled .lang-switcher { background: rgba(0,0,0,0.06); }

.lang-btn {
  padding: 0.3rem 0.65rem;
  border-radius: 16px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: rgba(255,255,255,0.75);
  transition: all var(--transition);
}
.lang-btn:hover, .lang-btn.active {
  background: var(--terracotta);
  color: var(--white);
}
#navbar.scrolled .lang-btn { color: var(--text-mid); }
#navbar.scrolled .lang-btn.active { color: var(--white); }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  margin-left: auto;
  flex-shrink: 0;
}
.hamburger span {
  display: block;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--transition);
}
#navbar.scrolled .hamburger span { background: var(--text-dark); }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ─── HERO ──────────────────────────────────── */
#hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.05);
  transition: transform 0.1s linear;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(10,25,40,0.45) 0%,
    rgba(10,25,40,0.35) 60%,
    rgba(10,25,40,0.6) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--white);
  padding: 0 1.5rem;
  max-width: 800px;
}

.hero-eyebrow {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.2rem;
  opacity: 0.9;
}

.hero-title {
  font-style: italic;
  color: var(--white);
  text-shadow: 0 2px 20px rgba(0,0,0,0.3);
  margin-bottom: 0.8rem;
}

.hero-subtitle {
  font-family: 'Lato', sans-serif;
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  font-weight: 300;
  letter-spacing: 0.05em;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.hero-features {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}
.hero-features span {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  font-weight: 400;
  letter-spacing: 0.05em;
  opacity: 0.9;
}
.hero-features svg {
  width: 18px; height: 18px;
  fill: var(--gold);
  flex-shrink: 0;
}

.hero-scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.scroll-dot {
  width: 2px;
  height: 50px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.6), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.5; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(1.2); }
}

/* ─── SECTION SHARED ────────────────────────── */
section { padding: var(--section-pad) 0; }

#huis { background: var(--white); }
#omgeving { background: var(--off-white); }
#boeken { background: var(--white); }

.section-intro {
  max-width: 1100px;
  margin: 0 auto 4rem;
  padding: 0 2rem;
}

/* ─── GALLERY ───────────────────────────────── */
.gallery-row {
  display: flex;
  gap: 8px;
  max-width: 1400px;
  margin: 0 auto 8px;
  padding: 0 2rem;
  height: 420px;
}
.gallery-row-reverse { flex-direction: row-reverse; }

.gallery-large {
  flex: 2.2;
  min-width: 0;
}

.gallery-stack {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}
.gallery-stack .gallery-item {
  flex: 1;
}

.gallery-three {
  display: grid;
  grid-template-columns: 1fr 1.6fr 1fr;
  gap: 8px;
  max-width: 1400px;
  margin: 0 auto 8px;
  padding: 0 2rem;
  height: 360px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-sm);
  cursor: pointer;
  background: var(--sand);
}
.gallery-item img {
  transition: transform 0.6s ease;
}
.gallery-item:hover img {
  transform: scale(1.04);
}

.gallery-caption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 1.5rem 1rem 0.8rem;
  background: linear-gradient(transparent, rgba(0,0,0,0.55));
  color: var(--white);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0;
  transition: opacity var(--transition);
}
.gallery-item:hover .gallery-caption { opacity: 1; }

/* ─── ATMOSPHERE BANDS ──────────────────────── */
.atmosphere-band {
  position: relative;
  height: 300px;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 4rem 0;
}
.atmosphere-band-tall { height: 480px; }

.atmosphere-overlay {
  position: absolute;
  inset: 0;
  background: rgba(15,30,50,0.5);
}

.atmosphere-text {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 0 2rem;
}
.atmosphere-text p {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: clamp(1.3rem, 3vw, 2.2rem);
  color: var(--white);
  max-width: 800px;
}

.atmosphere-content {
  position: relative;
  z-index: 1;
  max-width: 600px;
  padding: 3rem 2rem;
  text-align: center;
  color: var(--white);
}
.atmosphere-content h3 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  margin-bottom: 1rem;
  font-style: italic;
}
.atmosphere-content p {
  font-size: 1.05rem;
  font-weight: 300;
  line-height: 1.8;
  opacity: 0.95;
}

/* ─── AMENITIES ─────────────────────────────── */
.amenities {
  max-width: 1100px;
  margin: 4rem auto 0;
  padding: 3.5rem 2rem;
  background: var(--sand-light);
  border-radius: var(--radius);
}
.amenities .section-label { text-align: center; }
.amenities .section-title { text-align: center; margin-bottom: 3rem; }

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

.amenity-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.8rem 1.5rem;
  text-align: center;
  box-shadow: 0 2px 16px rgba(0,0,0,0.06);
  transition: transform var(--transition), box-shadow var(--transition);
}
.amenity-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.1);
}
.amenity-icon { font-size: 2rem; margin-bottom: 0.8rem; }
.amenity-card h3 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
  color: var(--text-dark);
}
.amenity-card p {
  font-size: 0.88rem;
  color: var(--text-light);
  font-weight: 300;
}

/* ─── AREA SECTION ──────────────────────────── */
.area-grid {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  flex-direction: column;
  gap: 5rem;
}

.area-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.area-card-reverse { direction: rtl; }
.area-card-reverse > * { direction: ltr; }

.area-card-image {
  border-radius: var(--radius);
  overflow: hidden;
  height: 380px;
  box-shadow: var(--shadow);
}

.area-card-content h3 {
  color: var(--text-dark);
  margin-bottom: 1rem;
}
.area-card-content h3::before {
  content: '';
  display: block;
  width: 40px;
  height: 3px;
  background: var(--terracotta);
  margin-bottom: 1rem;
}
.area-card-content p {
  color: var(--text-mid);
  font-size: 1.05rem;
  font-weight: 300;
  line-height: 1.8;
}

/* ─── PRACTICAL BAR ─────────────────────────── */
.practical {
  max-width: 1100px;
  margin: 4rem auto 0;
  padding: 2.5rem 2rem;
  background: var(--text-dark);
  border-radius: var(--radius);
}
.practical-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}
.practical-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: rgba(255,255,255,0.8);
  font-size: 0.92rem;
  font-weight: 300;
}
.practical-icon { font-size: 1.4rem; flex-shrink: 0; }

/* ─── BOOKING SECTION ───────────────────────── */
.booking-layout {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 4rem;
  align-items: start;
}

/* Price overview */
.price-overview {
  background: var(--sand-light);
  border-radius: var(--radius);
  padding: 2rem;
  margin-bottom: 2rem;
}
.price-overview h3 {
  font-size: 1.1rem;
  margin-bottom: 1.2rem;
  color: var(--text-dark);
}
.price-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}
.price-table th {
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-light);
  padding: 0.6rem 0.8rem;
  border-bottom: 2px solid var(--sand);
  text-align: left;
}
.price-table td {
  padding: 0.65rem 0.8rem;
  border-bottom: 1px solid var(--sand);
  color: var(--text-mid);
}
.price-table tr.highlight td {
  font-weight: 700;
  color: var(--text-dark);
  background: rgba(196,112,74,0.08);
}
.price-table tr:last-child td { border-bottom: none; }

/* Calendar */
.calendar-wrapper {
  background: var(--white);
  border: 1px solid var(--sand);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin-bottom: 2rem;
}
.calendar-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}
.calendar-nav h3 { font-size: 1.1rem; }
.calendar-nav button {
  width: 36px; height: 36px;
  border-radius: 50%;
  font-size: 1.5rem;
  line-height: 1;
  color: var(--text-mid);
  transition: background var(--transition), color var(--transition);
  display: flex; align-items: center; justify-content: center;
}
.calendar-nav button:hover {
  background: var(--sand-light);
  color: var(--terracotta);
}

.calendar-legend {
  display: flex;
  gap: 1.2rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.calendar-legend span { display: flex; align-items: center; gap: 6px; }
.calendar-legend span::before {
  content: '';
  width: 12px; height: 12px;
  border-radius: 50%;
}
.legend-available::before { background: #c5e3c0; }
.legend-booked::before { background: #f0c4b8; }
.legend-selected::before { background: var(--blue); }

.calendar-error {
  margin-top: 0.75rem;
  color: #c04a2a;
  font-size: 0.88rem;
  font-weight: 600;
  text-align: center;
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 3px;
}
.calendar-day-label {
  text-align: center;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-light);
  padding: 0.4rem 0;
}
.calendar-day {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 400;
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
}
.calendar-day:hover:not(.booked):not(.past):not(.empty) {
  background: var(--blue-light);
  color: var(--blue-dark);
}
.calendar-day.past { color: #ccc; cursor: default; }
.calendar-day.empty { cursor: default; }
.calendar-day.booked {
  background: #fde8e2;
  color: #c04a2a;
  cursor: not-allowed;
  text-decoration: line-through;
}
.calendar-day.available { background: #eef7ed; }
.calendar-day.selected-start,
.calendar-day.selected-end {
  background: var(--blue-dark);
  color: var(--white);
  font-weight: 700;
}
.calendar-day.in-range {
  background: var(--blue-light);
  color: var(--blue-dark);
  border-radius: 0;
}
.calendar-day.selected-start { border-radius: var(--radius-sm) 0 0 var(--radius-sm); }
.calendar-day.selected-end { border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }
.calendar-day.selected-start.selected-end { border-radius: var(--radius-sm); }
.calendar-day.today { font-weight: 700; outline: 2px solid var(--gold); }

/* Price calculator */
.price-calc {
  background: var(--blue-light);
  border-radius: var(--radius);
  padding: 1.8rem;
  margin-bottom: 2rem;
  border: 1px solid rgba(74,144,196,0.2);
}
.price-calc h3 {
  font-size: 1.05rem;
  margin-bottom: 1.2rem;
  color: var(--blue-dark);
}
.calc-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.45rem 0;
  font-size: 0.92rem;
}
.calc-row span:first-child { color: var(--text-mid); }
.calc-row span:last-child { font-weight: 700; color: var(--text-dark); }
.calc-extra span:first-child { font-size: 0.85rem; }
.calc-extra span:last-child { font-size: 0.85rem; color: var(--text-light); font-weight: 400; }
.calc-divider {
  height: 1px;
  background: rgba(74,144,196,0.25);
  margin: 0.6rem 0;
}
.calc-total span:first-child {
  font-weight: 700;
  font-size: 1rem;
  color: var(--text-dark);
}
.calc-total span:last-child {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  color: var(--blue-dark);
}
.calc-note { font-size: 0.82rem; margin-top: 0.8rem; }

/* Extra costs & cancellation */
.extra-costs, .cancellation {
  background: var(--sand-light);
  border-radius: var(--radius);
  padding: 1.8rem;
  margin-bottom: 1.5rem;
}
.extra-costs h3, .cancellation h3 {
  font-size: 1.05rem;
  margin-bottom: 1.1rem;
  color: var(--text-dark);
}
.extra-costs li, .cancellation li {
  font-size: 0.9rem;
  color: var(--text-mid);
  font-weight: 300;
  padding: 0.4rem 0;
  border-bottom: 1px solid var(--sand);
  padding-left: 1rem;
  position: relative;
}
.extra-costs li::before, .cancellation li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--terracotta);
  font-size: 0.7rem;
}
.extra-costs li:last-child, .cancellation li:last-child { border-bottom: none; }

/* Eigenaren */
#eigenaren {
  background: var(--sand-light);
  padding: 6rem 2rem;
}
.owners-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 5rem;
  align-items: center;
}
.owners-photo {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.15);
  aspect-ratio: 3/4;
}
.owners-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}
.owners-text p {
  color: var(--text-mid);
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 1rem;
}
.owners-text p:last-child { margin-bottom: 0; }

/* Booking form */
.booking-form-wrapper {
  background: var(--white);
  border: 1px solid var(--sand);
  border-radius: var(--radius);
  padding: 2.5rem;
  box-shadow: var(--shadow);
  margin-bottom: 2rem;
  position: sticky;
  top: calc(var(--nav-height) + 2rem);
}
.booking-form-wrapper h3 {
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
  color: var(--text-dark);
}
.booking-form-wrapper p {
  font-size: 0.9rem;
  color: var(--text-light);
  font-weight: 300;
  margin-bottom: 1.8rem;
}

.form-group {
  margin-bottom: 1.2rem;
  position: relative;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.form-group label {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-mid);
  margin-bottom: 0.45rem;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--sand);
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  color: var(--text-dark);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(74,144,196,0.15);
}
.form-group input.error,
.form-group select.error,
.form-group textarea.error {
  border-color: #c04a2a;
}
.form-error {
  display: none;
  font-size: 0.78rem;
  color: #c04a2a;
  margin-top: 0.3rem;
  font-weight: 400;
}
.form-error.visible { display: block; }
.form-group textarea { resize: vertical; min-height: 100px; }

/* House rules */
.house-rules {
  background: var(--sand-light);
  border-radius: var(--radius);
  padding: 2rem;
}
.house-rules h3 {
  font-size: 1.05rem;
  margin-bottom: 1.2rem;
  color: var(--text-dark);
}
.house-rules li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--sand);
  font-size: 0.92rem;
  color: var(--text-mid);
}
.house-rules li:last-child { border-bottom: none; }
.house-rules svg {
  width: 20px; height: 20px;
  fill: var(--terracotta);
  flex-shrink: 0;
}

/* ─── CONTACT ───────────────────────────────── */
#contact {
  background: var(--text-dark);
  padding: 5rem 2rem;
  text-align: center;
}
.contact-inner {
  max-width: 600px;
  margin: 0 auto;
}
#contact .section-label { color: var(--gold); }
#contact .section-title {
  color: var(--white);
  margin-bottom: 1rem;
}
.contact-intro {
  color: rgba(255,255,255,0.7);
  font-size: 1.05rem;
  margin-bottom: 2rem;
}
.contact-email {
  display: inline-block;
  color: var(--white);
  font-size: 1.25rem;
  font-family: 'Lato', sans-serif;
  font-weight: 700;
  letter-spacing: 0.02em;
  border-bottom: 2px solid var(--terracotta);
  padding-bottom: 0.2rem;
  transition: color var(--transition), border-color var(--transition);
}
.contact-email:hover {
  color: var(--gold);
  border-color: var(--gold);
}

/* ─── FOOTER ────────────────────────────────── */
#footer {
  background: var(--text-dark);
  padding: 4rem 2rem;
  text-align: center;
}
.footer-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  font-style: italic;
  color: var(--white);
  margin-bottom: 0.5rem;
}
.footer-location {
  font-size: 0.88rem;
  color: var(--gold);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}
.footer-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2rem;
  margin-bottom: 2rem;
}
.footer-links a {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--white); }
.footer-copy {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.3);
  font-weight: 300;
}

/* ─── LIGHTBOX ──────────────────────────────── */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0,0,0,0.92);
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.lightbox.open {
  display: flex;
  animation: lightboxFadeIn 0.3s ease;
}
@keyframes lightboxFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.lightbox-content {
  position: relative;
  max-width: 1200px;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}
#lightboxImg {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
  border-radius: var(--radius-sm);
}
.lightbox-caption {
  color: rgba(255,255,255,0.7);
  font-size: 0.88rem;
  margin-top: 1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
}

.lightbox-close {
  position: fixed;
  top: 1.5rem;
  right: 1.5rem;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  color: var(--white);
  font-size: 1.2rem;
  display: flex; align-items: center; justify-content: center;
  transition: background var(--transition);
  z-index: 3;
}
.lightbox-close:hover { background: var(--terracotta); }

.lightbox-prev, .lightbox-next {
  position: fixed;
  top: 50%; transform: translateY(-50%);
  width: 54px; height: 54px;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  color: var(--white);
  font-size: 2rem;
  line-height: 1;
  display: flex; align-items: center; justify-content: center;
  transition: background var(--transition);
  z-index: 3;
}
.lightbox-prev { left: 1.5rem; }
.lightbox-next { right: 1.5rem; }
.lightbox-prev:hover, .lightbox-next:hover { background: rgba(255,255,255,0.25); }

/* ─── RESPONSIVE ────────────────────────────── */
@media (max-width: 1024px) {
  .booking-layout {
    grid-template-columns: 1fr;
  }
  .booking-form-wrapper {
    position: static;
  }
  .area-card { grid-template-columns: 1fr; gap: 2rem; }
  .area-card-image { height: 280px; }
  .area-card-reverse { direction: ltr; }
  .owners-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .owners-photo { aspect-ratio: 4/3; max-width: 480px; margin: 0 auto; }
  .gallery-row { height: 340px; }
  .gallery-three { height: 280px; }
}

@media (max-width: 768px) {
  :root {
    --section-pad: 60px;
  }

  .nav-links, .btn-nav { display: none; }
  .hamburger { display: flex; }

  /* Mobile nav open */
  #navbar.nav-open .nav-links {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: var(--nav-height);
    left: 0; right: 0;
    background: var(--white);
    padding: 2rem;
    box-shadow: var(--shadow);
    gap: 1.5rem;
  }
  #navbar.nav-open .nav-links a {
    color: var(--text-dark);
    font-size: 1.1rem;
  }
  #navbar.nav-open .btn-nav {
    display: inline-block;
  }
  #navbar.nav-open .nav-right {
    flex-direction: column;
    position: fixed;
    bottom: 0; left: 0; right: 0;
    background: var(--white);
    padding: 1.5rem;
    box-shadow: 0 -2px 20px rgba(0,0,0,0.08);
    z-index: 999;
  }

  /* Mobile gallery */
  .gallery-row, .gallery-row-reverse {
    flex-direction: column;
    height: auto;
    gap: 6px;
  }
  .gallery-large, .gallery-stack, .gallery-stack .gallery-item {
    flex: none;
    height: 260px;
  }
  .gallery-stack { flex-direction: row; height: 180px; }
  .gallery-stack .gallery-item { height: 100%; }
  .gallery-three {
    grid-template-columns: 1fr;
    height: auto;
  }
  .gallery-three .gallery-item { height: 240px; }

  .atmosphere-band { background-attachment: scroll; }
  .atmosphere-band-tall { height: 360px; }

  .form-row { grid-template-columns: 1fr; }

  .amenities { border-radius: 0; }
  .practical { border-radius: 0; }

  .lightbox-prev { left: 0.5rem; }
  .lightbox-next { right: 0.5rem; }
}

@media (max-width: 480px) {
  .hero-features { gap: 1rem; }
  .hero-features span { font-size: 0.8rem; }
  .price-table { font-size: 0.8rem; }
  .price-table th, .price-table td { padding: 0.5rem 0.4rem; }
  .booking-form-wrapper { padding: 1.5rem; }
  .gallery-row { padding: 0 1rem; }
  .gallery-three { padding: 0 1rem; }
  .section-intro { padding: 0 1.2rem; }
}
