/* ============================================================
   ÄssäGolf — style.css
   Yhteinen tyylitiedosto kaikille sivuille
   ============================================================ */

/* ── RESET & VARIABLES ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --orange:      #fb601b;
  --orange-dim:  #d94e12;
  --bg:          #111111;
  --bg-card:     #191919;
  --bg-lift:     #212121;
  --border:      rgba(255,255,255,0.08);
  --border-mid:  rgba(255,255,255,0.13);
  --white:       #f0efed;
  --muted:       rgba(240,239,237,0.5);
  --softer:      rgba(240,239,237,0.28);
  --font-head:   'Barlow Condensed', sans-serif;
  --font-body:   'Barlow', sans-serif;
  --container:   1400px;
  --header-h:    60px;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

/* ── CONTAINER ── */
.container {
  width: 100%;
  max-width: var(--container);
  margin-left: auto;
  margin-right: auto;
  padding-left: clamp(20px, 4vw, 64px);
  padding-right: clamp(20px, 4vw, 64px);
}

/* ── HEADER ── */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(17,17,17,0.95);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.site-header .container {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.logo {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--white);
  text-decoration: none;
  flex-shrink: 0;
}
.logo span { color: var(--orange); }

/* Desktop nav */
.site-nav {
  display: flex;
  align-items: center;
  gap: 2px;
  flex-wrap: nowrap;
}
.site-nav a {
  font-size: 13px;
  color: var(--muted);
  text-decoration: none;
  padding: 6px 10px;
  border-radius: 4px;
  white-space: nowrap;
  transition: color .18s, background .18s;
}
.site-nav a:hover      { color: var(--white); background: rgba(255,255,255,0.05); }
.site-nav a.active     { color: var(--orange); }
.site-nav .nav-shop    { color: var(--orange); border: 1px solid rgba(251,96,27,0.3); }
.site-nav .nav-shop:hover { background: rgba(251,96,27,0.07); }
.site-nav .nav-cta     { background: var(--orange); color: #fff; font-weight: 500; padding: 7px 16px; border-radius: 4px; }
.site-nav .nav-cta:hover { background: var(--orange-dim); }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  flex-shrink: 0;
  width: 38px;
  height: 38px;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform .25s, opacity .25s;
  pointer-events: none;
}

/* Mobile menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: var(--header-h);
  left: 0; right: 0;
  z-index: 99;
  background: #111;
  border-bottom: 1px solid var(--border);
  padding: 8px 0 16px;
  flex-direction: column;
}
.mobile-menu.is-open { display: flex; }
.mobile-menu a {
  display: block;
  font-size: 16px;
  color: var(--muted);
  text-decoration: none;
  padding: 14px clamp(20px,4vw,64px);
  border-bottom: 1px solid var(--border);
  transition: color .15s;
}
.mobile-menu a:last-child  { border-bottom: none; }
.mobile-menu a:hover       { color: var(--white); }
.mobile-menu .m-shop       { color: var(--orange); }
.mobile-menu .m-cta {
  background: var(--orange);
  color: #fff;
  text-align: center;
  font-weight: 500;
  margin: 8px clamp(20px,4vw,64px) 0;
  border-radius: 4px;
  border-bottom: none;
  padding: 14px;
}

/* ── PAGE ── */
.page { padding-top: var(--header-h); }

/* ── TYPOGRAPHY HELPERS ── */
.eyebrow {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 12px;
}
.section-title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(34px, 5vw, 58px);
  text-transform: uppercase;
  letter-spacing: 1px;
  line-height: .93;
  margin-bottom: 16px;
}
.section-lead {
  font-size: 16px;
  font-weight: 300;
  color: var(--muted);
  line-height: 1.65;
}

/* ── BUTTONS ── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--orange);
  color: #fff;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 14px;
  padding: 13px 26px;
  border-radius: 4px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  transition: background .18s, transform .15s;
}
.btn-primary:hover { background: var(--orange-dim); transform: translateY(-1px); }

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--white);
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 14px;
  padding: 12px 26px;
  border-radius: 4px;
  border: 1px solid var(--border-mid);
  text-decoration: none;
  white-space: nowrap;
  transition: border-color .18s, background .18s;
}
.btn-secondary:hover { border-color: rgba(255,255,255,0.3); background: rgba(255,255,255,0.04); }

/* ── PAGE HERO (inner pages) ── */
.page-hero {
  background: var(--bg-card);
  border-bottom: 1px solid var(--border);
}
.page-hero .container {
  padding-top: clamp(40px,6vw,56px);
  padding-bottom: clamp(32px,5vw,48px);
}
.page-hero h1 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(44px,7vw,76px);
  text-transform: uppercase;
  letter-spacing: 1px;
  line-height: .92;
  margin-bottom: 16px;
}
.page-hero p {
  font-size: 16px;
  font-weight: 300;
  color: var(--muted);
  max-width: 520px;
  line-height: 1.65;
}

/* ── CTA BAND ── */
.cta-band { background: var(--orange); }
.cta-band .container {
  padding-top: clamp(48px,7vw,72px);
  padding-bottom: clamp(48px,7vw,72px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  position: relative;
  overflow: hidden;
}
.cta-band .container::before {
  content: "ÄSSA";
  position: absolute;
  right: -20px; top: -40px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(100px,18vw,240px);
  color: rgba(0,0,0,0.08);
  letter-spacing: -5px;
  user-select: none;
  pointer-events: none;
  line-height: 1;
}
.cta-band h2 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(32px,5vw,54px);
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #fff;
  line-height: .93;
  position: relative;
}
.cta-btns { display: flex; gap: 12px; flex-wrap: wrap; position: relative; }
.btn-white {
  display: inline-flex; align-items: center; gap: 8px;
  background: #fff; color: var(--orange);
  font-family: var(--font-body); font-weight: 600; font-size: 14px;
  padding: 13px 26px; border-radius: 4px;
  text-decoration: none; white-space: nowrap;
  transition: background .18s;
}
.btn-white:hover { background: rgba(255,255,255,.9); }
.btn-white-outline {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid rgba(255,255,255,.4); color: #fff;
  font-family: var(--font-body); font-size: 14px;
  padding: 12px 26px; border-radius: 4px;
  text-decoration: none; white-space: nowrap;
  transition: border-color .18s, background .18s;
}
.btn-white-outline:hover { border-color: #fff; background: rgba(255,255,255,.1); }

/* ── FOOTER ── */
.site-footer {
  background: #0d0d0d;
  border-top: 1px solid var(--border);
}
.site-footer .container {
  padding-top: clamp(40px,6vw,56px);
  padding-bottom: clamp(24px,3vw,32px);
}
.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: clamp(20px,4vw,48px);
  margin-bottom: clamp(24px,4vw,40px);
  padding-bottom: clamp(24px,4vw,40px);
  border-bottom: 1px solid var(--border);
}
.footer-brand .logo { display: inline-block; }
.footer-brand p {
  font-size: 13px; font-weight: 300;
  color: var(--muted); line-height: 1.65;
  max-width: 240px; margin-top: 12px;
}
.footer-col h4 {
  font-size: 10px; font-weight: 600;
  letter-spacing: 2px; text-transform: uppercase;
  color: var(--softer); margin-bottom: 14px;
}
.footer-col a {
  display: block; font-size: 13px; font-weight: 300;
  color: var(--muted); text-decoration: none;
  margin-bottom: 9px; transition: color .15s;
}
.footer-col a:hover { color: var(--white); }
.footer-col a.hl    { color: var(--orange); }
.footer-bottom {
  display: flex; justify-content: space-between;
  align-items: center; flex-wrap: wrap; gap: 12px;
}
.footer-bottom p { font-size: 12px; color: var(--softer); }
.footer-links { display: flex; gap: 20px; }
.footer-links a {
  font-size: 12px; color: var(--softer);
  text-decoration: none; transition: color .15s;
}
.footer-links a:hover { color: var(--muted); }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .footer-top { grid-template-columns: 1fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-brand p { max-width: 100%; }
}
@media (max-width: 860px) {
  .site-nav a:not(.nav-cta):not(.nav-shop) { display: none; }
  .hamburger { display: flex; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .site-nav a:not(.nav-cta) { display: none; }
  .cta-band .container { flex-direction: column; align-items: flex-start; }
  .cta-btns { width: 100%; }
  .btn-white, .btn-white-outline { flex: 1; justify-content: center; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-links { flex-wrap: wrap; gap: 12px; }
}
