/* Beach Life Apartments — 2026 rebuild
   Brand carried over from the existing site: teal #2e97b5, Raleway. */

:root {
  --teal: #2e97b5;
  --teal-dark: #1e6d85;
  --teal-pale: #eaf4f7;
  --ink: #2b3338;
  --muted: #6b7a80;
  --line: #dde5e8;
  --paper: #ffffff;
  --wash: #f4f7f8;
  --shell: 1120px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation: none !important; transition: none !important; }
}

body {
  margin: 0;
  font-family: "Raleway", "Helvetica Neue", Arial, sans-serif;
  font-weight: 400;
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: var(--teal-dark); }
a:focus-visible, button:focus-visible, input:focus-visible,
textarea:focus-visible, select:focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: 2px;
}

h1, h2, h3, h4 {
  font-weight: 300;
  line-height: 1.25;
  color: var(--ink);
  margin: 0 0 .6em;
}
h1 { font-size: clamp(2rem, 5vw, 3.1rem); letter-spacing: .01em; }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); }
h3 { font-size: 1.3rem; font-weight: 400; }
h4 { font-size: 1rem; font-weight: 600; letter-spacing: .04em; color: var(--teal-dark); }

p { margin: 0 0 1.1em; max-width: 68ch; }

.shell { max-width: var(--shell); margin: 0 auto; padding: 0 24px; }
.section { padding: 72px 0; }
.section--wash { background: var(--wash); }
.section--tight { padding: 48px 0; }

/* ---------- top bar ---------- */
.topbar {
  background: var(--teal);
  color: #fff;
  font-size: .85rem;
  letter-spacing: .02em;
}
.topbar .shell {
  display: flex; flex-wrap: wrap; gap: 4px 28px;
  justify-content: flex-end; padding-top: 9px; padding-bottom: 9px;
}
.topbar a { color: #fff; text-decoration: none; }
.topbar a:hover { text-decoration: underline; }

/* ---------- masthead ---------- */
.masthead { border-bottom: 1px solid var(--line); background: #fff; }
.masthead .shell {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; padding-top: 18px; padding-bottom: 18px;
}
.brand img { width: 190px; }

.nav ul {
  list-style: none; margin: 0; padding: 0;
  display: flex; gap: 30px; align-items: center;
}
.nav a {
  text-decoration: none; color: var(--ink);
  font-size: .95rem; letter-spacing: .03em;
  padding: 6px 0; border-bottom: 2px solid transparent;
}
.nav a:hover { color: var(--teal-dark); border-bottom-color: var(--teal); }
.nav a[aria-current="page"] { color: var(--teal-dark); border-bottom-color: var(--teal); }

.nav-toggle { display: none; }
.nav-btn {
  display: none; background: none; border: 1px solid var(--line);
  border-radius: 3px; padding: 9px 12px; cursor: pointer; color: var(--ink);
  font-family: inherit; font-size: .9rem;
}

@media (max-width: 880px) {
  .nav-btn { display: block; }
  .nav {
    position: absolute; left: 0; right: 0; top: 100%;
    background: #fff; border-bottom: 1px solid var(--line);
    display: none; z-index: 40;
  }
  .masthead .shell { position: relative; }
  .nav ul { flex-direction: column; align-items: stretch; gap: 0; padding: 8px 24px 20px; }
  .nav a { display: block; padding: 12px 0; border-bottom: 1px solid var(--line); }
  .nav-toggle:checked ~ .nav { display: block; }
  .brand img { width: 150px; }
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  min-height: 60vh;
  display: flex; align-items: flex-end;
  background: var(--ink) center/cover no-repeat;
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(10,26,33,.86), rgba(10,26,33,.45) 58%, rgba(10,26,33,.30));
}
.hero__inner {
  position: relative; z-index: 2; width: 100%;
  padding: 56px 0; color: #fff;
}
.hero h1 { color: #fff; margin-bottom: .3em; text-shadow: 0 1px 18px rgba(0,0,0,.35); max-width: 20ch; }
.hero p {
  color: rgba(255,255,255,.94); font-size: 1.15rem; font-weight: 300;
  margin-bottom: 1.6em; text-shadow: 0 1px 12px rgba(0,0,0,.35);
}
.hero .btn + .btn { margin-left: 12px; }
@media (max-width: 560px) {
  .hero .btn { display: block; text-align: center; }
  .hero .btn + .btn { margin-left: 0; margin-top: 12px; }
}
.hero--short { min-height: 40vh; }

/* ---------- buttons ---------- */
.btn {
  display: inline-block; text-decoration: none;
  background: var(--teal); color: #fff;
  padding: 14px 30px; border-radius: 2px;
  font-size: .95rem; letter-spacing: .05em;
  border: 1px solid var(--teal); cursor: pointer;
  font-family: inherit;
}
.btn:hover { background: var(--teal-dark); border-color: var(--teal-dark); }
.btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.8); }
.btn--ghost:hover { background: rgba(255,255,255,.16); border-color: #fff; }
.btn--quiet { background: transparent; color: var(--teal-dark); border-color: var(--teal); }
.btn--quiet:hover { background: var(--teal-pale); }

/* ---------- generic layout helpers ---------- */
.lede { font-size: 1.2rem; font-weight: 300; color: var(--muted); max-width: 60ch; }
.split { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: start; }
@media (max-width: 820px) { .split { grid-template-columns: 1fr; gap: 32px; } }

.feature-list { list-style: none; margin: 0; padding: 0; }
.feature-list li {
  padding: 11px 0 11px 30px; position: relative;
  border-bottom: 1px solid var(--line);
}
.feature-list li::before {
  content: ""; position: absolute; left: 4px; top: 21px;
  width: 9px; height: 9px; border-radius: 50%; background: var(--teal);
}

/* ---------- property grid ---------- */
.grid-props {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 34px;
}
@media (max-width: 760px) { .grid-props { grid-template-columns: 1fr; } }

.prop-card {
  background: #fff; border: 1px solid var(--line);
  display: flex; flex-direction: column; overflow: hidden;
}
.prop-card img { height: 240px; object-fit: cover; width: 100%; }
.prop-card__body { padding: 26px 28px 30px; display: flex; flex-direction: column; flex: 1; }
.prop-card h3 { margin-bottom: .35em; }
.prop-card__meta {
  color: var(--teal-dark); font-size: .88rem;
  letter-spacing: .03em; margin: 0 0 12px;
}
.prop-card p { font-size: .97rem; color: var(--muted); }
.prop-card .btn { align-self: flex-start; margin-top: auto; }

.prop-card--pending {
  border-style: dashed; border-color: var(--teal);
  background: var(--teal-pale);
  align-items: center; justify-content: center;
  text-align: center; padding: 60px 30px; min-height: 300px;
}
.prop-card--pending p { color: var(--teal-dark); margin: 0; }

/* ---------- facilities panel ---------- */
.facts { border-top: 2px solid var(--teal); background: var(--wash); padding: 30px 32px; }
.facts dl { margin: 0; }
.facts dt {
  font-weight: 600; font-size: .82rem; letter-spacing: .07em;
  color: var(--teal-dark); margin-top: 20px;
}
.facts dt:first-child { margin-top: 0; }
.facts dd { margin: 4px 0 0; }

/* ---------- gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
@media (max-width: 760px) { .gallery { grid-template-columns: repeat(2, 1fr); } }
.gallery a { display: block; }
.gallery img { width: 100%; height: 210px; object-fit: cover; }

/* ---------- testimonials ---------- */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
@media (max-width: 900px) { .quotes { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .quotes { grid-template-columns: 1fr; } }
.quote { border-left: 3px solid var(--teal); padding-left: 22px; }
.quote p { font-size: .98rem; font-style: italic; color: var(--ink); }
.quote cite { font-style: normal; font-size: .87rem; color: var(--muted); letter-spacing: .03em; }

/* ---------- link tiles ---------- */
.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 900px) { .tiles { grid-template-columns: repeat(2, 1fr); } }
.tile { position: relative; display: block; text-decoration: none; overflow: hidden; }
.tile img { height: 190px; object-fit: cover; width: 100%; }
.tile span {
  position: absolute; left: 0; right: 0; bottom: 0;
  background: linear-gradient(to top, rgba(14,32,40,.85), transparent);
  color: #fff; padding: 34px 18px 16px; font-size: 1.02rem; font-weight: 400;
}
.tile:hover span { background: linear-gradient(to top, rgba(46,151,181,.92), transparent); }

/* ---------- form ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 700px) { .form-grid { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; }
.field--wide { grid-column: 1 / -1; }
.field label { font-size: .87rem; letter-spacing: .04em; margin-bottom: 6px; color: var(--muted); }
.field input, .field select, .field textarea {
  font-family: inherit; font-size: 1rem; color: var(--ink);
  border: 1px solid var(--line); border-radius: 2px;
  padding: 12px 14px; background: #fff;
}
.field textarea { min-height: 140px; resize: vertical; }
.checkline { display: flex; gap: 11px; align-items: flex-start; font-size: .93rem; }
.checkline input { margin-top: 5px; }

/* ---------- map ---------- */
.map-frame { border: 1px solid var(--line); }
.map-frame iframe { display: block; width: 100%; height: 420px; border: 0; }

/* ---------- booking embed ---------- */
.booking-shell { border: 1px solid var(--line); padding: 24px; min-height: 420px; background: #fff; }

/* ---------- footer ---------- */
.site-footer { background: var(--ink); color: rgba(255,255,255,.72); padding: 56px 0 30px; font-size: .93rem; }
.site-footer h4 { color: #fff; font-size: .82rem; letter-spacing: .1em; font-weight: 600; margin-bottom: 14px; }
.site-footer a { color: rgba(255,255,255,.82); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 7px; }
.footer-cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 44px; }
@media (max-width: 780px) { .footer-cols { grid-template-columns: 1fr; gap: 30px; } }
.footer-base {
  border-top: 1px solid rgba(255,255,255,.14);
  margin-top: 40px; padding-top: 20px;
  font-size: .84rem; color: rgba(255,255,255,.55);
  display: flex; flex-wrap: wrap; gap: 8px 22px; justify-content: space-between;
}


/* ---------- lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(8,20,26,.93);
  display: flex; align-items: center; justify-content: center;
  padding: 60px 70px;
}
.lightbox[hidden] { display: none; }
.lightbox__img {
  max-width: 100%; max-height: 100%;
  object-fit: contain; box-shadow: 0 20px 60px rgba(0,0,0,.5);
}
.lightbox button {
  position: absolute; background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.3); color: #fff;
  cursor: pointer; font-family: inherit; line-height: 1;
  border-radius: 3px;
}
.lightbox button:hover { background: rgba(255,255,255,.26); }
.lightbox__close { top: 18px; right: 18px; font-size: 2rem; width: 46px; height: 46px; }
.lightbox__nav { top: 50%; transform: translateY(-50%); font-size: 2.4rem; width: 50px; height: 66px; }
.lightbox__nav--prev { left: 14px; }
.lightbox__nav--next { right: 14px; }
@media (max-width: 640px) {
  .lightbox { padding: 64px 12px; }
  .lightbox__nav { width: 42px; height: 56px; font-size: 2rem; }
}

/* large topic tiles — Discover Darwin */
.tiles--large { grid-template-columns: repeat(2, 1fr); gap: 26px; }
.tiles--large img { height: 340px; }
.tiles--large span { font-size: 1.5rem; font-weight: 300; padding: 60px 26px 24px; }
@media (max-width: 760px) {
  .tiles--large { grid-template-columns: 1fr; }
  .tiles--large img { height: 240px; }
  .tiles--large span { font-size: 1.25rem; }
}

/* ---------- form notices ---------- */
.notice { border-radius: 3px; padding: 18px 22px; margin-bottom: 26px; }
.notice p { max-width: none; }
.notice p:last-child, .notice ul:last-child { margin-bottom: 0; }
.notice h2 { margin-top: 0; }
.notice--ok  { background: #e7f5ee; border-left: 4px solid #1d7a4c; }
.notice--bad { background: #fdecea; border-left: 4px solid #b3261e; }
.notice--bad ul { margin: 8px 0 0; padding-left: 20px; }
.field--error input, .field--error textarea, .field--error select { border-color: #b3261e; }
.field--error label { color: #b3261e; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- footer admin link ---------- */
.footer-base a { color: rgba(255,255,255,.55); }
.footer-base a:hover { color: #fff; }
