*{
  margin:0;
  padding:0;
  box-sizing:border-box;
  scroll-behavior:smooth;
}

:root{
  --orange:#ff6600;
  --black:#050505;
  --card:#0b0b0b;
  --border:rgba(255,255,255,.09);
}

body{
  font-family:Inter,sans-serif;
  background:var(--black);
  color:white;
  overflow-x:hidden;
}

.logo img{
  height:82px;
  width:auto;
  object-fit:contain;
}

.footer-logo img{
  width:170px;
  height:auto;
  object-fit:contain;
}

a{
  text-decoration:none;
}

.navbar{
  position:fixed;
  top:0;
  left:0;
  width:100%;
  padding:18px 60px;
  height:82px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  z-index:99;
  background:rgba(0,0,0,.78);
  backdrop-filter:blur(12px);
  border-bottom:1px solid rgba(255,255,255,.05);
}

.logo{
  font-family:'Barlow Condensed',sans-serif;
  color:var(--orange);
  font-size:52px;
  line-height:1;
  font-weight:900;
  font-style:italic;
  letter-spacing:-2px;
}

nav{
  display:flex;
  gap:42px;
}

nav a{
  color:white;
  font-size:13px;
  font-weight:800;
  transition:.25s;
}

nav a:hover{
  color:var(--orange);
}

.contact-btn{
  background:var(--orange);
  color:white;
  padding:15px 25px;
  font-size:13px;
  font-weight:800;
  display:flex;
  align-items:center;
  gap:14px;
}

.gallery-image{
  overflow:hidden;
  border:1px solid rgba(255,255,255,.08);
}

.gallery-image img{
  width:100%;
  height:260px;
  object-fit:contain;
  display:block;
  transition:.35s;
}

.gallery-image img:hover{
  transform:scale(1.05);
}

.hero{
  min-height:100vh;
  display:flex;
  align-items:center;
  padding:140px 80px 70px;
  position:relative;
  background:
    linear-gradient(to right, rgba(0,0,0,.95) 0%, rgba(0,0,0,.82) 34%, rgba(0,0,0,.25) 75%),
    url('ktm1.png');
  background-size:92%;
  background-position:center right;
  background-repeat:no-repeat;
}

.hero-content{
  max-width:720px;
  position:relative;
  z-index:2;
}

.tag{
  color:var(--orange);
  font-weight:800;
  letter-spacing:1.5px;
  font-size:15px;
  font-style:italic;
  display:inline-block;
  margin-bottom:22px;
}

h1,h2,h3{
  font-family:'Barlow Condensed',sans-serif;
  text-transform:uppercase;
  font-style:italic;
}

.hero h1{
  font-size:92px;
  line-height:.9;
  font-weight:900;
  letter-spacing:-2px;
}

.hero h1 span{
  color:var(--orange);
}

.hero p{
  margin-top:32px;
  color:rgba(255,255,255,.82);
  line-height:1.8;
  font-size:17px;
  max-width:520px;
}

.buttons{
  display:flex;
  gap:20px;
  margin-top:36px;
}

.primary,.secondary{
  padding:18px 30px;
  font-size:13px;
  font-weight:800;
  display:inline-flex;
  align-items:center;
  gap:16px;
  transition:.25s;
}

.primary{
  background:var(--orange);
  color:white;
}

.secondary{
  color:white;
  border:1px solid rgba(255,255,255,.22);
}

.primary:hover,.secondary:hover{
  transform:translateY(-3px);
}

.brands{
  background:#080808;
  border-top:1px solid rgba(255,255,255,.06);
  border-bottom:1px solid rgba(255,255,255,.06);
  padding:25px 60px;
  display:flex;
  justify-content:space-around;
  gap:28px;
  flex-wrap:wrap;
}

.brands span{
  color:rgba(255,255,255,.62);
  font-family:'Barlow Condensed',sans-serif;
  font-size:28px;
  font-weight:800;
  font-style:italic;
}

.services{
  padding:95px 70px;
  display:grid;
  grid-template-columns:1fr 2fr;
  gap:48px;
  background:radial-gradient(circle at left top, rgba(255,102,0,.05), transparent 36%), #060606;
}

.left{
  position:relative;
}

.left h2,.gallery-text h2,.footer h2{
  font-size:60px;
  line-height:.9;
  font-weight:900;
}

.left p,.gallery-text p{
  color:rgba(255,255,255,.72);
  line-height:1.8;
  max-width:390px;
}

.line{
  width:58px;
  height:5px;
  background:var(--orange);
  margin:28px 0;
}

.af-watermark{
  margin-top:38px;
  font-family:'Barlow Condensed',sans-serif;
  font-size:52px;
  font-weight:900;
  font-style:italic;
  color:rgba(255,255,255,.14);
}

.cards{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:18px;
}

.card{
  min-height:145px;
  background:linear-gradient(180deg,#0b0b0b,#060606);
  border:1px solid var(--border);
  padding:28px;
  transition:.25s;
}

.card:hover{
  border-color:rgba(255,102,0,.55);
  transform:translateY(-4px);
}

.card-title{
  display:flex;
  align-items:center;
  gap:18px;
  margin-bottom:14px;
}

.service-icon{
  color:var(--orange);
  font-size:34px;
  width:38px;
  text-align:center;
  flex-shrink:0;
}

.card h3{
  font-size:31px;
  line-height:1;
  font-weight:900;
}

.card p{
  color:rgba(255,255,255,.68);
  line-height:1.6;
  font-size:14px;
  padding-left:56px;
}

.gallery-preview{
  display:grid;
  grid-template-columns:1.25fr 1fr;
  min-height:470px;
  border-top:1px solid rgba(255,255,255,.06);
}

.preview-img{
  background:
    linear-gradient(rgba(0,0,0,.18), rgba(0,0,0,.18)),
    url('delavnica.png');
  background-size:cover;
  background-position:center;
}

.gallery-text{
  padding:72px 70px;
  position:relative;
  overflow:hidden;
}

.race-watermark{
  position:absolute;
  right:-20px;
  bottom:35px;
  font-family:'Barlow Condensed',sans-serif;
  font-size:104px;
  line-height:.86;
  font-weight:900;
  font-style:italic;
  color:rgba(255,255,255,.045);
}

.footer{
  display:grid;
  grid-template-columns:280px 1fr;
  background:#070707;
  border-top:1px solid rgba(255,255,255,.06);
}

.footer-logo{
  display:flex;
  align-items:center;
  justify-content:center;
  font-family:'Barlow Condensed',sans-serif;
  color:var(--orange);
  font-size:90px;
  font-weight:900;
  font-style:italic;
  border-right:1px solid rgba(255,255,255,.06);
}

.footer-content{
  padding:62px 70px;
}

.contact-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:34px;
  margin-top:38px;
}

.contact-item{
  display:flex;
  align-items:center;
  gap:18px;
  border-left:1px solid rgba(255,255,255,.15);
  padding-left:28px;
}

.contact-item:first-child{
  border-left:0;
  padding-left:0;
}

.contact-icon{
  color:var(--orange);
  font-size:34px;
  width:38px;
  text-align:center;
  flex-shrink:0;
}

.contact-item h4{
  font-size:14px;
  letter-spacing:.8px;
  margin-bottom:7px;
}

.contact-item p{
  color:rgba(255,255,255,.72);
  font-size:14px;
}

.copyright{
  text-align:center;
  padding:22px;
  color:rgba(255,255,255,.62);
  background:#040404;
  font-size:14px;
}

.gallery-page{
  min-height:100vh;
  background:
    radial-gradient(circle at top right, rgba(255,102,0,.11), transparent 30%),
    #050505;
}

.gallery-main{
  padding:140px 70px 80px;
}

.gallery-main h1{
  font-size:86px;
  line-height:.9;
}

.gallery-main p{
  color:rgba(255,255,255,.72);
  margin-bottom:42px;
}

.gallery-grid-page{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:16px;
}

.image-placeholder{
  height:260px;
  border:1px dashed rgba(255,255,255,.28);
  background:linear-gradient(180deg,#111,#090909);
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:16px;
  color:rgba(255,255,255,.7);
  font-family:'Barlow Condensed',sans-serif;
  font-size:28px;
  font-weight:800;
}

.image-placeholder i{
  color:var(--orange);
  font-size:42px;
}

@media(max-width:1100px){
  .services,.gallery-preview,.footer{
    grid-template-columns:1fr;
  }

  .cards,.contact-grid,.gallery-grid-page{
    grid-template-columns:repeat(2,1fr);
  }

  .hero h1{
    font-size:70px;
  }
}

@media(max-width:760px){
  .navbar{
    height:auto;
    padding:18px 22px;
    flex-direction:column;
    gap:16px;
  }

  nav{
    flex-wrap:wrap;
    justify-content:center;
    gap:20px;
  }

  .hero{
    padding:210px 25px 70px;
    background-size:cover;
    background-position:center;
  }

  .hero h1{
    font-size:52px;
  }

  .services,.gallery-text,.footer-content,.gallery-main{
    padding:55px 25px;
  }

  .cards,.contact-grid,.gallery-grid-page{
    grid-template-columns:1fr;
  }

  .contact-item{
    border-left:0;
    padding-left:0;
  }

  .race-watermark{
    display:none;
  }
}
