/* ============================================================
   Ulfborg ATV Klub — stylesheet
   ============================================================ */

:root {
  --bg: #11140f;
  --bg-2: #181c14;
  --panel: #1f241a;
  --mud: #2a3120;
  --sand: #d8cdb0;
  --paper: #f4f0e6;
  --orange: #ff5a1f;
  --orange-2: #ff8a3d;
  --lime: #b6e021;
  --ink: #15180f;
  --muted: #9aa089;
  --line: rgba(216, 205, 176, .16);
  --shadow: 0 24px 60px rgba(0, 0, 0, .45);
  --maxw: 1200px;
}

/* ---------- Base ---------- */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--sand);
  font-family: "Barlow", system-ui, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
.display {
  font-family: "Archivo Black", sans-serif;
  line-height: .98;
  letter-spacing: -.01em;
}

a {
  color: inherit;
  text-decoration: none;
}

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

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

/* Background atmosphere layers */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(1200px 600px at 80% -10%, rgba(255, 90, 31, .18), transparent 60%),
    radial-gradient(900px 500px at -10% 30%, rgba(182, 224, 33, .08), transparent 55%),
    linear-gradient(180deg, var(--bg), var(--bg-2));
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  opacity: .05;
  pointer-events: none;
  background-image: repeating-linear-gradient(45deg, #000 0 2px, transparent 2px 6px);
}

/* ---------- Navigation ---------- */
header.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(10px);
  background: linear-gradient(180deg, rgba(17, 20, 15, .92), rgba(17, 20, 15, .65));
  border-bottom: 1px solid var(--line);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: "Archivo Black";
  font-size: 18px;
  color: var(--paper);
}

.badge {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--orange), var(--orange-2));
  color: #1a0e06;
  font-family: "Archivo Black";
  font-size: 13px;
  transform: rotate(-4deg);
  box-shadow: 0 6px 18px rgba(255, 90, 31, .4);
}

.brand small {
  display: block;
  font-family: "Barlow Condensed";
  font-weight: 600;
  font-size: 11px;
  letter-spacing: .22em;
  color: var(--orange-2);
  text-transform: uppercase;
}

nav.menu {
  display: flex;
  gap: 6px;
  align-items: center;
}

nav.menu a {
  font-family: "Barlow Condensed";
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .06em;
  font-size: 15px;
  padding: 8px 12px;
  border-radius: 8px;
  color: var(--sand);
  transition: .2s;
}

nav.menu a:hover {
  color: var(--paper);
  background: rgba(216, 205, 176, .08);
}

.cta {
  background: var(--orange);
  color: #1a0e06 !important;
  padding: 10px 18px !important;
  font-weight: 700;
  box-shadow: 0 8px 20px rgba(255, 90, 31, .35);
}

.cta:hover {
  background: var(--orange-2) !important;
}

.burger {
  display: none;
  background: none;
  border: 1px solid var(--line);
  color: var(--sand);
  width: 46px;
  height: 46px;
  border-radius: 10px;
  font-size: 22px;
  cursor: pointer;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.05);
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(17, 20, 15, .55) 0%, rgba(17, 20, 15, .35) 40%, rgba(17, 20, 15, .92) 100%),
    linear-gradient(90deg, rgba(17, 20, 15, .7), transparent 60%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 0 0 70px;
}

.hero .tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: "Barlow Condensed";
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  font-size: 13px;
  color: var(--ink);
  background: var(--lime);
  padding: 7px 14px;
  border-radius: 999px;
  margin-bottom: 24px;
}

.hero h1 {
  font-size: clamp(44px, 8.5vw, 108px);
  color: var(--paper);
  text-transform: uppercase;
  text-shadow: 0 4px 40px rgba(0, 0, 0, .5);
}

.hero h1 .o {
  color: var(--orange);
}

.hero .lede {
  max-width: 560px;
  font-size: clamp(17px, 2.2vw, 21px);
  color: var(--paper);
  margin: 22px 0 32px;
  text-shadow: 0 2px 20px rgba(0, 0, 0, .6);
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* ---------- Buttons ---------- */
.btn {
  font-family: "Barlow Condensed";
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  font-size: 17px;
  padding: 14px 26px;
  border-radius: 12px;
  cursor: pointer;
  transition: .2s;
  border: 0;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.btn-primary {
  background: var(--orange);
  color: #1a0e06;
  box-shadow: 0 12px 30px rgba(255, 90, 31, .4);
}

.btn-primary:hover {
  transform: translateY(-2px);
  background: var(--orange-2);
}

.btn-ghost {
  background: rgba(20, 24, 15, .5);
  color: var(--paper);
  border: 1.5px solid rgba(244, 240, 230, .4);
  backdrop-filter: blur(4px);
}

.btn-ghost:hover {
  border-color: var(--orange);
  color: var(--orange-2);
}

.btn-dark {
  background: var(--ink);
  color: var(--paper);
}

/* ---------- Stat strip ---------- */
.statstrip {
  background: linear-gradient(90deg, var(--orange), var(--orange-2));
  color: #1a0e06;
}

.statstrip .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: space-between;
  padding-top: 20px;
  padding-bottom: 20px;
}

.statstrip .s {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1 1 120px;
}

.statstrip .s b {
  font-family: "Archivo Black";
  font-size: 30px;
  line-height: 1;
}

.statstrip .s span {
  font-family: "Barlow Condensed";
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  font-size: 13px;
}

/* ---------- Section shell ---------- */
section {
  padding: 84px 0;
  position: relative;
}

.eyebrow {
  font-family: "Barlow Condensed";
  font-weight: 700;
  letter-spacing: .24em;
  text-transform: uppercase;
  font-size: 13px;
  color: var(--orange-2);
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.eyebrow::before {
  content: "";
  width: 34px;
  height: 2px;
  background: var(--orange);
}

h2.sect {
  font-size: clamp(30px, 5vw, 52px);
  color: var(--paper);
  text-transform: uppercase;
  max-width: 760px;
}

.sect-sub {
  max-width: 640px;
  margin-top: 16px;
  color: var(--sand);
  font-size: 17px;
}

/* ---------- About ---------- */
.om-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
  margin-top: 30px;
}

.om-img {
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  position: relative;
}

.om-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 3;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 30px;
}

.card {
  background: linear-gradient(160deg, var(--panel), var(--bg-2));
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 30px;
  transition: .25s;
}

.card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 90, 31, .5);
}

.card .ic {
  width: 52px;
  height: 52px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  font-size: 24px;
  background: rgba(255, 90, 31, .15);
  color: var(--orange-2);
  margin-bottom: 18px;
}

.card h3 {
  color: var(--paper);
  font-family: "Barlow Condensed";
  font-weight: 700;
  font-size: 23px;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.card p {
  color: var(--sand);
  font-size: 15.5px;
}

/* ---------- Machines ---------- */
.machines {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 46px;
}

.machine {
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--line);
  position: relative;
  min-height: 300px;
  display: flex;
  align-items: flex-end;
}

.machine img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  transition: .5s;
}

.machine:hover img {
  transform: scale(1.06);
}

.machine::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(17, 20, 15, .92));
  z-index: 1;
}

.machine .body {
  position: relative;
  z-index: 2;
  padding: 28px;
}

.machine .cc {
  font-family: "Archivo Black";
  font-size: 38px;
  color: var(--orange);
  line-height: 1;
}

.machine h3 {
  color: var(--paper);
  font-family: "Barlow Condensed";
  font-weight: 700;
  font-size: 24px;
  text-transform: uppercase;
  margin: 6px 0 8px;
}

.machine p {
  color: var(--paper);
  font-size: 15px;
  max-width: 90%;
}

.machine .pill {
  position: absolute;
  top: 22px;
  left: 22px;
  z-index: 2;
  font-family: "Barlow Condensed";
  font-weight: 700;
  font-size: 12px;
  letter-spacing: .1em;
  text-transform: uppercase;
  background: rgba(182, 224, 33, .92);
  color: #1a2400;
  padding: 5px 12px;
  border-radius: 999px;
}

/* ---------- Prices & season ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 46px;
}

.panel {
  background: linear-gradient(160deg, var(--panel), var(--bg-2));
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 34px;
}

.panel h3 {
  color: var(--paper);
  font-family: "Barlow Condensed";
  font-weight: 700;
  font-size: 26px;
  text-transform: uppercase;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.price-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 14px 0;
  border-bottom: 1px dashed var(--line);
}

.price-row:last-child {
  border-bottom: 0;
}

.price-row span {
  color: var(--sand);
}

.price-row b {
  font-family: "Archivo Black";
  color: var(--paper);
  font-size: 22px;
  white-space: nowrap;
}

.note {
  font-size: 14px;
  color: var(--muted);
  margin-top: 16px;
}

.sched {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.day {
  display: flex;
  align-items: center;
  gap: 16px;
  background: rgba(0, 0, 0, .22);
  border: 1px solid var(--line);
  border-radius: 13px;
  padding: 16px 18px;
}

.day .d {
  font-family: "Archivo Black";
  font-size: 15px;
  color: var(--orange-2);
  min-width: 74px;
  text-transform: uppercase;
}

.day .t {
  font-family: "Barlow Condensed";
  font-weight: 700;
  font-size: 21px;
  color: var(--paper);
}

/* ---------- Gallery ---------- */
.gallery {
  columns: 3;
  column-gap: 16px;
  margin-top: 46px;
}

.gallery figure {
  break-inside: avoid;
  margin: 0 0 16px;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--line);
  position: relative;
  cursor: pointer;
}

.gallery img {
  width: 100%;
  display: block;
  transition: .5s;
}

.gallery figure:hover img {
  transform: scale(1.05);
}

.gallery figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 22px 14px 12px;
  font-family: "Barlow Condensed";
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .05em;
  font-size: 13px;
  color: #fff;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, .8));
  opacity: 0;
  transition: .25s;
}

.gallery figure:hover figcaption {
  opacity: 1;
}

/* ---------- News ---------- */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 46px;
}

.news {
  background: linear-gradient(160deg, var(--panel), var(--bg-2));
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: .25s;
}

.news:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 90, 31, .45);
}

.news .ph {
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.news .ph img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: .5s;
}

.news:hover .ph img {
  transform: scale(1.05);
}

.news .txt {
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.news .meta {
  font-family: "Barlow Condensed";
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-size: 12px;
  color: var(--lime);
}

.news h3 {
  color: var(--paper);
  font-family: "Barlow Condensed";
  font-weight: 700;
  font-size: 21px;
  line-height: 1.1;
  text-transform: uppercase;
}

.news p {
  color: var(--sand);
  font-size: 15px;
}

/* ---------- Facebook placeholder ---------- */
.fb {
  margin-top: 40px;
  border: 2px dashed rgba(216, 205, 176, .28);
  border-radius: 20px;
  padding: 42px;
  text-align: center;
  background: repeating-linear-gradient(135deg, rgba(255, 255, 255, .02) 0 12px, transparent 12px 24px);
}

.fb .fbicon {
  width: 60px;
  height: 60px;
  border-radius: 15px;
  display: grid;
  place-items: center;
  margin: 0 auto 16px;
  background: #1877f2;
  color: #fff;
  font-family: "Archivo Black";
  font-size: 30px;
}

.fb h3 {
  color: var(--paper);
  font-size: 23px;
  font-family: "Barlow Condensed";
  font-weight: 700;
  text-transform: uppercase;
}

.fb p {
  color: var(--sand);
  max-width: 520px;
  margin: 10px auto 20px;
}

/* ---------- Sponsors ---------- */
.sponsors {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 40px;
}

.sponsor {
  font-family: "Barlow Condensed";
  font-weight: 600;
  font-size: 15px;
  color: var(--sand);
  background: rgba(0, 0, 0, .22);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px 16px;
  transition: .2s;
}

.sponsor:hover {
  color: var(--paper);
  border-color: var(--orange-2);
}

.oest {
  margin-top: 30px;
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  background: #fff;
  border-radius: 18px;
  padding: 22px 28px;
}

.oest img {
  width: 160px;
  border-radius: 10px;
}

.oest p {
  color: #222;
  font-size: 16px;
  max-width: 520px;
}

.oest b {
  color: #000;
}

/* ---------- Rental band ---------- */
.band {
  background: linear-gradient(120deg, var(--orange), var(--orange-2));
  color: #1a0e06;
  border-radius: 24px;
  padding: 0;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 0;
  box-shadow: 0 24px 60px rgba(255, 90, 31, .35);
  overflow: hidden;
}

.band .bt {
  padding: 50px;
}

.band h2 {
  font-size: clamp(28px, 4vw, 44px);
  text-transform: uppercase;
}

.band p {
  font-weight: 600;
  max-width: 440px;
  margin: 8px 0 22px;
}

.band .bimg {
  position: relative;
  min-height: 260px;
}

.band .bimg img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 46px;
}

.cinfo {
  background: linear-gradient(160deg, var(--panel), var(--bg-2));
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 26px;
}

.cinfo .ic {
  font-size: 22px;
  color: var(--orange-2);
  margin-bottom: 10px;
}

.cinfo h4 {
  font-family: "Barlow Condensed";
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 6px;
}

.cinfo p,
.cinfo a {
  color: var(--paper);
  font-size: 18px;
  font-weight: 500;
}

.cinfo a:hover {
  color: var(--orange-2);
}

/* ---------- Footer ---------- */
footer {
  border-top: 1px solid var(--line);
  padding: 50px 0 40px;
  margin-top: 30px;
}

.foot {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
  align-items: flex-start;
}

.foot p {
  color: var(--muted);
  font-size: 14px;
  max-width: 340px;
}

.foot-links {
  display: flex;
  gap: 26px;
  flex-wrap: wrap;
}

.foot-links a {
  font-family: "Barlow Condensed";
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--sand);
  font-size: 14px;
}

.foot-links a:hover {
  color: var(--orange-2);
}

.copy {
  margin-top: 30px;
  color: var(--muted);
  font-size: 13px;
  border-top: 1px solid var(--line);
  padding-top: 20px;
}

/* ---------- Lightbox ---------- */
.lb {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(8, 10, 7, .94);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 30px;
  cursor: zoom-out;
}

.lb.open {
  display: flex;
}

.lb img {
  max-width: 92vw;
  max-height: 90vh;
  border-radius: 10px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .6);
}

/* ---------- Scroll reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: .7s cubic-bezier(.2, .7, .2, 1);
}

.reveal.in {
  opacity: 1;
  transform: none;
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  nav.menu {
    display: none;
  }

  .burger {
    display: grid;
    place-items: center;
  }

  .om-grid,
  .machines,
  .split,
  .band {
    grid-template-columns: 1fr;
  }

  .cards,
  .news-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .gallery {
    columns: 2;
  }

  .band .bimg {
    min-height: 220px;
  }

  nav.menu.open {
    display: flex;
    position: absolute;
    top: 74px;
    left: 0;
    right: 0;
    flex-direction: column;
    background: var(--bg-2);
    padding: 14px;
    border-bottom: 1px solid var(--line);
  }

  nav.menu.open a {
    width: 100%;
  }
}

@media (max-width: 560px) {
  .gallery {
    columns: 1;
  }
}
