/* Jelen FitForever — javni sajt. Tamna premium tema, žuti akcenti, mobile-first. */

:root {
  --bg: #000;
  --bg2: #111;
  --bg3: #1a1a1a;
  --border: #2a2a2a;
  --accent: #fbbf24;
  --text: #f5f5f5;
  --text-dim: #a1a1aa;
  --radius: 16px;
  --maxw: 1100px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

/* ---------- navigacija ---------- */

.site-nav {
  position: sticky;
  top: 0;
  z-index: 90;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 22px;
  background: rgba(0, 0, 0, .82);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, .06);
}

.brand { display: inline-flex; flex-direction: column; line-height: 1; }
.brand-jelen { color: var(--accent); font-size: 11px; font-weight: 700; letter-spacing: .44em; margin-bottom: 3px; }
.brand-fit { font-size: 20px; font-weight: 800; letter-spacing: .06em; }

.nav-links { display: flex; align-items: center; gap: 26px; font-weight: 600; font-size: 15px; }
.nav-links a:not(.nav-cta) { color: var(--text-dim); transition: color .15s; }
.nav-links a:not(.nav-cta):hover { color: var(--text); }

.nav-cta {
  background: var(--accent);
  color: #000;
  padding: 10px 20px;
  border-radius: 999px;
  font-weight: 700;
  transition: transform .12s ease, box-shadow .12s ease;
}
.nav-cta:hover { transform: translateY(-1px); box-shadow: 0 6px 20px rgba(251, 191, 36, .35); }

.nav-burger {
  display: none;
  background: none;
  border: 1px solid var(--border);
  color: var(--text);
  font-size: 20px;
  border-radius: 10px;
  width: 44px;
  height: 44px;
  cursor: pointer;
}

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

.hero {
  position: relative;
  min-height: calc(100vh - 73px);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding: 60px 22px 90px;
}

.hero-glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 45% at 50% 8%, rgba(251, 191, 36, .16), transparent 60%),
    radial-gradient(ellipse 45% 35% at 82% 78%, rgba(251, 191, 36, .07), transparent 60%),
    linear-gradient(180deg, #050505 0%, #000 100%);
  pointer-events: none;
}

.hero-inner { position: relative; max-width: 780px; }

.hero-kicker {
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .28em;
  text-transform: uppercase;
  margin: 0 0 18px;
}

.hero h1 {
  font-size: clamp(44px, 9vw, 84px);
  line-height: 1.02;
  font-weight: 900;
  letter-spacing: -.02em;
  margin: 0 0 22px;
}
.accent { color: var(--accent); }

.hero-sub {
  color: var(--text-dim);
  font-size: clamp(16px, 2.4vw, 19px);
  max-width: 560px;
  margin: 0 auto 34px;
}

.hero-cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

.btn-solid, .btn-line {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 30px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 16px;
  transition: transform .12s ease, box-shadow .12s ease, background .15s, color .15s;
}
.btn-solid { background: var(--accent); color: #000; }
.btn-solid:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(251, 191, 36, .4); }
.btn-line { border: 1.5px solid rgba(255, 255, 255, .25); color: var(--text); }
.btn-line:hover { border-color: var(--accent); color: var(--accent); }
.btn-small { min-height: 42px; padding: 0 20px; font-size: 14px; }

.hero-scroll {
  position: absolute;
  bottom: 26px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--text-dim);
  font-size: 22px;
  animation: bob 2.2s ease-in-out infinite;
}
@keyframes bob { 0%, 100% { transform: translate(-50%, 0); } 50% { transform: translate(-50%, 8px); } }

/* ---------- sekcije ---------- */

.section { padding: 92px 22px; }
.section-alt { background: linear-gradient(180deg, var(--bg2), var(--bg)); }
.section-inner { max-width: var(--maxw); margin: 0 auto; }

.sec-kicker {
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .26em;
  text-transform: uppercase;
  margin: 0 0 10px;
}

.section h2 {
  font-size: clamp(28px, 4.6vw, 42px);
  line-height: 1.12;
  font-weight: 900;
  letter-spacing: -.01em;
  margin: 0 0 20px;
}

.sec-row { display: flex; align-items: end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 10px; }

/* o Jelenu */

.cols { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.col-text p { color: var(--text-dim); margin: 0 0 16px; }
.col-text .signature { color: var(--accent); font-weight: 800; font-size: 19px; }

.visual-card {
  background: linear-gradient(160deg, #161616, #0a0a0a);
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 38px 30px;
  text-align: center;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .6);
  position: relative;
  overflow: hidden;
}
.visual-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 50% at 50% 0%, rgba(251, 191, 36, .1), transparent 65%);
}
.visual-logo { max-width: 84%; position: relative; }
.visual-stat { position: relative; margin-top: 26px; display: flex; flex-direction: column; gap: 6px; }
.vs-num { font-size: 44px; font-weight: 900; color: var(--accent); font-variant-numeric: tabular-nums; }
.vs-label { color: var(--text-dim); font-size: 14px; }

/* usluge */

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

.svc-card {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 26px;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.svc-card:hover {
  transform: translateY(-6px);
  border-color: rgba(251, 191, 36, .55);
  box-shadow: 0 18px 50px rgba(0, 0, 0, .55);
}
.svc-icon {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: rgba(251, 191, 36, .12);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.svc-icon svg { width: 28px; height: 28px; }
.svc-card h3 { margin: 0 0 10px; font-size: 20px; font-weight: 800; }
.svc-card p { margin: 0; color: var(--text-dim); font-size: 15px; }

/* blog kartice */

.post-card {
  display: flex;
  flex-direction: column;
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.post-card:hover {
  transform: translateY(-6px);
  border-color: rgba(251, 191, 36, .55);
  box-shadow: 0 18px 50px rgba(0, 0, 0, .55);
}

.post-cover {
  aspect-ratio: 16 / 9;
  background: radial-gradient(ellipse 90% 90% at 30% 10%, rgba(251, 191, 36, .28), rgba(251, 191, 36, .04)), #151515;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
}
.post-cover span { font-size: 58px; font-weight: 900; color: rgba(251, 191, 36, .8); }

.post-body { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 8px; }
.post-body time { color: var(--text-dim); font-size: 13px; font-weight: 600; }
.post-body h3 { margin: 0; font-size: 19px; font-weight: 800; line-height: 1.3; }
.post-body p { margin: 0; color: var(--text-dim); font-size: 14.5px; }
.post-more { color: var(--accent); font-weight: 700; font-size: 14px; margin-top: 6px; }

/* kontakt */

.contact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin: 34px 0 40px;
}
.contact-item {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.ci-label { color: var(--text-dim); font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.ci-value { font-weight: 700; font-size: 16.5px; }
a.ci-value:hover { color: var(--accent); }

.contact-cta {
  text-align: center;
  background: linear-gradient(160deg, rgba(251, 191, 36, .12), rgba(251, 191, 36, .03));
  border: 1px solid rgba(251, 191, 36, .3);
  border-radius: 22px;
  padding: 40px 24px;
}
.contact-cta p { margin: 0 0 18px; font-size: 18px; font-weight: 600; }
.contact-cta .apk-line { margin: 18px 0 0; font-size: 15px; font-weight: 500; color: var(--text-dim); }
.contact-cta .apk-line a { color: var(--accent); font-weight: 700; }

/* ---------- blog stranice ---------- */

.page-head { padding: 72px 22px 10px; }
.page-head .section-inner { max-width: var(--maxw); }

.article {
  max-width: 760px;
  margin: 0 auto;
  padding: 30px 22px 90px;
}
.article-cover {
  width: 100%;
  border-radius: var(--radius);
  margin: 26px 0;
  aspect-ratio: 16 / 8;
  object-fit: cover;
}
.article time { color: var(--text-dim); font-weight: 600; font-size: 14px; }
.article h1 { font-size: clamp(30px, 5.4vw, 46px); line-height: 1.12; font-weight: 900; margin: 10px 0 8px; }
.article-body { margin-top: 26px; }
.article-body p { color: #d4d4d8; margin: 0 0 18px; }
.article-body h2 { font-size: 25px; margin: 34px 0 12px; font-weight: 800; }
.article-body h3 { font-size: 20px; margin: 28px 0 10px; font-weight: 800; }
.article-body ul { color: #d4d4d8; margin: 0 0 18px; padding-left: 22px; }
.article-body li { margin-bottom: 8px; }
.article-body strong { color: var(--accent); font-weight: 700; }
.back-link { color: var(--accent); font-weight: 700; font-size: 15px; }

/* ---------- footer ---------- */

.site-footer { border-top: 1px solid rgba(255, 255, 255, .07); padding: 46px 22px; background: #050505; }
.foot-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.foot-links { display: flex; gap: 22px; font-size: 14px; font-weight: 600; }
.foot-links a { color: var(--text-dim); }
.foot-links a:hover { color: var(--accent); }
.foot-copy { color: #555; font-size: 13px; margin: 0; width: 100%; }

/* ---------- reveal animacija ---------- */

/* Reveal samo kad JS radi (html.js) — bez JS-a je sve odmah vidljivo */
html.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
html.js .reveal.in { opacity: 1; transform: none; }

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

/* ---------- responsive ---------- */

@media (max-width: 900px) {
  .cols { grid-template-columns: 1fr; gap: 36px; }
  .cards3 { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr 1fr; }
  .section { padding: 68px 20px; }
}

@media (max-width: 640px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    text-align: center;
    background: rgba(0, 0, 0, .97);
    border-bottom: 1px solid var(--border);
    padding: 18px 22px 24px;
    gap: 18px;
  }
  .nav-links.open { display: flex; }
  .nav-burger { display: block; }
  .contact-grid { grid-template-columns: 1fr; }
  .hero { min-height: calc(100svh - 65px); padding-bottom: 76px; }
}

/* ---------- Prijava na Online Coaching (/prijava) ---------- */
.apply-section { padding-top: 40px; }
.apply-wrap { max-width: 640px; }
.apply-progress { color: var(--accent); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 14px; min-height: 18px; }
.card-step { background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .09); border-radius: 16px; padding: 28px 26px; }
.apply-intro { color: var(--text-dim, #9ca3af); line-height: 1.6; margin: 0 0 20px; }
.apply-h2 { margin: 0 0 8px; font-size: 24px; }
.apply-sub { color: var(--text-dim, #9ca3af); line-height: 1.55; margin: 0 0 16px; }
.apply-field { display: block; margin-bottom: 16px; }
.apply-field > span { display: block; font-size: 14px; margin-bottom: 6px; line-height: 1.45; }
.apply-field > span b { color: var(--accent); }
.apply-field input, .apply-field textarea {
  width: 100%; box-sizing: border-box; background: rgba(0, 0, 0, .35);
  border: 1px solid rgba(255, 255, 255, .16); border-radius: 10px;
  color: #fff; font: inherit; font-size: 15px; padding: 12px 13px;
}
.apply-field input:focus, .apply-field textarea:focus { outline: none; border-color: var(--accent); }
.apply-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.apply-checks, .apply-radios { display: flex; flex-direction: column; gap: 9px; margin-top: 4px; }
.apply-check, .apply-radio {
  display: flex; align-items: center; gap: 11px; cursor: pointer;
  background: rgba(0, 0, 0, .25); border: 1px solid rgba(255, 255, 255, .13);
  border-radius: 10px; padding: 12px 14px; font-size: 15px; line-height: 1.4;
}
.apply-check:hover, .apply-radio:hover { border-color: rgba(251, 191, 36, .55); }
.apply-check input, .apply-radio input { accent-color: var(--accent); width: 18px; height: 18px; flex: none; }
.apply-check:has(input:checked), .apply-radio:has(input:checked) { border-color: var(--accent); background: rgba(251, 191, 36, .08); }
.apply-best { position: relative; }
.apply-best em { font-style: normal; color: var(--accent); font-size: 12px; margin-left: 6px; text-transform: uppercase; letter-spacing: .05em; }
.apply-note { color: var(--text-dim, #9ca3af); font-size: 13.5px; line-height: 1.55; margin: 14px 0 0; }
.apply-note strong { color: var(--accent); }
.apply-err { color: #f87171; font-size: 14px; min-height: 18px; margin: 10px 0 4px; }
.apply-next { margin-top: 6px; border: 0; cursor: pointer; font: inherit; }
.apply-step .btn-line { margin-top: 12px; display: inline-block; }
