/* ====== About – stranični stil (koristi varijable iz styles.css) ====== */

/* HERO */
.hero--about {
  position: relative;
  min-height: 36vh;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #000;
}
.hero--about .hero__bg {
  position: absolute; inset: 0;
  background: url('zuta/zuta16.jpg') center/cover no-repeat;
  filter: brightness(.65);
}
.hero--about .hero__content { position: relative; z-index: 1; color: #fff; text-align: center }
.hero--about h1 {
  font-family: Sora, Inter; font-size: clamp(30px, 4vw, 52px); margin: 0 0 8px;
}
.hero--about p { margin: 0; opacity: .95 }

/* STORY */
.story { background: linear-gradient(180deg,#fff,#fafbff); padding: 40px 0 }
.story .eyebrow { text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 700; font-size: 13px }
.story h2 { font-family: Sora, Inter; color: var(--blue-900); margin: 6px 0 10px }
.story__grid {
  display: grid; gap: 24px; grid-template-columns: 1.1fr 1fr; align-items: center; margin-bottom: 20px;
}
.story__grid--reverse { grid-template-columns: 1fr 1.1fr }
.story__grid--reverse .story__img { order: 2 }
.story__grid--reverse .story__text { order: 1 }

/* ✅ FIX: kvadratni okvir za fotke + uredan crop (bez razvlačenja) */
.story__img,
.story-img {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: var(--radius, 16px);
  box-shadow: var(--shadow, 0 10px 28px rgba(0,0,0,.10));
}
.story__img img,
.story-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.story__text p { margin: 0 0 10px }

/* STATS */
.stats { background: #fff; padding: 22px 0 34px }
.stats__grid {
  display: grid; gap: 14px; grid-template-columns: repeat(4,1fr);
}
.stat {
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 18px; text-align: center;
}
.stat__num { font-family: Sora, Inter; font-size: clamp(24px,3vw,36px); color: var(--burgundy); font-weight: 700 }
.stat__label { color: var(--muted); font-weight: 600 }

/* VALUES */
.values { background: #fff; padding: 28px 0 40px }
.values__grid {
  display: grid; gap: 18px; grid-template-columns: repeat(4,1fr);
}
.value {
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 18px; text-align: left; display: grid; gap: 8px;
}
.value i { font-size: 22px; color: var(--blue-900) }
.value h3 { margin: 0; color: var(--blue-900); font-family: Sora, Inter }
.value p { margin: 0; color: var(--muted) }

/* TEAM */
.team { background: #fff; padding: 40px 0 }
.section-title {
  font-family: Sora, Inter; font-size: 28px; color: var(--blue-900);
  text-align: center; margin: 0 0 8px;
}
.section-lead { text-align: center; color: var(--muted); margin: 0 0 18px }
.team__grid {
  display: grid; gap: 18px; grid-template-columns: repeat(3,1fr);
}
.member {
  background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
  display: flex; flex-direction: column;
}
.member img { width: 100%; height: 240px; object-fit: cover }
.member__body { padding: 16px }
.member__body h3 { margin: 0 0 6px; color: var(--blue-900); font-family: Sora, Inter }
.member__body p { margin: 0; color: var(--muted) }

/* NEWSLETTER */
.newsletter {
  background: linear-gradient(90deg, var(--burgundy), var(--blue-900));
  color: #fff; padding: 28px 0; margin-top: 8px;
}
.newsletter__wrap {
  display: grid; gap: 16px; grid-template-columns: 1.2fr 1fr; align-items: center;
}
.newsletter__copy h2 { margin: 0 0 6px; font-family: Sora, Inter }
.newsletter__copy p { margin: 0; opacity: .95 }
.newsletter__form { display: grid; grid-template-columns: 1fr auto; gap: 10px }
.newsletter__form input {
  width: 100%; padding: 12px; border-radius: 12px; border: 2px solid rgba(255,255,255,.25);
  background: rgba(255,255,255,.1); color: #fff;
}
.newsletter__form input::placeholder { color: #e9f0ff }

/* RESPONSIVE */
@media (max-width: 1024px){
  .story__grid, .story__grid--reverse { grid-template-columns: 1fr }
  .stats__grid { grid-template-columns: repeat(2,1fr) }
  .values__grid { grid-template-columns: repeat(2,1fr) }
}
@media (max-width: 720px){
  .hero--about { min-height: 30vh }
  .team__grid { grid-template-columns: 1fr }
  .newsletter__wrap { grid-template-columns: 1fr }
}

/* A11y / reduced motion */
@media (prefers-reduced-motion: reduce) {
  .hero--about .hero__bg { filter: brightness(.7) } /* bez animacija */
}

/* Mali util za skriven label (newsletter) */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
