/* Osnovni font */
body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* (Ako negde koristiš staro S u krugu) */
.navbar-brand .logo-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 999px;
  background: #0d6efd;
  color: #fff;
  font-weight: 700;
  margin-right: 4px;
  font-size: 0.9rem;
}

/* HERO background */
.hero-section {
  background: linear-gradient(135deg, #f5f9ff, #ffffff);
}

/* Kartica destinacije (link) */
.dest-card {
  display: block;
  border-radius: 0.75rem;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 0.125rem 0.8rem rgba(15, 23, 42, 0.08);
  text-decoration: none;
  color: inherit;
  transition: 0.15s ease;
}

.dest-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 0.3rem 1rem rgba(15, 23, 42, 0.12);
}

/* Thumb blok sa pozadinskom slikom destinacije */
.dest-thumb {
  width: 100%;
  height: 180px; /* menjaj po želji */
  border-radius: 0.75rem 0.75rem 0 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* Tekstualni deo kartice destinacije */
.dest-body {
  padding: 0.6rem 0.75rem 0.7rem;
}

/* Ako nema background-image (fallback siva pozadina) */
.dest-thumb:not([style*="url"]) {
  background: #e5e7eb;
}

/* Male slike na karticama (npr. premium smeštaj) */
.card-img-top-sm {
  border-radius: 0.7rem 0.7rem 0 0;
}

/* Icon kartice (ako ti zatrebaju negde) */
.icon-card {
  border-radius: 0.75rem;
  border: 1px solid #e5e7eb;
  padding: 0.8rem 0.9rem;
  background: #f9fafb;
}

/* Utility klasa za veći vertical padding */
.py-6 {
  padding-top: 4.5rem;
  padding-bottom: 4.5rem;
}

/* --- DESTINACIJE – POZADINSKE SLIKE --- */
/* Putanje su apsolutne od root-a: /assets/img/destinacije/... */

/* Beograd */
.dest-bg-beograd {
  background-image: url("../assets/img/destinacije/beograd.jpg");
}

/* Novi Sad */
.dest-bg-novi-sad {
  background-image: url("/assets/img/destinacije/novi-sad.jpg");
}

/* Niš */
.dest-bg-nis {
  background-image: url("/assets/img/destinacije/nis.jpg");
}

/* Zlatibor */
.dest-bg-zlatibor {
  background-image: url("/assets/img/destinacije/zlatibor.jpg");
}

/* Kopaonik */
.dest-bg-kopaonik {
  background-image: url("/assets/img/destinacije/kopaonik.jpg");
}

/* Tara */
.dest-bg-tara {
  background-image: url("/assets/img/destinacije/tara.jpg");
}

/* Divčibare */
.dest-bg-divcibare {
  background-image: url("/assets/img/destinacije/divcibare.jpg");
}

/* Vrnjačka Banja */
/* U HTML-u koristiš class="dest-bg-vrnjacka" */
.dest-bg-vrnjacka {
  background-image: url("/assets/img/destinacije/vrnjacka-banja.jpg");
}

/* Sokobanja */
.dest-bg-sokobanja {
  background-image: url("/assets/img/destinacije/sokobanja.jpg");
}

/* Subotica */
.dest-bg-subotica {
  background-image: url("/assets/img/destinacije/subotica.jpg");
}

/* Palić */
.dest-bg-palic {
  background-image: url("/assets/img/destinacije/palic.jpg");
}

/* Srebrno jezero */
.dest-bg-srebrno-jezero {
  background-image: url("/assets/img/destinacije/srebrno-jezero.jpg");
}
/* PROPERTY GALERIJA */

.property-main .swiper-slide .ratio {
  width: 100%;
  height: 0;
  padding-bottom: 56.25%; /* 16:9 */
  overflow: hidden;
  border-radius: 0.75rem;
}

.property-main .swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.property-thumbs {
  margin-top: 0.5rem;
}

.property-thumbs .swiper-slide {
  height: 70px;
  cursor: pointer;
}

.property-thumbs .swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0.4rem;
}

.property-thumbs .swiper-slide-thumb-active img {
  outline: 2px solid #0d6efd;
}
/* GLOBALNO malo zategni kalendar */
.litepicker {
  font-family: inherit;
}

/* Podesi Litepicker za mobilne ekrane */
@media (max-width: 768px) {

  /* da ne beži sa ekrana */
  .litepicker {
    width: 100% !important;
    max-width: 320px;
    font-size: 12px;
  }

  /* sakrij drugi mesec – da izgleda kao 1 mesec na mobilnom */
  .litepicker .container__months .month-item:nth-child(2) {
    display: none !important;
  }

  /* zaglavlje meseca (naziv meseca/godine) */
  .litepicker .month-item-header div {
    font-size: 13px;
    font-weight: 600;
  }

  /* nazivi dana u nedelji */
  .litepicker .weekdays-row .weekday {
    font-size: 11px;
    opacity: 0.85;
  }

  /* pojedinačni dani */
  .litepicker .day-item {
    width: 26px;
    height: 26px;
    line-height: 26px;
    font-size: 12px;
    border-radius: 6px;
  }

  .litepicker .day-item.is-start-date,
  .litepicker .day-item.is-end-date,
  .litepicker .day-item.is-in-range {
    background: #6ec177 !important;
    color: #fff !important;
    border-radius: 8px;
  }
}
/* Mobilno: da hero bude niži i tekst manji */
@media (max-width: 767.98px) {
  .hero-section {
    padding-top: 1.75rem;   /* umesto py-5 ~ 3rem */
    padding-bottom: 2rem;
  }

  .hero-section h1 {
    font-size: 1.8rem;      /* manji naslov na mobilnom */
    line-height: 1.25;
    margin-bottom: 0.75rem;
  }

  .hero-section .lead {
    font-size: 0.95rem;     /* manji lead tekst */
    margin-bottom: 1.25rem; /* manje praznog prostora ispod teksta */
  }
}
#destinationDropdownBtn {
  border-radius: 0.5rem;
  background-color: #fff;
}

#destinationDropdownBtn:focus {
  box-shadow: 0 0 0 0.15rem rgba(13, 110, 253, .25);
}
@media (max-width: 768px) {
  #destinationSearch {
    font-size: 16px !important;
  }
}
/* ==== DESTINACIJE OVERLAY – FINALNO PODEŠAVANJE ==== */

/* visina sticky menija (podesi po želji) */
:root {
  --nav-height: 130px; /* probaj 110–140 dok ne legne kako hoćeš */
}

/* osnovno ponašanje overlaya */
.dest-overlay {
  position: fixed;
  inset: 0;
  z-index: 1080;
  display: flex;
  align-items: flex-start;   /* panel kreće odozgo, ne iz centra */
  justify-content: center;
}

/* panel */
.dest-overlay-panel {
  position: relative;
  background: #ffffff;
  width: 100%;
  max-width: 600px;

  /* ⬇⬇⬇ OVDE GA "SPUŠTAMO" ispod menija ⬇⬇⬇ */
  margin: calc(var(--nav-height) + 30px) auto 16px !important;

  /* da ne ide u dno ekrana */
  max-height: calc(100% - var(--nav-height) - 50px) !important;
  height: auto;

  display: flex;
  flex-direction: column;
  padding: 12px 12px 16px;
  box-shadow: 0 0 30px rgba(0,0,0,0.2);
  border-radius: 12px;
  animation: destOverlaySlideUp 0.18s ease-out;
}

/* mobilni */
@media (max-width: 768px) {
  .dest-overlay-panel {
    max-width: 100%;
    border-radius: 12px;

    /* malo manje spušten na mobilnom */
    margin: calc(var(--nav-height) - 60px) 8px 8px !important;
    max-height: calc(100% - var(--nav-height) - 30px) !important;
  }
}
