/* Global stylesheet for the LION Adventure Golf website.
   All colors, spacings and fonts are defined as tokens in :root. */

@font-face { font-family: "Inter"; font-weight: 400; font-style: normal; font-display: swap; src: url("../fonts/Inter-Regular.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 600; font-style: normal; font-display: swap; src: url("../fonts/Inter-SemiBold.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 700; font-style: normal; font-display: swap; src: url("../fonts/Inter-Bold.woff2") format("woff2"); }

:root {
  --earth-deep: #2a2118;
  --earth: #4a3a28;
  --ochre: #b8761c;
  --ochre-dark: #8f5a12;
  --gold: #e3a72f;
  --acacia: #5c6b3a;
  --sand: #d8c6a0;
  --sand-light: #f5efe3;
  --construction: #ffcb2e;
  --text: #2e2a25;
  --text-muted: #6e6558;
  --bg: #fffdf8;
  --line: #e6dcc8;

  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --radius: 10px;
  --gap: 1.5rem;
  --max: 1160px;
  --shadow: 0 6px 24px rgba(42, 33, 24, 0.12);
}

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

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
}

img { max-width: 100%; height: auto; display: block; }
[hidden] { display: none !important; }

a { color: var(--ochre-dark); }
a:hover { color: var(--earth-deep); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }

h1, h2, h3 { line-height: 1.2; color: var(--earth-deep); margin: 0 0 0.6em; }
h1, h2, h3 { text-wrap: balance; hyphens: auto; overflow-wrap: break-word; }
p, li { text-wrap: pretty; }
h1 { font-size: clamp(2.2rem, 6vw, 3.8rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
h3 { font-size: 1.15rem; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 1rem; }
.section { padding: clamp(3rem, 7vw, 5rem) 0; }
.section--soft { background: var(--sand-light); }
.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ochre);
  margin-bottom: 0.5rem;
}
.lead { font-size: 1.15rem; color: var(--text-muted); margin-top: -0.4rem; }

.skip-link { position: absolute; left: -999px; top: 0.5rem; z-index: 100; background: #fff; padding: 0.5rem 1rem; border-radius: var(--radius); }
.skip-link:focus { left: 0.5rem; }

/* Placeholder mark for content that is not decided yet */
.ph { outline: 2px dashed #d9622b; outline-offset: 2px; border-radius: 4px; background: rgba(217, 98, 43, 0.08); }

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.85rem 1.4rem;
  border-radius: 999px;
  text-decoration: none;
  border: 2px solid transparent;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.btn--small { padding: 0.45rem 1rem; font-size: 0.92rem; }
.btn--primary { background: var(--gold); color: var(--earth-deep); }
.btn--primary:hover { background: var(--construction); color: var(--earth-deep); }
.btn--ghost { border-color: #fff; color: #fff; }
.btn--ghost:hover { background: #fff; color: var(--earth-deep); }
.btn--outline { border-color: var(--earth); color: var(--earth); }
.btn--outline:hover { background: var(--earth); color: #fff; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 253, 248, 0.96);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 72px; }
.brand { display: flex; align-items: center; gap: 0.7rem; text-decoration: none; color: var(--earth-deep); }
.brand:hover { color: var(--earth-deep); }
.brand strong { letter-spacing: 0.08em; color: var(--ochre); }
.brand span { font-size: 1.15rem; font-weight: 600; white-space: nowrap; }
@media (max-width: 400px) { .brand img { width: 44px; height: 44px; } .brand span { font-size: 1rem; } }

/* Hero: photo, short drone loop on larger screens (js/hero.js) */
.hero {
  position: relative;
  min-height: min(86vh, 780px);
  display: flex;
  align-items: flex-end;
  color: #fff;
  overflow: hidden;
  background: var(--earth-deep);
}
.hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.2s; }
.hero-video.is-playing { opacity: 1; }
.hero-toggle { position: absolute; right: 1rem; bottom: 1.5rem; z-index: 2; padding: 0.4rem 0.9rem; border: 1px solid rgba(255, 255, 255, 0.6); border-radius: 999px; background: rgba(42, 33, 24, 0.45); color: #fff; font: inherit; font-size: 0.85rem; cursor: pointer; }
.hero-toggle:hover { background: rgba(42, 33, 24, 0.7); }
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(42, 33, 24, 0.25) 0%, rgba(74, 45, 20, 0.35) 40%, rgba(42, 33, 24, 0.9) 100%);
}
.hero .wrap { position: relative; z-index: 1; padding-bottom: clamp(2.5rem, 7vw, 4.5rem); width: 100%; }
.hero h1 { color: #fff; max-width: 14ch; }
.hero p { font-size: 1.2rem; max-width: 46ch; margin: 0 0 1.5rem; }
.hero .eyebrow { color: var(--construction); }
.hero h1, .hero p, .hero .eyebrow { text-shadow: 0 2px 12px rgba(0, 0, 0, 0.4); }
.actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }

/* Construction tape between hero and facts */
.tape { height: 12px; background: repeating-linear-gradient(-45deg, var(--construction) 0 14px, var(--earth-deep) 14px 28px); }

/* Quick facts bar */
.facts { background: var(--earth-deep); color: #fff; }
.facts .wrap { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.fact { display: flex; gap: 0.8rem; align-items: center; padding: 1.3rem 1.2rem; color: #fff; text-decoration: none; border-left: 1px solid rgba(255, 255, 255, 0.12); transition: background 0.15s; }
.fact:first-child { border-left: 0; padding-left: 0; }
a.fact:hover { background: rgba(255, 255, 255, 0.06); color: #fff; }
.fact-icon { width: 30px; height: 30px; flex: none; fill: none; stroke: var(--gold); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.fact small { display: block; font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; opacity: 0.75; }
.fact strong { display: block; font-size: 1.05rem; }
.fact > span > span { display: block; font-size: 0.88rem; opacity: 0.8; }
@media (max-width: 860px) {
  .facts .wrap { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fact { padding: 1rem 0.8rem; border-left: 0; border-top: 1px solid rgba(255, 255, 255, 0.12); }
  .fact:nth-child(-n+2) { border-top: 0; }
  .fact:nth-child(odd) { padding-left: 0; }
}
@media (max-width: 480px) { .facts .wrap { grid-template-columns: 1fr; } .fact { padding-left: 0; } .fact:nth-child(2) { border-top: 1px solid rgba(255, 255, 255, 0.12); } }

/* Footer */
.site-footer { background: var(--earth-deep); color: rgba(255, 255, 255, 0.8); padding: 2.5rem 0; font-size: 0.95rem; }
.footer-grid { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1.5rem; align-items: flex-end; }
.footer-grid p { margin: 0.8rem 0 0; }
.footer-grid nav { display: flex; flex-wrap: wrap; gap: 1.2rem; }
.site-footer a { color: #fff; }
.site-footer a:hover { color: var(--gold); }
.brand--light, .brand--light:hover { color: #fff; }
.brand--light strong { color: var(--gold); }

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