/* Shared vacation-style theme of the DEMO websites (www, seabreeze, book).
   Copied into each site on purpose: every Vercel project only publishes its own folder.
   The learning site (sites/lab) deliberately uses a completely different style. */
:root {
  --bg: #fdf8f1;
  --surface: #ffffff;
  --sand: #f4e7d3;
  --fg: #14303a;
  --muted: #5d6b70;
  --border: #eadcc6;
  --sea: #14707f;
  --sea-light: #2a9fb0;
  --coral: #e5694a;
  --navy: #14233f;
  --accent: var(--sea);
  --radius: 16px;
  --shadow: 0 2px 6px rgba(20, 48, 58, .06), 0 12px 32px rgba(20, 48, 58, .08);
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, "Times New Roman", serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
body[data-site="www"] { --accent: var(--coral); }

* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--fg); font: 16px/1.65 var(--sans); }
a { color: var(--accent); }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible {
  outline: 3px solid var(--sea-light); outline-offset: 2px;
}
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.15; letter-spacing: -.01em; }
h2 { font-size: 34px; margin: 0 0 10px; }
h3 { font-size: 21px; margin: 0 0 6px; }
code { background: var(--sand); padding: 1px 6px; border-radius: 4px; font-size: .9em; overflow-wrap: anywhere; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 16px; }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.hidden { display: none !important; }
.eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: 12px; font-weight: 700; color: var(--accent); margin: 0 0 8px; }

/* Demo ribbon — tells the visitor this is a fictional demo website (not the learning area). */
.demo-ribbon {
  background: var(--navy); color: #f4e7d3; font-size: 12.5px; text-align: center; padding: 6px 12px;
  letter-spacing: .02em;
}
.demo-ribbon a { color: #ffd27a; }

/* Header */
.topbar { position: absolute; left: 0; right: 0; z-index: 10; color: #fff; }
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; flex-wrap: wrap; }
.topbar.solid { position: static; background: var(--surface); color: var(--fg); border-bottom: 1px solid var(--border); }
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--serif); font-weight: 600; font-size: 21px; color: inherit; text-decoration: none; }
.brand img { width: 32px; height: 32px; }
.topbar nav { display: flex; flex-wrap: wrap; gap: 4px 22px; align-items: center; }
.topbar nav a { color: inherit; text-decoration: none; font-size: 15px; opacity: .92; }
.topbar nav a:hover { opacity: 1; text-decoration: underline; }
.topbar nav a.btn { opacity: 1; }

/* Hero with illustration */
.hero { position: relative; min-height: 600px; display: flex; align-items: flex-end; color: #fff; overflow: hidden; }
.hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(10,25,40,.78) 0%, rgba(10,25,40,.55) 40%, rgba(10,25,40,0) 72%),
    linear-gradient(180deg, rgba(10,25,40,.35) 0%, rgba(10,25,40,0) 30%, rgba(10,25,40,.35) 100%);
}
@media (max-width: 760px) { .hero::after { background: rgba(10,25,40,.6); } }
.hero .wrap { position: relative; z-index: 1; padding-top: 120px; padding-bottom: 72px; width: 100%; }
.hero h1 { font-size: 56px; margin: 0 0 14px; max-width: 780px; text-shadow: 0 2px 18px rgba(0,0,0,.25); }
.hero p.lead { font-size: 19px; max-width: 640px; margin: 0 0 26px; text-shadow: 0 1px 10px rgba(0,0,0,.3); }
.hero .eyebrow { color: #ffd27a; }

/* Buttons */
.btn {
  display: inline-block; font: inherit; font-weight: 600; padding: 12px 22px; border-radius: 999px;
  border: 1px solid transparent; background: var(--accent); color: #fff; text-decoration: none; cursor: pointer;
}
.btn:hover { filter: brightness(1.07); }
.btn.light { background: #fff; color: var(--navy); }
.btn.ghost { background: transparent; border-color: rgba(255,255,255,.75); color: #fff; }
.btn.outline { background: transparent; border-color: var(--accent); color: var(--accent); }
.actions { display: flex; flex-wrap: wrap; gap: 10px; }

/* Sections and cards */
section.block { padding: 72px 0; }
section.block.sand { background: var(--sand); }
section.block.navy { background: var(--navy); color: #f4e7d3; }
section.block.navy .muted { color: #c9c2b4; }
.section-head { max-width: 680px; margin-bottom: 32px; }
.grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr)); }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); color: var(--fg); }
.card p { margin: 0; color: var(--muted); }
.card.media { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.card.media > img { width: 100%; height: 200px; object-fit: cover; display: block; }
.card.media .body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card.media .foot { margin-top: auto; padding-top: 12px; display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.price { font-family: var(--serif); font-size: 22px; font-weight: 600; color: var(--fg); }
.price small { font-family: var(--sans); font-size: 13px; color: var(--muted); font-weight: 400; }
.icon { width: 46px; height: 46px; border-radius: 50%; background: var(--sand); display: grid; place-items: center; color: var(--accent); margin-bottom: 12px; }
.icon svg { width: 22px; height: 22px; }
.split { display: grid; gap: 32px; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); align-items: center; }
.split img { width: 100%; height: auto; border-radius: var(--radius); display: block; box-shadow: var(--shadow); }
ul.clean { margin: 0; padding-left: 18px; color: var(--muted); }
.amenities { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(min(150px, 100%), 1fr)); }
.amenity { display: flex; align-items: center; gap: 10px; color: var(--fg); }
.amenity .icon { margin: 0; width: 40px; height: 40px; flex: none; }

/* Flow (www) */
.flow { display: grid; gap: 12px; grid-template-columns: 1fr auto 1fr auto 1fr; align-items: stretch; }
.flow .card { text-align: center; }
.flow .arrow { align-self: center; color: var(--accent); font-size: 26px; }
@media (max-width: 760px) { .flow { grid-template-columns: 1fr; } .flow .arrow { transform: rotate(90deg); text-align: center; } }

/* Showcase (www) */
.showcase { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: var(--surface); color: var(--fg); }
.showcase img { width: 100%; height: 100%; min-height: 260px; object-fit: cover; display: block; }
.showcase .body { padding: 32px; display: flex; flex-direction: column; gap: 12px; justify-content: center; }
@media (max-width: 760px) { .showcase { grid-template-columns: minmax(0, 1fr); } }

/* Forms */
form { display: grid; gap: 14px; grid-template-columns: minmax(0, 1fr); }
.row { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(min(150px, 100%), 1fr)); }
label { display: grid; gap: 4px; font-weight: 600; font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); min-width: 0; }
label.check { display: flex; gap: 8px; align-items: center; font-weight: 400; font-size: 15px; text-transform: none; letter-spacing: 0; color: var(--fg); }
input, select {
  max-width: 100%; min-width: 0; font: inherit; font-size: 16px; text-transform: none; letter-spacing: 0; color: var(--fg);
  padding: 11px 12px; border-radius: 10px; border: 1px solid var(--border); background: var(--surface);
}
.error { color: #b42318; font-size: 14px; margin: 0; }

/* Floating booking bar (demo) */
.booking-bar {
  position: relative; z-index: 2; margin-top: -56px; background: var(--surface); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 20px 22px; border: 1px solid var(--border);
}
.booking-bar form { grid-template-columns: minmax(0, 1fr) auto; align-items: end; }
@media (max-width: 760px) { .booking-bar form { grid-template-columns: minmax(0, 1fr); } }

/* Booking engine (book) */
.steps { display: flex; gap: 8px; flex-wrap: wrap; margin: 0 0 20px; padding: 0; list-style: none; font-size: 14px; }
.steps li { padding: 6px 14px; border-radius: 999px; background: var(--sand); color: var(--muted); }
.steps li.on { background: var(--sea); color: #fff; }
.book-layout { display: grid; gap: 24px; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); align-items: start; }
@media (max-width: 860px) { .book-layout { grid-template-columns: minmax(0, 1fr); } }
.summary { padding: 0; overflow: hidden; }
.summary > img { width: 100%; height: 150px; object-fit: cover; display: block; }
.summary .body { padding: 20px 22px; }
.summary dl { display: grid; grid-template-columns: 1fr auto; gap: 6px 12px; margin: 0; }
.summary dt { color: var(--muted); }
.summary dd { margin: 0; text-align: right; }
.summary .total { font-family: var(--serif); font-weight: 600; font-size: 22px; border-top: 1px solid var(--border); padding-top: 10px; }
.notice { background: var(--sand); border-radius: 10px; padding: 10px 14px; font-size: 14px; color: var(--fg); }
.page-head { background: var(--sand); padding: 36px 0 28px; }
.page-head h1 { margin: 0 0 6px; font-size: 40px; }

/* Footer */
footer.site { background: var(--navy); color: #c9c2b4; padding: 36px 0 44px; font-size: 14px; }
footer.site .wrap { display: grid; gap: 8px; }
footer.site a { color: #ffd27a; }
footer.site .brand { color: #fff; font-size: 19px; margin-bottom: 6px; }

@media (max-width: 600px) {
  .hero { min-height: 520px; }
  .hero h1 { font-size: 36px; }
  .hero .wrap { padding-top: 110px; padding-bottom: 48px; }
  h2 { font-size: 28px; }
  section.block { padding: 48px 0; }
  .page-head h1 { font-size: 32px; }
  .topbar nav { gap: 4px 14px; }
}
