/* ============================================================
   ČIRKOTOVA ŠOLA KOŠARKE — stylesheet
   Brand barve vzorčene iz logoweb.png (KD Borut Besedič - Čiro)
   ============================================================ */

:root {
  --bordo: #BD0A3F;
  --bordo-dark: #8E0730;
  --bordo-darker: #6B0524;
  --bordo-light: #E63A67;
  --bordo-tint: #FDEDF1;
  --ink: #201C1D;
  --ink-soft: #4A4446;
  --paper: #FFFFFF;
  --cream: #FFF9F6;
  --sand: #FBF3EC;
  --line: #EFE2E0;
  --gold: #F2A93B;
  --green-ok: #2F9E63;

  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --shadow-sm: 0 2px 8px rgba(32, 28, 29, 0.06);
  --shadow-md: 0 12px 32px rgba(107, 5, 36, 0.14);
  --shadow-lg: 0 24px 60px rgba(107, 5, 36, 0.18);

  --font-display: 'Poppins', 'Nunito', system-ui, sans-serif;
  --font-body: 'Nunito', system-ui, sans-serif;
}

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

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

.wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.15;
  margin: 0 0 0.5em;
  color: var(--ink);
}

h2 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); }
h3 { font-size: 1.25rem; }

p { margin: 0 0 1em; color: var(--ink-soft); }

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.98rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, color 0.18s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--bordo);
  color: #fff;
  box-shadow: var(--shadow-md);
}
.btn-primary:hover { background: var(--bordo-dark); transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.btn-ghost:hover { border-color: var(--bordo); color: var(--bordo); transform: translateY(-2px); }
.btn-white {
  background: #fff;
  color: var(--bordo-dark);
  box-shadow: var(--shadow-md);
}
.btn-white:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn-lg { padding: 16px 34px; font-size: 1.05rem; }
.btn-block { width: 100%; }

/* ============ HEADER ============ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 78px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.brand-logo { height: 44px; width: auto; }
.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  font-family: var(--font-display);
}
.brand-text strong { font-size: 1.02rem; font-weight: 800; color: var(--ink); }
.brand-text em { font-style: normal; font-size: 0.82rem; font-weight: 600; color: var(--bordo); }

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
}
.main-nav a { color: var(--ink-soft); transition: color 0.15s ease; padding: 6px 0; }
.main-nav a:hover { color: var(--bordo); }
.nav-cta {
  background: var(--bordo);
  color: #fff !important;
  padding: 10px 22px !important;
  border-radius: 999px;
}
.nav-cta:hover { background: var(--bordo-dark); }

.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: transparent;
  border: none;
  cursor: pointer;
}
.burger span {
  display: block;
  height: 3px;
  width: 100%;
  background: var(--ink);
  border-radius: 3px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.burger.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ============ HERO ============ */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, var(--cream) 0%, #fff 100%);
  padding: 64px 0 40px;
}
.hero-shape {
  position: absolute;
  border-radius: 50%;
  z-index: 0;
  opacity: 0.5;
}
.shape-a {
  width: 520px; height: 520px;
  background: radial-gradient(circle, var(--bordo-tint) 0%, transparent 70%);
  top: -220px; right: -160px;
}
.shape-b {
  width: 360px; height: 360px;
  background: radial-gradient(circle, #FFF3DE 0%, transparent 70%);
  bottom: -180px; left: -140px;
}
.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}
.pill {
  display: inline-block;
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  font-family: var(--font-display);
  letter-spacing: 0.02em;
  margin-bottom: 18px;
}
.pill-new {
  background: var(--bordo);
  color: #fff;
  box-shadow: 0 6px 18px rgba(189, 10, 63, 0.35);
}
.hero-text h1 {
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  margin-bottom: 0.35em;
}
.hero-lead {
  font-size: 1.14rem;
  color: var(--ink-soft);
  max-width: 52ch;
  margin-bottom: 28px;
}
.hero-facts {
  display: flex;
  gap: 30px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}
.hero-fact { display: flex; flex-direction: column; }
.hero-fact .num {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 2rem;
  color: var(--bordo);
  line-height: 1;
}
.hero-fact .lbl {
  font-size: 0.85rem;
  color: var(--ink-soft);
  font-weight: 600;
  margin-top: 4px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-media { position: relative; }
.hero-photo-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 6px solid #fff;
  transform: rotate(2deg);
}
.hero-photo-card img { width: 100%; height: 420px; object-fit: cover; display: block; }
.hero-mascot {
  position: absolute;
  width: 150px;
  bottom: -30px;
  left: -30px;
  filter: drop-shadow(0 14px 20px rgba(0,0,0,0.18));
  transform: rotate(-6deg);
}

/* ============ TRUST STRIP ============ */
.trust-strip {
  background: var(--ink);
  color: #fff;
  padding: 14px 0;
}
.trust-inner {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 0.85rem;
  font-weight: 600;
  font-family: var(--font-display);
  letter-spacing: 0.01em;
  text-align: center;
}
.trust-inner .dot { opacity: 0.4; }

/* ============ SECTION GENERIC ============ */
.section { padding: 88px 0; }
.section-alt { background: var(--sand); }
.section-head { max-width: 680px; margin: 0 auto 48px; text-align: center; }
.eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--bordo);
  margin-bottom: 10px;
}
.eyebrow-light { color: var(--gold); }
.section-lead { font-size: 1.05rem; }
.section-head .section-lead { margin: 0 auto; }

/* ============ COMPARE (o-soli) ============ */
.compare-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.compare-card {
  position: relative;
  background: #fff;
  border: 2px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
}
.compare-cirko {
  border-color: var(--bordo);
  background: linear-gradient(160deg, #fff 0%, var(--bordo-tint) 100%);
  box-shadow: var(--shadow-md);
}
.compare-badge {
  position: absolute;
  top: -14px;
  left: 32px;
  background: var(--gold);
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
}
.compare-icon {
  width: 84px;
  height: 84px;
  object-fit: contain;
  margin-bottom: 12px;
}
.compare-sub {
  font-weight: 600;
  color: var(--ink-soft);
  margin-bottom: 20px;
}
.compare-list {
  list-style: none;
  margin: 0 0 8px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.compare-list li {
  position: relative;
  padding-left: 28px;
  font-size: 0.97rem;
  color: var(--ink-soft);
}
.compare-cirko .compare-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--bordo);
  font-weight: 800;
}
.compare-klub .compare-list li::before {
  content: "•";
  position: absolute;
  left: 6px;
  top: 0;
  color: var(--ink-soft);
  font-weight: 800;
}
.compare-link {
  display: inline-block;
  margin-top: 20px;
  font-weight: 700;
  color: var(--bordo);
  font-family: var(--font-display);
}
.compare-link:hover { text-decoration: underline; }

/* ============ TIMELINE (program) ============ */
.timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 760px;
  margin: 0 auto;
}
.timeline-item {
  display: flex;
  gap: 22px;
  position: relative;
  padding-bottom: 36px;
}
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::before {
  content: "";
  position: absolute;
  left: 21px;
  top: 44px;
  bottom: 0;
  width: 2px;
  background: var(--line);
}
.timeline-item:last-child::before { display: none; }
.timeline-dot {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--bordo);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.05rem;
  box-shadow: var(--shadow-sm);
  z-index: 1;
}
.timeline-body h3 { margin-bottom: 4px; }
.timeline-body p { margin: 0; }

.note-box {
  margin-top: 48px;
  background: #fff;
  border: 2px dashed var(--line);
  border-radius: var(--radius-md);
  padding: 24px 28px;
  display: flex;
  gap: 18px;
  align-items: flex-start;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}
.note-icon { width: 56px; height: 56px; object-fit: contain; flex-shrink: 0; }
.note-box p, .note-box div { margin: 0; color: var(--ink-soft); font-size: 0.95rem; }
.note-box strong { color: var(--ink); }

/* ============ LOKACIJE ============ */
.loc-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.loc-card {
  background: #fff;
  border: 2px solid var(--line);
  border-radius: var(--radius-md);
  padding: 26px 22px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.loc-card:hover { border-color: var(--bordo); transform: translateY(-4px); }
.loc-num {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.6rem;
  color: var(--bordo-tint);
  -webkit-text-stroke: 1.5px var(--bordo);
  display: block;
  margin-bottom: 10px;
}
.loc-detail { font-size: 0.92rem; margin-bottom: 4px; }
.loc-schedule { font-size: 0.88rem; color: var(--bordo); font-weight: 700; margin: 0; }
.loc-footnote {
  text-align: center;
  font-size: 0.88rem;
  color: var(--ink-soft);
  margin: 28px 0 0;
  font-style: italic;
}

/* ============ CENIK ============ */
.section-price { padding-top: 40px; padding-bottom: 96px; }
.price-card {
  background: linear-gradient(135deg, var(--bordo) 0%, var(--bordo-darker) 100%);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  align-items: center;
  box-shadow: var(--shadow-lg);
}
.price-card-media {
  background: rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px;
  height: 100%;
}
.price-card-media img { width: 100%; max-width: 280px; }
.price-card-body { padding: 48px 52px 48px 20px; color: #fff; }
.price-card-body h2 { color: #fff; }
.price-tag {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin: 12px 0 24px;
}
.price-amount {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 3.4rem;
  line-height: 1;
}
.price-period { font-size: 1rem; opacity: 0.85; font-weight: 600; }
.price-list {
  list-style: none;
  margin: 0 0 30px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.price-list li {
  position: relative;
  padding-left: 28px;
  opacity: 0.95;
  font-size: 0.97rem;
}
.price-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  font-weight: 800;
  color: var(--gold);
}
.price-card .btn-primary {
  background: #fff;
  color: var(--bordo-dark);
}
.price-card .btn-primary:hover { background: var(--gold); color: var(--ink); }

/* ============ BENEFITS (zakaj) ============ */
.benefit-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.benefit {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 30px 24px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}
.benefit-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--bordo-tint);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.7rem;
  margin: 0 auto 16px;
}
.benefit h3 { font-size: 1.05rem; margin-bottom: 8px; }
.benefit p { font-size: 0.92rem; margin: 0; }

/* ============ SIGNUP / PRIJAVA ============ */
.section-signup { background: var(--ink); color: #fff; }
.signup-wrap {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 56px;
  align-items: start;
}
.signup-info { position: relative; padding-top: 8px; }
.signup-info h2 { color: #fff; }
.signup-info p { color: rgba(255,255,255,0.72); }
.signup-alt {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.15);
}
.signup-alt p { margin-bottom: 6px; font-size: 0.88rem; color: rgba(255,255,255,0.6); }
.signup-alt a {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--gold);
}
.signup-alt a:hover { text-decoration: underline; }
.signup-mascot {
  width: 140px;
  margin-top: 32px;
  filter: drop-shadow(0 12px 18px rgba(0,0,0,0.35));
}

.signup-form {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-lg);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.form-section-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.78rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--bordo);
  margin: 0 0 14px;
  padding-top: 6px;
}
.signup-form > .form-section-title:first-child { padding-top: 0; }
.form-field { margin-bottom: 18px; }
.form-field label {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.86rem;
  color: var(--ink);
  margin-bottom: 6px;
}
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 2px solid var(--line);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.96rem;
  color: var(--ink);
  background: var(--cream);
  transition: border-color 0.15s ease;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--bordo);
  background: #fff;
}
.form-field textarea { resize: vertical; }
.checkbox-field {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.86rem;
  color: var(--ink-soft);
  margin-bottom: 22px;
  cursor: pointer;
}
.checkbox-field input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--bordo); flex-shrink: 0; }
.form-hint {
  text-align: center;
  font-size: 0.78rem;
  color: var(--ink-soft);
  margin: 14px 0 0;
}

/* ============ FAQ ============ */
.faq-list {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.faq-item {
  background: var(--sand);
  border-radius: var(--radius-md);
  padding: 6px 26px;
}
.faq-item summary {
  cursor: pointer;
  padding: 18px 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  color: var(--ink);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  flex-shrink: 0;
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--bordo);
  transition: transform 0.2s ease;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { padding-bottom: 20px; margin: 0; }

/* ============ CTA STRIP ============ */
.cta-strip {
  background: linear-gradient(120deg, var(--bordo) 0%, var(--bordo-darker) 100%);
  padding: 56px 0;
}
.cta-strip-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}
.cta-mascot { width: 90px; flex-shrink: 0; }
.cta-strip-text { flex: 1; min-width: 240px; }
.cta-strip-text h2 { color: #fff; margin-bottom: 4px; }
.cta-strip-text p { color: rgba(255,255,255,0.85); margin: 0; }

/* ============ FOOTER ============ */
.site-footer { background: var(--ink); color: rgba(255,255,255,0.7); padding: 64px 0 0; }
.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.footer-logo {
  height: 52px;
  margin-bottom: 16px;
  background: #fff;
  padding: 8px 10px;
  border-radius: var(--radius-sm);
}
.footer-brand p { font-size: 0.85rem; color: rgba(255,255,255,0.55); margin-bottom: 6px; }
.footer-col h4 {
  color: #fff;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 16px;
}
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col a { font-size: 0.92rem; color: rgba(255,255,255,0.65); transition: color 0.15s ease; }
.footer-col a:hover { color: #fff; }
.footer-bottom { padding: 22px 0; text-align: center; font-size: 0.8rem; color: rgba(255,255,255,0.4); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 980px) {
  .main-nav { display: none; }
  .burger { display: flex; }
  .main-nav.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 78px;
    left: 0;
    right: 0;
    background: #fff;
    padding: 20px 24px 28px;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    gap: 16px;
  }
  .nav-cta { align-self: flex-start; }

  .hero-inner { grid-template-columns: 1fr; }
  .hero-media { order: -1; max-width: 420px; margin: 0 auto; }
  .hero-mascot { width: 110px; }

  .compare-grid { grid-template-columns: 1fr; }
  .loc-grid { grid-template-columns: repeat(2, 1fr); }
  .benefit-grid { grid-template-columns: repeat(2, 1fr); }

  .price-card { grid-template-columns: 1fr; }
  .price-card-media { padding: 30px 30px 0; }
  .price-card-body { padding: 30px 32px 44px; }

  .signup-wrap { grid-template-columns: 1fr; }
  .signup-mascot { display: none; }
}

@media (max-width: 620px) {
  .section { padding: 60px 0; }
  .hero { padding: 40px 0 32px; }
  .hero-photo-card img { height: 280px; }
  .hero-facts { gap: 20px; }
  .loc-grid { grid-template-columns: 1fr; }
  .benefit-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .signup-form { padding: 28px 22px; }
  .cta-strip-inner { flex-direction: column; text-align: center; }
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .price-amount { font-size: 2.6rem; }
}

}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
