/* Visit Ballito — coastal travel guide brand (distinct from lodging sites) */
:root {
  --ink: #0c2740;
  --navy: #143a5c;
  --ocean: #1a6fa8;
  --sky: #3d9fd4;
  --foam: #e8f4fb;
  --sand: #f5efe4;
  --shell: #faf7f1;
  --paper: #ffffff;
  --coral: #e07a5f;
  --coral-deep: #c45d42;
  --gold: #d4a574;
  --text: #2a3540;
  --muted: #5a6a78;
  --line: rgba(20, 58, 92, 0.12);
  --shadow: 0 14px 40px rgba(12, 39, 64, 0.1);
  --radius: 14px;
  --max: 1080px;
  --header-h: 72px;
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Source Sans 3", "Segoe UI", Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  background: var(--shell);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.7;
  font-size: 17px;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--ocean); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--ink); }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.015em;
  margin: 0 0 0.55em;
}
h1 { font-size: clamp(2rem, 4.5vw, 3.25rem); }
h2 { font-size: clamp(1.45rem, 2.8vw, 2.1rem); margin-top: 1.8em; }
h3 { font-size: 1.25rem; margin-top: 1.4em; }
p { margin: 0 0 1em; }
.lede { font-size: 1.12rem; color: var(--muted); max-width: 42rem; }
.muted { color: var(--muted); }
.kicker {
  display: inline-block;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--ocean);
  margin-bottom: 0.65rem;
}

.container { width: min(var(--max), calc(100% - 2rem)); margin: 0 auto; }
.narrow { width: min(720px, calc(100% - 2rem)); margin: 0 auto; }
.section { padding: 3.5rem 0; }
.section-tight { padding: 2.5rem 0; }
.section-foam { background: var(--foam); }
.section-sand { background: var(--sand); }
.section-ocean {
  background: linear-gradient(155deg, #0c2740 0%, #143a5c 45%, #1a6fa8 100%);
  color: #e8f4fb;
}
.section-ocean h2, .section-ocean h3 { color: #fff; }
.section-ocean a { color: #9fd4f0; }
.section-ocean a:hover { color: #fff; }

.skip { position: absolute; left: -999px; top: 0; }
.skip:focus { left: 1rem; top: 1rem; background: #fff; padding: 0.5rem 1rem; z-index: 100; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(250, 247, 241, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  width: min(var(--max), calc(100% - 2rem));
  margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  min-height: var(--header-h); gap: 1rem;
}
.brand {
  display: flex; align-items: center; gap: 0.65rem;
  text-decoration: none; color: var(--ink);
}
.brand-mark {
  width: 36px; height: 36px; border-radius: 50%;
  background: linear-gradient(135deg, var(--sky), var(--ocean) 55%, var(--navy));
  box-shadow: inset 0 -4px 0 rgba(0,0,0,0.12);
  position: relative;
}
.brand-mark::after {
  content: "";
  position: absolute; bottom: 7px; left: 6px; right: 6px; height: 5px;
  background: rgba(245, 239, 228, 0.85); border-radius: 4px;
}
.brand-name { font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; display: block; line-height: 1.1; }
.brand-sub { font-size: 0.68rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }

.nav-toggle {
  display: none; background: none; border: 1px solid var(--line);
  border-radius: 8px; padding: 0.45rem 0.55rem; cursor: pointer;
}
.nav-toggle span {
  display: block; width: 20px; height: 2px; background: var(--ink);
  margin: 4px 0; border-radius: 1px;
}
.nav { display: flex; flex-wrap: wrap; gap: 0.15rem 1rem; align-items: center; }
.nav a {
  text-decoration: none; color: var(--text); font-size: 0.92rem; font-weight: 500;
  padding: 0.25rem 0;
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--ocean); }
.nav-cta {
  background: var(--ocean) !important; color: #fff !important;
  padding: 0.45rem 0.9rem !important; border-radius: 999px;
  text-decoration: none !important;
}
.nav-cta:hover { background: var(--navy) !important; color: #fff !important; }

@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .nav {
    display: none; position: absolute; top: var(--header-h); left: 0; right: 0;
    background: var(--shell); border-bottom: 1px solid var(--line);
    flex-direction: column; align-items: stretch; padding: 1rem 1.25rem 1.25rem;
    gap: 0.35rem;
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 0.55rem 0.25rem; }
  .nav-cta { text-align: center; margin-top: 0.35rem; }
}

/* Hero */
.hero {
  position: relative;
  background:
    linear-gradient(160deg, rgba(12,39,64,0.72) 0%, rgba(26,111,168,0.55) 55%, rgba(61,159,212,0.4) 100%),
    linear-gradient(180deg, #1a6fa8 0%, #3d9fd4 40%, #f5efe4 100%);
  color: #fff; padding: 4.5rem 0 4rem; overflow: hidden;
}
.hero.hero-page { padding: 3.25rem 0 2.75rem; }
.hero-inner { width: min(var(--max), calc(100% - 2rem)); margin: 0 auto; position: relative; z-index: 1; }
.hero h1 { color: #fff; max-width: 18ch; }
.hero .lede, .hero p { color: rgba(255,255,255,0.92); max-width: 36rem; }
.hero .kicker { color: #cce8f8; }
.hero-wave {
  position: absolute; bottom: -1px; left: 0; right: 0; height: 48px;
  background: var(--shell);
  clip-path: ellipse(55% 100% at 50% 100%);
}

.btn-row { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.5rem; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0.7rem 1.25rem; border-radius: 999px; font-weight: 600;
  text-decoration: none; font-size: 0.95rem; border: 2px solid transparent;
  transition: transform 0.15s ease, background 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: #fff; color: var(--navy); }
.btn-primary:hover { background: var(--foam); color: var(--ink); }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,0.55); }
.btn-ghost:hover { background: rgba(255,255,255,0.12); color: #fff; }
.btn-coral { background: var(--coral); color: #fff; }
.btn-coral:hover { background: var(--coral-deep); color: #fff; }
.btn-outline {
  background: transparent; color: var(--ocean); border-color: var(--ocean);
}
.btn-outline:hover { background: var(--foam); color: var(--ink); }

/* Cards / grids */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
@media (max-width: 800px) {
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
}
.card {
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1.35rem 1.4rem;
  box-shadow: var(--shadow); text-decoration: none; color: inherit;
  display: block; transition: transform 0.15s ease, box-shadow 0.15s ease;
}
a.card:hover { transform: translateY(-3px); box-shadow: 0 18px 44px rgba(12,39,64,0.14); }
.card h3 { margin-top: 0; font-size: 1.2rem; }
.card p { color: var(--muted); margin-bottom: 0; font-size: 0.95rem; }
.card-tag {
  display: inline-block; font-size: 0.68rem; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--ocean); font-weight: 600; margin-bottom: 0.4rem;
}

/* Article body */
.article { padding: 2.5rem 0 3.5rem; }
.article .prose { max-width: 720px; }
.prose ul, .prose ol { padding-left: 1.25rem; margin: 0 0 1.25rem; }
.prose li { margin-bottom: 0.4rem; }
.prose strong { color: var(--ink); }
.breadcrumbs {
  font-size: 0.85rem; color: var(--muted); margin-bottom: 1.25rem;
}
.breadcrumbs a { color: var(--muted); text-decoration: none; }
.breadcrumbs a:hover { color: var(--ocean); }
.breadcrumbs span { margin: 0 0.35rem; opacity: 0.5; }

.tip-box, .callout {
  background: var(--foam); border-left: 4px solid var(--ocean);
  padding: 1rem 1.15rem; border-radius: 0 var(--radius) var(--radius) 0;
  margin: 1.5rem 0;
}
.callout-sand { background: var(--sand); border-left-color: var(--gold); }
.callout-soft {
  background: linear-gradient(135deg, var(--foam), var(--sand));
  border: 1px solid var(--line); border-left: 4px solid var(--coral);
  border-radius: var(--radius); padding: 1.25rem 1.4rem; margin: 1.75rem 0;
}
.callout-soft h3 { margin-top: 0; }

.faq { margin: 2rem 0 0; }
.faq details {
  background: var(--paper); border: 1px solid var(--line);
  border-radius: 10px; padding: 0.85rem 1.1rem; margin-bottom: 0.65rem;
}
.faq summary { font-weight: 600; color: var(--ink); cursor: pointer; }
.faq details p { margin: 0.65rem 0 0.15rem; color: var(--muted); }

.related {
  margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--line);
}
.related ul { list-style: none; padding: 0; margin: 0; }
.related li { margin-bottom: 0.5rem; }

.updated { font-size: 0.85rem; color: var(--muted); margin-top: 0.5rem; }

/* Soft stay CTA strip */
.stay-strip {
  background: var(--sand); border-radius: var(--radius);
  padding: 1.35rem 1.5rem; margin: 2rem 0;
  display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; justify-content: space-between;
}
.stay-strip p { margin: 0; max-width: 36rem; }

/* Footer */
.site-footer {
  background: var(--ink); color: rgba(232,244,251,0.85);
  padding: 3rem 0 2rem; margin-top: 2rem;
}
.site-footer a { color: #9fd4f0; text-decoration: none; }
.site-footer a:hover { color: #fff; }
.footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 1.5rem;
  width: min(var(--max), calc(100% - 2rem)); margin: 0 auto 2rem;
}
@media (max-width: 800px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
.footer-brand { font-family: var(--font-display); font-size: 1.3rem; color: #fff; margin-bottom: 0.5rem; }
.footer-col h4 { color: #fff; font-size: 0.85rem; letter-spacing: 0.08em; text-transform: uppercase; margin: 0 0 0.75rem; font-family: var(--font-body); }
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 0.4rem; font-size: 0.92rem; }
.footer-bottom {
  width: min(var(--max), calc(100% - 2rem)); margin: 0 auto;
  padding-top: 1.25rem; border-top: 1px solid rgba(255,255,255,0.12);
  font-size: 0.82rem; color: rgba(232,244,251,0.55);
  display: flex; flex-wrap: wrap; gap: 0.75rem; justify-content: space-between;
}

.pillars-intro { margin-bottom: 1.5rem; }
.feature-list { display: grid; gap: 0.85rem; margin: 1.25rem 0; }
.feature-item {
  display: grid; grid-template-columns: auto 1fr; gap: 0.85rem;
  align-items: start;
}
.feature-icon {
  width: 40px; height: 40px; border-radius: 10px;
  background: var(--foam); color: var(--ocean);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
}
