/* =========================================================
   RENTX Landing (najam-vozila.hr structure inspired)
   NOTE: Colors can be changed later easily via :root vars
========================================================= */

:root{
  --topbar: #e53935;
  --dark: #2b2b2b;
  --dark-2:#1f1f1f;
  --light: #ffffff;
  --bg: #f3f3f3;
  --muted: #a9a9a9;
  --text: #222;
  --accent: #f0b429;   /* yellow-ish accent */
  --btn: #e53935;      /* main button */
  --btn2:#d32f2f;
  --card: #ffffff;
  --border: rgba(0,0,0,.10);
  --shadow: 0 18px 50px rgba(0,0,0,.20);
  --shadow-soft: 0 10px 28px rgba(0,0,0,.12);
  --radius: 10px;
  --radius-lg: 16px;
}

*{ box-sizing:border-box; }
body.landing-body{
  background:#fff;
  color:var(--text);
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

/* Links */
a{ text-decoration:none; }
a:hover{ text-decoration:none; }

/* =========================================================
   TOP BAR (red)
========================================================= */
.topbar{
  background: var(--topbar);
  color: #fff;
}
.topbar .topbar-item{
  display:inline-flex;
  align-items:center;
  gap:8px;
  font-size:14px;
  font-weight:600;
}
.topbar .topbar-item a{
  color:#fff;
  opacity:.95;
}
.topbar .topbar-item a:hover{ opacity:1; }

.topbar-social{
  width:34px;
  height:34px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-left:1px solid rgba(255,255,255,.25);
  color:#fff;
  opacity:.95;
}
.topbar-social:hover{ opacity:1; }

/* =========================================================
   HEADER / NAV (dark)
========================================================= */
.main-header{
  background: var(--dark);
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.navbar-dark .nav-link{
  color: rgba(255,255,255,.88) !important;
  font-weight: 700;
  letter-spacing: .02em;
  font-size: 13px;
  text-transform: uppercase;
}
.navbar-dark .nav-link:hover{
  color:#fff !important;
}

.brand-logo{
  font-weight: 900;
  letter-spacing: .03em;
  font-size: 28px;
  color: rgba(255,255,255,.90);
}
.brand-x{
  color: var(--topbar);
  font-weight: 900;
  margin-left: 2px;
}

/* =========================================================
   HERO / SLIDER AREA
========================================================= */
.hero-wrap{
  background: var(--dark);
  padding: 0;
  position: relative;
}

.hero-slide{
  min-height: 520px;
  display:flex;
  align-items:center;
  justify-content:center;
  padding: 70px 0 40px;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(800px 380px at 50% 40%, rgba(255,255,255,.08), transparent 65%),
    linear-gradient(180deg, rgba(0,0,0,.25), rgba(0,0,0,.35)),
    var(--dark);
}

.hero-inner{
  width:100%;
  max-width: 1100px;
  margin:0 auto;
  text-align:center;
  color:#fff;
}

.hero-price{
  font-size: 44px;
  font-weight: 900;
  letter-spacing: .02em;
  line-height: 1;
  margin-bottom: 12px;
}
.hero-price span{ color: var(--topbar); }
.hero-price small{
  font-size: 16px;
  opacity: .9;
  font-weight: 800;
}

.hero-title{
  font-size: clamp(34px, 4vw, 64px);
  font-weight: 300;
  letter-spacing: .01em;
  margin-bottom: 28px;
}

.hero-car{
  width: min(820px, 92vw);
  margin: 0 auto;
  filter: drop-shadow(0 25px 40px rgba(0,0,0,.45));
}
.hero-car img{
  width:100%;
  height:auto;
  display:block;
}

.hero-specs{
  position:absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 240px;
  display:flex;
  flex-direction:column;
  gap: 16px;
}
.hero-specs.left{ left: 6%; }
.hero-specs.right{ right: 6%; }

.hero-spec{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  color:#fff;
}
.hero-spec .label{
  text-align:right;
  font-weight:700;
  font-size:13px;
  opacity:.9;
  line-height:1.2;
}
.hero-spec .ico{
  width:46px;
  height:46px;
  border-radius: 6px;
  display:flex;
  align-items:center;
  justify-content:center;
  background: var(--accent);
  color:#111;
  box-shadow: 0 10px 24px rgba(0,0,0,.25);
  flex: 0 0 auto;
}
.hero-spec .ico i{ font-size:18px; }

.hero-actions{
  margin-top: 18px;
  display:flex;
  gap:12px;
  justify-content:center;
  flex-wrap:wrap;
}
.btn-hero{
  background: transparent;
  color:#fff;
  border:1px solid rgba(255,255,255,.35);
  padding: 10px 18px;
  border-radius: 6px;
  font-weight: 800;
  font-size: 14px;
}
.btn-hero:hover{
  border-color:#fff;
}
.btn-hero.primary{
  background:#fff;
  color:#111;
  border-color:#fff;
}
.btn-hero.primary:hover{
  background: #f1f1f1;
}

/* arrows (optional) */
.hero-arrow{
  position:absolute;
  top:50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  display:flex;
  align-items:center;
  justify-content:center;
  color:#fff;
  opacity:.65;
  font-size: 22px;
  cursor:pointer;
  user-select:none;
}
.hero-arrow:hover{ opacity:1; }
.hero-arrow.left{ left: 24px; }
.hero-arrow.right{ right: 24px; }

/* =========================================================
   SEARCH BAR (grey strip like screenshots)
========================================================= */
.search-strip{
  background: #dedede;
  padding: 22px 0;
}
.search-panel{
  background: #e6e6e6;
  border-radius: 12px;
  padding: 18px;
  border: 1px solid rgba(0,0,0,.10);
}

.search-panel .form-label{
  font-size: 13px;
  font-weight: 800;
  color:#333;
  margin-bottom: 6px;
}

.search-panel .form-select,
.search-panel .form-control{
  border-radius: 6px;
  border: 1px solid rgba(0,0,0,.18);
  padding: 10px 12px;
  height: 44px;
}

.search-btn{
  background: var(--btn);
  border: 1px solid var(--btn);
  color:#fff;
  font-weight: 900;
  letter-spacing: .02em;
  border-radius: 6px;
  height: 44px;
  padding: 0 22px;
}
.search-btn:hover{
  background: var(--btn2);
  border-color: var(--btn2);
}

/* =========================================================
   SECTION TITLES + center
========================================================= */
.section{
  padding: 70px 0;
}
.section-title{
  text-align:center;
  margin-bottom: 32px;
}
.section-title h2{
  font-size: 44px;
  font-weight: 900;
  letter-spacing: -.02em;
  margin: 0;
}
.section-title .accent{
  color: var(--accent);
}
.section-title p{
  color:#777;
  margin-top: 10px;
}

/* =========================================================
   3 ICON BLOCKS (Korisnička podrška / lokacija / proces)
========================================================= */
.info-3{
  padding: 26px 0 0;
  background:#fff;
}
.info3-item{
  text-align:center;
  padding: 10px 12px;
}
.info3-ico{
  font-size: 34px;
  opacity: .18;
  margin-bottom: 10px;
}
.info3-title{
  font-weight: 900;
  letter-spacing: .02em;
  font-size: 15px;
}
.info3-text{
  color:#7a7a7a;
  max-width: 280px;
  margin: 10px auto 0;
  font-size: 13px;
  line-height: 1.6;
}
.info3-line{
  width: 44px;
  height: 4px;
  background: rgba(0,0,0,.10);
  margin: 16px auto 0;
  border-radius: 999px;
}
.info3-line.active{ background: var(--accent); opacity:1; }

/* =========================================================
   "Korisnički centar" ICON ROW
========================================================= */
.center-icons{
  padding: 40px 0 20px;
  background:#fff;
}
.center-icons-row{
  display:flex;
  gap: 22px;
  justify-content:center;
  flex-wrap:wrap;
}
.center-icon{
  width: 150px;
  text-align:center;
}
.center-icon img{
  width: 140px;
  height:auto;
  display:block;
  margin: 0 auto 10px;
}
.center-icon .label{
  display:inline-block;
  background: var(--btn);
  color:#fff;
  font-weight: 900;
  padding: 8px 14px;
  border-radius: 6px;
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: .02em;
}

/* =========================================================
   DARK CTA STRIP "Započni svoje putovanje..."
========================================================= */
.dark-cta{
  background: #2f2f2f;
  color:#fff;
  padding: 60px 0;
}
.dark-cta h3{
  font-size: 44px;
  font-weight: 900;
  margin-bottom: 10px;
}
.dark-cta p{
  color: rgba(255,255,255,.70);
  max-width: 640px;
  line-height: 1.7;
}
.dark-cta .cta-line{
  width: 44px;
  height: 4px;
  background: var(--accent);
  border-radius: 999px;
  margin-top: 18px;
}
.cta-right{
  text-align:center;
}
.cta-right .cta-phone{
  font-size: 26px;
  font-weight: 900;
  color: var(--accent);
}
.cta-right .btn-quote{
  margin-top: 12px;
  background:#fff;
  color:#111;
  border:0;
  font-weight:900;
  padding: 10px 16px;
  border-radius: 6px;
}
.btn-quote:hover{ background:#f2f2f2; }

/* =========================================================
   "Zašto smo najbolji?" grid (simple boxes)
========================================================= */
.best-wrap{
  background:#fff;
  padding: 70px 0;
}
.best-title{
  text-align:center;
  margin-bottom: 26px;
}
.best-title h2{
  font-weight: 900;
  font-size: 42px;
}
.best-grid{
  border-top: 1px dashed rgba(0,0,0,.20);
  border-left: 1px dashed rgba(0,0,0,.20);
}
.best-item{
  padding: 26px;
  border-right: 1px dashed rgba(0,0,0,.20);
  border-bottom: 1px dashed rgba(0,0,0,.20);
  min-height: 170px;
}
.best-num{
  font-weight: 900;
  opacity: .35;
  margin-bottom: 10px;
}
.best-item h5{
  font-weight: 900;
  margin-bottom: 8px;
}
.best-item p{ color:#777; line-height:1.7; font-size: 14px; margin:0; }

/* =========================================================
   NEWSLETTER + SERVICES RIBBON (yellow+red strip)
========================================================= */
.newsletter{
  background: #efefef;
  padding: 45px 0 0;
}
.newsletter-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 18px;
  flex-wrap:wrap;
}
.newsletter h3{
  font-size: 42px;
  font-weight: 900;
  margin:0;
}
.newsletter small{ display:block; color:#666; margin-top:6px; }
.news-form{
  display:flex;
  gap: 0;
  align-items:center;
  flex-wrap:wrap;
}
.news-form input{
  width: 360px;
  max-width: 85vw;
  height: 44px;
  border: 1px solid rgba(0,0,0,.18);
  border-right: 0;
  border-radius: 6px 0 0 6px;
  padding: 0 12px;
}
.news-form button{
  height: 44px;
  border: 0;
  background: var(--accent);
  color:#111;
  font-weight: 900;
  padding: 0 18px;
  border-radius: 0 6px 6px 0;
}
.news-check{
  margin-top: 10px;
  color:#666;
  font-size: 13px;
}

.services-ribbon{
  margin-top: 34px;
  height: 70px;
  display:flex;
  width:100%;
}
.services-left{
  flex: 0 0 48%;
  background: var(--accent);
  position: relative;
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight: 900;
  font-size: 34px;
  color:#fff;
  text-transform: none;
}
.services-left:after{
  content:"";
  position:absolute;
  right:-40px;
  top:0;
  width:0; height:0;
  border-top: 35px solid transparent;
  border-bottom: 35px solid transparent;
  border-left: 40px solid var(--accent);
}
.services-right{
  flex: 1;
  background: var(--btn);
  display:flex;
  align-items:center;
  justify-content:center;
  color:#fff;
  font-weight: 800;
}
.services-right span{
  opacity:.95;
}

/* =========================================================
   FOOTER
========================================================= */
.footer{
  background: #3a3a3a;
  color: rgba(255,255,255,.86);
  position: relative;
}
.footer-ribbon{
  background: transparent;
  padding: 0;
}
.footer-ribbon-inner{
  background: var(--topbar);
  color:#fff;
  padding: 16px 18px;
  border-radius: 6px;
  display:flex;
  justify-content:space-between;
  gap: 16px;
  flex-wrap:wrap;
  margin-top: -22px;
}
.ribbon-item{
  display:flex;
  align-items:center;
  gap:10px;
  font-weight: 800;
  font-size: 14px;
}

.footer-title{
  font-weight: 900;
  margin-bottom: 14px;
}
.footer-text{ color: rgba(255,255,255,.70); }
.footer-list{
  margin-top: 12px;
  display:grid;
  gap: 10px;
  color: rgba(255,255,255,.78);
}
.footer-link{
  color: var(--accent);
  font-weight: 800;
  text-decoration: underline;
}
.footer-links{
  display:grid;
  gap: 10px;
}
.footer-links a{
  color: rgba(255,255,255,.78);
  font-weight: 700;
  font-size: 14px;
}
.footer-links a:hover{ color:#fff; }

.footer-small{
  color: rgba(255,255,255,.78);
  font-size: 14px;
  line-height: 1.7;
}
.footer-hr{
  border-color: rgba(255,255,255,.18);
  margin: 14px 0;
}
.text-accent{ color: var(--accent) !important; }

.footer-socials{
  display:flex;
  gap: 10px;
  justify-content:center;
  flex-wrap:wrap;
}
.btn-social{
  border-radius: 6px;
  color:#fff;
  font-weight: 900;
  padding: 10px 20px;
  border: 0;
}
.btn-social.facebook{ background:#2f5597; }
.btn-social.instagram{ background:#d81b60; }
.btn-social.whatsapp{ background:#2ecc71; }
.btn-social.youtube{ background:#e53935; }
.btn-social:hover{ opacity:.92; }

.footer-bottom{
  border-top: 1px solid rgba(255,255,255,.12);
  padding-top: 18px;
  color: rgba(255,255,255,.75);
  font-weight: 600;
  font-size: 13px;
}

/* =========================================================
   FLOATING PHONE (bottom-left)
========================================================= */
.floating-phone{
  position: fixed;
  left: 18px;
  bottom: 18px;
  z-index: 9999;
  display:flex;
  align-items:stretch;
  background: var(--topbar);
  color:#fff;
  border-radius: 6px;
  overflow:hidden;
  box-shadow: 0 14px 40px rgba(0,0,0,.28);
  min-width: 280px;
}
.fp-icon{
  width: 56px;
  display:flex;
  align-items:center;
  justify-content:center;
  background: rgba(0,0,0,.18);
}
.fp-icon i{ font-size: 22px; }
.fp-text{ padding: 10px 12px; }
.fp-number{
  font-size: 20px;
  font-weight: 900;
  line-height: 1.1;
}
.fp-sub{
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .02em;
  opacity: .95;
}

/* =========================================================
   BACK TO TOP (bottom-right)
========================================================= */
.back-to-top{
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: 46px;
  height: 46px;
  border-radius: 999px;
  border: 0;
  background: var(--accent);
  color:#111;
  font-size: 16px;
  display:flex;
  align-items:center;
  justify-content:center;
  box-shadow: 0 14px 40px rgba(0,0,0,.22);
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: .18s ease;
  z-index: 9998;
}
.back-to-top.show{
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

/* =========================================================
   Responsive tweaks
========================================================= */
@media (max-width: 1200px){
  .hero-specs{ display:none; }
}

@media (max-width: 991px){
  .hero-slide{ min-height: 460px; padding-top: 55px; }
  .hero-price{ font-size: 38px; }
  .hero-title{ margin-bottom: 18px; }
  .footer-ribbon-inner{ margin-top: 0; border-radius: 0; }
}

@media (max-width: 575px){
  .floating-phone{ min-width: 240px; left: 12px; bottom: 12px; }
  .fp-number{ font-size: 18px; }
  .hero-slide{ min-height: 420px; }
  .services-left{ font-size: 28px; }
}
