/* =========================================================
   НОВОГОДИШНА ТЕМА — winter.css
   За да ја тргнеш темата после празниците: избриши ги двата
   реда (winter.css и winter.js) од секој .html фајл.
   ========================================================= */

:root {
  --coral: #d23c4e;          /* празнично црвено (НОВО ознака, акценти) */
  --festive-red: #b83242;
  --festive-red-light: #e0606c;
  --pine: #1f5c4a;
  --gold: #f4b942;
}

/* ---------- Лента на врвот ---------- */
.winter-bar {
  background: var(--pine);
  color: #fdf3e7;
  text-align: center;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 9px 16px;
  letter-spacing: 0.01em;
}

/* ---------- Бонбона-лента под header-от ---------- */
.site-header {
  border-bottom: none;
  position: sticky;
}

.site-header::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 5px;
  background: repeating-linear-gradient(
    -45deg,
    var(--festive-red) 0 12px,
    #fff 12px 24px
  );
}

/* ---------- Hero: мазна снежна позадина ---------- */
.hero {
  background:
    radial-gradient(circle at 12% 18%, rgba(255,255,255,0.9) 0 90px, transparent 91px),
    radial-gradient(circle at 88% 82%, rgba(255,255,255,0.8) 0 110px, transparent 111px),
    linear-gradient(180deg, #fdf3e7 0%, #f3f6f4 100%);
}

.eyebrow { color: var(--festive-red); }

.hero h1 span { color: var(--festive-red); }

/* ---------- Промоција: црвено-зелена ---------- */
.promo {
  background: linear-gradient(120deg, var(--festive-red), var(--festive-red-light));
}

.promo-copy .btn-primary {
  background: #fff;
  color: var(--festive-red);
}

.promo-badge { background: var(--gold); color: var(--festive-red); }

/* ---------- Копчиња (задржи го брендот, додај топла сенка) ---------- */
.btn-primary:hover { background: var(--pine); }

/* ---------- Како работи + Trust bar ---------- */
.trust-bar { background: var(--pine); }

/* ---------- Footer: бонбона-лента на врвот ---------- */
.site-footer { position: relative; }

.site-footer::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 5px;
  background: repeating-linear-gradient(
    -45deg,
    var(--festive-red) 0 12px,
    #fff 12px 24px
  );
}

/* ---------- Снег ---------- */
.snow {
  position: fixed;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 45;
}

.snowflake {
  position: absolute;
  top: -5vh;
  color: #fff;
  text-shadow: 0 0 4px rgba(120, 150, 170, 0.55);
  user-select: none;
  animation-name: snowfall;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
}

@keyframes snowfall {
  0%   { transform: translate3d(0, -5vh, 0) rotate(0deg); }
  100% { transform: translate3d(var(--drift, 30px), 108vh, 0) rotate(360deg); }
}

@media (prefers-reduced-motion: reduce) {
  .snow { display: none; }
}

/* ---------- Лента на врвот како линк ---------- */
a.winter-bar {
  display: block;
  color: #fdf3e7;
  text-decoration: none;
}

a.winter-bar:hover { background: #184a3b; text-decoration: underline; }

/* ---------- Новогодишен попуст на цените ---------- */
.book-price.price-sale { margin-bottom: 2px; }

.price-old {
  text-decoration: line-through;
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.9rem;
  margin-right: 4px;
}

.price-new {
  color: var(--festive-red);
  font-weight: 800;
}

.price-deadline {
  margin: 0 0 10px;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--festive-red);
}

.sale-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  background: var(--festive-red);
  color: #fff;
  font-weight: 800;
  font-size: 0.75rem;
  padding: 5px 10px;
  border-radius: 999px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}
