/* ============================================================
   Muscle GYM Novi Sad — hand-built static site.
   High-energy gym: near-black charcoal + electric volt-yellow.
   Condensed uppercase display type, athletic, type-driven
   (IG photos are low-res → contained only, type carries it).
   ============================================================ */

:root {
  --bg:       #0b0b0d;
  --bg-2:     #101013;
  --panel:    #16161a;
  --panel-2:  #1c1c21;
  --text:     #f4f4f2;
  --text-dim: #c9c9c4;
  --muted:    #8a8a83;
  --volt:     #d7ff00;
  --volt-dp:  #b6dd00;
  --line:     rgba(215,255,0,.20);
  --line-soft:rgba(244,244,242,.09);
  --shadow:   0 28px 64px -28px rgba(0,0,0,.9);
  --maxw:     1180px;
  --disp: 'Oswald', 'Arial Narrow', sans-serif;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg); color: var(--text);
  font-family: var(--sans); font-weight: 300; line-height: 1.7;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 26px; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--volt); color: #0b0b0d; }

h1, h2, h3 { font-family: var(--disp); font-weight: 600; line-height: 1.02; text-transform: uppercase; letter-spacing: .005em; }
h1 { font-size: clamp(3rem, 9vw, 6.4rem); font-weight: 700; }
h2 { font-size: clamp(1.9rem, 4.2vw, 3.1rem); }
h3 { font-size: 1.32rem; letter-spacing: .03em; }

.eyebrow {
  font-family: var(--sans); font-size: .75rem; font-weight: 600;
  letter-spacing: .3em; text-transform: uppercase; color: var(--volt); margin-bottom: 1rem;
}
.eyebrow-line { display: inline-flex; align-items: center; gap: .8rem; }
.eyebrow-line::before { content: ""; width: 34px; height: 2px; background: var(--volt); }
.eyebrow-center { justify-content: center; }
.eyebrow-center::before { display: none; }

.section { padding: clamp(72px, 10vw, 132px) 0; position: relative; }
.section-head { max-width: 700px; margin-bottom: clamp(36px, 5vw, 60px); }
.section-sub { color: var(--muted); font-size: 1.04rem; margin-top: .9rem; }

.text-link {
  display: inline-block; margin-top: 1.4rem; font-family: var(--disp); font-weight: 600;
  text-transform: uppercase; letter-spacing: .08em; color: var(--volt);
  border-bottom: 2px solid var(--line); padding-bottom: 3px; transition: border-color .25s ease, color .25s ease;
}
.text-link:hover { color: var(--text); border-color: var(--volt); }

/* ---------- wordmark ---------- */
.wordmark {
  font-family: var(--disp); font-weight: 700; font-size: 1.5rem;
  letter-spacing: .04em; text-transform: uppercase; color: var(--text);
  display: inline-flex; align-items: baseline; gap: .12em;
}
.wordmark-accent {
  background: var(--volt); color: #0b0b0d; padding: 0 .26em; line-height: 1.1; border-radius: 2px;
}
.wordmark-lg { font-size: 2rem; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  font-family: var(--disp); font-size: .98rem; font-weight: 600;
  letter-spacing: .07em; text-transform: uppercase;
  padding: 14px 28px; border-radius: 3px; cursor: pointer;
  border: 2px solid transparent; transition: all .25s ease;
}
.btn-volt { background: var(--volt); color: #0b0b0d; }
.btn-volt:hover { background: #e6ff3a; transform: translateY(-2px); box-shadow: 0 12px 28px -8px rgba(215,255,0,.45); }
.btn-ghost { border-color: var(--line); color: var(--text); }
.btn-ghost:hover { border-color: var(--volt); color: var(--volt); }
.btn-lg { padding: 17px 36px; font-size: 1.06rem; }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100; padding: 16px 0;
  transition: padding .3s ease, background .3s ease, border-color .3s ease;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  padding: 9px 0; background: rgba(11,11,13,.92);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; }
.nav { display: flex; align-items: center; gap: 2rem; }
.nav a {
  font-family: var(--disp); font-size: .96rem; font-weight: 500;
  letter-spacing: .07em; text-transform: uppercase; color: var(--text-dim);
  position: relative; padding: 4px 0; transition: color .2s ease;
}
.nav a:not(.nav-cta)::after { content: ""; position: absolute; left: 0; bottom: -2px; height: 2px; width: 0; background: var(--volt); transition: width .28s ease; }
.nav a:not(.nav-cta):hover { color: var(--text); }
.nav a:not(.nav-cta):hover::after { width: 100%; }
.nav-cta { border: 2px solid var(--volt); color: var(--volt); padding: 8px 16px !important; border-radius: 3px; transition: all .25s ease; }
.nav-cta:hover { background: var(--volt); color: #0b0b0d !important; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 6px; z-index: 95; }
.nav-toggle span { width: 26px; height: 2px; background: var(--text); transition: transform .3s ease, opacity .3s ease; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   HERO  (type-driven; photo only as faint texture, never sharp)
   ============================================================ */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; overflow: hidden; padding: 130px 0 70px; }
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background: url('/images/hero.jpg') center 40% / cover no-repeat;
  filter: blur(6px) saturate(.7) brightness(.5); transform: scale(1.08); opacity: .55;
}
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(120% 90% at 20% 0%, rgba(215,255,0,.10), transparent 55%),
    linear-gradient(180deg, rgba(11,11,13,.78) 0%, rgba(11,11,13,.86) 50%, var(--bg) 100%);
}
.hero-grid-lines {
  position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: .35;
  background-image:
    linear-gradient(rgba(215,255,0,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(215,255,0,.05) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(120% 100% at 50% 30%, #000 30%, transparent 80%);
          mask-image: radial-gradient(120% 100% at 50% 30%, #000 30%, transparent 80%);
}
.hero-inner { position: relative; z-index: 2; max-width: 880px; }
.hero h1 { margin-bottom: 1.4rem; text-shadow: 0 2px 40px rgba(0,0,0,.6); }
.h1-sub { color: var(--volt); -webkit-text-stroke: 0; }
.hero-lede { font-size: clamp(1.08rem, 1.8vw, 1.34rem); color: var(--text-dim); max-width: 33em; margin-bottom: 2.2rem; font-weight: 300; }
.hero-lede strong { color: var(--volt); font-weight: 600; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 1.5rem; }
.hero-meta { font-size: .82rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }

/* ============================================================
   STAT STRIP
   ============================================================ */
.stats { background: var(--volt); color: #0b0b0d; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 28px 14px; text-align: center; border-right: 1px solid rgba(11,11,13,.16); }
.stat:last-child { border-right: 0; }
.stat-k { display: block; font-family: var(--disp); font-weight: 700; font-size: 2.1rem; line-height: 1; }
.stat-v { display: block; font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; margin-top: 7px; font-weight: 500; }

/* ============================================================
   ABOUT
   ============================================================ */
.about-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(34px, 5vw, 76px); align-items: center; }
.about h2 { margin: .2rem 0 1.3rem; }
.about .lead { font-size: 1.22rem; color: var(--text); margin-bottom: 1.1rem; font-weight: 400; }
.about .lead strong, .about p strong { color: var(--volt); font-weight: 600; }
.about p { color: var(--muted); margin-bottom: 1rem; }
.about-figure { position: relative; padding: 10px; background: linear-gradient(150deg,#1b1b20,#0f0f12); border: 1px solid var(--line); box-shadow: var(--shadow); }
.about-figure img { width: 100%; height: auto; image-rendering: auto; }
.fig-tag {
  position: absolute; bottom: 18px; left: 18px;
  font-family: var(--disp); font-weight: 600; font-size: .74rem; letter-spacing: .14em;
  background: var(--volt); color: #0b0b0d; padding: 5px 11px; border-radius: 2px;
}

/* ============================================================
   ZONE / PONUDA
   ============================================================ */
.zones { background: var(--bg-2); }
.zones-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line-soft); border: 1px solid var(--line-soft); }
.zone { background: var(--bg); padding: clamp(28px, 3vw, 42px); transition: background .3s ease; position: relative; }
.zone:hover { background: var(--panel); }
.zone-num { display: block; font-family: var(--disp); font-weight: 700; font-size: 2.2rem; color: var(--volt); line-height: 1; margin-bottom: 1.1rem; opacity: .9; }
.zone h3 { margin-bottom: .6rem; }
.zone p { color: var(--muted); font-size: .98rem; }

/* ============================================================
   GALERIJA  (contained framed cards; photos are 240px → never stretch)
   ============================================================ */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: clamp(14px, 1.6vw, 22px); align-items: start; }
.card { position: relative; cursor: pointer; overflow: hidden; border: 1px solid var(--line-soft); aspect-ratio: 4/5; background: #0e0e12; }
.card img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.2,.7,.3,1); }
.card::after {
  content: "+"; position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  font-family: var(--disp); font-weight: 700; font-size: 2.4rem; color: var(--volt);
  background: rgba(11,11,13,.5); opacity: 0; transition: opacity .3s ease;
}
.card:hover img { transform: scale(1.07); }
.card:hover::after { opacity: 1; }
.gallery-more { margin-top: 1.8rem; color: var(--muted); font-size: .96rem; }
.gallery-more a { color: var(--volt); border-bottom: 1px solid var(--line); }
.gallery-more a:hover { color: var(--text); }

/* ============================================================
   RADNO VREME + LOKACIJA
   ============================================================ */
.hours { background: var(--bg); }
.hours-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(24px, 4vw, 56px); align-items: stretch; }
.hours-card, .loc-card { background: var(--panel); border: 1px solid var(--line-soft); padding: clamp(28px, 4vw, 48px); position: relative; }
.hours-card h2, .loc-card h2 { margin: .2rem 0 1.4rem; }
.hours-list { list-style: none; }
.hours-list li {
  display: flex; justify-content: space-between; align-items: baseline; gap: 1rem;
  padding: 16px 0; border-bottom: 1px solid var(--line-soft); font-size: 1.06rem; color: var(--text-dim);
}
.hours-list li:last-child { border-bottom: 0; }
.hours-time { font-family: var(--disp); font-weight: 600; color: var(--volt); letter-spacing: .04em; font-size: 1.18rem; white-space: nowrap; }
.hours-note { color: var(--muted); font-size: .96rem; margin-top: 1.2rem; }
.loc-card { display: flex; flex-direction: column; }
.loc-addr { color: var(--text-dim); font-size: 1.1rem; margin-bottom: 1.6rem; line-height: 1.6; }
.loc-card .btn { align-self: flex-start; margin-top: auto; }

/* ============================================================
   PETROVARADIN NAJAVA
   ============================================================ */
.soon { background: linear-gradient(180deg, var(--bg-2), var(--bg)); }
.soon-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(30px, 5vw, 64px); align-items: center; }
.soon-figure { position: relative; padding: 8px; background: linear-gradient(150deg,#1b1b20,#0f0f12); border: 1px solid var(--line); box-shadow: var(--shadow); }
.soon-figure img { width: 100%; height: auto; }
.soon-badge {
  position: absolute; top: -13px; right: 18px; z-index: 2;
  font-family: var(--disp); font-weight: 700; font-size: .74rem; letter-spacing: .18em;
  background: var(--volt); color: #0b0b0d; padding: 6px 13px; border-radius: 2px;
}
.soon-copy h2 { margin: .2rem 0 1.1rem; }
.soon-copy p { color: var(--text-dim); font-size: 1.05rem; margin-bottom: .9rem; }
.soon-copy strong { color: var(--volt); font-weight: 600; }
.soon-tag {
  display: inline-block; margin-top: .6rem; font-family: var(--disp); font-weight: 600;
  letter-spacing: .08em; text-transform: uppercase; color: var(--volt);
  border: 1px solid var(--line); padding: 9px 16px; border-radius: 3px; font-size: .9rem;
}

/* ============================================================
   KONTAKT
   ============================================================ */
.contact { background: var(--bg-2); text-align: center; }
.contact-inner { max-width: 680px; margin: 0 auto; }
.contact h2 { margin: .2rem 0 1.1rem; }
.contact-lede { color: var(--text-dim); font-size: 1.08rem; margin-bottom: 2.2rem; }
.contact-actions { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; margin-bottom: 1.6rem; }
.contact-loc { color: var(--muted); letter-spacing: .05em; font-size: .96rem; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: var(--bg); border-top: 1px solid var(--line); padding: clamp(48px, 6vw, 72px) 0 90px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.2fr; gap: 30px; padding-bottom: 36px; border-bottom: 1px solid var(--line-soft); }
.footer-brand .wordmark { margin-bottom: 14px; }
.footer-brand p { color: var(--muted); font-size: .94rem; }
.f-label { font-family: var(--disp); font-size: .76rem; letter-spacing: .16em; text-transform: uppercase; color: var(--volt); }
.footer-col p { margin-top: 10px; color: var(--text-dim); font-size: .94rem; }
.footer-col a:hover { color: var(--volt); }
.footer-base { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; padding-top: 24px; font-size: .8rem; color: var(--muted); letter-spacing: .04em; }

/* ---------- sticky mobile DM bar ---------- */
.call-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 80; display: none;
  text-align: center; padding: 14px; background: var(--volt); color: #0b0b0d;
  font-family: var(--disp); font-weight: 600; letter-spacing: .04em; font-size: .98rem;
  box-shadow: 0 -8px 24px -10px rgba(0,0,0,.6);
}

/* ============================================================
   LIGHTBOX
   ============================================================ */
.lightbox {
  position: fixed; inset: 0; z-index: 200; display: none; align-items: center; justify-content: center;
  padding: 6vh 5vw; background: rgba(6,6,8,.96); backdrop-filter: blur(8px); opacity: 0; transition: opacity .3s ease;
}
.lightbox.open { display: flex; opacity: 1; }
.lb-inner { display: flex; flex-direction: column; align-items: center; gap: 16px; max-width: 760px; }
.lb-inner img { max-height: 78vh; max-width: 100%; width: auto; border: 1px solid var(--line); padding: 8px; background: #111; box-shadow: var(--shadow); }
.lb-cap { color: var(--text-dim); font-size: .96rem; letter-spacing: .03em; text-align: center; }
.lb-close, .lb-nav { position: absolute; background: none; border: 2px solid var(--line); color: var(--text); cursor: pointer; transition: all .25s ease; border-radius: 3px; z-index: 2; }
.lb-close { top: 22px; right: 22px; width: 46px; height: 46px; font-size: 1.6rem; line-height: 1; }
.lb-nav { top: 50%; transform: translateY(-50%); width: 50px; height: 50px; font-size: 1.8rem; }
.lb-prev { left: 16px; } .lb-next { right: 16px; }
.lb-close:hover, .lb-nav:hover { background: var(--volt); color: #0b0b0d; border-color: var(--volt); }

/* ============================================================
   REVEAL
   ============================================================ */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s cubic-bezier(.2,.7,.3,1), transform .8s cubic-bezier(.2,.7,.3,1); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 920px) {
  .about-grid, .soon-grid, .hours-grid { grid-template-columns: 1fr; gap: 30px; }
  .about-figure { max-width: 440px; }
  .soon-figure { order: -1; max-width: 460px; }
  .zones-grid { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(2) { border-right: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 700px) {
  .nav {
    position: fixed; inset: 0 0 0 auto; width: min(80vw, 320px);
    flex-direction: column; align-items: flex-start; justify-content: center; gap: 1.6rem; padding: 0 34px;
    background: var(--bg-2); border-left: 1px solid var(--line);
    transform: translateX(100%); transition: transform .38s cubic-bezier(.2,.7,.3,1); z-index: 90;
  }
  .nav.open { transform: translateX(0); }
  .nav a { font-size: 1.15rem; }
  .nav-toggle { display: flex; }
  .call-bar { display: block; }
  body { padding-bottom: 52px; }
}
@media (max-width: 540px) {
  .container { padding: 0 18px; }
  .zones-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 20px; }
  .footer-base { flex-direction: column; }
  .gallery { grid-template-columns: 1fr 1fr; }
}
