/* =========================
   FORA — About (ZigZag) — brand-aligned with Home
   ========================= */

/* Brand tokens (usklađeno s home.css) */
:root{
  --bg: #080202;
  --text: #ffffff;
  --text-dim: #9c9999;
  --accent: #ca262b;         /* crvena */
  --card-bg: #0c0808;        /* tamni ton za kartice (malo iznad pozadine) */
  --line: #747171;           /* suptilne linije kao na testimonial karticama */
  --radius: 4px;
  --shadow: 0 12px 28px rgba(0,0,0,.35);

  --h1: 72px;
  --h2: 64px;
  --h3: 24px;
  --p: 18px;

  --section-pad: 100px;
  --gap-xl: 80px;
  --gap-lg: 40px;
  --gap-md: 24px;
  --gap-sm: 16px;
}

*{ box-sizing: border-box }
html, body { height: 100% }
body{
  margin:0;
  background-color: var(--bg);
  color: var(--text);
  font-family: "DM Sans", sans-serif;
  line-height: 1.6;
}

/* Utility */
.container{
  width:100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
.text-center{ text-align:center }

/* ================= HERO ================= */
/* isti feeling kao na home: tamna + Blur-red-bg.svg */
.hero-section{
  display:flex;
  flex-direction: column;
  align-items:center;
  background-color: var(--bg);
  background-image: url("../img/Blur-red-bg.svg");
  background-repeat: no-repeat;
  background-position: 95% 70px;
  background-size: contain;
  padding: 60px 0 40px;
}
.inner-hero{
  display:flex;
  justify-content:center;
  align-items:center;
  padding-top: 40px;
  flex-wrap: wrap;
  gap: var(--gap-lg);
}
.info-hero{
  padding-right: 100px;
  display:flex;
  flex-direction: column;
  gap: 30px;
}
.info-hero h1{
  color:#fff;
  font-size: var(--h1);
  font-weight: 600;
  margin:0;
  line-height: 1.05;
}
.info-hero h1 span{ color: var(--accent); font-size: var(--h1); }
.info-hero > span{
  color: var(--accent);
  font-weight: 500;
  font-size: 24px;
}
.hero-img{ display:flex; justify-content:center; }
.hero-img img{
  width: 100%;
  height: auto;
  max-width: 540px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/* gumb stilovi, kompatibilni s postojećim */
.btn-white{
  background: #fff;
  color: #080202;
  border: none;
  padding: 12px 18px;
  border-radius: 999px;
  font-weight: 600;
  cursor: pointer;
}
.btn-grey{
  background: transparent;
  color: #fff;
  border: 1px solid var(--line);
  padding: 10px 16px;
  border-radius: var(--radius);
  font-weight: 600;
  cursor: pointer;
}
.btn-grey:hover{ border-color: var(--accent); }

/* ================= ZIG-ZAG BLOKOVI ================= */
/* pozadina & bg-2.svg kao na .information iz home.css */
.about-zigzag{
  padding: var(--section-pad) 0;
  background-color: var(--bg);
  background-image: url("../img/bg-2.svg");
  background-repeat: no-repeat;
  background-position: 70px 240px;
}
.dual-card{
  display: flex;
  flex-wrap: wrap;
  gap: var(--gap-lg);
  padding: 10px 0;
}
.dual-card + .dual-card{ margin-top: 160px; } /* razmak kao .inner-info gap */

.left-container-box,
.right-container-box{
  width: 50%;
  display:flex;
}
.left-container-box{
  flex-direction: column;
  justify-content: center;
}
.left-container-box h2{
  font-weight: 400;
  font-size: var(--h2);
  color: #fff;
  line-height: 70px;
  margin:0;
}
.left-container-box h2 span{ color: var(--accent); font-size: var(--h2); }
.left-container-box .lead p{
  font-weight: 500;
  font-size: 20px;
  color: var(--text-dim);
  padding: 20px 0 20px 0;
  margin:0;
}
.left-container-box .lead p + p{ padding-top: 0 }

.right-container-box{ justify-content: end; }
.right-container-box img{
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/* za “obrnuti” redoslijed (naizmjenično) koristi .flex-rev iz template-a */
.dual-card.flex-rev{ flex-direction: row-reverse; }
.dual-card.flex-rev .right-container-box{ justify-content: start; }

/* ================= WHAT WE DO — Cards ================= */
.about-whatwedo{
  background-color: var(--bg);
  padding: var(--section-pad) 0;
}
.about-whatwedo .whatwedo-head{
  max-width: 900px;
  margin: 0 auto var(--gap-xl);
  text-align: center;
}
.about-whatwedo h2{
  font-weight: 400;
  font-size: var(--h2);
  color: #fff;
  margin: 0 0 10px;
}
.about-whatwedo h2 span{ color: var(--accent); }
.about-whatwedo .lead{ color: var(--text-dim); font-size: 20px; }

.cards-grid{
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 15px; /* matching .one-in-four gap */
}
.card{
  background-color: rgba(254,254,254,0.10); /* slično testimonial pozadini */
  backdrop-filter: blur(30px);
  border: 1px solid var(--accent);          /* CRVENI OUTLINE */
  border-radius: var(--radius);
  padding: 22px;
  height: 100%;
  display:flex; flex-direction: column; gap: 10px;
  transition: transform .2s ease, box-shadow .2s ease;
}
.card:hover{
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}
.card h3{
  font-weight: 400;
  font-size: var(--h3);
  color: #fff;
  margin:0 0 4px;
}
.card p{
  font-weight: 400;
  font-size: 18px;
  color: var(--text-dim);
  margin:0;
}

/* ================= OUR VALUES — Cards ================= */
.about-values{
  background-color: var(--bg);
  padding: var(--section-pad) 0;
}
.about-values h2{
  font-weight: 400;
  font-size: var(--h2);
  color: #fff;
  text-align:center;
  margin: 0 0 var(--gap-xl);
}
.about-values h2 span{ color: var(--accent); }

.values-grid{
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 15px;
}
.value-card{
  background-color: rgba(254,254,254,0.10);
  backdrop-filter: blur(30px);
  border: 1px solid var(--accent);          /* CRVENI OUTLINE */
  border-radius: var(--radius);
  padding: 22px;
  height:100%;
  transition: transform .2s ease, box-shadow .2s ease;
}
.value-card:hover{
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}
.value-card h3{
  font-weight: 400;
  font-size: var(--h3);
  color:#fff;
  margin:0 0 6px;
}
.value-card p{
  font-weight: 400;
  font-size: 18px;
  color: var(--text-dim);
  margin:0;
}

/* ================= CTA ================= */
.about-cta{
  padding: var(--section-pad) 0 calc(var(--section-pad) + 24px);
  background-color: var(--bg);
  border-top: 1px solid var(--line);
  text-align:center;
}
.about-cta h2{
  font-weight: 400;
  font-size: var(--h2);
  color:#fff;
  margin:0 0 8px;
}
.about-cta p{ color: var(--text-dim); margin: 0 0 18px; }

/* ================= Counters (ako koristiš) ================= */
.about-counters{
  background-color: var(--bg);
  display:flex;
  justify-content:center;
  padding: var(--section-pad) 0;
}
.about-counters .counter{
  display:flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  width:100%;
}
.counter-box{
  background-color: rgba(254,254,254,0.10);
  border: 1px solid var(--accent);         /* CRVENI OUTLINE */
  border-radius: var(--radius);
  padding: 24px;
  text-align: center;
  flex: 1 1 calc(25% - 20px);
  min-width: 240px;
}
.counter-box .count{
  color: #fff;
  font-weight: 400;
  font-size: 72px;
  text-transform: uppercase;
  margin:0 0 8px;
}
.counter-box span{
  color: var(--text-dim);
  font-weight: 400;
  font-size: 20px;
}

/* ================= Responsive ================= */
@media (max-width: 1100px){
  .info-hero{ padding-right: 0; }
}
@media (max-width: 980px){
  .left-container-box,
  .right-container-box{ width:100%; }
  .dual-card{ gap: 24px; }
  .dual-card + .dual-card{ margin-top: 80px; }
  .cards-grid, .values-grid{ grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 768px){
  .inner-hero{ padding-top: 20px; }
  .cards-grid, .values-grid{ grid-template-columns: 1fr; }
}
@media (max-width: 560px){
  :root{ --h1: 54px; --h2: 40px; }
  .container{ padding: 0 18px; }
}

/* ================= Focus ================= */
a:focus, button:focus{
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 6px;
}

