:root{
  --bg0:#070b10;
  --bg1:#0b1118;
  --panel: rgba(12,16,24,.55);
  --text:#e8edf3;
  --muted:rgba(232,237,243,.72);
  --muter:rgba(232,237,243,.55);
  --line:rgba(232,237,243,.10);
  --gold:#caa24d;
  --gold2:#d7b56a;
  --shadow: 0 18px 60px rgba(0,0,0,.55);
  --r12:12px;
  --r16:16px;
  --r18:18px;
  --r22:22px;
}

/* ===== RESET ===== */
*{box-sizing:border-box}
html,body{height:100%}
html,body{overflow-x:hidden}
img{max-width:100%; height:auto; display:block;}
a{color:inherit}

body{
  margin:0;
  color:var(--text);
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Inter, Arial, "Noto Sans", "Helvetica Neue", sans-serif;
  background:
    radial-gradient(900px 480px at 18% 18%, rgba(20,38,58,.85) 0%, rgba(7,11,16,.0) 60%),
    radial-gradient(900px 520px at 82% 22%, rgba(33,27,13,.40) 0%, rgba(7,11,16,.0) 62%),
    linear-gradient(180deg, var(--bg1), var(--bg0) 70%);
}

.container{max-width:1180px; margin:0 auto; padding:0 26px;}

/* ===== HEADER ===== */
header{
  position:sticky; top:0; z-index:50;
  background: linear-gradient(180deg, rgba(10,14,19,.88), rgba(10,14,19,.70));
  backdrop-filter: blur(10px);
  border-bottom:1px solid var(--line);
}

.header-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:18px 0 14px;
  gap:18px;
}

.brand{
  display:flex;
  align-items:center;
  gap:14px;
  min-width:240px;
}

.brand img{
  width:44px;
  height:44px;
  object-fit:contain;
  filter: drop-shadow(0 10px 22px rgba(0,0,0,.55));
}

.brand .name{
  display:flex;
  gap:10px;
  align-items:baseline;
  flex-wrap:wrap;
  font-weight:650;
  letter-spacing:.2px;
}

.brand .sep{opacity:.45}

.brand .tag{
  color:var(--gold);
  font-weight:750;
  letter-spacing:.14em;
  font-size:.78rem;
}

.header-underline{
  height:2px;
  background: linear-gradient(90deg, rgba(202,162,77,0), rgba(202,162,77,.65), rgba(202,162,77,0));
  opacity:.85;
}

/* Desktop nav */
.nav-links{
  display:flex;
  gap:20px;
  align-items:center;
}

.nav-links a{
  text-decoration:none;
  color:rgba(232,237,243,.86);
  font-weight:600;
  font-size:.92rem;
  padding:8px 10px;
  border-radius:12px;
  transition: all .15s ease;
}

.nav-links a:hover{background:rgba(255,255,255,.04)}
.nav-links a.active{color:var(--gold2)}

/* Hamburger button */
.nav-toggle{
  display:none; /* desktop hidden */
  width:44px;
  height:44px;
  border-radius:12px;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.03);
  cursor:pointer;
  padding:10px;
  align-items:center;
  justify-content:center;
  gap:6px;
}

.nav-toggle span{
  display:block;
  width:22px;
  height:2px;
  border-radius:999px;
  background: rgba(232,237,243,.86);
  transition: transform .18s ease, opacity .18s ease;
}

/* ===== HERO (INDEX) ===== */
.hero{padding:64px 0 24px}

.hero-grid{
  display:grid;
  grid-template-columns: 1.05fr .95fr;
  gap:34px;
  align-items:stretch;
}

.hero-left{
  display:grid;
  place-items:center;
  min-height:520px;
}

.hero-right{
  display:flex;
  flex-direction:column;
}

/* Rotator (images) */
.stats-rotator{
  width:100%;
  max-width:520px;
  padding:22px 24px 28px;
  border-radius:var(--r18);
  background:var(--panel);
  border:1px solid rgba(212,175,55,.18);
  box-shadow:var(--shadow);
  overflow:hidden;
  min-height:170px;
}

.stats-rotator--images{margin-top:6px;}

.stats-rotator__window{position:relative;height:160px}

.stats-rotator__img{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  opacity:0;
  transform:translateY(6px);
  transition:opacity .6s ease, transform .6s ease;
  border-radius:var(--r16);
  filter: drop-shadow(0 14px 24px rgba(0,0,0,.35));
}

.stats-rotator__img.is-active{opacity:1;transform:translateY(0)}

.stats-rotator.is-flash{animation:flash 520ms ease}
@keyframes flash{35%{box-shadow:0 0 36px rgba(212,175,55,.25)}}

/* Hero photo */
.hero-photo{
  position:relative;
  border-radius:var(--r22);
  overflow:hidden;
  border:1px solid rgba(255,255,255,.08);
  box-shadow:var(--shadow);
  background: linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.01));
}

.hero-photo img{
  width:100%;
  max-height:520px;
  object-fit:cover;
  object-position:center top;
  transform:scale(1.01);
}

/* Quote overlay */
.photo-quote{
  position:absolute;
  left:22px;
  right:22px;
  bottom:48px; /* spušteno */
  background:rgba(14,18,24,.72);
  border:1px solid rgba(217,174,68,.35);
  border-radius:14px;
  padding:14px 16px;
  backdrop-filter:blur(6px);
  box-shadow:0 10px 24px rgba(0,0,0,.35);
}

/* Centered variant (ako koristiš) */
.photo-quote--center{
  left:50%;
  top:50%;
  right:auto;
  bottom:auto;
  transform: translate(-50%, -50%);
  max-width:420px;
  width: calc(100% - 80px);
  text-align:center;
  padding:18px 20px;
}

.photo-quote__text{
  padding-left:0;
  text-align:center;
  font-style: italic;
}

/* isti font + ista veličina oba reda */
.photo-quote__text b,
.photo-quote__text .small{
  display:block;
  font-size:16px;
  font-weight:650;
  letter-spacing:.2px;
  color: rgba(232,237,243,.92);
}

.photo-quote__text .small{margin-top:6px}

/* ===== PAGES ===== */
.page{padding:44px 0 72px}

.page-title{
  margin:0 0 10px;
  font-weight:900;
  letter-spacing:.02em;
  text-transform:uppercase;
  font-size:clamp(28px,4vw,44px);
}

.lead{
  margin:0 0 18px;
  color:var(--muted);
  font-size:1.05rem;
  line-height:1.65;
  max-width:900px;
}

.gold-quote{
  margin:18px 0 22px;
  padding:16px 18px;
  border-radius:16px;
  background:linear-gradient(180deg,rgba(202,162,77,.95),rgba(194,148,53,.92));
  color:#0a0e14;
  font-family: ui-serif, Georgia, Cambria, "Times New Roman", Times, serif;
  font-weight:850;
  box-shadow:0 18px 50px rgba(0,0,0,.40);
}

/* Media banner (AL) */
.page-media{max-width:980px; margin:14px 0 18px;}
.page-media__img{
  width:100%;
  border-radius:18px;
  border:1px solid rgba(255,255,255,.08);
  box-shadow: 0 12px 40px rgba(0,0,0,.35);
  background: rgba(255,255,255,.02);
  object-fit: cover;
}

/* ✅ PC: smanji sliku poslovnice i centriraj */
@media (min-width: 981px){
  .page-media{
    max-width: 400px;     /* promijeni npr. 640 / 760 */
    margin: 16px auto 18px; /* auto = centar */
  }
}

/* Cards */
.cards{display:grid; grid-template-columns:1fr; gap:14px; max-width:980px;}

.card{
  background:linear-gradient(180deg,rgba(255,255,255,.03),rgba(255,255,255,.01));
  border:1px solid rgba(255,255,255,.08);
  border-radius:18px;
  padding:18px;
  line-height:1.72;
  box-shadow:0 12px 40px rgba(0,0,0,.25);
  color: rgba(232,237,243,.86);
}

/* bullets malo udesno */
.card ul{margin:12px 0 0 18px; padding-left:32px;}
.card li{margin:8px 0}

/* Card heading with logo */
.card-head{
  display:flex;
  align-items:center;
  gap:14px;
  margin-bottom:12px;
  padding-bottom:10px;
  border-bottom:2px solid rgba(202,162,77,.55);
}

.card-head__logo{
  width:44px;
  height:auto;
  opacity:.95;
  filter: drop-shadow(0 12px 22px rgba(0,0,0,.45));
}

.card-head__title{
  font-weight:900;
  letter-spacing:.02em;
  font-size:1.05rem;
}

/* ===== CONTACT ===== */
.contact-box{display:grid; grid-template-columns:1fr 1fr; gap:16px; max-width:980px;}

.contact-title{
  font-weight:900;
  letter-spacing:.08em;
  text-transform:uppercase;
  margin-bottom:10px;
  color: rgba(232,237,243,.85);
}

.contact-row{padding:12px 0; border-top:1px solid rgba(255,255,255,.08);}
.contact-row:first-of-type{border-top:0; padding-top:6px;}
.contact-label{color:var(--muter); font-size:.9rem; margin-bottom:6px;}
.contact-text{color:rgba(232,237,243,.86);}

.contact-link{color:var(--gold2); font-weight:800; text-decoration:none;}
.contact-link:hover{text-decoration:underline;}

.contact-actions{display:flex; gap:10px; flex-wrap:wrap; margin-top:14px;}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  padding:10px 14px;
  border-radius:14px;
  font-weight:850;
  text-decoration:none;
  border:1px solid rgba(255,255,255,.10);
  background:rgba(255,255,255,.03);
  transition: transform .12s ease, background .12s ease, border-color .12s ease;
}
.btn:hover{transform: translateY(-1px); background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.16);}

.btn--primary{
  background:linear-gradient(180deg,rgba(202,162,77,.92),rgba(194,148,53,.90));
  color:#0a0e14;
  border-color: rgba(202,162,77,.45);
}
.btn--primary:hover{background:linear-gradient(180deg,rgba(215,181,106,.95),rgba(202,162,77,.92));}
.btn--ghost{color: rgba(232,237,243,.92);}

.contact-note{margin-top:14px; color:var(--muter); line-height:1.6; font-size:.96rem;}

/* ===== FOOTER ===== */
.footer{border-top:1px solid var(--line); padding:28px 0; text-align:center; color:var(--muter);}

.footer-quote{max-width:980px; margin:0 auto 14px; padding:10px 16px 0;}

.footer-quote__text{
  font-family: ui-serif, Georgia, Cambria, "Times New Roman", Times, serif;
  color:var(--gold2);
  font-weight:850;
  letter-spacing:.08em;
  text-transform:uppercase;
  font-size: clamp(14px, 3.6vw, 18px);
  line-height: 1.25;
  margin-bottom:12px;
}

.footer-quote__line{
  height:2px;
  width:100%;
  border-radius:999px;
  background:linear-gradient(90deg,rgba(202,162,77,0),rgba(202,162,77,.75),rgba(202,162,77,0));
  opacity:.95;
}

.footer-copy{margin-top:10px; font-size:.95rem;}

/* ===== MOBILE ===== */
@media (max-width: 980px){
  .container{padding:0 16px}

  /* ključ: grid da hamburger bude GORE DESNO i da nav ide ispod */
  .header-inner{
    display:grid;
    grid-template-columns: 1fr auto;
    grid-template-areas:
      "brand toggle"
      "nav   nav";
    align-items:center;
    gap:12px;
    padding:12px 0 12px;
  }

  .brand{grid-area:brand; min-width:0}
  .brand img{width:40px;height:40px}

  .nav-toggle{
    grid-area:toggle;
    display:flex;
    justify-self:end;   /* gore desno */
    align-self:center;
    margin:0;
  }

  /* nav je u novom redu */
  .nav-links{
    grid-area:nav;
    display:none;
    width:100%;
    flex-direction:column;
    gap:8px;
    margin-top:10px;
  }

  header.is-menu-open .nav-links{display:flex;}

  .nav-links a{
    text-align:left;
    font-size:.95rem;
    padding:12px 12px;
    border-radius:14px;
    background: rgba(255,255,255,.03);
    border: 1px solid rgba(255,255,255,.06);
  }

  /* hamburger -> X */
  header.is-menu-open .nav-toggle span:nth-child(1){transform: translateY(8px) rotate(45deg);}
  header.is-menu-open .nav-toggle span:nth-child(2){opacity:0;}
  header.is-menu-open .nav-toggle span:nth-child(3){transform: translateY(-8px) rotate(-45deg);}

  .hero{padding:34px 0 18px}
  .hero-grid{grid-template-columns:1fr; gap:16px}
  .hero-left{min-height:auto; padding-top:8px}

  .stats-rotator{max-width:none; min-height:160px; padding:16px 16px 18px; margin-top:12px;}
  .stats-rotator__window{height:160px}
  .stats-rotator__img{border-radius:14px}

  .hero-photo img{max-height:460px}

  /* na mobu bliže dnu */
  .photo-quote{bottom:18px;}

  .photo-quote--center{
    top:62%;
    width: calc(100% - 28px);
    padding:14px 16px;
  }

  .page{padding:32px 0 58px}
  .card{padding:16px}

  .contact-box{grid-template-columns:1fr}

  .card-head{gap:12px}
  .card-head__logo{width:40px}
}

@media (max-width: 420px){
  .brand .tag{letter-spacing:.10em; font-size:.72rem}
  .stats-rotator__window{height:150px}
}

