/* Bike ProgreSS by Sikorski — MTB Skills & Coaching */
:root {
  --bg: #0b0d0a;
  --bg-2: #121510;
  --bg-3: #1a1e17;
  --line: #2a3025;
  --text: #eef2ea;
  --muted: #a3ab9c;
  --lime: #8fd61c;
  --lime-2: #b6f23d;
  --lime-ink: #0b0d0a;
  --radius: 14px;
  --max: 1180px;
  --display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --body: "Barlow", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; overflow-x: clip; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 800;
  font-style: italic;
  text-transform: uppercase;
  letter-spacing: .01em;
  line-height: 1.02;
  margin: 0 0 .5em;
}
h2 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h3 { font-size: 1.6rem; }
.eyebrow {
  display: inline-block;
  font-family: var(--display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: .9rem;
  color: var(--lime);
  margin-bottom: .8rem;
}
.lead { font-size: 1.15rem; color: var(--muted); max-width: 640px; }
.accent { color: var(--lime); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: .55em;
  font-family: var(--display); font-weight: 800; font-style: italic;
  text-transform: uppercase; letter-spacing: .06em; font-size: 1.1rem;
  padding: .85em 1.6em; border-radius: 999px; text-decoration: none;
  border: 2px solid var(--lime); transition: transform .15s, background .15s, color .15s;
}
.btn-primary { background: var(--lime); color: var(--lime-ink); }
.btn-primary:hover { background: var(--lime-2); border-color: var(--lime-2); transform: translateY(-2px); }
.btn-ghost { color: var(--text); background: transparent; }
.btn-ghost:hover { background: rgba(143, 214, 28, .12); transform: translateY(-2px); }
.btn svg { width: 1.1em; height: 1.1em; }

/* Header */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  transition: background .25s, border-color .25s;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled { background: rgba(11, 13, 10, .92); backdrop-filter: blur(10px); border-color: var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { width: 44px; height: 44px; border-radius: 50%; }
.brand span { font-family: var(--display); font-weight: 800; font-style: italic; font-size: 1.35rem; text-transform: uppercase; line-height: 1; }
.brand small { display: block; font-size: .7rem; letter-spacing: .2em; color: var(--muted); font-style: normal; font-weight: 600; }
.nav-links { display: flex; align-items: center; gap: 26px; list-style: none; margin: 0; padding: 0; }
.nav-links a { text-decoration: none; font-weight: 600; font-size: .98rem; color: var(--muted); transition: color .15s; }
.nav-links a:hover { color: var(--text); }
.lang { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; }
.lang a { padding: 4px 11px; font-size: .82rem; font-weight: 700; text-decoration: none; color: var(--muted); }
.lang a[aria-current="true"] { background: var(--lime); color: var(--lime-ink); }
.nav-links a.nav-cta { padding: .55em 1.2em; font-size: 1rem; color: var(--lime-ink); }
.menu-toggle { display: none; background: none; border: 0; color: var(--text); padding: 8px; cursor: pointer; }
.menu-toggle svg { width: 28px; height: 28px; }

/* Hero */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; align-items: flex-end; padding: 120px 0 90px; overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; z-index: -2; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 40%; transform: scale(1.04); }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(11,13,10,.55) 0%, rgba(11,13,10,.15) 35%, rgba(11,13,10,.85) 78%, var(--bg) 100%),
    linear-gradient(90deg, rgba(11,13,10,.75) 0%, rgba(11,13,10,0) 65%);
}
.hero h1 { font-size: clamp(3rem, 9vw, 7rem); margin-bottom: .25em; }
.hero h1 .accent { display: block; }
.hero p { font-size: clamp(1.1rem, 2vw, 1.35rem); max-width: 560px; color: #d8dfd2; margin: 0 0 2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-tags { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 2.4rem; list-style: none; padding: 0;
  font-family: var(--display); font-weight: 700; font-style: italic; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); }
.hero-tags li::before { content: "/ "; color: var(--lime); }

/* Sections */
section { padding: 110px 0; position: relative; }
.section-head { margin-bottom: 56px; }
.alt { background: var(--bg-2); }
.slant-top { clip-path: polygon(0 40px, 100% 0, 100% 100%, 0 100%); margin-top: -40px; padding-top: 150px; }

/* Marquee */
.marquee { background: var(--lime); color: var(--lime-ink); overflow: hidden; padding: 14px 0; transform: rotate(-1.2deg); margin: -10px -10px 0; }
.marquee-track { display: flex; gap: 40px; width: max-content; animation: marquee 30s linear infinite;
  font-family: var(--display); font-weight: 800; font-style: italic; font-size: 1.5rem; text-transform: uppercase; white-space: nowrap; }
.marquee-track span::after { content: "✦"; margin-left: 40px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* About */
.about-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 64px; align-items: center; }
.about-photo { position: relative; }
.about-photo img { border-radius: var(--radius); aspect-ratio: 4/5; object-fit: cover; width: 100%; }
.about-photo::before { content: ""; position: absolute; inset: 18px -18px -18px 18px; border: 2px solid var(--lime); border-radius: var(--radius); z-index: -1; }
.about-badge { position: absolute; left: -16px; bottom: 28px; background: var(--lime); color: var(--lime-ink);
  font-family: var(--display); font-weight: 800; font-style: italic; text-transform: uppercase; padding: 10px 18px; border-radius: 8px; font-size: 1.1rem; line-height: 1.1; }
.about-text p { color: var(--muted); }
.about-text p strong { color: var(--text); }
.facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin: 28px 0 0; padding: 0; list-style: none; }
.facts li { background: var(--bg-3); border: 1px solid var(--line); border-radius: 10px; padding: 14px 16px; font-weight: 600; font-size: .96rem; }
.facts li b { display: block; font-family: var(--display); font-style: italic; text-transform: uppercase; color: var(--lime); font-size: 1.05rem; }

/* Offer */
.offer-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card { background: var(--bg-3); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: transform .2s, border-color .2s; }
.card:hover { transform: translateY(-4px); border-color: var(--lime); }
.card-img { aspect-ratio: 16/11; overflow: hidden; }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.card:hover .card-img img { transform: scale(1.05); }
.card-body { padding: 24px 24px 28px; display: flex; flex-direction: column; flex: 1; }
.card-body p { color: var(--muted); margin: 0 0 1rem; }
.card-body ul { margin: 0 0 1.4rem; padding: 0; list-style: none; }
.card-body li { padding: 5px 0 5px 26px; position: relative; font-size: .97rem; }
.card-body li::before { content: ""; position: absolute; left: 0; top: 13px; width: 14px; height: 3px; background: var(--lime); transform: skewX(-20deg); }
.card-body .btn { margin-top: auto; align-self: flex-start; font-size: 1rem; padding: .6em 1.3em; }
.tag { align-self: flex-start; font-size: .75rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--lime); border: 1px solid var(--lime); border-radius: 999px; padding: 2px 10px; margin-bottom: 12px; }

/* Skills */
.skills-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.skill { background: var(--bg); padding: 32px 28px; }
.skill-num { font-family: var(--display); font-weight: 800; font-style: italic; font-size: 2.6rem; color: transparent; -webkit-text-stroke: 1.5px var(--lime); line-height: 1; margin-bottom: 10px; }
.skill p { color: var(--muted); margin: 0; font-size: .98rem; }

/* Process */
.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: step; list-style: none; padding: 0; margin: 0; }
.process li { position: relative; padding-top: 22px; border-top: 3px solid var(--line); }
.process li::before { counter-increment: step; content: "0" counter(step); position: absolute; top: -3px; left: 0; width: 56px; border-top: 3px solid var(--lime);
  font-family: var(--display); font-weight: 800; font-style: italic; color: var(--lime); padding-top: 10px; }
.process h3 { margin-top: 28px; font-size: 1.4rem; }
.process p { color: var(--muted); margin: 0; font-size: .97rem; }
.quote { margin: 70px 0 0; padding: 30px 34px; border-left: 4px solid var(--lime); background: var(--bg-3); border-radius: 0 var(--radius) var(--radius) 0;
  font-family: var(--display); font-style: italic; font-weight: 600; font-size: clamp(1.4rem, 2.6vw, 2rem); line-height: 1.25; }
.quote cite { display: block; margin-top: 12px; font-family: var(--body); font-style: normal; font-size: .9rem; color: var(--muted); font-weight: 600; }

/* Trip */
.trip-days { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.day { position: relative; border-radius: var(--radius); overflow: hidden; min-height: 440px; display: flex; align-items: flex-end; text-decoration: none; }
.day img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.day:hover img { transform: scale(1.06); }
.day::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 30%, rgba(0,0,0,.9) 100%); }
.day-body { position: relative; z-index: 1; padding: 26px; }
.day-body .eyebrow { margin-bottom: .3rem; }
.day-body p { color: #d2d9cc; margin: 0; font-size: .96rem; }

/* Places */
.places { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; list-style: none; padding: 0; margin: 0; }
.places li { background: var(--bg-3); border: 1px solid var(--line); border-radius: 10px; padding: 16px 18px; }
.places b { display: block; font-family: var(--display); font-style: italic; text-transform: uppercase; font-size: 1.25rem; line-height: 1.1; }
.places span { color: var(--muted); font-size: .88rem; }
.flag { font-size: .72rem; font-weight: 700; letter-spacing: .1em; color: var(--lime); }

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 220px; gap: 10px; }
.gallery button { padding: 0; border: 0; background: var(--bg-3); border-radius: 10px; overflow: hidden; cursor: zoom-in; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s, opacity .3s; }
.gallery button:hover img { transform: scale(1.05); }
.gallery .wide { grid-column: span 2; }
.gallery .tall { grid-row: span 2; }
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(5,6,5,.94); display: none; align-items: center; justify-content: center; padding: 40px 16px; }
.lightbox.open { display: flex; }
.lightbox img { max-height: 88vh; max-width: min(1200px, 100%); border-radius: 8px; object-fit: contain; }
.lb-btn { position: absolute; background: rgba(255,255,255,.08); border: 1px solid var(--line); color: var(--text); width: 48px; height: 48px; border-radius: 50%; font-size: 1.4rem; cursor: pointer; }
.lb-btn:hover { background: var(--lime); color: var(--lime-ink); }
.lb-close { top: 18px; right: 18px; }
.lb-prev { left: 18px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 18px; top: 50%; transform: translateY(-50%); }

/* Journal */
.journal { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.post { background: var(--bg-3); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; text-decoration: none; display: flex; flex-direction: column; transition: border-color .2s; }
.post:hover { border-color: var(--lime); }
.post img { aspect-ratio: 1; object-fit: cover; width: 100%; }
.post div { padding: 18px 20px 22px; }
.post time { font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--lime); }
.post h3 { font-size: 1.3rem; margin: 6px 0 6px; }
.post p { margin: 0; color: var(--muted); font-size: .94rem; }

/* Contact */
.contact { text-align: center; overflow: hidden; }
.contact .lead { margin: 0 auto 2.2rem; }
.contact-box { max-width: 820px; margin: 0 auto; background: var(--bg-3); border: 1px solid var(--line); border-radius: 22px; padding: 56px 32px;
  background-image: radial-gradient(circle at 100% 0, rgba(143,214,28,.18), transparent 45%), radial-gradient(circle at 0 100%, rgba(143,214,28,.1), transparent 40%); }
.contact-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.contact-note { margin-top: 1.6rem; color: var(--muted); font-size: .95rem; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 36px 0; color: var(--muted); font-size: .92rem; }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.footer-inner a { text-decoration: none; }
.footer-inner a:hover { color: var(--lime); }
.footer-slogan { font-family: var(--display); font-style: italic; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; }

/* Reveal */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .marquee-track { animation: none; }
  html { scroll-behavior: auto; }
}

/* Responsive */
/* Hamburger menu: the nav (6 links + lang + CTA) no longer fits below ~1140px */
@media (max-width: 1140px) {
  .menu-toggle { display: block; }
  .nav-links { position: fixed; inset: 72px 0 auto 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--bg); border-bottom: 1px solid var(--line);
    padding: 8px 20px 24px; transform: translateY(-120%); transition: transform .3s; z-index: -1; }
  .nav-links.open { transform: none; }
  .nav-links li { border-bottom: 1px solid var(--line); }
  .nav-links li:last-child, .nav-links li.lang-li { border: 0; }
  .nav-links a { display: block; padding: 14px 0; font-size: 1.1rem; }
  .nav-links .lang a { display: inline-block; padding: 6px 14px; }
  .nav-links .lang-li { padding-top: 16px; }
  .nav-links .nav-cta { margin-top: 12px; justify-content: center; }
}
@media (max-width: 1020px) {
  .offer-grid, .trip-days, .journal { grid-template-columns: 1fr 1fr; }
  .skills-grid { grid-template-columns: 1fr 1fr; }
  .process { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .places { grid-template-columns: repeat(3, 1fr); }
  .gallery { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 860px) {
  .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .about-photo { max-width: 460px; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  section { padding: 80px 0; }
  .container { padding: 0 16px; }
  .offer-grid, .trip-days, .journal, .skills-grid, .process { grid-template-columns: 1fr; }
  .places { grid-template-columns: 1fr 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 160px; }
  .gallery .wide { grid-column: span 2; }
  .facts { grid-template-columns: 1fr; }
  .day { min-height: 360px; }
  .about-photo::before { inset: 12px -10px -12px 12px; }
  .about-badge { left: -6px; }
  .contact-box { padding: 40px 20px; }
  .lb-prev, .lb-next { top: auto; bottom: 18px; transform: none; }
}

/* Language notice (DE / UA pages) */
.lang-note {
  display: inline-flex; align-items: center; gap: 10px; margin-top: 1.6rem;
  background: rgba(11,13,10,.7); border: 1px solid var(--lime); border-radius: 12px; text-align: left;
  padding: 8px 16px; font-size: .95rem; font-weight: 600; color: var(--text); backdrop-filter: blur(6px);
}
.lang-note b { color: var(--lime); font-family: var(--display); font-style: italic; text-transform: uppercase; letter-spacing: .06em; }
.contact .lang-note { margin: 0 0 1.6rem; }

/* Cyrillic: Barlow has no Cyrillic glyphs, use Fira Sans for the Ukrainian page */
html:lang(uk) {
  --display: "Fira Sans Extra Condensed", "Barlow Condensed", "Arial Narrow", sans-serif;
  --body: "Fira Sans", "Barlow", system-ui, sans-serif;
}
.hero .lang-note { margin: 1.75rem 0 0; font-size: .95rem; line-height: 1.4; max-width: 620px; color: var(--text); }
.footer-credit { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); font-size: .85rem; color: var(--muted); text-align: center; }
.footer-credit a { color: var(--text); font-weight: 600; text-decoration: none; }
.footer-credit a:hover { color: var(--lime); }

/* Booking (ClubHQ embed) */
.booking-frame { background: var(--bg-3); border: 1px solid var(--line); border-radius: 22px; overflow: hidden; }
.booking-frame iframe { display: block; width: 100%; min-height: 1100px; }
