/* ═══════════════════════════════════════════
   INDEKS.BA — Shared Styles
   ═══════════════════════════════════════════ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy: #0d1b2a; --navy-2: #162235; --blue: #1a6cf6; --blue-2: #0f55d4;
  --blue-lt: #e8f0fe; --accent: #f97316; --green: #10b981;
  --text: #1e293b; --muted: #64748b; --border: #e2e8f0;
  --surface: #f8fafc; --white: #ffffff; --radius: 12px;
  --shadow: 0 1px 3px rgba(0,0,0,.08), 0 4px 16px rgba(0,0,0,.06);
}

html { scroll-behavior: smooth; }
body { font-family: 'Plus Jakarta Sans', sans-serif; color: var(--text); background: var(--white); font-size: 15px; line-height: 1.6; }

/* ── NAV ── */
nav.main-nav { position: sticky; top: 0; z-index: 100; background: var(--navy); border-bottom: 1px solid rgba(255,255,255,.08); padding: 0 2rem; height: 64px; display: flex; align-items: center; gap: 2rem; }
.nav-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; flex-shrink: 0; }
.nav-logo-mark { width: 36px; height: 36px; background: var(--blue); border-radius: 8px; display: flex; align-items: center; justify-content: center; font-family: 'Sora', sans-serif; font-weight: 800; font-size: 18px; color: white; letter-spacing: -1px; }
.nav-logo-text { font-family: 'Sora', sans-serif; font-weight: 700; font-size: 19px; color: white; letter-spacing: -.3px; }
.nav-logo-text span { color: var(--blue); }
.nav-spacer { flex: 1; }
.nav-links { display: flex; align-items: center; gap: 20px; }
.nav-link { color: rgba(255,255,255,.6); text-decoration: none; font-size: 13.5px; transition: color .2s; white-space: nowrap; }
.nav-link:hover { color: white; }
.nav-cta { background: var(--accent); color: white; text-decoration: none; padding: 8px 16px; border-radius: 8px; font-size: 13px; font-weight: 600; white-space: nowrap; transition: opacity .2s; }
.nav-cta:hover { opacity: .88; }

/* ── BREADCRUMB ── */
.breadcrumb { background: var(--surface); border-bottom: 1px solid var(--border); padding: 12px 2rem; }
.breadcrumb-inner { max-width: 1180px; margin: 0 auto; display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); flex-wrap: wrap; }
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--blue); }
.breadcrumb-sep { color: var(--border); font-size: 16px; }
.breadcrumb-current { color: var(--text); font-weight: 600; }

/* ── FOOTER ── */
footer { background: var(--navy); color: rgba(255,255,255,.6); padding: 52px 2rem 0; }
.footer-inner { max-width: 1180px; margin: 0 auto; }
.footer-grid { display: grid; grid-template-columns: 1.8fr 1fr 1fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,.07); }
.footer-brand-desc { font-size: 13px; line-height: 1.8; max-width: 260px; margin-top: 12px; }
.footer-col h5 { font-family: 'Sora', sans-serif; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .6px; color: white; margin-bottom: 12px; }
.footer-col a { display: block; color: rgba(255,255,255,.5); text-decoration: none; font-size: 13px; margin-bottom: 8px; transition: color .2s; }
.footer-col a:hover { color: white; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; padding: 16px 0; font-size: 12px; gap: 12px; flex-wrap: wrap; }
.footer-legal { display: flex; gap: 14px; flex-wrap: wrap; }
.footer-legal a { color: rgba(255,255,255,.38); text-decoration: none; font-size: 12px; }
.footer-legal a:hover { color: rgba(255,255,255,.7); }

/* ── TOAST ── */
.toast { position: fixed; bottom: 24px; right: 24px; background: #1e293b; color: white; padding: 13px 20px; border-radius: 10px; font-size: 14px; font-weight: 600; box-shadow: 0 8px 32px rgba(0,0,0,.25); transform: translateY(80px); opacity: 0; transition: all .3s ease; z-index: 999; }
.toast.show { transform: translateY(0); opacity: 1; }

/* ── RESPONSIVE (shared) ── */
@media (max-width: 640px) {
  .nav-links .nav-link { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 10px; }
}
@media (max-width: 420px) {
  .footer-grid { grid-template-columns: 1fr; }
}
