/* =========================================================
   POČETNA — dodatni moduli (baneri, usluge, magazin, paketi)
   ========================================================= */

/* ---------- Baner pozicije ---------- */
.ad-slot { position: relative; }
.ad-slot::before { content: "Oglas · " attr(data-slot); position: absolute; top: -20px; right: 0; font-family: var(--mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.ad-creative { display: block; border-radius: var(--radius); overflow: hidden; position: relative; color: #fff; }
.ad-creative:hover { color: #fff; }
.ad-kicker { font-family: var(--mono); font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; color: #ffb3bf; display: block; margin-bottom: 8px; }
.ad-wide { display: grid; grid-template-columns: 1fr 1.5fr auto; align-items: center; gap: 32px; background: #0b1426; min-height: 200px; padding-right: 36px; }
.ad-wide .ad-img { align-self: stretch; background: center/cover; position: relative; }
.ad-wide .ad-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent 40%, #0b1426); }
.ad-wide h3 { font-family: var(--display); font-size: 22px; line-height: 1.25; margin-bottom: 6px; }
.ad-wide p { color: #b6c0d4; margin: 0; }
.ad-box { min-height: 270px; padding: 24px; display: flex; flex-direction: column; justify-content: flex-end; background: center/cover; }
.ad-box::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11, 20, 38,.1), rgba(11, 20, 38,.9)); }
.ad-box > * { position: relative; }
.ad-box h3 { font-family: var(--display); font-size: 19px; line-height: 1.25; }
.ad-box p { color: #c3cde0; font-size: 13.5px; margin-bottom: 14px; }
.ad-box .btn { align-self: flex-start; }
.ad-house { background: var(--red); }
.ad-house::before { background: repeating-linear-gradient(135deg, transparent 0 22px, rgba(255,255,255,.07) 22px 23px); }
.ad-house p { color: #ffe3e6; }
.ad-strip { display: flex; align-items: center; gap: 18px; padding: 22px 28px; background: #fff; color: var(--ink); border: 1px solid var(--line); border-left: 4px solid var(--red); }
.ad-strip:hover { color: var(--ink); border-color: var(--bordo); }
.ad-strip > svg.lucide { width: 34px; height: 34px; color: var(--red); }
.ad-strip > div { flex: 1; }
.ad-strip span { color: var(--muted); }
.with-ads { display: grid; grid-template-columns: 1fr 300px; gap: 32px; align-items: start; }
.with-ads aside { padding-top: 92px; }
.with-ads aside .ad-slot + .ad-slot { margin-top: 36px; }

/* ---------- Usluge ---------- */
.services { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); background: #fff; }
.svc { padding: 28px 26px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); color: var(--ink); position: relative; transition: background .2s, color .2s; display: flex; flex-direction: column; gap: 6px; min-height: 180px; }
.svc svg.lucide { width: 30px; height: 30px; color: var(--red); stroke-width: 1.5; margin-bottom: auto; transition: color .2s; }
.svc h3 { margin: 18px 0 0; font-size: 16.5px; }
.svc span { font-size: 13px; color: var(--muted); font-family: var(--mono); }
.svc svg.lucide.arr { position: absolute; top: 24px; right: 24px; width: 20px; height: 20px; color: var(--line-2); margin: 0; }
.svc:hover { background: var(--bordo); color: #fff; }
.svc:hover svg.lucide { color: #fff; }
.svc:hover span { color: #c3cde0; }

/* ---------- Kako funkcioniše ---------- */
.how { background: var(--bordo); color: #fff; padding: 96px 0; position: relative; overflow: hidden; }
.how::after { content: ""; position: absolute; inset: 0; opacity: .08; pointer-events: none; background-image: linear-gradient(rgba(255,255,255,.7) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.7) 1px, transparent 1px); background-size: 80px 80px; }
.how-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 72px; align-items: center; position: relative; z-index: 1; }
.how h2 { color: #fff; max-width: 560px; }
.how-photo { aspect-ratio: 4/5; max-height: 600px; width: 100%; background: center/cover; border-radius: var(--radius); position: relative; box-shadow: 30px 30px 0 -2px var(--red); }
.how-badge { position: absolute; left: -24px; bottom: 40px; background: #fff; color: var(--ink); padding: 18px 22px; border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.how-badge b { display: block; font-family: var(--display); font-size: 34px; color: var(--red); line-height: 1; }
.how-badge span { font-size: 13px; color: var(--muted); }
.steps { margin: 30px 0 36px; }
.step { display: flex; gap: 22px; padding: 22px 0; border-top: 1px solid rgba(255,255,255,.15); }
.step:last-child { border-bottom: 1px solid rgba(255,255,255,.15); }
.step-n { font-family: var(--mono); font-size: 14px; color: #ff8095; font-weight: 600; padding-top: 2px; }
.step h3 { color: #fff; font-size: 18px; margin-bottom: 4px; }
.step p { color: #c3cde0; margin: 0; }
.how .btn-primary { background: #fff; color: var(--bordo); }
.how .btn-primary:hover { background: #f1f4fa; }

/* ---------- Feed sa slikama ---------- */
.thumb.img { background: center/cover; }

/* ---------- Novosti (magazin) ---------- */
.news-sec { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.news-mag { display: grid; grid-template-columns: 1.4fr 1fr; gap: 28px; }
.news-big { position: relative; border-radius: var(--radius); overflow: hidden; min-height: 460px; display: flex; align-items: flex-end; color: #fff; background: center/cover; }
.news-big::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 30%, rgba(11, 20, 38,.92)); }
.news-big > div { position: relative; padding: 32px; }
.news-big h3 { font-family: var(--display); font-size: clamp(20px, 2.2vw, 28px); line-height: 1.2; margin: 10px 0 8px; color: #fff; }
.news-big p { color: #d5dcea; margin: 0; }
.news-big:hover { color: #fff; }
.news-big .news-meta { color: #ff8095; }
.news-row { display: grid; grid-template-columns: 150px 1fr; gap: 18px; padding: 18px 0; border-bottom: 1px solid var(--line); color: var(--ink); }
.news-row:first-child { padding-top: 0; }
.news-row:hover { color: var(--ink); }
.news-row:hover h4 { color: var(--red); }
.news-row .img { aspect-ratio: 4/3; border-radius: 4px; background: center/cover; }
.news-row h4 { font-size: 16px; margin: 6px 0 0; line-height: 1.3; }
.news-meta { font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--red); }
.news-card { color: var(--ink); overflow: hidden; }
.news-card:hover { color: var(--ink); border-color: var(--bordo); }
.news-card .img { aspect-ratio: 16/10; background: center/cover; }

/* ---------- Paketi ---------- */
.pricing-sec { background: var(--bg); }
.pricing { max-width: 1080px; margin-inline: auto; align-items: stretch; }
.price-card { padding: 32px; display: flex; flex-direction: column; position: relative; }
.price-card h6 { font-family: var(--mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--red); margin: 0 0 12px; }
.p-amount { font-family: var(--display); font-size: 40px; letter-spacing: -.03em; color: var(--bordo); line-height: 1; }
.p-amount small { font-size: 14px; font-family: var(--font); color: var(--muted); letter-spacing: 0; }
.price-card ul { list-style: none; padding: 0; margin: 20px 0 26px; display: grid; gap: 10px; flex: 1; align-content: start; }
.price-card li { display: flex; gap: 10px; font-size: 14.5px; }
.price-card li svg.lucide { color: var(--red); width: 17px; }
.price-card.hot { background: var(--bordo); color: #fff; border-color: var(--bordo); transform: translateY(-12px); box-shadow: var(--shadow-lg); }
.price-card.hot .p-amount { color: #fff; }
.price-card.hot .muted, .price-card.hot .p-amount small { color: #c3cde0 !important; }
.price-card.hot h6, .price-card.hot li svg.lucide { color: #ff8095; }
.price-card.hot .btn-primary { background: #fff; color: var(--bordo); }
.hot-tag { position: absolute; top: -12px; left: 32px; background: var(--red); color: #fff; font-family: var(--mono); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; padding: 4px 10px; border-radius: 3px; }

/* ---------- Partneri ---------- */
.partners { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; padding: 30px 0; }
.partners .container { display: flex; align-items: center; gap: 40px; }
.partners .eyebrow { white-space: nowrap; }
.partner-logos { display: flex; flex: 1; justify-content: space-between; gap: 14px 22px; flex-wrap: wrap; }
.partner-logos span { font-family: var(--display); font-weight: 700; font-size: 15px; color: #b4bccb; letter-spacing: -.02em; display: inline-flex; gap: 8px; align-items: center; transition: color .2s; }
.partner-logos span:hover { color: var(--bordo); }
.partner-logos svg.lucide { width: 22px; height: 22px; }

/* ---------- Newsletter ---------- */
.newsletter { display: grid; grid-template-columns: 1.3fr 1.2fr auto; gap: 40px; align-items: center; padding: 44px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--red); }
.newsletter h2 { font-size: 26px; margin-bottom: 6px; }
.newsletter p { margin: 0; color: var(--muted); }
.nl-form { display: flex; gap: 8px; }
.nl-form .input, .nl-form .btn { height: 52px; }
.app-soon { display: flex; gap: 12px; align-items: center; padding-left: 32px; border-left: 1px solid var(--line); }
.app-soon svg.lucide { width: 34px; height: 34px; color: var(--red); stroke-width: 1.5; }
.app-soon b { display: block; }
.app-soon span { font-size: 13px; color: var(--muted); }

@media (max-width: 1140px) {
  .services { grid-template-columns: repeat(2, 1fr); }
  .with-ads { grid-template-columns: 1fr; }
  .with-ads aside { padding-top: 24px; display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
  .with-ads aside .ad-slot + .ad-slot { margin-top: 0; }
  .ad-wide { grid-template-columns: 1fr 1.6fr; }
  .ad-wide > .btn { display: none; }
  .newsletter { grid-template-columns: 1fr; }
  .app-soon { border-left: 0; padding-left: 0; }
  .partners .container { flex-direction: column; align-items: flex-start; gap: 18px; }
}
@media (max-width: 860px) {
  .how { padding: 64px 0; }
  .how-grid { grid-template-columns: 1fr; gap: 48px; }
  .how-photo { aspect-ratio: 16/11; box-shadow: 14px 14px 0 -2px var(--red); }
  .how-badge { left: 16px; bottom: 16px; }
  .news-mag { grid-template-columns: 1fr; }
  .news-big { min-height: 340px; }
  .price-card.hot { transform: none; }
  .ad-wide { grid-template-columns: 1fr; padding: 0 0 24px; gap: 16px; }
  .ad-wide .ad-img { min-height: 150px; }
  .ad-wide .ad-copy { padding: 0 24px; }
  .ad-strip { flex-wrap: wrap; }
  .with-ads aside { grid-template-columns: 1fr; gap: 40px; }
  .nl-form { flex-direction: column; }
  .newsletter { padding: 28px 22px; }
}
@media (max-width: 540px) {
  .services { grid-template-columns: 1fr 1fr; }
  .svc { padding: 20px 16px; min-height: 150px; }
  .svc h3 { font-size: 14.5px; }
  .news-row { grid-template-columns: 110px 1fr; }
}
