/* ATDrive one-page frontend
   Palette extracted from the logo:
   - Navy: #0A1829
   - Deep Navy: #061223
   - Accent Orange: #E87F1B
   - Accent Red: #FC5B37
   - Light: #F3F5F7
*/
:root{
  --bg:#061223;
  --panel:#0A1829;
  --panel2:#0E2238;
  --text:#EAF0F7;
  --muted:#AFC0D3;
  --line:rgba(255,255,255,.10);
  --orange:#E87F1B;
  --red:#FC5B37;
  --white:#FFFFFF;
  --shadow: 0 18px 60px rgba(0,0,0,.45);
  --radius: 22px;
  --radius2: 16px;
  --container: 1120px;
}

*{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color:var(--text);
  background:
    radial-gradient(900px 500px at 20% 0%, rgba(232,127,27,.14), transparent 60%),
    radial-gradient(900px 500px at 90% 20%, rgba(252,91,55,.10), transparent 55%),
    linear-gradient(180deg, #040B14, var(--bg) 30%, #040B14);
}

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

.container{
  width:min(var(--container), calc(100% - 40px));
  margin-inline:auto;
}

.skip{
  position:absolute;
  left:-999px;
  top:0;
  padding:10px 14px;
  background:var(--white);
  color:#000;
  border-radius:12px;
  z-index:9999;
}
.skip:focus{ left:14px; top:14px; }

.header{
  position:sticky;
  top:0;
  z-index:50;
  backdrop-filter: blur(14px);
  background: rgba(6,18,35,.70);
  border-bottom:1px solid rgba(255,255,255,.06);
}
.header__inner{
  height:78px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
}

.brand{
  display:flex;
  align-items:center;
  gap:12px;
  text-decoration:none;
  color:var(--text);
}
.brand__logo{
  width:44px; height:44px;
  border-radius:50%;
  background:var(--panel);
  box-shadow: 0 10px 30px rgba(0,0,0,.35);
}
.brand__text{ line-height:1.05; }
.brand__name{ font-weight:800; letter-spacing:.2px; font-size:18px; }
.brand__tag{ color:var(--muted); font-size:12px; }

.nav{
  display:flex;
  align-items:center;
  gap:18px;
}
.nav a{
  color:var(--muted);
  text-decoration:none;
  font-weight:600;
  font-size:14px;
  padding:10px 10px;
  border-radius:12px;
}
.nav a:hover{ background: rgba(255,255,255,.06); color:var(--text); }

.navToggle{
  display:none;
  width:44px; height:44px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(10,24,41,.55);
  cursor:pointer;
}
.navToggle span{
  display:block;
  width:18px;
  height:2px;
  margin:4px auto;
  background:var(--text);
  border-radius:2px;
  opacity:.9;
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding:14px 18px;
  border-radius:16px;
  border:1px solid rgba(255,255,255,.12);
  background: linear-gradient(180deg, rgba(232,127,27,.95), rgba(232,127,27,.78));
  color:#101010;
  font-weight:800;
  text-decoration:none;
  box-shadow: 0 14px 40px rgba(232,127,27,.22);
  cursor:pointer;
  transition: transform .15s ease, filter .15s ease, box-shadow .15s ease;
}
.btn:hover{ transform: translateY(-1px); filter:saturate(1.05); box-shadow: 0 18px 50px rgba(232,127,27,.28); }
.btn:active{ transform: translateY(0px); }

.btn--ghost{
  background: rgba(255,255,255,.06);
  color:var(--text);
  border: 1px solid rgba(255,255,255,.12);
  box-shadow:none;
}
.btn--ghost:hover{ background: rgba(255,255,255,.09); box-shadow:none; }

.btn--small{ padding:10px 14px; border-radius:14px; font-weight:800; font-size:13px; }

.link{
  color:var(--text);
  text-decoration:none;
  font-weight:700;
  opacity:.9;
}
.link:hover{ opacity:1; text-decoration:underline; }

.hero{
  padding: 40px 0 26px;
}
.hero__grid{
  display:grid;
  grid-template-columns: 1.15fr .85fr;
  gap:22px;
  align-items:stretch;
}
.pill{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding:10px 14px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.05);
  color:var(--muted);
  font-weight:700;
  font-size:13px;
  width:fit-content;
}
.dot{ width:10px; height:10px; border-radius:50%; background: var(--red); box-shadow: 0 0 0 6px rgba(252,91,55,.12); }

.hero h1{
  margin:16px 0 10px;
  font-size: clamp(30px, 4.2vw, 54px);
  line-height:1.02;
  letter-spacing:-0.6px;
}
.accent{ color:var(--orange); }

.lead{ color:var(--muted); font-size:16px; line-height:1.65; max-width: 56ch; }

.hero__cta{ display:flex; gap:12px; flex-wrap:wrap; margin-top:18px; }

.hero__badges{
  display:grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap:12px;
  margin-top:22px;
}
.badge{
  border:1px solid rgba(255,255,255,.10);
  background: rgba(10,24,41,.55);
  border-radius: var(--radius2);
  padding:12px 12px;
}
.badge__title{ color:var(--muted); font-weight:700; font-size:12px; }
.badge__value{ font-weight:800; margin-top:6px; font-size:14px; }

.hero__card{
  position:relative;
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(10,24,41,.92), rgba(10,24,41,.65));
  border:1px solid rgba(255,255,255,.12);
  box-shadow: var(--shadow);
  overflow:hidden;
  min-height: 360px;
}
.heroCard{ padding:18px; position:relative; z-index:2; }
.heroCard__top{
  display:flex;
  align-items:center;
  gap:12px;
  padding-bottom:14px;
  border-bottom: 1px solid rgba(255,255,255,.10);
}
.heroCard__icon{
  width:44px; height:44px;
  border-radius: 16px;
  background: rgba(255,255,255,.06);
  display:grid;
  place-items:center;
  font-weight:900;
  letter-spacing:.6px;
}
.heroCard__title{ font-weight:900; font-size:16px; }
.heroCard__subtitle{ color:var(--muted); font-weight:700; font-size:12px; margin-top:2px; }

.heroCard__list{ padding:14px 0; display:grid; gap:10px; }
.row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  padding:10px 12px;
  border-radius: 16px;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.04);
}
.k{ color:var(--muted); font-weight:800; font-size:13px; }
.v{ font-weight:900; font-size:13px; }

.heroCard__footer{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding-top:10px;
}
.glow{
  position:absolute;
  inset:-60px -80px auto auto;
  width:260px;
  height:260px;
  background: radial-gradient(circle at 30% 30%, rgba(252,91,55,.38), transparent 60%),
              radial-gradient(circle at 70% 70%, rgba(232,127,27,.32), transparent 55%);
  filter: blur(10px);
  transform: rotate(10deg);
  z-index:1;
}

.section{
  padding: 54px 0;
}
.section--alt{
  background: rgba(255,255,255,.03);
  border-top:1px solid rgba(255,255,255,.05);
  border-bottom:1px solid rgba(255,255,255,.05);
}
.section__head{ margin-bottom: 18px; }
.section__head h2{
  margin:0;
  font-size: 28px;
  letter-spacing:-.4px;
}
.section__head p{ margin:10px 0 0; color:var(--muted); line-height:1.6; }

.cards{
  display:grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap:14px;
}
.card{
  border-radius: var(--radius);
  border:1px solid rgba(255,255,255,.12);
  background: linear-gradient(180deg, rgba(10,24,41,.82), rgba(10,24,41,.55));
  padding:18px;
  box-shadow: 0 12px 44px rgba(0,0,0,.25);
}
.card h3{ margin:0 0 10px; font-size:16px; letter-spacing:-.2px; }
.card p{ margin:0 0 14px; color:var(--muted); line-height:1.6; }
.list{ margin:0; padding-left:18px; color:var(--text); }
.list li{ margin:8px 0; color: var(--text); opacity:.95; }

.twoCol{
  display:grid;
  grid-template-columns: 1.05fr .95fr;
  gap:18px;
  align-items:start;
}

.steps{ display:grid; gap:10px; margin-top:16px; }
.step{
  display:flex;
  gap:12px;
  padding:12px 12px;
  border-radius: 18px;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(10,24,41,.50);
}
.step__num{
  width:30px; height:30px; border-radius: 12px;
  background: rgba(232,127,27,.18);
  border: 1px solid rgba(232,127,27,.28);
  display:grid; place-items:center;
  font-weight:900; color: var(--orange);
}
.step__title{ font-weight:900; }
.step__text{ color:var(--muted); margin-top:4px; line-height:1.55; }

.aboutCard{
  border-radius: var(--radius);
  border:1px solid rgba(255,255,255,.12);
  background: linear-gradient(180deg, rgba(10,24,41,.88), rgba(10,24,41,.62));
  padding:18px;
  box-shadow: var(--shadow);
}
.aboutCard h3{ margin:0 0 12px; }
.chips{ display:flex; flex-wrap:wrap; gap:10px; }
.chip{
  padding:10px 12px;
  border-radius: 999px;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.05);
  color:var(--text);
  font-weight:800;
  font-size:12px;
}
.aboutCard__stats{
  display:grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap:12px;
  margin-top:16px;
}
.stat{
  border-radius: 18px;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.04);
  padding:12px;
}
.stat__n{ font-weight:950; font-size:22px; }
.stat__t{ color:var(--muted); font-weight:700; font-size:12px; margin-top:6px; line-height:1.35; }
.aboutCard__cta{ display:flex; gap:12px; margin-top:16px; flex-wrap:wrap; }

.gallery{
  display:grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap:12px;
}
.ph{
  border-radius: var(--radius);
  overflow:hidden;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(10,24,41,.45);
}
.ph img{ width:100%; height:220px; object-fit:cover; }
.ph figcaption{ padding:12px 12px; color:var(--muted); font-weight:700; font-size:13px; }

.ph--missing{
  position:relative;
}
.ph--missing::before{
  content:"Dodaj sliku u images/ (work-1.jpg...)";
  position:absolute;
  inset:0;
  display:grid;
  place-items:center;
  padding:14px;
  text-align:center;
  background: repeating-linear-gradient(45deg, rgba(255,255,255,.06), rgba(255,255,255,.06) 10px, rgba(255,255,255,.02) 10px, rgba(255,255,255,.02) 20px);
  color: var(--muted);
  font-weight:800;
}
.ph--missing img{ opacity:0; }

.igGrid{
  display:grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap:12px;
}
.instagram-media{
  border-radius: var(--radius);
  overflow:hidden;
  border:1px solid rgba(255,255,255,.10) !important;
  background: rgba(10,24,41,.45);
  box-shadow: 0 12px 40px rgba(0,0,0,.22);
}

.muted{ color:var(--muted); line-height:1.6; margin-top:14px; }
.tiny{ color:var(--muted); font-size:12px; margin:10px 0 0; line-height:1.45; }

.contactGrid{
  display:grid;
  grid-template-columns: 1.05fr .95fr;
  gap:16px;
  align-items:start;
}
.contactCards{
  display:grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap:12px;
  margin: 16px 0;
}
.contactCard{
  border-radius: 18px;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(10,24,41,.55);
  padding:12px;
}
.contactCard__k{ color:var(--muted); font-weight:800; font-size:12px; }
.contactCard__v{ font-weight:900; margin-top:6px; display:block; color:var(--text); text-decoration:none; }
.contactCard__v:hover{ text-decoration:underline; }

.mapWrap{
  border-radius: var(--radius);
  overflow:hidden;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(10,24,41,.45);
  min-height: 280px;
}
.mapWrap iframe{ width:100%; height:320px; border:0; }

.formCard{
  border-radius: var(--radius);
  border:1px solid rgba(255,255,255,.12);
  background: linear-gradient(180deg, rgba(10,24,41,.88), rgba(10,24,41,.62));
  padding:18px;
  box-shadow: var(--shadow);
}
form{ display:grid; gap:12px; margin-top:10px; }
label{ display:grid; gap:8px; font-weight:800; font-size:13px; }
input, textarea{
  width:100%;
  padding:12px 12px;
  border-radius: 16px;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.06);
  color:var(--text);
  outline:none;
  font: inherit;
}
input::placeholder, textarea::placeholder{ color: rgba(175,192,211,.70); font-weight:700; }
input:focus, textarea:focus{
  border-color: rgba(232,127,27,.55);
  box-shadow: 0 0 0 4px rgba(232,127,27,.14);
}

.footer{
  padding: 26px 0 40px;
  border-top:1px solid rgba(255,255,255,.06);
  background: rgba(0,0,0,.12);
}
.footer__inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
}
.footer__left{ display:flex; align-items:center; gap:12px; }
.footer__logo{ width:38px; height:38px; border-radius:50%; }
.footer__name{ font-weight:900; }
.footer__copy{ color:var(--muted); font-weight:700; margin-top:4px; font-size:12px; }

/* Responsive */
@media (max-width: 1000px){
  .hero__grid{ grid-template-columns: 1fr; }
  .cards{ grid-template-columns: repeat(2, minmax(0,1fr)); }
  .gallery{ grid-template-columns: repeat(2, minmax(0,1fr)); }
  .igGrid{ grid-template-columns: 1fr; }
  .contactGrid{ grid-template-columns: 1fr; }
  .contactCards{ grid-template-columns: 1fr; }
  .twoCol{ grid-template-columns: 1fr; }
}

@media (max-width: 760px){
  .navToggle{ display:inline-grid; place-items:center; }
  .nav{
    position:fixed;
    inset: 78px 14px auto 14px;
    padding:12px;
    border-radius: 18px;
    border:1px solid rgba(255,255,255,.12);
    background: rgba(6,18,35,.92);
    box-shadow: 0 20px 70px rgba(0,0,0,.55);
    display:none;
    flex-direction:column;
    align-items:stretch;
    gap:8px;
  }
  .nav a{ padding:12px 12px; }
  .nav.isOpen{ display:flex; }
  .hero__badges{ grid-template-columns: 1fr; }
}
