/* ========== GLOBAL / RESET ========== */

/* Reset / vars */
:root {
  --header-h: 80px; /* fallback ako JS ne stigne postaviti */
}

html:not(.js-ready) main {
  padding-top: 64px;
}

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

html,
body {
  height: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

/* Nikakav padding na bodyu! */
body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: Arial, Helvetica, sans-serif;
  color: #333;
  background: #fff;
  scroll-padding-top: 100px; /* za #anchor skokove */
}

/* Sticky header je u toku layouta => main ne treba dodatni offset */
main {
  flex: 1;
  width: 100%;
  position: relative; /* sprječava margin-collapsing */
  padding-top: var(--header-h, 64px);
}

/* === ACCESSIBILITY HELPERS === */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* ========== LAYOUT HELPERS ========== */

.container-wide {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}

/* ========== BUTTONS ========== */

.phone-btn {
  background: #0056b3;      
  color: #ffffff !important;
  padding: 10px 16px;
  border-radius: 6px;
  text-decoration: none;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: background 0.25s ease, transform 0.2s ease;
  border: 0;
  cursor: pointer;
}

.phone-btn:hover {
  background: #00408a;      
  transform: translateY(-1px);
}
/* ========== SECTION HEADINGS ========== */

.section-head.center {
  text-align: center;
}

.section-title {
  position: relative;
  display: inline-block;
  margin: 0 auto 10px;
  font-size: 2rem;
  line-height: 1.2;
  color: #1f2d3a;
  font-weight: 700;
}

.section-title::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -8px;
  height: 3px;
  width: 64px;
  background: #3a66db;
  border-radius: 3px;
  transform: translateX(-50%) scaleX(0);
  transform-origin: center;
  transition: transform 0.45s ease;
}

.section-title.animate::after {
  transform: translateX(-50%) scaleX(1);
}

.section-subtext {
  text-align: center;
  color: #6b7680;
  margin: 6px auto 18px;
  max-width: 920px;
  line-height: 1.6;
}

/* ========== FADE-UP ========== */

.fade-up {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.fade-up.is-visible {
  opacity: 1;
  transform: none;
}

/* ========== HERO (generic) ========== */

.hero {
  padding-top: 8px; /* malo zraka iznad hero sadržaja */
}

@media (max-width: 768px) {
  .hero {
    padding-top: 12px;
    padding-bottom: 16px;
  }

  .hero .phone-btn {
    font-size: 14px;
    padding: 8px 12px;
    flex: 1;
    min-width: 0;
    justify-content: center;
  }
}

/* ========== GALLERY PRO ========== */

.gallery-pro {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 16px;
  align-items: start;
}

@media (max-width: 900px) {
  .gallery-pro {
    grid-template-columns: 1fr;
  }
}

.gallery-main {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
}

.gallery-main img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  display: block;
	min-height: 300px;  /*provjeriti*/
  background: linear-gradient(45deg, #f5f7fa 25%, #e4e8f0 25%, #e4e8f0 50%, #f5f7fa 50%, #f5f7fa 75%, #e4e8f0 75%);
  background-size: 40px 40px;
}


@media (max-width: 900px) {
  .gallery-main img {
    height: 360px;
	  min-height: 250px; /*provjeriti*/
    background: linear-gradient(45deg, #f5f7fa 25%, #e4e8f0 25%, #e4e8f0 50%, #f5f7fa 50%, #f5f7fa 75%, #e4e8f0 75%);
    background-size: 40px 40px
  }
}

.g-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 0;
  background: rgba(0, 0, 0, 0.35);
  color: #fff;
  font-size: 26px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.g-prev {
  left: 10px;
}

.g-next {
  right: 10px;
}

.g-nav:hover {
  background: rgba(0, 0, 0, 0.5);
  transform: translateY(-50%) scale(1.04);
}

.gallery-thumbs {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-height: 520px;
  overflow: auto;
  padding-right: 2px;
}

@media (max-width: 900px) {
  .gallery-thumbs {
    flex-direction: row;
    max-height: none;
    overflow: auto;
  }
}

.gallery-thumbs .thumb {
  border: 2px solid transparent;
  border-radius: 10px;
  padding: 0;
  background: transparent;
  cursor: pointer;
}

.gallery-thumbs .thumb.is-active {
  border-color: #3a66db;
}

.gallery-thumbs img {
  display: block;
  width: 100%;
  height: 90px;
  object-fit: cover;
  border-radius: 8px;
}

@media (max-width: 900px) {
  .gallery-thumbs img {
    height: 70px;
    width: 110px;
  }
}

/* ========== LIGHTBOX ========== */

.lightbox {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.88);
  z-index: 2000;
  padding: 24px;
}

.lightbox.open {
  display: flex;
}

.lightbox-img {
  max-width: 92vw;
  max-height: 90vh;
  border-radius: 10px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.35);
  user-select: none;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  border: 0;
  cursor: pointer;
  font-size: 34px;
  line-height: 1;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(4px);
  transition: background 0.2s ease, transform 0.2s ease;
}

.lightbox-prev {
  left: 22px;
}

.lightbox-next {
  right: 22px;
}

.lightbox-close {
  top: 18px;
  right: 18px;
  transform: none;
  width: 42px;
  height: 42px;
  font-size: 28px;
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
  background: rgba(255, 255, 255, 0.22);
}

.body--no-scroll {
  overflow: hidden;
}

@media (max-width: 640px) {
  .lightbox-prev,
  .lightbox-next {
    top: auto;
    bottom: 18px;
    transform: none;
  }

  .lightbox-prev {
    left: 18px;
  }

  .lightbox-next {
    right: 18px;
  }
}

/* ========== APARTMENT DETAILS (polished) ========== */

.details-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}

.detail-card {
  background: #fff;
  border: 1px solid #e9ecef;
  border-radius: 12px;
  padding: 18px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.detail-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  border-color: #dbe3ea;
}

.detail-card i {
  font-size: 22px;
  color: #3498db;
  margin-bottom: 10px;
}

.detail-card h3 {
  margin: 4px 0 8px;
  font-size: 1.05rem;
  color: #2c3e50;
}

.detail-card p,
.detail-card ul {
  margin: 0;
  color: #495057;
  line-height: 1.65;
  font-size: 0.95rem;
}

.detail-card .muted {
  color: #6b7680;
  margin: 2px 0 10px;
  font-size: 0.95rem;
}

.detail-card .sub {
  margin: 10px 0 6px;
  font-size: 0.95rem;
  color: #2c3e50;
  opacity: 0.9;
}

/* Ikonična lista */

.feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.55;
  color: #495057;
  font-size: 0.95rem;
}

.feature-list li i {
  min-width: 18px;
  margin-top: 2px;
  color: #3498db;
  opacity: 0.95;
}

/* Dvije kolone kad ima puno stavki */

.feature-list.two-col {
  grid-template-columns: 1fr 1fr;
  column-gap: 18px;
  row-gap: 8px;
}

@media (max-width: 720px) {
  .feature-list.two-col {
    grid-template-columns: 1fr;
  }
}

/* Inline “pill” stil */

.feature-list.inline {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.feature-list.inline li {
  display: inline-flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.95rem;
  line-height: 1.55;
  color: #495057;
  background: #f7f9fc;
  border: 1px solid #ecf1f6;
  border-radius: 999px;
  padding: 6px 10px;
}

.feature-list.inline li i {
  min-width: 18px;
  margin-top: 2px;
  color: #3498db;
  opacity: 0.95;
}

/* ========== PRICE LIST (simple table) ========== */

#price-list {
  margin-top: 40px;
}

/* Omotač tablice */

.price-table-wrapper {
  margin: 20px auto 0;
  max-width: 1150px;      
  background: #fff;
  border-radius: 16px;
  border: 1px solid #e4e9f0;
  box-shadow: 0 8px 30px rgba(15, 23, 42, 0.06);
  overflow: hidden;
}

/* Osnovni stil tablice */

.price-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.price-table thead {
  background: linear-gradient(90deg, #eef2ff 0%, #e6f0ff 100%);
  color: #1f2933;
}

.price-table th,
.price-table td {
  padding: 8px 6px;
  text-align: left;
  border-bottom: 1px solid #edf1f6;
  vertical-align: middle;
}

/* header – manji font da sve stane */

.price-table th {
  font-size: 0.8rem;
  font-weight: 600;
  line-height: 1.2;
}

/* širine kolona – 5 stupaca:
   1: Season, 2: Period, 3: Price/night, 4: Price/week, 5: Min stay */

.price-table th:nth-child(1),
.price-table td:nth-child(1) {
  width: 10%;
  text-align: center;
}

.price-table th:nth-child(2),
.price-table td:nth-child(2) {
  width: 36%;
  word-wrap: break-word;
  white-space: normal;
}

.price-table th:nth-child(3),
.price-table td:nth-child(3) {
  width: 18%;
  text-align: center;
  white-space: nowrap;
}

.price-table th:nth-child(4),
.price-table td:nth-child(4) {
  width: 18%;
  text-align: center;
  white-space: nowrap;
}

.price-table th:nth-child(5),
.price-table td:nth-child(5) {
  width: 18%;
  text-align: right;
  white-space: nowrap;
}

/* zebra efekt */

.price-table tbody tr:nth-child(even) {
  background: #f8fafc;
}

.price-table tbody tr:hover {
  background: #eef5ff;
}

/* Season “mjehurić” */

.price-table .season-label {
  min-width: 32px;
  height: 32px;
  border-radius: 999px;
  background: #eef2ff;
  border: 1px solid #d4ddff;
  font-weight: 700;
  color: #1f2933;
}

.price-table tbody tr:hover {
  background: #eef5ff;
}

/* za prvi i zadnji red – zaobljeni rubovi */
.price-table tbody tr:first-child td:first-child {
  border-top-left-radius: 12px;
}
.price-table tbody tr:first-child td:last-child {
  border-top-right-radius: 12px;
}
.price-table tbody tr:last-child td:first-child {
  border-bottom-left-radius: 12px;
}
.price-table tbody tr:last-child td:last-child {
  border-bottom-right-radius: 12px;
}


/* Manji font i padding na vrlo malim ekranima */

@media (max-width: 560px) {
  .price-table {
    font-size: 0.8rem;
  }

  .price-table th,
  .price-table td {
    padding: 6px 4px;
  }
}

/* Mobitel: sakrij stupac "Price per week" */

@media (max-width: 768px) {
  .price-table th:nth-child(4),
  .price-table td:nth-child(4) {
    display: none;
  }
}

/* ========== PRICE NOTES / RULES ========== */

.price-notes {
  text-align: center;
  color: #404d5c;
  max-width: 1100px;
  margin: 18px auto 0;
  line-height: 1.65;
  font-size: 0.95rem;
}

.price-notes.polished {
  text-align: left;
  background: #f8fafc;
  border: 1px solid #e6ebf2;
  border-radius: 12px;
  padding: 18px 20px;
  max-width: 1100px;
  margin: 20px auto 0;
}

.price-notes.polished h3 {
  margin: 0 0 10px;
  font-size: 1.15rem;
  color: #233246;
}

.price-notes.polished .rules {
  list-style: none;
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
}

.price-notes.polished .rules li {
  position: relative;
  background: #fff;
  border: 1px solid #edf1f6;
  border-radius: 10px;
  padding: 12px 14px 12px 52px;
  line-height: 1.6;
  color: #404d5c;
}

.price-notes.polished .rules li strong {
  color: #1f2d3a;
}

.price-notes.polished .disclaimer {
  margin-top: 12px;
  text-align: center;
  color: #6b7680;
}

.price-notes.polished .rule-icon {
  position: absolute;
  left: 12px;
  top: 12px;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  box-shadow: inset 0 0 0 1px transparent;
  transition: filter 0.2s ease, transform 0.15s ease;
}

.price-notes.polished .rule-icon.icon-amber {
  background: #fff4e5;
  color: #b15c00;
  box-shadow: inset 0 0 0 1px #ffe0b3;
}

.price-notes.polished .rule-icon.icon-green {
  background: #eaf9f0;
  color: #1e7e34;
  box-shadow: inset 0 0 0 1px #c9f0d9;
}

.price-notes.polished .rule-icon.icon-violet {
  background: #f1ecff;
  color: #5b3fd3;
  box-shadow: inset 0 0 0 1px #ddd2ff;
}

.price-notes.polished .rule-icon.icon-rose {
  background: #ffeaf0;
  color: #b1124c;
  box-shadow: inset 0 0 0 1px #ffd0de;
}

.price-notes.polished .rule-icon.icon-blue {
  background: #e9f2ff;
  color: #2f6cdf;
  box-shadow: inset 0 0 0 1px #d7e6ff;
}

@media (hover: hover) {
  .price-notes.polished .rules li:hover .rule-icon {
    filter: brightness(0.97);
    transform: translateY(-1px);
  }
}

/* ========== CALENDAR SECTION SPACING ========== */

.calendar-section {
  margin-top: 40px;
}

/* ========== NATIVE DETAILS/SUMMARY ========== */

details.exp {
  margin-top: 8px;
}

summary.toggle-native {
  list-style: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
  color: #2f6cdf;
  background: #eef5ff;
  border: 1px solid #d8e6ff;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
  margin: 8px 0;
}

summary.toggle-native::marker {
  content: "";
}

summary.toggle-native:hover {
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(47, 108, 223, 0.2);
}

details.exp[open] > summary.toggle-native {
  background: #e2eeff;
}

details.exp[open] > summary.toggle-native::after {
  content: " (less)";
}

/* ========== HINT TOOLTIP ========== */

.hint {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: help;
}

.hint:focus {
  outline: 2px solid rgba(47, 108, 223, 0.35);
  border-radius: 4px;
}

.hint[data-tip]::after,
.hint[data-tip]::before {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.hint[data-tip]::after {
  content: attr(data-tip);
  bottom: calc(100% + 10px);
  background: #1f2937;
  color: #fff;
  font-size: 0.8rem;
  line-height: 1.2;
  padding: 8px 10px;
  border-radius: 6px;
  white-space: nowrap;
  z-index: 100;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
}

.hint[data-tip]::before {
  content: "";
  bottom: calc(100% + 4px);
  border: 6px solid transparent;
  border-top-color: #1f2937;
}

.hint:hover[data-tip]::after,
.hint:hover[data-tip]::before,
.hint:focus[data-tip]::after,
.hint:focus[data-tip]::before {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* ========== MISC ========== */

/* Ne dopuštamo “zaljepljivanje” margine prve sekcije uz header */
main > section:first-child {
  margin-top: 0;
}

@media (max-width: 768px) {
  main {
    padding-top: var(--header-h) !important;
  }
}

/* ========== FACILITIES SECTION ========== */

.facility-card {
  margin-bottom: 48px;
  padding: 20px;
  background: #fff;
  border: 1px solid #e9ecef;
  border-radius: 14px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.facility-card:hover {
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}

.facility-card h3 {
  font-size: 1.5rem;
  color: #2c3e50;
  margin-bottom: 10px;
}

.facility-card p {
  font-size: 1rem;
  line-height: 1.65;
  color: #495057;
}

/* Listovi unutar kartica (privacy, cookies, sl.) */
.facility-card ul {
  color: #555;
  max-width: 900px;
  line-height: 1.7;
  padding-left: 1.2rem;
  margin-top: 8px;
}


/* Optional mini gallery style override */

.gallery-pro.small-gallery {
  margin-top: 16px;
  grid-template-columns: 1fr 200px;
}

@media (max-width: 900px) {
  .gallery-pro.small-gallery {
    grid-template-columns: 1fr;
  }
}

.gallery-pro.small-gallery .gallery-main img {
  height: 380px;
}

@media (max-width: 900px) {
  .gallery-pro.small-gallery .gallery-main img {
    height: 300px;
  }
}

.gallery-pro.small-gallery .gallery-thumbs img {
  height: 70px;
}

/* ========== APARTMENT GRID (HOME) ========== */

.apartment-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 24px;
}

.apartment-img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 12px;
}

/* ========== CONTACT INFO (icons, social) ========== */

@media (max-width: 768px) {
  .contact-info-grid {
    grid-template-columns: 1fr;
  }
}

.contact-info-polished .social-links {
  margin-top: 12px;
  display: flex;
  gap: 16px;
}

.contact-info-polished .social-links a {
  font-size: 1.5rem;
  color: #3498db;
  transition: color 0.25s ease, transform 0.25s ease;
}

.contact-info-polished .social-links a:hover {
  color: #2c3e50;
  transform: scale(1.1);
}

a.plain-link {
  color: inherit;
  text-decoration: none;
  font-weight: 500;
}

a.plain-link:hover {
  text-decoration: underline;
}

/* === HOMEPAGE HERO CAROUSEL === */
.hero-carousel {
  position: relative;
  height: 100vh;
  max-height: 720px;
  overflow: hidden;
}

/* Swiper samo unutar hero sekcije */
.hero-carousel .swiper-container {
  width: 100%;
  height: 100%;
}

.hero-carousel .swiper-slide {
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-carousel .overlay {
  text-align: center;
  color: #fff;
  background: rgba(0, 0, 0, 0.45);
  padding: 20px;
  border-radius: 12px;
}

.hero-carousel .overlay h1 {
  font-size: 2.5rem;
  margin-bottom: 10px;
}

.hero-carousel .overlay p {
  font-size: 1.2rem;
}

@media (max-width: 768px) {
  .hero-carousel {
    height: 70vh;
    min-height: 420px;
  }

  .hero-carousel .overlay h1 {
    font-size: 2rem;
  }

  .hero-carousel .overlay p {
    font-size: 1rem;
  }
}

/* CTA gumbi u hero overlayu */
.hero-carousel .overlay .hero-cta {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.phone-btn.secondary-cta {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.7);
  color: #fff !important;
}

.phone-btn.secondary-cta:hover {
  background: rgba(255, 255, 255, 0.15);
}

/* === REVIEW CARD (HOME) === */
.review-card {
  background: #fff;
  border: 1px solid #e9ecef;
  padding: 24px;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
  max-width: 480px;
  margin: 0 auto;
  text-align: center;
}

.review-card blockquote {
  font-size: 1.05rem;
  color: #2c3e50;
  margin: 12px 0;
}

.review-card cite {
  font-size: 0.95rem;
  color: #6c757d;
}

/* === REVIEW HEADER IZNAD SLIDERA === */
.review-header {
  margin-bottom: 14px;
}

.review-header h3 {
  font-size: 1.05rem;
  margin: 0 0 4px;
  color: #2c3e50;
}

.review-header p {
  margin: 0;
  font-size: 0.9rem;
  color: #6c757d;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.review-header .stars {
  color: #f4b400; /* zlatne "Booking-style" zvjezdice */
  letter-spacing: 1px;
  font-size: 0.95rem;
}

.review-header .rating-text {
  font-size: 0.9rem;
}

/* === REVIEW / AWARD SECTION (HOME) === */
.review-section {
  margin-top: 60px;
}

/* 3 kolone na desktopu */
.review-section .review-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.4fr) minmax(0, 1.3fr);
  gap: 24px;
  align-items: flex-start;
}

.review-section .review-col {
  display: flex;
  flex-direction: column;  /* header gore, slider ispod */
}

/* Kolona 1 – award */
.award-card {
  width: 100%;
  background: #fff;
  border-radius: 12px;
  border: 1px solid #e9ecef;
  padding: 16px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.06);
  display: flex;
  align-items: center;
  justify-content: center;
}

.award-card img {
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

/* Kolona 2 – review slider */
.review-section .slider-col {
  overflow-x: hidden;   /* NE dopušta da slider “gura” grid udesno */
  overflow-y: visible;  /* točkice ispod kartice i dalje se vide */
}

.review-section .review-swiper {
  width: 100%;
  padding-bottom: 28px;    /* prostor za točkice */
   overflow: hidden;
}

.review-section .review-swiper .swiper-wrapper {
  display: flex;
}

.review-section .review-swiper .swiper-slide {
  width: 100% !important;
  flex: 0 0 100%;
  box-sizing: border-box;
  display: flex;
}

.review-section .review-swiper .review-card {
  width: 100%;
  max-width: none;
  margin: 0;
}

/* Swiper pagination točkice */
.review-section .review-pagination {
  position: static !important;
  margin-top: 10px;
  text-align: center;
}

.review-section .review-pagination .swiper-pagination-bullet {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #cfd4da;
  opacity: 1;
}

.review-section .review-pagination .swiper-pagination-bullet-active {
  background: #3498db;
}

/* Kolona 3 – Why guests love box */
.review-love {
  background: #fff;
  border: 1px solid #e9ecef;
  border-radius: 12px;
  padding: 18px 20px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.04);
  width: 100%;
}

.review-love h3 {
  font-size: 1.1rem;
  margin-bottom: 10px;
  color: #2c3e50;
}

.review-love .why-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.review-love .why-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: .95rem;
  color: #495057;
}

.review-love .why-list i {
  color: #3498db;
  margin-top: 3px;
}

/* Mobile: sve ispod sebe, bez horizontalnog skrola */
@media (max-width: 900px) {
  .review-section .review-grid {
    grid-template-columns: 1fr;  /* sve u jedan stupac */
  }

  .review-section .review-col,
  .review-section .award-card,
  .review-section .review-swiper,
  .review-section .review-card,
  .review-section .review-love {
    width: 100%;
    max-width: 100%;             /* ništa šire od viewporta */
  }

  .award-card {
    margin: 0 0 16px;            /* više ne centriramo fiksnu širinu, već 100% */
  }
}


/* ========== LOCATION MAP ========== */

#map {
  border: 1px solid #ddd;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
  border-radius: 12px;
}


/* ========== HOMEPAGE CTA BUTTON ========== */

.home-cta {
  text-align: center;
  margin-top: 70px;
}

.home-cta .phone-btn {
  margin-top: 0;
}

/* ===== HERO HOTFIX – overlay opet u sredini ===== */

.hero-carousel .hero-swiper,
.hero-carousel .hero-swiper .swiper-wrapper,
.hero-carousel .hero-swiper .swiper-slide {
  height: 100%;
}

.hero-carousel .hero-swiper .swiper-slide {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* malo sigurnije pozicioniranje overlaya */
.hero-carousel .swiper-slide .overlay {
  max-width: 90%;
  margin: 0 auto;
}

/* ========== DESTINATION PAGE ========== */

.destination-hero {
  text-align: center;
  padding-bottom: 24px;
}

/* brzi anchor linkovi */
.dest-quick-links {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.dest-quick-links a {
  font-size: 0.9rem;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid #d0d7e2;
  color: #2f3b4b;
  text-decoration: none;
  background: #f7f9fc;
  transition: background 0.2s ease, transform 0.15s ease, box-shadow 0.15s ease;
}

.dest-quick-links a:hover {
  background: #ecf2ff;
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(58, 102, 219, 0.18);
}

/* highlight kartice ispod hero teksta */
.destination-highlights {
  margin-top: 26px;
}

.destination-highlights-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.destination-highlight-card {
  background: #fff;
  border-radius: 12px;
  border: 1px solid #e4e9f0;
  padding: 14px 16px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.03);
}

.destination-highlight-card h3 {
  font-size: 1rem;
  margin: 0 0 6px;
  color: #233246;
  display: flex;
  align-items: center;
  gap: 6px;
}

.destination-highlight-card p {
  font-size: 0.9rem;
  color: #6b7680;
  margin: 0;
}

.destination-highlight-card i {
  color: #3498db;
}

/* glavne sekcije dolje */
.destination-section {
  margin-top: 60px;
}

.destination-section .section-title {
  font-size: 1.6rem;
  margin-bottom: 6px;
}

/* tekst blok unutar destinacije */
.destination-text p {
  color: #666;
  max-width: 800px;
  margin-bottom: 10px;
}

/* malo elegantniji layout na većim ekranima */
@media (min-width: 801px) {
  .destination-section .details-grid {
    align-items: center;
  }

  .destination-section.alt .details-grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.1fr);
  }
}

/* ==== DESTINATION – veći razmak između naslova i teksta ==== */

/* Hero naslov + podnaslov */
.destination-hero .section-title {
  margin-bottom: 16px;       /* prije je bilo manje */
}

.destination-hero .section-subtext {
  margin: 10px auto 26px;    /* malo više zraka ispod */
}

/* H2 naslovi u sekcijama (Fažana, Brijuni, Pula, Istria) */
.destination-section .section-title {
  font-size: 1.6rem;
  margin: 0 0 18px;          /* prije ~6px, sada puno ugodnije */
}

/* prvi paragraf ispod naslova – mali buffer da ne „ljepi“ */
.destination-text p:first-of-type {
  margin-top: 2px;
}

/* na mobitelu – malo više zraka između sekcija */
@media (max-width: 768px) {
  .destination-section {
    margin-top: 48px;
  }
}

/* === COOKIE BANNER === */

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: rgba(15, 23, 42, 0.97); /* tamni navy */
  color: #f9fafb;
  padding: 10px 16px;
  display: none; /* JS će je pokazati ako nema kolačića */
  font-size: 0.9rem;
}

.cookie-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 4px 0;
  display: flex;
  align-items: center;
  gap: 16px;
  justify-content: space-between;
}

.cookie-text {
  margin: 0;
  line-height: 1.5;
}

.cookie-text a {
  color: #93c5fd;
  text-decoration: underline;
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

/* Buttons reuse .phone-btn, ali malo kompaktnije */
.cookie-btn.primary {
  background: #22c55e;
}

.cookie-btn.primary:hover {
  background: #16a34a;
}

.cookie-btn.secondary {
  background: transparent;
  border: 1px solid rgba(248, 250, 252, 0.7);
  color: #f9fafb !important;
}

.cookie-btn.secondary:hover {
  background: rgba(148, 163, 184, 0.25);
}

/* Mobile layout: vertikalno, full width gumbi */
@media (max-width: 768px) {
  .cookie-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .cookie-actions {
    width: 100%;
  }

  .cookie-actions .cookie-btn {
    flex: 1;
    justify-content: center;
  }
}

