/* ---------------------------------------------------------
   M-DIGITAL SEO - Frontend styles
   (based on your original style.css, cleaned + extended)
---------------------------------------------------------- */

:root {
  --white: #ffffff;
  --blue: #003087;
  --blue-l: #007bff;
  --green: #2ecc71;
  --dark: #1a1a1a;
  --gray: #f4f7f6;
  --muted: #6b7280;
  --danger: #dc2626;
  --shadow-sm: 0 10px 30px rgba(0, 0, 0, .06);
  --shadow-md: 0 15px 35px rgba(0, 0, 0, .10);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--dark);
  line-height: 1.65;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Inter", sans-serif;
  background: #fff;
}

a {
  color: inherit;
}

img {
  max-width: 100%;
  height: auto;
}

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
}

.flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

nav {
  padding: 10px 0;
  border-bottom: 1px solid #eee;
  position: sticky;
  top: 0;
  background: #fff;
  z-index: 50;
}

/* Breadcrumbs */
/* Breadcrumbs */
.breadcrumbs {
  background: white;
  padding: 16px 0;
  margin-top: 10px;
}

.breadcrumbs ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  color: #6b7280;
}

.breadcrumbs li {
  display: flex;
  align-items: center;
}

/* Separator via CSS */
.breadcrumbs li:not(:last-child)::after {
  content: "›";
  /* Chevron separator */
  margin-left: 10px;
  color: #9ca3af;
  font-size: 1.2em;
  font-weight: 300;
  line-height: 1;
}

.breadcrumbs a {
  text-decoration: none;
  color: #4b5563;
  /* Neutral gray */
  font-weight: 500;
  transition: color 0.2s ease;
  display: flex;
  align-items: center;
}

.breadcrumbs a:hover {
  color: var(--blue);
}

.breadcrumbs .current-page {
  color: var(--blue);
  /* Highlight current page */
  font-weight: 600;
  background: rgba(0, 48, 135, 0.06);
  padding: 2px 10px;
  border-radius: 6px;
}

.logo {
  text-decoration: none;
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.logo img {
  height: 85px;
  /* Povećano jer slika ima dosta praznog prostora */
  width: auto;
  display: block;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 20px;
  margin: 0;
  padding: 0;
  align-items: center;
}

.nav-links a {
  text-decoration: none;
  color: var(--dark);
  font-weight: 600;
}

.nav-links a:hover {
  color: var(--blue);
}

.hero {
  padding: 100px 0;
  text-align: center;
  background: linear-gradient(135deg, #fff, #f0f4ff);
}

h1 {
  font-size: 3.4rem;
  margin: 0;
  line-height: 1.15;
}

h2,
h3 {
  line-height: 1.25;
}

.section-title {
  text-align: center;
  font-size: 2.35rem;
  margin: 0 0 50px;
}

.text-blue {
  color: var(--blue-l);
}

.btn {
  padding: 12px 30px;
  border-radius: 10px;
  font-weight: 800;
  text-decoration: none;
  display: inline-block;
  border: none;
  cursor: pointer;
  transition: transform .15s ease, opacity .15s ease;
}

.btn-blue {
  background: var(--blue);
  color: #fff;
}

.btn-green {
  background: var(--green);
  color: #fff;
}

.btn-ghost {
  background: transparent;
  color: var(--blue);
  border: 1px solid rgba(0, 48, 135, .18);
}

.btn:hover {
  opacity: .93;
  transform: translateY(-2px);
}

.card {
  background: #fff;
  padding: 30px;
  border-radius: 15px;
  box-shadow: var(--shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
}

.card h3 {
  margin-top: 0;
  color: var(--blue);
  font-size: 1.2rem;
}

.bg-gray {
  background: var(--gray);
  padding: 80px 0;
}

.bg-blue {
  background: var(--blue);
  color: #fff;
  padding: 80px 0;
}

.price-card {
  background: #fff;
  padding: 42px 34px;
  border-radius: 16px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0, 0, 0, .06);
}

.price-card h3 {
  margin-top: 0;
  margin-bottom: 18px;
  letter-spacing: .6px;
}

.price-card.featured {
  border: 2px solid rgba(0, 123, 255, .45);
  transform: scale(1.03);
}

.price {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 10px;
  color: var(--blue);
  margin: 10px 0 22px;
}

.price .amount {
  font-size: 3.8rem;
  /* ↑ povećano */
  font-weight: 900;
  line-height: 1;
  letter-spacing: -.5px;
}

.price .currency {
  font-size: 1.9rem;
  /* ↑ u skladu s brojkom */
  font-weight: 900;
  line-height: 1;
  transform: translateY(-.45rem);
}

.price .period {
  font-size: 1rem;
  color: #6b7280;
  line-height: 1;
  transform: translateY(-.2rem);
}

.blog-card img {
  border-radius: 14px;
  margin-bottom: 14px;
}

.blog-card .meta {
  font-size: .9rem;
  color: var(--muted);
  margin-bottom: 8px;
}

.blog-card .readmore {
  margin-top: 12px;
  display: inline-flex;
  gap: 8px;
  align-items: center;
  color: var(--blue);
  font-weight: 800;
  text-decoration: none;
}

.blog-card .readmore:hover {
  text-decoration: underline;
}

form .field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

input,
textarea,
select {
  font: inherit;
  padding: 12px 14px;
  border: 1px solid #ddd;
  border-radius: 10px;
}

input:focus,
textarea:focus,
select:focus {
  outline: 2px solid rgba(0, 123, 255, .20);
  border-color: rgba(0, 123, 255, .45);
}

.notice {
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, .08);
  background: #fff;
}

.notice.success {
  border-color: rgba(46, 204, 113, .55);
}

.notice.error {
  border-color: rgba(220, 38, 38, .55);
}

footer {
  text-align: center;
  padding: 46px 0 34px;
  font-size: .92rem;
  color: #6b7280;
  border-top: 1px solid #eee;
}

footer a {
  color: #6b7280;
  text-decoration: none;
  border-bottom: 1px dashed #c7c7c7;
}

footer a:hover {
  color: var(--blue);
  border-bottom-color: rgba(0, 48, 135, .35);
}

.smallprint {
  margin-top: 10px;
  font-size: .78rem;
  opacity: .75;
}

/* Cookie banner */
#cookie-banner {
  position: fixed;
  inset: auto 16px 16px 16px;
  max-width: 820px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, .10);
  box-shadow: var(--shadow-md);
  border-radius: 16px;
  padding: 16px 16px;
  display: none;
  z-index: 999;
}

#cookie-banner .row {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  justify-content: space-between;
}

#cookie-banner p {
  margin: 0;
  color: #111827;
  font-size: .95rem;
}

#cookie-banner .actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

#cookie-banner .actions button {
  white-space: nowrap;
}

/* Mobile */
@media (max-width: 768px) {
  h1 {
    font-size: 2.2rem !important;
  }

  .hero {
    padding: 62px 0;
  }

  .grid {
    grid-template-columns: 1fr;
  }

  nav .flex {
    gap: 14px;
  }

  .nav-links {
    gap: 12px;
    flex-wrap: wrap;
    justify-content: flex-end;
  }

  .price-card.featured {
    transform: none;
  }

  #cookie-banner .row {
    flex-direction: column;
    align-items: stretch;
  }

  #cookie-banner .actions {
    justify-content: flex-start;
  }
}

/* Skip Link (Accessibility) */
.skip-link {
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--dark);
  color: white;
  padding: 12px 24px;
  z-index: 9999;
  text-decoration: none;
  font-weight: 600;
  border-radius: 0 0 8px 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: top 0.3s cubic-bezier(0.19, 1, 0.22, 1);
  opacity: 0;
}

.skip-link:focus {
  top: 0;
  opacity: 1;
  outline: 3px solid rgba(0, 123, 255, 0.5);
  outline-offset: 2px;
}