/* Casolana Holiday Homes – huisstijl */
:root {
  --navy: #1B3A5C;
  --navy-deep: #142C47;
  --terra: #C8663E;
  --terra-dark: #A9532F;
  --sand: #F7F3EC;
  --sand-line: #E3DACB;
  --gold: #D9C9A8;
  --ink: #1E2430;
  --muted: #4B5563;
  --muted-2: #6B7280;
  --white: #FFFFFF;
  --radius: 22px;
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--sand);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--navy); }
a:hover { color: var(--terra); }
h1, h2, h3 { font-family: var(--font-display); font-weight: 500; line-height: 1.1; color: var(--navy); margin: 0; }
h1 { font-size: clamp(38px, 6vw, 60px); }
h2 { font-size: clamp(32px, 4.5vw, 44px); }
h3 { font-size: 28px; font-weight: 600; }
p { margin: 0; }
.muted { color: var(--muted); }

.wrap { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
@media (min-width: 720px) { .wrap { padding: 0 32px; } }

.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: 0.3em; text-transform: uppercase; color: var(--terra); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 14px 28px; border-radius: 999px;
  font: 600 16px var(--font-body); text-decoration: none; cursor: pointer; border: 1.5px solid transparent;
  transition: background .15s, color .15s, transform .15s;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--terra); color: var(--sand); }
.btn-primary:hover { background: var(--terra-dark); color: var(--sand); }
.btn-navy { background: var(--navy); color: var(--sand); }
.btn-navy:hover { background: var(--navy-deep); color: var(--sand); }
.btn-outline { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn-outline:hover { background: var(--navy); color: var(--sand); }
.btn-outline-light { border-color: var(--sand); color: var(--sand); }
.btn-outline-light:hover { background: var(--sand); color: var(--navy); }
.btn-sm { min-height: 40px; padding: 10px 18px; font-size: 14px; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }

/* Header */
.site-header { padding: 18px 0; }
.site-header .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--navy); }
.brand svg { width: 40px; height: 36px; }
.brand-name { font-family: var(--font-display); font-weight: 600; font-size: 26px; letter-spacing: .04em; line-height: 1; display: block; }
.brand-sub { font-size: 9px; font-weight: 600; letter-spacing: .3em; text-transform: uppercase; color: var(--terra); display: block; }
.nav { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; font-size: 15px; font-weight: 500; }
.nav a { text-decoration: none; }
.nav-toggle { display: none; background: none; border: 1.5px solid var(--navy); border-radius: 10px; padding: 8px 10px; cursor: pointer; }
@media (max-width: 760px) {
  .nav-toggle { display: inline-flex; }
  .nav { display: none; width: 100%; flex-direction: column; align-items: flex-start; padding: 12px 0; }
  .nav.open { display: flex; }
}

/* Hero */
.hero { padding-top: 16px; }
.hero-card {
  position: relative; border-radius: 28px; overflow: hidden; background: var(--navy);
  min-height: 520px; display: flex; align-items: flex-end; color: var(--sand);
}
.hero-card img, .hero-card .ph { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(27,58,92,.35) 0%, rgba(27,58,92,.7) 45%, rgba(27,58,92,.97) 100%); }
@media (max-width: 719px) { .hero-card::after { background: linear-gradient(180deg, rgba(27,58,92,.55) 0%, rgba(27,58,92,.8) 40%, rgba(27,58,92,.97) 100%); } }
.hero-inner .eyebrow { color: #F2C4A3; }
.hero-inner h1, .hero-inner p, .hero-inner .eyebrow { text-shadow: 0 1px 2px rgba(20,44,71,.5), 0 2px 12px rgba(20,44,71,.35); }
.hero-inner { position: relative; z-index: 1; padding: 32px 24px 72px; display: flex; flex-direction: column; gap: 20px; max-width: 680px; }
@media (min-width: 720px) { .hero-inner { padding: 48px 48px 88px; } }
.hero-inner h1 { color: var(--sand); }
.hero-inner p { font-size: 18px; color: #E6E1D6; max-width: 540px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Placeholder image block */
.ph { display: flex; align-items: center; justify-content: center; text-align: center; padding: 16px;
  color: var(--gold); font-size: 12px; letter-spacing: .2em; text-transform: uppercase; opacity: .8; }

/* Search bar */
.search { margin-top: -36px; position: relative; z-index: 2; }
@media (max-width: 719px) { .search { margin-top: -28px; } .search form { padding: 16px; } }
.search form {
  background: var(--white); border-radius: 20px; box-shadow: 0 12px 40px rgba(27,58,92,.12);
  padding: 20px; display: flex; flex-wrap: wrap; gap: 16px; align-items: flex-end;
}
.field { display: flex; flex-direction: column; gap: 6px; flex: 1 1 160px; }
.field label { font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted-2); }
.field input, .field select, .field textarea {
  font: 15px var(--font-body); padding: 12px 14px; border: 1px solid var(--sand-line); border-radius: 12px; background: var(--sand); color: var(--ink); min-height: 46px;
}
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--terra); outline-offset: 1px; }

/* Sections */
.section { padding: 72px 0 40px; }
.section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 32px; }
.section-head > div { display: flex; flex-direction: column; gap: 10px; }
.section-head p { max-width: 420px; }

.grid { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }

.card { background: var(--white); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; border: 1px solid #EDE6D9; }
.card-img { height: 220px; background: var(--navy); position: relative; }
.card-img img { width: 100%; height: 100%; object-fit: cover; }
.card-body { padding: 22px; display: flex; flex-direction: column; gap: 10px; }
.card-body .eyebrow { font-size: 12px; letter-spacing: .2em; }
.card-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 8px; gap: 10px; }
.price strong { font-size: 20px; color: var(--navy); }

/* Dark band */
.band { background: var(--navy); color: var(--sand); padding: 64px 0; }
.band h2 { color: var(--sand); }
.band p { color: #D5D9DF; }
.features { display: grid; gap: 28px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); margin-top: 40px; }
.feature { padding: 28px; border: 1px solid rgba(247,243,236,.18); border-radius: 20px; display: flex; flex-direction: column; gap: 12px; }
.feature h3 { color: var(--sand); font-family: var(--font-body); font-size: 20px; font-weight: 600; }
.feature svg { width: 32px; height: 32px; stroke: var(--terra); }

/* Split */
.split { display: flex; flex-wrap: wrap; gap: 48px; align-items: center; padding-top: 80px; padding-bottom: 80px; }
.split > * { flex: 1 1 340px; }
.split .ph-box { min-height: 380px; border-radius: 24px; background: var(--gold); color: var(--navy); overflow: hidden; position: relative; }
.split .ph-box img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.split .text { display: flex; flex-direction: column; gap: 18px; }
.checks { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.checks li { display: flex; gap: 10px; align-items: flex-start; }
.checks li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--terra); flex: 0 0 auto; margin-top: 9px; }

/* CTA */
.cta { padding: 0 0 80px; }
.cta-card { background: var(--terra); color: var(--sand); border-radius: 28px; padding: 40px 28px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px; }
@media (min-width: 720px) { .cta-card { padding: 56px 48px; } }
.cta-card h2 { color: var(--sand); font-size: clamp(30px, 4vw, 42px); }
.cta-card > div:first-child { display: flex; flex-direction: column; gap: 10px; max-width: 560px; }
.cta-card .actions { display: flex; flex-wrap: wrap; gap: 12px; }
.btn-sand { background: var(--sand); color: var(--navy); }
.btn-sand:hover { background: #fff; color: var(--navy); }

/* Footer */
.site-footer { border-top: 1px solid var(--sand-line); padding: 32px 0; font-size: 14px; color: var(--muted-2); }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; align-items: center; }
.site-footer nav { display: flex; gap: 20px; }
.site-footer nav a { text-decoration: none; }

/* Unit page */
.unit-hero { display: grid; gap: 12px; grid-template-columns: 2fr 1fr; grid-template-rows: 260px 260px; margin-top: 16px; }
.unit-hero > * { border-radius: 20px; overflow: hidden; background: var(--navy); position: relative; }
.unit-hero > *:first-child { grid-row: 1 / 3; }
.unit-hero img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 720px) { .unit-hero { grid-template-columns: 1fr; grid-template-rows: 260px; } .unit-hero > *:not(:first-child) { display: none; } .unit-hero > *:first-child { grid-row: auto; } }
.unit-layout { display: flex; flex-wrap: wrap; gap: 40px; padding: 48px 0 80px; align-items: flex-start; }
.unit-main { flex: 1 1 520px; display: flex; flex-direction: column; gap: 36px; }
.unit-side { flex: 0 1 400px; min-width: 300px; position: sticky; top: 16px; }
.specs { display: flex; flex-wrap: wrap; gap: 10px; }
.specs span { background: var(--white); border: 1px solid var(--sand-line); border-radius: 999px; padding: 8px 14px; font-size: 14px; }
.amenities { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.amenities li { display: flex; gap: 10px; align-items: center; }
.amenities svg { width: 20px; height: 20px; stroke: var(--terra); flex: 0 0 auto; }

.map { border-radius: 20px; overflow: hidden; aspect-ratio: 16 / 10; background: var(--gold); }
.map iframe { width: 100%; height: 100%; border: 0; display: block; }

/* Booking widget */
.booking { background: var(--white); border-radius: var(--radius); border: 1px solid #EDE6D9; padding: 24px; display: flex; flex-direction: column; gap: 18px; box-shadow: 0 12px 40px rgba(27,58,92,.08); }
.booking-price { display: flex; align-items: baseline; gap: 6px; }
.booking .field, .contact .field, .panel .field { flex: 0 0 auto; }
.panel .field { flex: 1 1 140px; }
.booking-price strong { font-size: 28px; color: var(--navy); }
.cal { display: flex; flex-direction: column; gap: 10px; }
.cal-head { display: flex; align-items: center; justify-content: space-between; }
.cal-head strong { font-family: var(--font-display); font-size: 22px; color: var(--navy); }
.cal-nav { background: none; border: 1px solid var(--sand-line); border-radius: 10px; width: 40px; height: 40px; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; color: var(--navy); }
.cal-nav:hover { background: var(--sand); }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.cal-dow { text-align: center; font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted-2); padding: 4px 0; }
.cal-day { aspect-ratio: 1; display: flex; align-items: center; justify-content: center; border-radius: 10px; font-size: 14px; border: 0; background: var(--sand); color: var(--ink); cursor: pointer; font-family: inherit; }
.cal-day:hover:not([disabled]) { background: var(--gold); }
.cal-day.empty { background: transparent; cursor: default; }
.cal-day[disabled] { background: #EFEAE1; color: #B0A89A; text-decoration: line-through; cursor: not-allowed; }
.cal-day.past { text-decoration: none; }
.cal-day.in-range { background: #F1D9CC; }
.cal-day.start, .cal-day.end { background: var(--terra); color: var(--sand); font-weight: 600; }
.cal-legend { display: flex; gap: 16px; font-size: 12px; color: var(--muted-2); }
.cal-legend span::before { content: ""; display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 6px; vertical-align: middle; }
.cal-legend .l-free::before { background: var(--sand); border: 1px solid var(--sand-line); }
.cal-legend .l-busy::before { background: #EFEAE1; }
.cal-legend .l-sel::before { background: var(--terra); }
.summary { display: flex; flex-direction: column; gap: 6px; font-size: 15px; border-top: 1px solid var(--sand-line); padding-top: 14px; }
.summary div { display: flex; justify-content: space-between; }
.summary .total { font-weight: 600; font-size: 17px; color: var(--navy); border-top: 1px solid var(--sand-line); padding-top: 8px; margin-top: 4px; }
.notice { font-size: 14px; padding: 12px 14px; border-radius: 12px; background: #FBEFE8; color: var(--terra-dark); }
.notice.ok { background: #E7F3EC; color: #1F6B45; }
.hidden { display: none !important; }

/* Page intro */
.page-intro { padding: 40px 0 8px; display: flex; flex-direction: column; gap: 12px; max-width: 760px; }
.prose { max-width: 760px; display: flex; flex-direction: column; gap: 16px; padding-bottom: 80px; }
.prose h2 { font-size: 30px; margin-top: 16px; }

/* Contact */
.contact { display: flex; flex-wrap: wrap; gap: 40px; padding: 40px 0 80px; }
.contact form { flex: 1 1 420px; background: var(--white); border-radius: var(--radius); border: 1px solid #EDE6D9; padding: 24px; display: flex; flex-direction: column; gap: 16px; }
.contact aside { flex: 1 1 280px; display: flex; flex-direction: column; gap: 14px; }

/* Zwevende WhatsApp-knop */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 50;
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 56px; padding: 0 20px 0 14px; border-radius: 999px;
  background: #25D366; color: #fff; text-decoration: none; font-weight: 600; font-size: 15px;
  box-shadow: 0 8px 24px rgba(20,44,71,.25); transition: transform .15s, box-shadow .15s;
}
.wa-float:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 12px 28px rgba(20,44,71,.3); }
.wa-float img { width: 30px; height: 30px; display: block; }
@media (max-width: 719px) { .wa-float { padding: 0; width: 56px; justify-content: center; right: 16px; bottom: 16px; } .wa-float span { display: none; } }
