/* Putnik rent a car – zajednički stilovi (index, uslovi, 404) */
:root {
  --putnik-blue: #04377b;
  --putnik-blue-dark: #03285d;
  --putnik-blue-deep: #021f4c;
  --putnik-yellow: #ffbd00;
  --putnik-yellow-dark: #e4a900;
  --putnik-ink: #08244f;
  --putnik-bg: #f6f7fa;
  --putnik-muted: #68758c;
  --putnik-line: #e7eaf0;
  --putnik-green: #0a7b65;
}

html { scroll-behavior: smooth; }
body {
  font-family: "Inter", sans-serif;
  background: #fff;
  color: #101827;
  padding-bottom: 0;
}
h1,h2,h3,.condensed { font-family: "Oswald", sans-serif; }
a { color: inherit; }

.bg-main { background: var(--putnik-blue-dark) !important; }
.text-green, .text-gold { color: var(--putnik-blue) !important; }
.text-yellow { color: var(--putnik-yellow) !important; }
.bg-darker { background: #f4f6fa !important; }

.btn {
  border-radius: 9px;
  font-weight: 800;
  letter-spacing: .01em;
  padding: .78rem 1.15rem;
}
.btn-green, .btn-gold {
  background: var(--putnik-yellow);
  border-color: var(--putnik-yellow);
  color: var(--putnik-blue-deep);
}
.btn-green:hover, .btn-gold:hover {
  background: #ffca31;
  border-color: #ffca31;
  color: var(--putnik-blue-deep);
}
button.btn { -webkit-appearance:none; }
.btn-blue {
  background: var(--putnik-blue);
  border-color: var(--putnik-blue);
  color: white;
}
.btn-blue:hover { background: var(--putnik-blue-dark); color: white; }
.btn-white {
  background: white;
  border: 1px solid #dde2ea;
  color: var(--putnik-blue-deep);
}
.btn-white:hover { background: #f8f9fb; color: var(--putnik-blue-deep); }

.navbar {
  min-height: 82px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.brand-mark {
  width: 43px;
  height: 43px;
  border: 2px solid var(--putnik-yellow);
  border-radius: 50% 50% 44% 44%;
  display: grid;
  place-items: center;
  color: var(--putnik-yellow);
  transform: rotate(-6deg);
  font-size: 1.15rem;
  flex: 0 0 auto;
}
.brand-name {
  font-weight: 800;
  color: white;
  font-size: 1.45rem;
  line-height: 1;
  letter-spacing: .03em;
}
.brand-sub {
  color: var(--putnik-yellow);
  font-weight: 600;
  line-height: 1.1;
  margin-top: 4px;
}
.brand-logo-img {
  display:block;
  height:46px;
  width:auto;
  max-width:min(62vw, 300px);
  object-fit:contain;
}
.navbar .nav-link { color: rgba(255,255,255,.92); font-weight: 600; }
.navbar .nav-link:hover { color: var(--putnik-yellow); }
.navbar-toggler-icon {
  filter: none !important;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255,255,255,1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}
.offcanvas { background: var(--putnik-blue-dark); }
.offcanvas.offcanvas-end {
  --bs-offcanvas-width:245px;
  width:245px;
  max-width:78vw;
}
.offcanvas .btn-close { filter: invert(1); }

.hero-section {
  position: relative;
  min-height: 560px;
  color: white;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(2,31,76,.93) 0%, rgba(2,31,76,.74) 43%, rgba(2,31,76,.18) 73%, rgba(2,31,76,.05) 100%),
    url('/images/hero-1800.webp') center 52% / cover no-repeat;
}
.hero-section:after {
  content:"";
  position:absolute;
  inset:auto 0 0 0;
  height:120px;
  background: linear-gradient(0deg, rgba(1,23,58,.48), transparent);
  pointer-events:none;
}
.hero-section .container { position: relative; z-index: 2; }
.hero-kicker {
  font-family: "Inter", sans-serif;   /* h1 element: isti izgled kao ranije div */
  line-height: 1.5;
  margin-top: 0;
  color: rgba(255,255,255,.82);
  font-weight: 700;
  text-transform: uppercase;
  font-size: .78rem;
  letter-spacing: .14em;
  margin-bottom: 12px;
}
.main-header {
  font-family: "Oswald", sans-serif;  /* div element: isti izgled kao ranije h1 */
  font-weight: 500;
  font-size: clamp(3rem, 6.4vw, 5.3rem);
  line-height: .97;
  letter-spacing: -.02em;
  text-transform: uppercase;
  max-width: 680px;
  text-shadow: 0 4px 22px rgba(0,0,0,.28);
  margin-bottom: 18px;
}
.main-header .yellow { color: var(--putnik-yellow); display:block; }
.main-subheader {
  max-width: 520px;
  color: rgba(255,255,255,.92);
  font-size: 1.1rem;
  line-height: 1.65;
  margin-bottom: 28px;
}
.hero-actions { max-width: 540px; }
.hero-actions .btn { min-width: 245px; }

.trust-wrap { margin-top: -46px; position: relative; z-index: 5; }
.trust-badge-box {
  background: rgba(255,255,255,.98);
  border: 1px solid rgba(9,35,77,.07);
  box-shadow: 0 16px 40px rgba(9,31,67,.14) !important;
}
.trust-item { min-height: 76px; }
.trust-item i { color: var(--putnik-blue); }
.trust-item strong { display:block; color: var(--putnik-blue-deep); font-size: .93rem; }
.trust-item span { color: var(--putnik-muted); font-size: .78rem; }
@media (min-width: 768px) {
  .border-md-bottom-0 { border-bottom: 0 !important; }
  .border-md-end { border-right: var(--bs-border-width) solid var(--bs-border-color) !important; }
}
@media (max-width: 767.98px) {
  .trust-item { padding-top: 1rem; padding-bottom: 1rem; }
}

.section-eyebrow {
  color: var(--putnik-blue);
  text-transform: uppercase;
  font-weight: 800;
  font-size: .78rem;
  letter-spacing: .07em;
}
.section-title {
  color: var(--putnik-blue-deep);
  font-size: clamp(2rem, 4vw, 3rem);
  text-transform: uppercase;
  margin-top: 3px;
}
.section-title:after {
  content:"";
  display:block;
  width:42px;
  height:3px;
  background:var(--putnik-yellow);
  margin-top:12px;
  border-radius:3px;
}

.vehicle-card {
  border: 1px solid #e8ebf1;
  border-radius: 16px;
  overflow:hidden;
  background:white;
  transition: transform .2s ease, box-shadow .2s ease;
  box-shadow: 0 8px 25px rgba(3,40,93,.08);
  height: 100%;
}
.vehicle-card:hover { transform: translateY(-4px); box-shadow:0 15px 38px rgba(3,40,93,.14); }
.vehicle-photo {
  height: 210px;
  background: #fff;
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
  padding:0;
}
.vehicle-photo img {
  width:auto;
  height:100%;
  max-width:100%;
  object-fit:contain;
  object-position:center center;
  display:block;
  transform:translateY(57px) scale(1.55);
  transform-origin:center center;
}
.vehicle-photo img.logan-img {
  background: #fff;
  transform: translateY(19px) scale(1.22);
}
.vehicle-photo img.octavia-flip {
  background: #fff;
  transform: translateY(28px) scaleX(-1) scale(1.10);
  transform-origin: center center;
}
.vehicle-name { color:var(--putnik-blue-deep); font-weight:800; font-size:1.16rem; }
.vehicle-meta { color:#5e6a80; font-size:.82rem; }
.vehicle-price { color:var(--putnik-blue-deep); font-weight:500; }
.vehicle-price strong { font-size:1.7rem; font-weight:800; }
.vehicle-card .btn { width:100%; }
.price-box { background:#fff; border:2px solid var(--putnik-yellow); border-radius:14px; padding:1rem 1.1rem; }
.price-title { font-weight:800; color:var(--putnik-blue-deep); margin-bottom:.35rem; }
.price-row { display:flex; justify-content:space-between; gap:1rem; font-size:.85rem; padding:.2rem 0; color:#2b3445; }
.price-total { display:flex; justify-content:space-between; align-items:baseline; border-top:1px solid var(--putnik-line); margin-top:.5rem; padding-top:.55rem; font-weight:800; color:var(--putnik-blue-deep); }
.price-total span:last-child { font-size:1.6rem; }
.price-note { font-size:.72rem; color:var(--putnik-muted); margin-top:.35rem; }
.car-preview .vehicle-card { transform:none !important; }
.car-preview .vehicle-card:hover { box-shadow:0 8px 25px rgba(3,40,93,.08); }
.car-preview .vehicle-card .p-4 { padding:1rem 1.25rem !important; }
.car-preview .vehicle-card .vehicle-price { margin-bottom:0 !important; }

.promo-banner {
  border-radius: 18px;
  overflow:hidden;
  background:
    radial-gradient(circle at 75% 10%, rgba(255,189,0,.18), transparent 24%),
    linear-gradient(135deg, var(--putnik-blue), var(--putnik-blue-deep));
  color:white;
  box-shadow:0 18px 36px rgba(3,40,93,.16);
}
.promo-title { font-family:"Oswald",sans-serif; font-size:2rem; line-height:1.05; text-transform:uppercase; }

.feature-card {
  background:white;
  border:1px solid var(--putnik-line);
  border-radius:16px;
  padding:1.35rem;
  height:100%;
  box-shadow:0 7px 22px rgba(3,40,93,.06);
}
.feature-icon {
  width:48px; height:48px; border-radius:14px;
  display:grid; place-items:center;
  background:#fff7dc;
  color:var(--putnik-blue);
  font-size:1.25rem;
  margin-bottom:1rem;
}
.feature-card h3 { font-family:"Inter", sans-serif; color:var(--putnik-blue-deep); font-weight:800; font-size:1rem; line-height:1.2; margin:0 0 .5rem; }
.step-title { font-family:"Inter", sans-serif; font-size:1.25rem; line-height:1.2; }
.feature-card p { color:var(--putnik-muted); font-size:.9rem; margin:0; }

.step-number {
  width: 42px; height: 42px; border-radius: 50%;
  display:grid; place-items:center;
  background:var(--putnik-yellow);
  color:var(--putnik-blue-deep);
  font-weight:900;
  flex:0 0 auto;
}

.review-card {
  border:1px solid var(--putnik-line);
  border-radius:18px;
  box-shadow:0 10px 30px rgba(3,40,93,.07);
}
.review-stars { color:var(--putnik-green); letter-spacing:.15em; }
.review-author { display:flex; align-items:center; gap:12px; margin-top:14px; }
.review-avatar {
  width:52px; height:52px; border-radius:50%; object-fit:cover; flex:0 0 52px;
  border:2px solid #fff; box-shadow:0 3px 12px rgba(3,40,93,.14);
}

.location-band {
  background: linear-gradient(120deg, #f4f7fc, #eef3fb);
  border-top:1px solid #e6ebf3;
  border-bottom:1px solid #e6ebf3;
}
.location-box {
  border-radius:18px;
  background:var(--putnik-blue-deep);
  color:white;
  min-height:250px;
  position:relative;
  overflow:hidden;
}
.location-box:before {
  content:"";
  position:absolute; inset:0;
  background:
    linear-gradient(35deg, transparent 45%, rgba(255,255,255,.06) 46% 49%, transparent 50%),
    linear-gradient(-25deg, transparent 46%, rgba(255,189,0,.08) 47% 50%, transparent 51%);
  background-size:90px 90px,120px 120px;
}
.location-pin {
  position:absolute; left:55%; top:46%; transform:translate(-50%,-50%);
  width:68px; height:68px; border-radius:50%;
  display:grid; place-items:center;
  background:var(--putnik-yellow);
  color:var(--putnik-blue-deep);
  font-size:1.8rem;
  box-shadow:0 0 0 14px rgba(255,189,0,.12);
}
.location-box.map-live:before { display:none; }
.location-box.map-live { min-height:300px; background:#e8edf4; }
.location-box.map-live iframe { position:absolute; inset:0; width:100%; height:100%; border:0; pointer-events:none; }
.map-click-overlay { position:absolute; inset:0; z-index:1; }
.map-address-card {
  position:absolute; left:18px; right:18px; bottom:18px; z-index:2;
  background:rgba(2,31,76,.92); color:white; border-radius:12px; padding:14px 16px;
  box-shadow:0 10px 26px rgba(0,0,0,.18); backdrop-filter:blur(4px); pointer-events:none;
}
.map-address-card .map-directions { color:var(--putnik-yellow); font-weight:800; font-size:.82rem; text-transform:uppercase; letter-spacing:.03em; }

.accordion-button:not(.collapsed) { color:var(--putnik-blue-deep); background:#fff9e7; box-shadow:none; }
.accordion-button:focus { box-shadow:none; border-color:transparent; }
.accordion-item { border:1px solid var(--putnik-line); border-radius:12px !important; overflow:hidden; }

.footer-main { background:var(--putnik-blue-deep); color:rgba(255,255,255,.82); }
.footer-main a { color:white; text-decoration:none; }
.footer-main a:hover { color:var(--putnik-yellow); }
.footer-title { color:white; font-weight:800; }
.social-bubble {
  width:42px; height:42px; border-radius:50%; display:grid; place-items:center;
  background:rgba(255,255,255,.08); color:white;
}

.footer-banner {
  background: var(--putnik-blue-dark);
  border-top:1px solid rgba(255,255,255,.08);
}

.form-control-custom, .form-select {
  border:1px solid #dfe4ec;
  border-radius:10px;
  min-height:48px;
}
.form-control-custom:focus, .form-select:focus {
  border-color:#9db5d7;
  box-shadow:0 0 0 .2rem rgba(4,55,123,.08);
}

.vehicle-slider-mobile { display:none; position:relative; }

@media (max-width: 767.98px) {
  .vehicle-grid-desktop { display:none !important; }
  .vehicle-slider-mobile { display:block; }
  .vehicle-slider-mobile .owl-stage { display:flex; }
  .vehicle-slider-mobile .owl-item { display:flex; }
  .vehicle-slider-mobile .owl-item > * { width:100%; }
  .vehicle-slider-mobile .vehicle-card { width:100%; height:100%; margin:0; }
  .vehicle-slider-mobile .owl-dots { margin-top:14px !important; }
  .vehicle-slider-mobile .owl-dot span {
    width:8px !important; height:8px !important; margin:4px 5px !important;
    background:#cfd6e2 !important; transition:all .2s ease;
  }
  .vehicle-slider-mobile .owl-dot.active span {
    width:20px !important; border-radius:10px !important; background:var(--putnik-yellow) !important;
  }

  /* Uvek vidljive custom strelice kao na Vila Nadi */
  .vehicle-slider-wrap {
    position:relative;
  }
  .vehicle-slider-arrow {
    position:absolute;
    top:105px;
    transform:translateY(-50%);
    z-index:50;
    width:56px;
    height:56px;
    border:0;
    border-radius:50%;
    background:rgba(255,255,255,.96);
    color:var(--putnik-blue-dark);
    box-shadow:0 5px 18px rgba(2,31,76,.20);
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:27px;
    line-height:1;
    padding:0;
    cursor:pointer;
  }
  .vehicle-slider-arrow.prev { left:-8px; }
  .vehicle-slider-arrow.next { right:-8px; }
  .vehicle-slider-arrow:active { transform:translateY(-50%) scale(.96); }
  .vehicle-slider-mobile .owl-nav { display:none !important; }
}

.mobile-sticky { display:none; }

@media (max-width: 991.98px) {
  .navbar { min-height:72px; }
  .brand-name { font-size:1.2rem; }
  .brand-sub { font-size:.82rem; }
  .hero-section {
    min-height: 565px;
    align-items:flex-start !important;
    padding-top:74px;
    background-position: 67% 50%;
    background-image:
      linear-gradient(90deg, rgba(2,31,76,.94) 0%, rgba(2,31,76,.76) 54%, rgba(2,31,76,.25) 100%),
      url('/images/hero-1200.webp');
  }
  .main-header { font-size:3.15rem; max-width:520px; }
  .trust-wrap { margin-top:-42px; }
  .mobile-sticky {
    display:flex;
    position:fixed;
    z-index:1045;
    left:0; right:0; bottom:0;
    background:white;
    padding:10px 12px calc(10px + env(safe-area-inset-bottom));
    box-shadow:0 -10px 30px rgba(2,31,76,.16);
    gap:10px;
  }
  .mobile-sticky .btn { flex:1; }
  body { padding-bottom:76px; }
}

@media (max-width: 575.98px) {
  .navbar { padding-top:.65rem !important; padding-bottom:.65rem !important; }
  .brand-mark { width:36px; height:36px; font-size:.95rem; }
  .brand-name { font-size:1.08rem; }
  .brand-sub { font-size:.74rem; }
  .brand-logo-img { height:42px; max-width:58vw; }
  .hero-section {
    min-height: 560px;
    padding-top: 56px;
    background-position: 64% center;
  }
  .hero-kicker { font-size:.7rem; }
  .main-header { font-size:2.7rem; max-width:330px; }
  .main-subheader { font-size:.92rem; line-height:1.5; max-width:315px; }
  .hero-actions { max-width:260px; }
  .hero-actions .btn { min-width:0; width:100%; }
  .trust-badge-box { padding:1rem .5rem !important; }
  .trust-item { min-height:74px; padding:.9rem .25rem; }
  .trust-item i { font-size:1.25rem !important; }
  .trust-item strong { font-size:.76rem; }
  .trust-item span { font-size:.68rem; }
  .section-title { font-size:2rem; }
  .vehicle-photo { height:175px; }
  .promo-title { font-size:1.6rem; }
}

/* Stranica: uslovi najma */
.page-hero { background: linear-gradient(90deg, var(--putnik-blue-deep) 0%, var(--putnik-blue-dark) 100%); color:#fff; padding: 64px 0 56px; }
.page-hero h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); text-transform: uppercase; letter-spacing:-.01em; margin:0; }
.page-hero .breadcrumb-link { color: rgba(255,255,255,.75); text-decoration:none; font-weight:600; font-size:.85rem; }
.page-hero .breadcrumb-link:hover { color: var(--putnik-yellow); }
.terms-card { background:#fff; border:1px solid var(--putnik-line); border-radius:16px; box-shadow:0 8px 25px rgba(3,40,93,.06); }
.terms-content { color:#2b3445; line-height:1.75; }
.terms-content p { margin-bottom:1rem; }
.terms-content b { color: var(--putnik-blue-deep); }
.terms-inset { margin-left:1rem; padding-left:1rem; border-left:3px solid var(--putnik-yellow); }
.terms-list { margin:-.25rem 0 1.1rem 1rem; padding-left:1.25rem; }
.terms-list li { margin-bottom:.3rem; }
.terms-list li::marker { color: var(--putnik-yellow-dark); }
@media (max-width: 575.98px) {
  .page-hero { padding: 44px 0 38px; }
  .terms-inset { margin-left:0; }
  .terms-list { margin-left:0; }
}
