/* ==========================================================================
   GOLF JOY TEE — gemensam stilmall
   Används av index.html (SV), en.html (EN) och aterforsaljare.html

   Byt färger och typsnitt i :root nedan så följer alla sidor med.
   ========================================================================== */

:root {
  --paper:  #F4F1EA;
  --card:   #FFFFFF;
  --ink:    #15180F;
  --stone:  #62675A;
  --faint:  #949A8B;
  --line:   #DFDACE;

  --grass:  #2F5C1E;
  --lime:   #D7E021;

  --rosa: #FF1494;
  --cyan: #00FCFD;
  --gul:  #FEFB0C;
  --limep:#CCFF00;

  --sans: "Familjen Grotesk", system-ui, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;

  --wrap: 1120px;
  --gutter: 26px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.66;
  -webkit-font-smoothing: antialiased;
}

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

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.wrap--slim { max-width: 780px; }

.label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--faint);
  margin: 0 0 16px;
}

h2.head {
  font-size: clamp(26px, 3.2vw, 36px);
  font-weight: 600;
  letter-spacing: -0.022em;
  line-height: 1.16;
  margin: 0 0 20px;
  max-width: 20ch;
}

p.body { color: var(--stone); margin: 0 0 18px; max-width: 60ch; }

.btn {
  display: inline-block;
  font-family: var(--mono);
  font-size: 12.5px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 16px 30px;
  border: 1px solid var(--ink);
  background: none;
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}
.btn:focus-visible { outline: 2px solid var(--lime); outline-offset: 3px; }
.btn--fill { background: var(--ink); color: #fff; }
.btn--fill:hover { background: transparent; color: var(--ink); }
.btn--line:hover { background: var(--ink); color: #fff; }
.btn--ondark { border-color: #fff; color: #fff; }
.btn--ondark:hover { background: #fff; color: var(--ink); }
.btn--lime { background: var(--lime); border-color: var(--lime); color: var(--ink); font-weight: 600; }
.btn--lime:hover { background: transparent; color: #fff; border-color: #fff; }

/* ------------------------------------------------------------- toppmeny -- */

.nav {
  position: sticky; top: 0; z-index: 40;
  background: rgba(244, 241, 234, 0.93);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 66px; gap: 22px; }
.nav__mark { font-size: 17px; font-weight: 600; letter-spacing: -0.015em; text-decoration: none; }
.nav__mark em { font-style: normal; font-weight: 400; color: var(--stone); }
.nav__links { display: flex; gap: 24px; align-items: center; }
.nav__links a {
  font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.08em;
  text-transform: uppercase; text-decoration: none; color: var(--stone);
}
.nav__links a:hover { color: var(--ink); }
.nav__lang { border-left: 1px solid var(--line); padding-left: 22px; }
.nav__buy { padding: 10px 18px; background: var(--ink); color: #fff; }
.nav__buy:hover { color: #fff; }

/* ----------------------------------------------------------------- hero -- */

.hero {
  position: relative;
  background: url("assets/bkgr.jpg") center/cover no-repeat;
  color: #fff;
  padding: 108px 0 96px;
}
.hero::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(105deg, rgba(12,26,8,0.88) 0%, rgba(12,26,8,0.64) 48%, rgba(12,26,8,0.24) 100%);
}
.hero--slim { padding: 84px 0 72px; }
.hero__inner { position: relative; z-index: 1; }
.hero__grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 56px; align-items: center; }

.hero .label { color: rgba(255,255,255,0.72); }

.hero__h1 {
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.0;
  margin: 0 0 22px;
  max-width: 12ch;
  text-shadow: 0 2px 24px rgba(0,0,0,0.3);
}
.hero__h1 em { font-style: normal; color: var(--lime); }

.hero__sub { font-size: 19px; color: rgba(255,255,255,0.9); max-width: 44ch; margin: 0 0 32px; }
.hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero__meta { font-family: var(--mono); font-size: 12px; color: rgba(255,255,255,0.65); margin-top: 24px; }

.hero__product { position: relative; }
.hero__product img { margin: 0 auto; max-height: 420px; width: auto; filter: drop-shadow(0 18px 34px rgba(0,0,0,0.45)); }
.hero__angle {
  position: absolute; top: 8px; right: 0;
  font-family: var(--mono); font-size: clamp(30px, 4vw, 46px); font-weight: 500;
  color: var(--lime); letter-spacing: -0.03em;
}

/* ------------------------------------------------------------ sektioner -- */

.section { padding: 88px 0; }
.section--line { border-top: 1px solid var(--line); }
.section--card { background: var(--card); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 58px; align-items: center; }

/* Figuren som jämför rak och vinklad peg */
.figure { border: 1px solid var(--line); background: var(--paper); }
.figure svg { display: block; width: 100%; height: auto; }
.figure__foot {
  display: flex; justify-content: space-between; gap: 16px;
  border-top: 1px solid var(--line); padding: 11px 15px;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.07em;
  text-transform: uppercase; color: var(--faint);
}

/* Fyra bärande påståenden */
.pillars {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1px; background: var(--line);
  border: 1px solid var(--line); margin-top: 56px;
}
.pillar { background: var(--card); padding: 30px 26px; }
.pillar__n {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em;
  color: var(--faint); margin: 0 0 14px;
}
.pillar h3 { font-size: 17.5px; font-weight: 600; margin: 0 0 9px; letter-spacing: -0.01em; }
.pillar p { font-size: 15px; color: var(--stone); margin: 0; line-height: 1.58; }

/* Specifikation */
.spec { margin: 0; }
.spec__row {
  display: flex; justify-content: space-between; gap: 20px;
  padding: 13px 0; border-bottom: 1px solid var(--line);
}
.spec__row:first-child { border-top: 1px solid var(--line); }
.spec dt {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--faint);
}
.spec dd { margin: 0; font-family: var(--mono); font-size: 13.5px; text-align: right; }

.plate { border: 1px solid var(--line); background: var(--card); }
.plate__foot {
  display: flex; justify-content: space-between; gap: 16px;
  border-top: 1px solid var(--line); padding: 11px 15px;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.07em;
  text-transform: uppercase; color: var(--faint);
}
.plate__foot strong { color: var(--ink); font-weight: 500; }

/* Färgprover */
.colours { display: flex; border: 1px solid var(--line); margin-top: 10px; }
.colour { flex: 1; }
.colour__chip { height: 68px; }
.colour__name {
  font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--faint);
  padding: 9px 6px; border-top: 1px solid var(--line); text-align: center;
}
.colour + .colour .colour__name,
.colour + .colour .colour__chip { border-left: 1px solid var(--line); }

/* Film */
.film__frame { position: relative; padding-top: 56.25%; border: 1px solid var(--line); overflow: hidden; }
.film__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* Köp */
.buy__grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 56px; align-items: center; }
.price { font-family: var(--mono); font-size: 36px; font-weight: 500; letter-spacing: -0.02em; margin: 0 0 6px; }
.price small { font-size: 14px; color: var(--faint); letter-spacing: 0; }
.incl { list-style: none; padding: 0; margin: 22px 0 28px; }
.incl li { padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 15.5px; color: var(--stone); }
.paynote { font-family: var(--mono); font-size: 12px; color: var(--faint); margin-top: 16px; line-height: 1.7; }

/* Diskret hänvisning till återförsäljarsidan */
.aside-link {
  border-top: 1px solid var(--line);
  padding-top: 26px; margin-top: 56px;
  font-size: 15.5px; color: var(--stone);
}
.aside-link a { font-weight: 600; color: var(--ink); }

/* Formulär på återförsäljarsidan */
.form { display: grid; gap: 18px; max-width: 520px; }
.field { display: grid; gap: 7px; }
.field label {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--faint);
}
.field input, .field textarea, .field select {
  font-family: var(--sans); font-size: 16px; color: var(--ink);
  padding: 12px 14px; border: 1px solid var(--line); background: var(--card);
  border-radius: 0;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: 2px solid var(--lime); outline-offset: 1px; border-color: var(--ink);
}
.field textarea { min-height: 110px; resize: vertical; }

/* Sidfot */
.foot { background: var(--grass); color: rgba(255,255,255,0.86); padding: 56px 0 40px; }
.foot__grid { display: flex; justify-content: space-between; gap: 36px; flex-wrap: wrap; }
.foot h5 { font-size: 16px; margin: 0 0 10px; color: #fff; }
.foot p { margin: 0 0 5px; }
.foot a { color: var(--lime); }
.foot__fine {
  font-family: var(--mono); font-size: 11px; color: rgba(255,255,255,0.55);
  margin-top: 36px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,0.16); line-height: 1.8;
}

/* Rörelse */
.reveal { opacity: 0; transform: translateY(12px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* Responsivt */
@media (max-width: 880px) {
  .hero__grid, .section__grid, .buy__grid { grid-template-columns: 1fr; gap: 38px; }
  .pillars { grid-template-columns: 1fr 1fr; margin-top: 38px; }
  .hero { padding: 64px 0 56px; }
  .hero::after { background: linear-gradient(180deg, rgba(12,26,8,0.86) 0%, rgba(12,26,8,0.68) 100%); }
  .hero__product img { max-height: 300px; }
  .section { padding: 56px 0; }
  .nav__links a:not(.nav__buy):not(.nav__lang) { display: none; }
}

@media (max-width: 520px) {
  body { font-size: 16px; }
  .pillars { grid-template-columns: 1fr; }
  .colour__name { font-size: 9px; letter-spacing: 0.05em; padding: 8px 3px; }
}
