/* The Surf Cafe Rhosneigr */

:root {
  --navy: #06293f;
  --navy-deep: #041c2c;
  --sand: #e29750;
  --sand-dark: #c97d36;
  --ink: #1a1814;
  --muted: #5b5f63;
  --cream: #faf6f0;
  --white: #fff;
  --radius: 14px;
  --max: 1160px;
  --font-body: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-head: "Montserrat", var(--font-body);
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--sand-dark); }
a:hover { color: var(--navy); }

h1, h2, h3 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.15;
  color: var(--navy);
  margin: 0 0 .6em;
}
h1 { font-size: clamp(2.2rem, 5vw, 3.75rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1.1em; }

.container { width: min(100% - 32px, var(--max)); margin-inline: auto; }

.skip-link {
  position: absolute; left: -9999px; top: 8px;
  background: var(--sand); color: var(--navy); padding: 8px 14px; z-index: 100;
}
.skip-link:focus { left: 8px; }

.eyebrow {
  display: inline-block;
  font-size: .8rem;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--sand);
  margin-bottom: .75rem;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: .85em 1.6em;
  border-radius: 999px;
  background: var(--sand);
  color: var(--navy);
  font-weight: 500;
  text-decoration: none;
  transition: background .2s, color .2s, transform .2s;
}
.btn:hover { background: var(--white); color: var(--navy); transform: translateY(-1px); }
.btn--navy { background: var(--navy); color: var(--white); }
.btn--navy:hover { background: var(--sand); color: var(--navy); }
.btn--ghost { background: transparent; color: var(--white); box-shadow: inset 0 0 0 2px rgba(255,255,255,.7); }
.btn--ghost:hover { background: var(--white); color: var(--navy); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Header ---------- */
.site-header {
  position: absolute; inset: 0 0 auto 0; z-index: 20;
  padding: 18px 0;
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand img { width: 84px; height: 84px; border-radius: 50%; }

.nav-toggle {
  display: none;
  background: none; border: 0; padding: 8px; cursor: pointer; color: var(--white);
}
.nav-toggle svg { width: 30px; height: 30px; }

.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 6px; }
.site-nav a {
  display: block;
  padding: 8px 16px;
  color: var(--white);
  text-decoration: none;
  font-weight: 500;
  border-radius: 999px;
  transition: background .2s;
}
.site-nav a:hover, .site-nav a[aria-current="page"] { background: rgba(255,255,255,.15); color: var(--white); }

@media (max-width: 760px) {
  .brand img { width: 64px; height: 64px; }
  .nav-toggle { display: block; }
  .site-nav {
    position: fixed; inset: 0; background: var(--navy);
    display: flex; align-items: center; justify-content: center;
    opacity: 0; visibility: hidden; transition: opacity .25s, visibility .25s;
  }
  .site-nav ul { flex-direction: column; text-align: center; gap: 10px; }
  .site-nav a { font-size: 1.5rem; }
  .nav-open .site-nav { opacity: 1; visibility: visible; }
  .nav-open .nav-toggle { position: relative; z-index: 30; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: min(92vh, 860px);
  display: flex; align-items: center;
  color: var(--white);
  background: var(--navy) center / cover no-repeat;
  padding: 140px 0 80px;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(4,28,44,.88) 0%, rgba(6,41,63,.6) 55%, rgba(6,41,63,.25) 100%);
}
.hero > .container { position: relative; }
.hero h1 { color: var(--white); max-width: 14ch; }
.hero p { font-size: 1.2rem; max-width: 42ch; opacity: .92; }

.page-hero { min-height: min(56vh, 560px); padding-bottom: 60px; align-items: flex-end; }

.breadcrumb { font-size: .9rem; margin-bottom: 1rem; opacity: .85; }
.breadcrumb a { color: var(--white); }
.breadcrumb span { margin: 0 .4em; }

/* ---------- Sections ---------- */
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section--cream { background: var(--cream); }
.section--navy { background: var(--navy); color: rgba(255,255,255,.88); }
.section--navy h2, .section--navy h3 { color: var(--white); }

.split {
  display: grid; gap: clamp(32px, 6vw, 80px);
  grid-template-columns: 1fr 1fr; align-items: center;
}
.split--reverse > :first-child { order: 2; }
.split img { border-radius: var(--radius); width: 100%; object-fit: cover; }
.split .img-tall { aspect-ratio: 4 / 5; }
.split .img-wide { aspect-ratio: 3 / 2; }
@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; }
  .split--reverse > :first-child { order: 0; }
}

/* ---------- Feature cards ---------- */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.feature {
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px 30px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(6,41,63,.07);
}
.feature img { width: 150px; height: 150px; border-radius: 50%; object-fit: cover; margin: 0 auto 22px; }
.feature p { color: var(--muted); margin: 0; }
@media (max-width: 900px) { .features { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; } }

.feature-icon {
  width: 150px; height: 150px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--navy); color: var(--sand);
  margin: 0 auto 22px;
}
.feature-icon svg { width: 64px; height: 64px; }

/* ---------- Banner ---------- */
.banner {
  text-align: center;
  background: var(--sand);
  color: var(--navy);
  padding: 44px 0;
}
.banner p { font-family: var(--font-head); font-weight: 700; font-size: clamp(1.15rem, 2.4vw, 1.6rem); margin: 0; }
.banner a { color: var(--navy); }

/* ---------- Info / find us ---------- */
.info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
@media (max-width: 860px) { .info-grid { grid-template-columns: 1fr; } }
.info-card {
  background: var(--cream);
  border-radius: var(--radius);
  padding: 36px;
}
.hours { display: flex; justify-content: space-between; gap: 16px; font-size: 1.2rem; font-weight: 500; color: var(--navy); border-bottom: 1px solid rgba(6,41,63,.12); padding-bottom: 14px; margin-bottom: 14px; }
.note { font-size: .95rem; color: var(--muted); }
.note strong { color: var(--ink); }
.map {
  border: 0; width: 100%; height: 440px; border-radius: var(--radius); display: block;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy-deep);
  color: rgba(255,255,255,.75);
  padding: 56px 0 36px;
  font-size: .95rem;
}
.site-footer a { color: rgba(255,255,255,.85); }
.site-footer a:hover { color: var(--sand); }
.footer-top { display: grid; grid-template-columns: auto 1fr auto; gap: 40px; align-items: start; }
.footer-top img { width: 96px; height: 96px; border-radius: 50%; }
.footer-top h3 { color: var(--white); font-size: 1rem; margin-bottom: .5rem; }
.footer-top address { font-style: normal; }
.social { display: flex; gap: 10px; }
.social a {
  display: grid; place-items: center;
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(255,255,255,.1); color: var(--white);
  transition: background .2s;
}
.social a:hover { background: var(--sand); color: var(--navy); }
.social svg { width: 20px; height: 20px; }
.footer-bottom { margin-top: 40px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.12); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: .85rem; }
@media (max-width: 760px) { .footer-top { grid-template-columns: 1fr; gap: 24px; } }
