/* ==========================================================================
   Grejanje Ventilacija.Pro — stylesheet
   Font: Ubuntu (grupa standard)
   Baza: Deep Navy / Light Fog / White (Ventilacija Pro Group)
   Akcenat: toplo narandžasto (tema grejanja, iz isporučenih ikonica)
   ========================================================================== */

:root{
  --navy: #0B2A43;
  --navy-2: #123A5C;
  --fog: #EAF3F7;
  --white: #FBFDFE;
  --orange: #F0620C;
  --orange-dark: #C94E08;
  --blue: #00AEEF;
  --green: #00A651;
  --red: #ED1C24;
  --ink-soft: #4C6274;
  --border: #DCE7ED;
  --radius: 14px;
  --shadow: 0 10px 30px -12px rgba(11,42,67,.18);
  --max: 1120px;
}

*,*::before,*::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0;
  font-family:'Ubuntu', Arial, sans-serif;
  color: var(--navy);
  background: var(--white);
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
}
img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
.container{ max-width:var(--max); margin:0 auto; padding:0 24px; }
section{ padding:76px 0; }
h1,h2,h3{ font-weight:700; margin:0 0 .5em; line-height:1.15; }
p{ margin:0 0 1em; }
.eyebrow{
  display:inline-flex; align-items:center; gap:8px;
  font-size:.82rem; font-weight:500; letter-spacing:.06em; text-transform:uppercase;
  color: var(--orange-dark);
  margin-bottom:12px;
}
.eyebrow::before{
  content:""; width:22px; height:2px; background:var(--orange); display:inline-block;
}
.lead{ font-size:1.1rem; color:var(--ink-soft); max-width:60ch; }
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  padding:14px 26px; border-radius:999px; font-weight:500; font-size:1rem;
  border:2px solid transparent; cursor:pointer; transition:transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn-primary{ background:var(--orange); color:var(--white); box-shadow:0 8px 20px -8px rgba(240,98,12,.55);}
.btn-primary:hover{ background:var(--orange-dark); transform:translateY(-1px); }
.btn-outline{ border-color:rgba(251,253,254,.55); color:var(--white); }
.btn-outline:hover{ border-color:var(--white); background:rgba(255,255,255,.08); }
.btn-outline-navy{ border-color:var(--navy); color:var(--navy); }
.btn-outline-navy:hover{ background:var(--navy); color:var(--white); }

/* ---------- Header ---------- */
.site-header{
  position:sticky; top:0; z-index:50;
  background:rgba(251,253,254,.92); backdrop-filter:blur(8px);
  border-bottom:1px solid var(--border);
}
.header-inner{
  max-width:var(--max); margin:0 auto; padding:14px 24px;
  display:grid; grid-template-columns:1fr auto 1fr; align-items:center; gap:12px;
}
.header-logo{ grid-column:2; display:flex; justify-content:center; }
.header-logo img{ height:34px; width:auto; }
.header-phone{
  grid-column:3; justify-self:end;
  display:flex; align-items:center; gap:8px;
  font-weight:500; font-size:.95rem; color:var(--navy);
}
.header-phone svg{ width:18px; height:18px; flex:none; }
.quick-nav{
  border-top:1px solid var(--border);
}
.quick-nav ul{
  max-width:var(--max); margin:0 auto; padding:0 24px;
  list-style:none; display:flex; gap:28px; overflow-x:auto;
}
.quick-nav a{
  display:block; padding:12px 2px; font-size:.92rem; font-weight:500; color:var(--ink-soft);
  border-bottom:2px solid transparent; white-space:nowrap;
}
.quick-nav a:hover{ color:var(--navy); }

@media (max-width:760px){
  .header-phone span.phone-text{ display:none; }
  .quick-nav ul{ gap:18px; }
}

/* ---------- Hero ---------- */
.hero{
  background:
    radial-gradient(1100px 480px at 85% -10%, rgba(240,98,12,.16), transparent 60%),
    linear-gradient(180deg, var(--navy) 0%, var(--navy-2) 100%);
  color:var(--white);
  padding:88px 0 70px;
}
.hero .container{ display:grid; grid-template-columns:1.15fr .85fr; gap:48px; align-items:center; }
.hero h1{ font-size:clamp(2rem, 4vw, 2.9rem); }
.hero h1 .accent{ color:var(--orange); }
.hero .lead{ color:rgba(251,253,254,.8); }
.hero-actions{ display:flex; flex-wrap:wrap; gap:14px; margin-top:28px; }
.hero-photo{
  position:relative; border-radius:22px; overflow:hidden;
  box-shadow:0 24px 50px -18px rgba(0,0,0,.55);
  border:1px solid rgba(251,253,254,.14);
  aspect-ratio:4/5;
}
.hero-photo img{
  width:100%; height:100%; object-fit:cover; display:block;
}
.hero-photo-caption{
  position:absolute; left:0; right:0; bottom:0;
  padding:34px 20px 16px;
  background:linear-gradient(0deg, rgba(11,42,67,.92) 0%, rgba(11,42,67,0) 100%);
  color:var(--white); font-size:.92rem; font-weight:500;
}
@media (max-width:860px){
  .hero-photo{ aspect-ratio:16/10; max-width:420px; margin:0 auto; }
}
@media (max-width:860px){
  .hero .container{ grid-template-columns:1fr; }
}

/* ---------- Service sections ---------- */
.service{
  border-bottom:1px solid var(--border);
}
.service.alt{ background:var(--fog); }
.service .container{
  display:grid; grid-template-columns:120px 1fr; gap:44px; align-items:start;
}
.service-icon{
  width:100px; height:100px; border-radius:24px;
  background:linear-gradient(155deg, #fff 0%, var(--fog) 100%);
  border:1px solid var(--border);
  display:flex; align-items:center; justify-content:center;
  box-shadow:var(--shadow);
}
.service-icon img{ width:64px; height:64px; }
.service-main h2{ font-size:1.7rem; }
.service-list{ list-style:none; margin:20px 0 0; padding:0; display:grid; gap:10px; }
.service-list li{ display:flex; gap:10px; font-size:.98rem; color:var(--navy); }
.service-list svg{ flex:none; width:20px; height:20px; margin-top:2px; color:var(--green); }
.service-cta{
  display:inline-flex; align-items:center; gap:8px;
  margin-top:22px; font-weight:500; color:var(--orange-dark);
  border-bottom:2px solid transparent; padding-bottom:2px;
  transition:border-color .15s ease, gap .15s ease;
}
.service-cta:hover{ border-color:var(--orange); gap:12px; }
@media (max-width:900px){
  .service .container{ grid-template-columns:1fr; }
  .service-icon{ width:76px; height:76px; }
  .service-icon img{ width:48px; height:48px; }
}

/* ---------- Why us ---------- */
.why{ background:var(--navy); color:var(--white); }
.why h2{ color:var(--white); }
.why-grid{
  display:grid; grid-template-columns:repeat(4,1fr); gap:24px; margin-top:36px;
}
.why-card{
  background:rgba(251,253,254,.05); border:1px solid rgba(251,253,254,.14);
  border-radius:var(--radius); padding:24px;
}
.why-card svg{ width:30px; height:30px; color:var(--orange); margin-bottom:14px; }
.why-card h3{ font-size:1.05rem; color:var(--white); margin-bottom:8px; }
.why-card p{ font-size:.92rem; color:rgba(251,253,254,.78); margin:0; }
@media (max-width:900px){ .why-grid{ grid-template-columns:1fr 1fr; } }
@media (max-width:560px){ .why-grid{ grid-template-columns:1fr; } }

/* ---------- Contact ---------- */
.contact{ background:var(--fog); }
.contact .container{ display:grid; grid-template-columns:.9fr 1.1fr; gap:48px; }
.contact-info h2{ font-size:1.9rem; }
.contact-row{ display:flex; align-items:center; gap:12px; margin:14px 0; font-weight:500; }
.contact-row svg{ width:20px; height:20px; color:var(--orange); flex:none; }
.contact-brands{ margin-top:28px; font-size:.9rem; color:var(--ink-soft); }
.contact-brands a{ color:var(--navy); font-weight:500; border-bottom:1px solid var(--orange); }

.contact-form{
  background:var(--white); border:1px solid var(--border); border-radius:var(--radius);
  padding:28px; box-shadow:var(--shadow);
}
.form-row{ display:grid; grid-template-columns:1fr 1fr; gap:16px; }
.form-field{ margin-bottom:16px; }
.form-field label{ display:block; font-size:.85rem; font-weight:500; margin-bottom:6px; color:var(--navy); }
.form-field input, .form-field select, .form-field textarea{
  width:100%; padding:12px 14px; border:1px solid var(--border); border-radius:10px;
  font-family:inherit; font-size:.96rem; color:var(--navy); background:var(--white);
}
.form-field textarea{ resize:vertical; min-height:96px; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus{
  outline:2px solid var(--orange); outline-offset:1px; border-color:var(--orange);
}
.form-note{ font-size:.82rem; color:var(--ink-soft); margin-top:10px; }
.form-status{ font-size:.9rem; margin-top:12px; font-weight:500; }
.form-status.ok{ color:var(--green); }
.form-status.err{ color:var(--red); }
@media (max-width:860px){
  .contact .container{ grid-template-columns:1fr; }
  .form-row{ grid-template-columns:1fr; }
}

/* ---------- Footer ---------- */
.site-footer{
  background:var(--navy-2); color:rgba(251,253,254,.75); padding:32px 0;
  font-size:.86rem;
}
.footer-inner{ display:flex; flex-wrap:wrap; justify-content:space-between; gap:14px; align-items:center; }
.site-footer a{ color:rgba(251,253,254,.9); }
.site-footer a:hover{ color:var(--orange); }

/* ---------- Cookie consent ---------- */
.cookie-consent{
  position:fixed; left:0; right:0; bottom:0; z-index:100;
  background:var(--navy); color:var(--white);
  border-top:1px solid rgba(251,253,254,.14);
  box-shadow:0 -12px 30px -14px rgba(11,42,67,.4);
  transform:translateY(100%);
  transition:transform .3s ease;
}
.cookie-consent.is-visible{ transform:translateY(0); }
.cookie-consent-inner{
  max-width:var(--max); margin:0 auto; padding:18px 24px;
  display:flex; align-items:center; justify-content:space-between; gap:24px; flex-wrap:wrap;
}
.cookie-consent-inner p{
  margin:0; font-size:.9rem; color:rgba(251,253,254,.85); max-width:70ch; flex:1 1 320px;
}
.cookie-consent-actions{ display:flex; gap:10px; flex:none; }
.btn-sm{ padding:10px 18px; font-size:.9rem; }
.cookie-consent .btn-outline-navy{ border-color:rgba(251,253,254,.4); color:var(--white); }
.cookie-consent .btn-outline-navy:hover{ background:rgba(251,253,254,.1); color:var(--white); }
@media (max-width:640px){
  .cookie-consent-inner{ flex-direction:column; align-items:stretch; }
  .cookie-consent-actions{ justify-content:flex-end; }
}

/* ---------- Utilities ---------- */
.visually-hidden{
  position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap;
}
:focus-visible{ outline:2px solid var(--orange); outline-offset:2px; }
@media (prefers-reduced-motion: reduce){
  *{ scroll-behavior:auto !important; animation:none !important; transition:none !important; }
}
