/* =========================================
   cncideja.ba – stilovi
   Boje iz loga:
   tamno plava #060A30, žuta #FFCC2B, svijetlo plava #CBE6FB
   ========================================= */

:root {
  --navy: #060A30;
  --navy-2: #141B4A;
  --yellow: #FFCC2B;
  --light-blue: #CBE6FB;
  --text-muted: #4A5276;
  --gold-text: #8A6400;
  --bg-light: #F5F7FB;
  --white: #FFFFFF;
  --radius: 10px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  color: var(--navy);
  background: var(--white);
  line-height: 1.5;
}

img { max-width: 100%; display: block; }

a { color: inherit; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ---------- Pozadina "radna ploča" (mreža linija) ---------- */
.bed {
  background-color: var(--navy);
  background-image:
    linear-gradient(rgba(203,230,251,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(203,230,251,0.06) 1px, transparent 1px);
  background-size: 48px 48px;
}

/* ---------- Dugmad ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 17px 28px;
  border-radius: var(--radius);
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  transition: transform .15s ease, opacity .15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn--small { padding: 12px 20px; font-size: 15px; }
.btn--yellow { background: var(--yellow); color: var(--navy); }
.btn--ghost { color: var(--white); border: 1px solid rgba(203,230,251,0.35); font-weight: 600; }
.btn--navy { background: var(--navy); color: var(--white); }
.btn--outline-navy { color: var(--navy); border: 2px solid var(--navy); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- Tekst ---------- */
.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-text);
}
.eyebrow--yellow { color: var(--yellow); }
.eyebrow__line { width: 32px; height: 2px; background: var(--yellow); display: block; }

.h2 {
  margin: 14px 0 0;
  font-size: clamp(32px, 4vw, 44px);
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -0.03em;
}
.h2--white { color: var(--white); }

.muted { color: var(--text-muted); font-size: 16px; line-height: 1.65; margin: 0; }
.center { text-align: center; margin-top: 40px; }

.script {
  margin: 0;
  font-family: 'Caveat', cursive;
  font-size: 30px;
  color: var(--yellow);
}
.script--dark { color: var(--navy); }

/* ---------- Zaglavlje ---------- */
.header { background: var(--navy); position: sticky; top: 0; z-index: 10; }
.header__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 16px;
  padding-bottom: 16px;
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand__logo { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.brand__logo-full { height: 100px; width: auto; }
.brand__logo-full--footer { height: 130px; }
.brand__name { font-size: 21px; font-weight: 800; letter-spacing: -0.02em; color: var(--white); }

.nav { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 28px; }
.nav a:not(.btn) { color: var(--light-blue); text-decoration: none; font-size: 15px; font-weight: 500; }
.nav a:not(.btn):hover { color: var(--yellow); }

/* ---------- Hero ---------- */
.hero { color: var(--light-blue); }
.hero__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 64px;
  padding-top: 104px;
  padding-bottom: 120px;
}
.hero__text { flex: 1 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 28px; }
.hero__title {
  margin: 0;
  font-size: clamp(42px, 6vw, 64px);
  line-height: 1.04;
  font-weight: 800;
  letter-spacing: -0.035em;
  color: var(--white);
}
.hero__lead { margin: 0; font-size: 19px; line-height: 1.65; max-width: 32rem; }

.hero__media { flex: 1 1 400px; min-width: 0; position: relative; padding: 18px; }
.hero__img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 6px; }
.corner { position: absolute; width: 40px; height: 40px; }
.corner--tl { top: 0; left: 0; border-top: 3px solid var(--yellow); border-left: 3px solid var(--yellow); }
.corner--tr { top: 0; right: 0; border-top: 3px solid var(--yellow); border-right: 3px solid var(--yellow); }
.corner--bl { bottom: 0; left: 0; border-bottom: 3px solid var(--yellow); border-left: 3px solid var(--yellow); }
.corner--br { bottom: 0; right: 0; border-bottom: 3px solid var(--yellow); border-right: 3px solid var(--yellow); }

/* ---------- Žuta traka ---------- */
.strip { background: var(--yellow); }
.strip__inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 32px;
  padding-top: 22px;
  padding-bottom: 22px;
  font-size: 15px;
  font-weight: 700;
}
.strip__item { display: inline-flex; align-items: center; gap: 10px; }

/* ---------- Sekcije ---------- */
.section { padding: 112px 0; }
.section--light { background: var(--bg-light); }
.section--dark { color: var(--light-blue); }
.section__head { margin-bottom: 56px; }
.section__head--split {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
}
.section__note { max-width: 28rem; font-size: 17px; }

.grid { display: grid; gap: 32px; }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 24px; }

/* ---------- Usluge ---------- */
.service { display: flex; flex-direction: column; gap: 22px; }
.service__img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 6px; }
.service__body { border-top: 2px solid var(--navy); padding-top: 18px; display: flex; flex-direction: column; gap: 10px; }
.service__title { display: flex; align-items: baseline; gap: 14px; }
.service__title h3 { margin: 0; font-size: 22px; font-weight: 700; }
.num { font-size: 14px; font-weight: 800; color: var(--gold-text); }

/* ---------- Proizvodi ---------- */
.product {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 8px 28px rgba(6,10,48,0.07);
  display: flex;
  flex-direction: column;
}
.product__img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.product__body { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.product__body h3 { margin: 0; font-size: 20px; font-weight: 700; }
.product__price {
  margin-top: auto;
  padding-top: 12px;
  font-size: 26px;
  font-weight: 800;
  color: var(--navy);
}

/* ---------- Koraci ---------- */
.step {
  border: 1px solid rgba(203,230,251,0.2);
  border-radius: 8px;
  padding: 28px;
  background: rgba(6,10,48,0.6);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.step h3 { margin: 0; font-size: 20px; color: var(--white); }
.step p { margin: 0; font-size: 15px; line-height: 1.65; }
.step__n {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--yellow); color: var(--navy);
  font-weight: 800; font-size: 17px;
  display: flex; align-items: center; justify-content: center;
}

/* ---------- Galerija ---------- */
.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 44px; font-weight: 700; font-size: 16px; color: var(--navy);
}
.gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: 240px;
  gap: 16px;
}
.gallery img { width: 100%; height: 100%; object-fit: cover; border-radius: 6px; }
.gallery__big { grid-column: span 2; grid-row: span 2; }
.gallery__wide { grid-column: span 2; }

/* ---------- O nama ---------- */
.about { display: flex; flex-wrap: wrap; align-items: center; gap: 72px; }
.about__img { flex: 1 1 400px; min-width: 0; aspect-ratio: 5 / 4; object-fit: cover; border-radius: 6px; }
.about__text { flex: 1 1 440px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.about__text .h2 { margin-top: 0; }
.about__text .muted { font-size: 17px; line-height: 1.75; }

.facts { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 12px; }
.facts li { background: var(--bg-light); border-left: 3px solid var(--yellow); padding: 12px 16px; font-size: 15px; color: var(--text-muted); }
.facts strong { color: var(--navy); }

/* ---------- Žuti kontakt blok ---------- */
.cta { background: var(--yellow); padding: 96px 0; }
.cta__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 40px; }
.cta__text { flex: 1 1 480px; min-width: 0; }
.cta__title {
  margin: 0 0 16px;
  font-size: clamp(34px, 4.5vw, 48px);
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -0.035em;
}
.cta__text p { margin: 0; font-size: 18px; line-height: 1.6; }

/* ---------- Podnožje ---------- */
.footer { background: var(--navy); color: var(--light-blue); padding: 72px 0 40px; }
.footer__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 40px; }
.footer__col { display: flex; flex-direction: column; gap: 12px; font-size: 15px; }
.footer__col a { color: var(--light-blue); text-decoration: none; }
.footer__col a:hover { color: var(--yellow); }
.footer__title { font-size: 13px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--white); }
.footer .script { font-size: 26px; }
.social { display: flex; gap: 12px; }
.social a {
  width: 44px; height: 44px; border-radius: 10px;
  border: 1px solid rgba(203,230,251,0.3);
  display: flex; align-items: center; justify-content: center;
}
.footer__bottom {
  margin-top: 48px;
  border-top: 1px solid rgba(203,230,251,0.15);
  padding-top: 24px;
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px;
  font-size: 14px;
}

/* ---------- Mobitel ---------- */
@media (max-width: 760px) {
  .container { padding: 0 20px; }
  .header { position: static; }
  .nav { gap: 8px 18px; }
  .brand__logo-full { height: 70px; }
  .hero__inner { padding-top: 64px; padding-bottom: 72px; gap: 40px; }
  .section { padding: 72px 0; }
  .cta { padding: 64px 0; }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 170px; gap: 10px; }
}
