/* =============================================================
   smjestaj-main.css — učitava se asinkrono (ne blokira render)
   Koncept: opći stilovi → tablet (481px) → desktop (768px)
            → veliki desktop (1024px) → extra veliki (1366px)
   ============================================================= */

/* ── GALERIJA ── */
.gallery { padding: 3rem 0; background: var(--dark); overflow: hidden; }
.gallery-strip {
  display: flex; gap: 4px; padding: 0 0.5rem;
  overflow-x: auto; scroll-snap-type: x mandatory;
  scrollbar-width: none; -ms-overflow-style: none;
}
.gallery-strip::-webkit-scrollbar { display: none; }
.gallery-item {
  flex: 0 0 80vw; height: 240px;
  scroll-snap-align: start;
  overflow: hidden; cursor: pointer; position: relative;
}
.gallery-item:first-child { flex: 0 0 80vw; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.gallery-item:hover img { transform: scale(1.05); }
.gallery-item-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(26,24,20,0.7) 0%, transparent 50%);
  opacity: 0; transition: opacity 0.3s;
  display: flex; align-items: flex-end; padding: 1rem;
  color: var(--stone); font-size: 0.75rem; letter-spacing: 0.05em;
}
.gallery-item:hover .gallery-item-overlay { opacity: 1; }

/* ── OPIS ISPOD GALERIJE ── */
.gallery-description {
  background: #1f1d19;
  border-top: 1px solid rgba(212,201,176,0.1);
  padding: 2.5rem 1.2rem;
}
.gallery-desc-inner { max-width: 900px; margin: 0 auto; }
.gallery-desc-inner h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem; color: var(--stone); margin-bottom: 1rem;
}
.gallery-desc-inner h3 em { color: var(--terra-light); font-style: italic; }
.gallery-desc-inner p {
  color: rgba(212,201,176,0.7); font-size: 0.88rem;
  line-height: 1.8; font-weight: 300; margin-bottom: 1rem;
}
.gallery-desc-inner p strong { color: var(--stone); font-weight: 500; }
.gallery-desc-warn {
  color: var(--terra-light) !important;
  border-left: 3px solid var(--terracotta);
  padding-left: 1rem; margin-top: 0.5rem;
}
/* ── VIDEO ── */
.video-section { background: var(--sand); padding: 3rem 1.2rem; }
.video-wrap {
  max-width: 900px;
  margin: 2rem auto 0;
  position: relative;
  padding-bottom: 56.25%; /* 16:9 omjer */
  height: 0;
  overflow: hidden;
}
.video-wrap iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  border: 0;
}
.arrow {
  display: inline-block;
  width: 14px;
  height: 14px;
  border-top: 3px solid #fff;
  border-right: 3px solid #fff;
  transform: rotate(-45deg);
  margin-top: 10px;
}
.crvena_slova { color: #ff0000;font-size: 1.2rem;font-weight: bold;}
@media only screen and (min-width: 768px) {
  .video-section { padding: 6rem 5vw; }
}
/* ── O VILI ── */
.about { display: grid; grid-template-columns: 1fr; min-height: auto; }
.about-image { position: relative; overflow: hidden; height: 55vw; }
.about-image img { width: 100%; height: 100%; object-fit: cover; }
.about-image::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(196,112,74,0.2), transparent);
}
.about-content {
  background: var(--sand); padding: 2.5rem 1.2rem;
  display: flex; flex-direction: column; justify-content: center;
}
.about-content .section-label,
.about-content .section-title { text-align: left; }
.about-content .section-title { color: var(--dark); }
.about-content p {
  line-height: 1.75; color: var(--mid); font-size: 0.9rem;
  margin-bottom: 1.2rem; font-weight: 300;
}
.about-content p strong { color: var(--terracotta); font-weight: 500; }
.warning-box {
  border-left: 3px solid var(--terracotta);
  padding: 0.8rem 1rem;
  background: rgba(196,112,74,0.06);
  font-size: 1rem; color: var(--mid);
  line-height: 1.6; margin-top: 0.5rem;
}

/* ── DETALJI ── */
.details { background: var(--white); padding: 3rem 1.2rem; }
.details-grid {
  display: grid; grid-template-columns: 1fr;
  gap: 2px; max-width: 1200px; margin: 2rem auto 0;
}
.detail-card {
  background: var(--sand); padding: 1.5rem;
  border-top: 3px solid transparent;
  transition: border-color 0.2s, transform 0.2s;
}
.detail-card:hover { border-color: var(--terracotta); transform: translateY(-4px); }
.detail-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1rem; color: var(--dark); margin-bottom: 0.8rem;
}
.detail-list { list-style: none; }
.detail-list li {
  display: flex; justify-content: space-between; align-items: center;
  padding: 0.45rem 0;
  border-bottom: 1px solid rgba(212,201,176,0.5);
  font-size: 0.82rem; color: var(--mid);
}
.detail-list li:last-child { border-bottom: none; }
.detail-list .check { color: var(--terracotta); font-size: 1rem; }
.detail-list .cross  { color: #aaa; }

/* ── SOBE (ACCORDION) ── */
.rooms { background: #4a4540; padding: 3rem 1.2rem; }
.rooms .section-title { color: var(--white); }
.rooms .section-label { color: var(--terra-light); }
.rooms-accordion { max-width: 800px; margin: 2rem auto 0; }
.room-item { border-bottom: 1px solid rgba(255,255,255,0.15); overflow: hidden; }
.room-header {
  width: 100%; background: none; border: none; cursor: pointer;
  padding: 1.2rem 0;
  display: flex; align-items: center; justify-content: space-between;
  font-family: 'Playfair Display', serif;
  font-size: 1rem; color: var(--white); text-align: left;
}
.room-header:hover { color: var(--terra-light); }
.room-arrow {
  width: 24px; height: 24px;
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--white); font-size: 0.8rem;
  transition: transform 0.3s, background 0.2s;
  flex-shrink: 0;
}
.room-item.open .room-arrow {
  transform: rotate(45deg);
  background: var(--terracotta);
  border-color: var(--terracotta);
}
.room-body { max-height: 0; overflow: hidden; transition: max-height 0.4s ease; }
.room-item.open .room-body { max-height: 500px; }
.room-body p {
  color: rgba(255,255,255,0.75);
  font-size: 0.88rem; line-height: 1.75;
  padding-bottom: 1.2rem; font-weight: 300;
}

/* ── CJENIK ── */
.pricing { background: var(--sand); padding: 3rem 1.2rem; }
.price-iframe-wrap {
  max-width: 900px; margin: 1.5rem auto 0;
  border: 1px solid var(--stone); background: var(--white);
  overflow: hidden; position: relative;
}
.price-iframe-wrap iframe { display: block; width: 100%; min-height: 260px; border: none; }
.price-iframe-loading {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  background: var(--white); color: var(--mid);
  font-size: 0.82rem; letter-spacing: 0.1em;
  pointer-events: none; transition: opacity 0.4s;
}
.price-iframe-wrap.loaded .price-iframe-loading { opacity: 0; }
.uvjeti-wrap {
  max-width: 900px; margin: 1.5rem auto 0;
  background: var(--white); border: 1px solid var(--stone);
  border-left: 4px solid var(--terracotta);
  padding: 1.5rem 1.2rem;
  font-size: 0.85rem; line-height: 1.8; color: var(--mid);
}
.uvjeti-wrap p      { margin: 0; }
.uvjeti-wrap strong { color: var(--dark); font-weight: 600; }
.uvjeti-wrap .warn  { color: #FB0A0A; }
.uvjeti-wrap .ok    { color: #5a9e6f; }
.uvjeti-wrap a      { color: var(--sea); text-decoration: underline; }
.uvjeti-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem; color: var(--terracotta);font-weight: 600;
  margin-bottom: 0.8rem; letter-spacing: 0.03em;
}

/* ── KALENDAR ── */
.calendar-section { background: #ffffff; padding: 3rem 1.2rem; }
.calendar-legend {
  display: flex; gap: 1rem; justify-content: center;
  flex-wrap: wrap; margin: 0 auto 1.5rem;
}
.leg-item { display: flex; align-items: center; gap: 0.4rem; font-size: 0.75rem; color: #1a1814; letter-spacing: 0.05em; }
.leg-dot { width: 12px; height: 12px; border-radius: 2px; flex-shrink: 0; }
.leg-dot.free     { background: #6db87a; }
.leg-dot.taken    { background: #d96b6b; }
.leg-dot.checkout { background: linear-gradient(135deg, #6db87a 50%, #d96b6b 50%); }
.leg-dot.checkin  { background: linear-gradient(135deg, #d96b6b 50%, #6db87a 50%); }
.calendar-wrapper {
  max-width: 900px; margin: 0 auto;
  border: 1px solid rgba(212,201,176,0.2);
  background: var(--white); overflow: hidden; position: relative;
}
.calendar-wrapper iframe { display: block; width: 100%; height: 340px; border: none; }
.cal-loading {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  background: #fff; color: var(--mid);
  font-size: 0.82rem; letter-spacing: 0.1em;
  pointer-events: none; transition: opacity 0.4s;
}
.calendar-wrapper.loaded .cal-loading { opacity: 0; }

/* ── LOKACIJA ── */

.location { background: var(--dark); padding: 3rem 1.2rem; }
.location .section-title { color: var(--stone); }
.distance-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 1px; max-width: 1000px; margin: 2rem auto 0;
}
.distance-item {
  background: rgba(255,255,255,0.03); padding: 0.8rem 1rem;
  display: flex; justify-content: space-between; align-items: center;
  border-bottom: 1px solid rgba(212,201,176,0.08);
  transition: background 0.2s;
}
.distance-item:hover { background: rgba(196,112,74,0.08); }
.distance-item span   { font-size: 0.8rem; color: rgba(212,201,176,0.7); }
.distance-item strong { color: var(--terra-light); font-size: 0.8rem; }

/* ── MAPA ── */
.map-section { background: var(--white); padding: 3rem 1.2rem; }
.map-wrap {
  max-width: 1920px;
  margin: 2rem auto 0;
  border: 1px solid var(--stone);
  overflow: hidden;
  line-height: 0;
}
.map-wrap iframe { width: 100%; display: block; }

/* ── RECENZIJE ── */
.reviews { background: var(--terracotta); padding: 3rem 1.2rem; text-align: center; }
.reviews-score { font-family: 'Playfair Display', serif; font-size: 5rem; color: var(--white); line-height: 1; }
.reviews-label { color: rgba(255,255,255,0.7); letter-spacing: 0.1em; text-transform: uppercase; font-size: 0.75rem; margin-top: 0.6rem; }
.reviews-bars { display: flex; flex-direction: column; gap: 0.8rem; max-width: 360px; margin: 2rem auto 0; }
.review-bar-row  { display: flex; align-items: center; gap: 0.8rem; }
.review-bar-label { font-size: 0.75rem; color: rgba(255,255,255,0.8); width: 150px; text-align: right; flex-shrink: 0; }
.review-bar-track { flex: 1; height: 4px; background: rgba(255,255,255,0.2); }
.review-bar-fill  { height: 100%; background: var(--white); width: 100%; }
.review-stars-fill {color: #ffffff;font-size: 1.5rem;letter-spacing: 0.2em;
}
.reviews-iframe {
  background: var(--white);
  padding: 3rem 1.2rem;
}
/* ── RECENZIJE IFRAME ── */
.iframe-Recenzije {
  position: relative;
  width: 100%;
  max-width: 1200px;
  max-height: 500px;
  margin: 0 auto;
  padding: 0 1rem;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--stone);
  border-radius: 4px;
}

.iframe-Recenzije iframe {
  width: 100%;
  border: none;
  display: block;
  min-height: 400px;
}
.recenzija-form-wrap {
  background: var(--sand);
  padding: 3rem 1.2rem;
  border-top: 2px solid var(--stone);
}
/* ── SLIČNE VILE ── */
.similar { background: var(--white); padding: 3rem 1.2rem; }
.similar-grid {
  display: grid; grid-template-columns: 1fr;
  gap: 1.2rem; max-width: 1200px; margin: 2rem auto 0;
}
.similar-card {
  overflow: hidden; cursor: pointer;
  border: 1px solid var(--stone);
  transition: transform 0.3s, box-shadow 0.3s;
  text-decoration: none; color: inherit; display: block;
}
.similar-card:hover { transform: translateY(-6px); box-shadow: 0 20px 40px rgba(0,0,0,0.1); }
.similar-card img { width: 100%; height: 200px; object-fit: cover; display: block; transition: transform 0.5s; }
.similar-card:hover img { transform: scale(1.04); }
.similar-card-body { padding: 1.1rem; background: var(--sand); }
.similar-card-body h4 { font-family: 'Playfair Display', serif; font-size: 1rem; margin-bottom: 0.3rem; }
.similar-card-body span { font-size: 0.78rem; color: var(--mid); }

/* ── FORMA ZA REZERVACIJU ── */
.booking { background: var(--sand); padding: 3rem 1.2rem; }
.booking .section-title { color: var(--dark); }
.booking .section-label { color: var(--terracotta); }
.booking-capacity-notice { color: var(--dark); }
.form-group label { color: #1a1814; }
.form-group input,
.form-group select,
.form-group textarea {
  background: #ffffff;
  border: 1px solid #4a4540;
  color: #1a1814;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: #c4704a; }
.form-note { color: #4a4540; }
.guest-total {
  background: #ffffff;
  border: 1px solid #4a4540;
  color: #1a1814;
}
.booking-form {
  max-width: 700px; margin: 2rem auto 0;
  display: grid; grid-template-columns: 1fr; gap: 1rem;
}
.form-group { display: flex; flex-direction: column; gap: 0.4rem; }
.form-group.full { grid-column: 1; }
.form-group label { font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; color: #1a1814; }
.form-group input,
.form-group select,
.form-group textarea {
  background: #ffffff;
  border: 1px solid #4a4540;
  color: #1a1814; padding: 0.8rem 1rem;
  font-family: 'DM Sans', sans-serif; font-size: 0.9rem;
  transition: border-color 0.2s; outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: #c4704a; }
.form-group select option { background: #f5f0e8; color: #1a1814; }
.form-group textarea { resize: vertical; min-height: 100px; }
.form-submit,
.form-submit.full { grid-column: 1; text-align: left; margin-top: 1.9rem;display: flex;
  flex-direction: row;
  gap: 1rem;
  align-items: center;}
.form-note,
.form-note.full {
  grid-column: 1; font-size: 0.75rem;
  color: #4a4540; text-align: center; line-height: 1.6;
}
.form-note a { color: #c4704a; text-decoration: none; }
.booking-capacity-notice {
  max-width: 700px; margin: 0 auto 1.5rem;
  background: rgba(196,112,74,0.12);
  border: 1px solid #c4704a;
  border-left: 4px solid #c4704a;
  padding: 0.8rem 1.2rem; color: #2c2820; font-size: 0.85rem;
  line-height: 1.6; display: flex; gap: 0.8rem; align-items: flex-start;
}
.booking-capacity-notice strong { color: #c4704a; }
.form-success-msg {
  max-width: 700px; margin: 0 auto 1.5rem;
  background: rgba(90,158,111,0.15); border: 1px solid #5a9e6f;
  border-left: 4px solid #5a9e6f; padding: 1rem 1.2rem;
  color: #2a5a38; font-size: 0.9rem;
}
.form-error-msg {
  max-width: 700px; margin: 0 auto 1.5rem;
  background: rgba(217,107,107,0.15); border: 1px solid #d96b6b;
  border-left: 4px solid #d96b6b; padding: 1rem 1.2rem;
  color: #8a2020; font-size: 0.9rem;
}
.guest-total-group { grid-column: 1; margin: 0.2rem 0; }
.guest-total {
  background: #ffffff;
  border: 1px solid #4a4540;
  padding: 0.7rem 1rem; font-size: 0.85rem;
  color: #1a1814; display: inline-block;
  transition: border-color 0.2s;
}
.guest-total strong { color: #c4704a; font-size: 1.1rem; }
.guest-total-warn {
  margin-top: 0.4rem;
  background: rgba(217,107,107,0.15); border: 1px solid #d96b6b;
  padding: 0.5rem 1rem; color: #8a2020; font-size: 0.8rem;
}
.label-hint { font-size: 0.7rem; color: #4a4540; font-weight: 300; letter-spacing: 0.05em; text-transform: none; }
.security-question { color: #c4704a; font-weight: 600; letter-spacing: 0.05em; text-transform: none; }

@media (max-width: 480px) {
  input[type="date"] {
    width: 100%;
    min-height: 44px;
    padding: 0.8rem 2.5rem 0.8rem 1rem;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24'%3E%3Cpath fill='%23c4704a' d='M19 4h-1V2h-2v2H8V2H6v2H5C3.9 4 3 4.9 3 6v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 16H5V10h14v10zm0-12H5V6h14v2z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.8rem center;
    appearance: none;}
    .form-submit {
    flex-direction: column;flex-direction: column;align-items: flex-start;}
  .form-submit .btn-outline {
    margin-left: 0 !important;
    margin-top: 0.5rem;}
  .iframe-Recenzije {
  max-height: 400px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
    
scroll-to-top {
    right: 0.5rem;
    bottom: 0.5rem;
  }
}
/* ── FOOTER ── */
footer {
  background: #0f0e0c; padding: 2rem 1.2rem;
  display: flex; flex-direction: column; align-items: center;
  border-top: 1px solid rgba(212,201,176,0.08);
  gap: 1rem; text-align: center;
}
.footer-logo { font-family: 'Playfair Display', serif; color: var(--stone); font-size: 1rem; text-decoration: none; }
.footer-contact { font-size: 0.8rem; color: rgba(212,201,176,0.5); line-height: 1.8; }
.footer-contact a { color: var(--terra-light); text-decoration: none; }
.footer-legal { font-size: 0.7rem; color: rgba(212,201,176,0.3); }

/* ── LIGHTBOX ── */
.lightbox {
  display: none; position: fixed; inset: 0; z-index: 999;
  background: rgba(10,9,8,0.96);
  align-items: center; justify-content: center;
}
.lightbox.active { display: flex; }
.lightbox img { max-width: 90vw; max-height: 85vh; object-fit: contain; }
.lightbox-close {
  position: absolute; top: 1rem; right: 1.5rem;
  color: var(--stone); font-size: 2rem; cursor: pointer;
  background: none; border: none; font-family: serif;
}
.lightbox-prev,
.lightbox-next {
  position: absolute; top: 50%; transform: translateY(-50%);
  color: var(--stone); font-size: 2rem; cursor: pointer;
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1);
  padding: 0.5rem 0.8rem; transition: background 0.2s;
}
.lightbox-prev:hover,
.lightbox-next:hover { background: rgba(196,112,74,0.3); }
.lightbox-prev { left: 0.5rem; }
.lightbox-next { right: 0.5rem; }
.grecaptcha-badge {
    left: -100px !important;
    right: auto !important;
  }

/* ── SMARTMENU sm-blue — mobilni ── */
.sm { position: relative; z-index: 9999; }
.sm, .sm ul, .sm li { display: block; list-style: none; margin: 0; padding: 0; line-height: normal; direction: ltr; text-align: left; }
.sm ul { display: none; }
.sm li, .sm a { position: relative; }
.sm a { display: block; }
.sm a.disabled { cursor: not-allowed; }
.sm:after { content: "\00a0"; display: block; height: 0; font: 0px/0 serif; clear: both; visibility: hidden; overflow: hidden; }
.sm-blue { background: transparent; border-radius: 0; box-shadow: none; width: 100%; }
.sm-blue a, .sm-blue a:hover, .sm-blue a:focus {
  padding: 8px 58px 8px 20px;
  background-image: linear-gradient(#04acec, #0186ba);
  color: white; font-family: Arial, Helvetica; font-size: 13px;
  font-weight: bold; line-height: 30px;
  text-decoration: none; text-shadow: 0 1px 0 rgba(0,0,0,0.2);
}
.sm-blue a span.sub-arrow {
  position: absolute; top: 50%; margin-top: -17px;
  right: 4px; width: 34px; height: 34px; overflow: hidden;
  font: bold 18px/34px monospace !important; text-align: center;
  text-shadow: none; background: rgba(0,0,0,0.1); border-radius: 4px;
}
.sm-blue a.highlighted span.sub-arrow:before { display: block; content: '-'; }
.sm-blue ul { background: white; }
.sm-blue ul a, .sm-blue ul a:hover, .sm-blue ul a:focus {
  background: transparent; color: #2b82ac; font-size: 13px;
  text-shadow: none; border-left: 8px solid transparent;
}
.sm-blue ul li { border-top: 1px solid rgba(0,0,0,0.05); }
.sm-blue ul li:first-child { border-top: 0; }


/* =============================================================
   TABLET — min-width: 481px
   ============================================================= */
@media only screen and (min-width: 481px) {
  .gallery-item { flex: 0 0 60vw; height: 300px; }
  .gallery-item:first-child { flex: 0 0 60vw; }
  .gallery-description { padding: 3rem 2rem; }
  .about-image { height: 45vw; }
  .about-content { padding: 3rem 2rem; }
  .details { padding: 3rem 2rem; }
  .details-grid { grid-template-columns: 1fr 1fr; }
  .rooms { padding: 3rem 2rem; }
  .pricing { padding: 3rem 2rem; }
  .calendar-section { padding: 3rem 2rem; }
  .location { padding: 3rem 2rem; }
  .similar-grid { grid-template-columns: 1fr 1fr; }
  .booking { padding: 3rem 2rem; }
  .booking-form { grid-template-columns: 1fr 1fr; }
  .form-group.full { grid-column: 1 / -1; }
  .form-submit, .form-submit.full { grid-column: 1 / -1; }
  .form-note, .form-note.full { grid-column: 1 / -1; }
  .guest-total-group { grid-column: 1 / -1; }
  footer { flex-direction: row; justify-content: space-between; text-align: left; padding: 2.5rem 2rem; }
}

/* =============================================================
   DESKTOP — min-width: 768px
   ============================================================= */
@media only screen and (min-width: 768px) {
  .gallery { padding: 5rem 0; }
  .gallery-item { flex: 0 0 320px; height: 420px; }
  .gallery-item:first-child { flex: 0 0 480px; }
  .gallery-description { padding: 3.5rem 5vw; }
  .gallery-desc-inner h3 { font-size: 1.6rem; }
  .gallery-desc-inner p { font-size: 0.93rem; }
  .about { grid-template-columns: 1fr 1fr; min-height: 70vh; }
  .about-image { height: auto; }
  .about-content { padding: 6rem 5rem; }
  .details { padding: 6rem 5vw; }
  .details-grid { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2px; margin: 3rem auto 0; }
  .detail-card { padding: 2.5rem; }
  .rooms { padding: 6rem 5vw; }
  .rooms-accordion { margin: 3rem auto 0; }
  .room-header { font-size: 1.1rem; padding: 1.5rem 0; }
  .pricing { padding: 6rem 5vw; }
  .uvjeti-wrap { padding: 2.2rem 2.5rem; }
  .calendar-section { padding: 6rem 5vw; }
  .calendar-wrapper iframe { height: 360px; }
  .location { padding: 6rem 5vw; }
  .distance-grid { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); margin: 3rem auto 0; }
  .reviews { padding: 5rem 5vw; }
  .reviews-score { font-size: 6rem; }
  .similar { padding: 6rem 5vw; }
  .similar-grid { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.5rem; margin: 3rem auto 0; }
  .similar-card img { height: 220px; }
  .booking { padding: 6rem 5vw; }
  .booking-form { margin: 3rem auto 0; }
  footer { padding: 3rem 5vw; }
}

/* =============================================================
   VELIKI DESKTOP — min-width: 1024px
   ============================================================= */
@media only screen and (min-width: 1024px) {
  .about-content { padding: 6rem 5rem; }
  .reviews-score { font-size: 7rem; }
}

/* =============================================================
   EXTRA VELIKI — min-width: 1366px
   ============================================================= */
@media only screen and (min-width: 1366px) {
  .gallery-item { flex: 0 0 380px; height: 460px; }
  .gallery-item:first-child { flex: 0 0 560px; }
}

/* =============================================================
   SMARTMENU sm-blue — desktop (min-width: 768px)
   FIX: sve unutar jednog @media bloka, nema ranog zatvaranja }
   ============================================================= */
@media only screen and (min-width: 768px) {
  .sm-blue ul { position: absolute; width: 12em; }
  .sm-blue li { float: left; }
  .sm-blue ul li { float: none; }
  .sm-blue a { white-space: nowrap; }
  .sm-blue ul a { white-space: normal; }
  .sm-blue {
    background-image: linear-gradient(#04acec, #0186ba);
    border-radius: 0;
    box-shadow: none;
    width: 100%;
  }
  .sm-blue a, .sm-blue a:hover, .sm-blue a:focus, .sm-blue a:active, .sm-blue a.highlighted {
    padding: 8px 20px;
    background-image: linear-gradient(#04acec, #0186ba);
    color: white;
  }
  .sm-blue a:hover, .sm-blue a:focus, .sm-blue a:active, .sm-blue a.highlighted {
    background: #2b82ac;
    background-image: linear-gradient(to bottom, #2d89b4, #297ca3);
  }
  .sm-blue a span.sub-arrow {
    top: auto; margin-top: 0; bottom: 2px; left: 50%; margin-left: -5px;
    right: auto; width: 0; height: 0; border-width: 5px;
    border-style: solid dashed dashed dashed;
    border-color: #a1d1e8 transparent transparent transparent;
    background: transparent; border-radius: 0;
  }
  .sm-blue a.highlighted span.sub-arrow:before { display: none; }
  .sm-blue > li:first-child > a { border-radius: 0; }
  .sm-blue > li:last-child > a  {
    border-radius: 0 !important;
    padding-right: 0px;
}
  .sm-blue > li { border-left: 1px solid #2b82ac; }
  .sm-blue > li:first-child { border-left: 0; }
  .sm-blue ul {
    border: 1px solid #a8a8a8; padding: 7px 0; background: white;
    border-radius: 0 0 4px 4px; box-shadow: 0 5px 12px rgba(0,0,0,0.2);
  }
  .sm-blue ul a, .sm-blue ul a:hover, .sm-blue ul a:focus, .sm-blue ul a.highlighted {
    border: 0 !important; padding: 2px 23px;
    background: transparent; color: #2b82ac; border-radius: 0 !important;
  }
  .sm-blue ul a:hover, .sm-blue ul a:focus, .sm-blue ul a.highlighted {
    background: linear-gradient(to bottom, #3298c8, #2e8cb8); color: white;
  }
  .sm-blue ul li { border: 0; border-bottom: 1px solid #a8a8a8; }
  .sm-blue ul a span.sub-arrow {
    top: 50%; margin-top: -5px; bottom: auto; left: auto;
    margin-left: 0; right: 10px;
    border-style: dashed dashed dashed solid;
    border-color: transparent transparent transparent #a1d1e8;
  }
  #main-menu > li:last-child { float: left; border-left: 1px solid #2b82ac; }
}
/* LANGUAGE SWITCHER */
.language-list{display:none;list-style:none;position:absolute;top:84%;right:0;width:100%;background-color:#fff;border:1px solid #ccc;box-shadow:0 2px 6px rgba(0,0,0,0.1);padding:0;margin:5px 0 0 0;z-index:1000;max-height:80vh;overflow-y:auto;-webkit-overflow-scrolling:touch;}
.language-list li a{display:flex;align-items:center;padding:10px;font-size:15px;text-decoration:none;color:#333;border-bottom:1px solid #eee;gap:1em;white-space:nowrap;transition:background-color 0.2s ease;}
.language-list li a:hover{background-color:#f9f9f9;}.language-list li:last-child a{border-bottom:none;}.language-list li a img{width:20px;height:auto;}.language-list.visible{display:block;}

@media only screen and (max-width: 480px) {
  .language-list {
    width: 110px;
    right: 0;
    left: auto;
  }
}
@media only screen and (min-width:769px){
.language-switcher:hover .current-language{background-color:#f0f0f0;}
.language-switcher:hover .language-list{display:block;}}

/* --- FOOTER STILOVI --- */
.main-footer {background-color:#006699; color:#fff; padding:3em 1em; font-family:Arial,sans-serif; text-align:center;}
.footer-container {display:flex; flex-direction:column; justify-content:flex-start; align-items:center; max-width:1200px; margin:0 auto;}
.footer-section {width:100%; margin-bottom:2em;}
.footer-section h3 {font-size:1.2em; margin-bottom:1em; text-transform:uppercase; border-bottom:2px solid #CFCFCF; padding-bottom:0.5em;}
.main-footer p, .main-footer a {color:#fff; text-decoration:none; line-height:1.6;}
.main-footer a:hover {text-decoration:underline;}

/* Kontakt sekcija */
.footer-section.contact-info {display:flex; flex-direction:column; align-items:center;}
.ikona-s-tekstom {display:flex; align-items:center; justify-content:flex-start; gap:0.8em; width:80%; max-width:350px; margin:0 auto 10px auto; text-align:left;}
.ikona-s-tekstom svg {fill:#fff; min-width:24px; width:1.2em; height:1.2em;}

/* Social ikonice */
.social-icons-row {display:flex; flex-wrap:wrap; justify-content:center; margin-top:1em; gap:1em;}
.social-icon {width:40px; height:40px; background-color:transparent; display:block; text-indent:-9999px; border-radius:1%; overflow:hidden; background-image:url('../images/simboli/social-media.webp'); background-repeat:no-repeat; background-size:90%;}
.social-icon.facebook {background-position:center 0;}
.social-icon.instagram {background-position:center 58.2%;}
.social-icon.twitter {background-position:center 29%;}
.social-icon.linkedin {background-position:center 14%;}
.social-icon.youtube {background-position:center 72.5%;}
.social-icon.blog {background-position:center 101%;}
.social-icon.vk {background-position:center 43.5%;}

/* Donji dio */
.footer-bottom, .footer-keywords {text-align:center; padding:1em; color:#999; border-top:1px solid #CFCFCF; margin-top:2em;}
.footer-link {display:inline-block; padding:10px; background-color:white; color:#007bff; border:2px solid #C8C8C8; border-radius:5px; text-decoration:none; font-weight:bold; font-size:0.9rem;}
.main-footer a.footer-link{color:#1832F7;}

/* Responzivnost za desktop (769px+) */
@media (min-width:769px) {
    .footer-container {flex-direction:row; justify-content:space-between; align-items:flex-start;}
    .footer-section {width: 30%; margin-bottom:0;}
    .contact-info {align-items:flex-start; text-align:left;}
    .ikona-s-tekstom {margin-left:0;}
}
@media only screen and (min-width:1024px){
.footer-container{max-width:1300px;}
.contact-info{max-width:350px;margin:0 2% 0 auto;}
.info-map{max-width:400px;margin:0 2% 0 7%;padding:0px;}
.footer-section.social-media-icons{max-width:400px;justify-content:center;margin:0 0 0 5%;padding-left:0%;}
.social-icons-row{justify-content:center;margin:1em auto 0 auto;}
}
/* Prisiljavamo donje dijelove da ignoriraju Flex raspored stupaca */
.footer-keywords, 
.footer-bottom {
    display: block !important; /* Poništava flex-item ponašanje */
    width: 100% !important;   /* Zauzima cijelu širinu */
    clear: both !important;   /* Osigurava da nema ničega sa strana */
    flex: 0 0 100% !important; /* Zaustavlja Flexbox da ih skuplja */
    margin: 1.5rem 0 0 0 !important;
}

/* Ako su unutar footera koji je flex, ovo ih vraća u normalni tok jedan ispod drugog */
.main-footer {
    display: block !important; 
    text-align: center;
}

/* Samo kontejner sa stupcima ostaje Flex */
.footer-container {
    display: flex !important;
    flex-wrap: wrap !important;
    flex-direction: row; /* Stupci ostaju jedan do drugog */
    justify-content: space-between;
    align-items: flex-start;
    max-width: 1200px;
    margin: 0 auto;
}
/* Prilagodba širine stupaca da stanu u jedan red */
@media (min-width: 992px) {
    .reviews-label { font-size: 0.95rem; margin-top: 0.6rem; }
    .review-bar-label { font-size: 0.95rem;width: 180px; }
    .footer-container {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important; /* Zabranjuje pucanje u novi red za gornja 3 stupca */
        justify-content: space-between;
        max-width: 1300px; /* Malo proširujemo kontejner ako ekran dopušta */
        width: 100%;
        gap: 10px; /* Smanjujemo razmak između stupaca */
    }

    .footer-section {
        flex: 1; /* Svaki stupac uzima jednaku širinu */
        min-width: 0; /* Poništava prijašnji min-width koji je gurao stupac van reda */
        margin-bottom: 0;
        padding: 0 10px;
    }

    /* Specifično za Social Media da ne zauzima previše mjesta */
    .footer-section.social-media-icons {
        max-width: 300px;
        flex: 0 1 auto; /* Dopušta mu da bude uži od ostalih */
    }
}
.visually-hidden {position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0,0,0,0);}
