/* Colours and fonts taken from the previous lorea.homes site */
:root {
  --plum: #74515f;
  --blue: #4991b7;
  --focus-bg: rgba(0, 226, 255, 0.38);
  --text: #000;
  --muted: #555;
  --card-bg: #fff;
  --page-bg: #f4f6f8;
  --serif: "Playfair Display", Georgia, serif;
  --sans: Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.5;
  color: var(--text);
  background: var(--page-bg);
}

a { color: var(--blue); }

/* Banner */
.hero {
  min-height: 70vh;
  padding: 48px 16px 72px;
  background-size: cover;
  background-position: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  text-align: center;
}
.hero h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(32px, 5.5vw, 64px);
  line-height: 1.15;
  color: #fff;
  max-width: 1000px;
  margin: 0;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.55);
}
.hero h1 strong { font-weight: 700; }
.hero-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}
.hero-nav a {
  background: rgba(255, 255, 255, 0.88);
  color: var(--blue);
  text-decoration: none;
  padding: 8px 16px;
  border-radius: 999px;
  font-weight: 600;
}
.hero-nav a:hover { background: #fff; }

/* Content cards */
main {
  max-width: 1436px;
  margin: 0 auto;
  padding: 0 16px;
}
.card {
  background: var(--card-bg);
  border-radius: 20px;
  box-shadow: 0 2px 14px rgba(0, 0, 0, 0.08);
  padding: 32px;
  margin: 32px 0;
}
.intro { margin-top: -40px; position: relative; }

h2, h3, h4 { font-family: var(--serif); font-weight: 700; text-align: center; }
h2 { color: var(--plum); font-size: clamp(26px, 3.5vw, 40px); margin: 0 0 24px; line-height: 1.2; }
h3 { color: var(--blue); font-size: 24px; margin: 0 0 16px; }
h4 { color: var(--blue); font-size: 19px; margin: 0 0 16px; }

.focus {
  background: var(--focus-bg);
  border-radius: 10px;
  padding: 12px 18px;
  text-align: center;
  margin: 0 0 24px;
}

.map { display: block; }
.map img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 14px;
  box-shadow: 0 2px 14px rgba(0, 0, 0, 0.12);
}

.description {
  margin: 28px auto 0;
  font-size: 16px;
  line-height: 1.65;
}
.description p { margin: 0 0 12px; }

/* Photo galleries */
.gallery {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}
.gallery a { display: block; border-radius: 6px; overflow: hidden; }
.gallery img {
  display: block;
  height: 135px;
  width: auto;
  transition: transform 0.2s;
}
.gallery a:hover img { transform: scale(1.06); }

/* Booking form */
.booking {
  max-width: 520px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}
.booking label { font-weight: 600; margin: 14px 0 4px; }
.booking .req { color: var(--plum); }
.booking input,
.booking select,
.booking textarea {
  font: inherit;
  padding: 10px 12px;
  border: 1px solid #c9d3da;
  border-radius: 8px;
  background: #fff;
  color: var(--text);
}
.booking input:focus,
.booking select:focus,
.booking textarea:focus { outline: 2px solid var(--blue); border-color: transparent; }
.booking .invalid { border-color: #c0392b; }
.booking button {
  margin-top: 22px;
  font: inherit;
  font-weight: 700;
  padding: 12px;
  border: 0;
  border-radius: 999px;
  background: var(--blue);
  color: #fff;
  cursor: pointer;
}
.booking button:hover { background: #3a7a9c; }
.booking button:disabled { opacity: 0.6; cursor: default; }
.form-status { min-height: 1.5em; text-align: center; margin: 14px 0 0; }
.form-status.ok { color: #1e7b45; font-weight: 600; }
.form-status.error { color: #c0392b; }
.hp { position: absolute; left: -9999px; }

footer {
  text-align: center;
  color: var(--muted);
  padding: 8px 16px 40px;
}

/* Full-screen photo viewer */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
}
.lightbox[hidden] { display: none; }
.lightbox img { max-width: 92vw; max-height: 86vh; border-radius: 6px; }
.lightbox button {
  position: absolute;
  background: none;
  border: 0;
  color: #fff;
  font-size: 48px;
  line-height: 1;
  cursor: pointer;
  padding: 12px 16px;
}
.lb-close { top: 8px; right: 8px; }
.lb-prev { left: 4px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 4px; top: 50%; transform: translateY(-50%); }
.lb-count { position: absolute; bottom: 8px; color: #ddd; margin: 0; }

@media (max-width: 600px) {
  .card { padding: 22px 16px; border-radius: 16px; }
  .gallery img { height: 70px; }
  .hero { min-height: 60vh; }
}
