html, body {
  width: 100%;
  overflow-x: hidden;
}

/* ==============================
   PHOBS BOOKING FORM – WRAPPER
============================== */
#phobs_book {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 22px;
  padding: 24px 28px;
  font-family: 'Montserrat', sans-serif;

  background: #fafafa;              /* lagana premium siva */
  border: 1px solid #f2c94c;         /* panorama žuti okvir */
  border-radius: 16px;
}

/* ==============================
   DATE CARDS (DOLAZAK / ODLAZAK)
============================== */
.dolazak,
.odlazak {
  display: flex;
  flex-direction: column;
  width: 150px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #e5e5e5;
  background: #fff;
  transition: border-color .2s ease;
}

.dolazak:hover,
.odlazak:hover {
  border-color: #f2c94c;
}

/* HEADER (PLAVI LABEL) */
.dolazak h6,
.odlazak h6 {
  margin: 0;
  padding: 10px 0;
  font-size: 13px;
  font-weight: 600;
  text-align: center;
  color: #fff;
  background-color: #0b4da2;
  letter-spacing: .2px;
}

/* DATE VALUE */
.date {
  padding: 12px 0;
  font-size: 16px;
  font-weight: 700;
  text-align: center;
  color: #111;
  background-color: #fff;
  cursor: pointer;
}

/* ==============================
   CTA BUTTON
============================== */
#stisnuo {
  width: 130px;               /* uži CTA */
  align-self: center;         /* centriran po visini */
  border-radius: 12px;
  border: none;

  background: #f2c94c;
  color: #111;
  font-weight: 700;
  font-size: 15px;

  cursor: pointer;
  transition: all .25s ease;
}

#stisnuo:hover {
  background: #e0b93f;
  transform: translateY(-1px);
}

/* ==============================
   MOBILE – CLEAN VERSION
============================== */
@media (max-width: 768px) {

  #phobs_book {
    flex-direction: column;
    align-items: center;
    gap: 14px;
    padding: 18px;

    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);

    border-radius: 18px;
  }

  .dolazak,
  .odlazak,
  #stisnuo {
    width: 100%;
    max-width: 320px;
  }

  #stisnuo {
    margin-top: 14px;
  }

}

@media (max-width: 768px) {

  #phobs_book {
    border: none;
  }

}

/* =========================================
   PHOBS – PANORAMA POLISH
========================================= */

.phobs-title {
  text-align: center;
  margin: 60px 0 30px 0;
}

/* Ujednači radius sa inquiry formom */
#phobs_book {
  border-radius: 22px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.03);
}

/* Dugme malo više Panorama stil */
#stisnuo {
  border-radius: 35px;
  padding: 14px 20px;
}

/* =========================================
   PHOBS REDIRECT OVERLAY (NO FLICKER VERSION)
========================================= */

.phobs-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  display: none;              /* KLJUČNO – nema bljeska */
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

/* Aktivacija overlay-a */
.phobs-overlay.active {
  display: flex;
}

/* Kartica */
.phobs-overlay-card {
  background: #ffffff;
  padding: 40px;
  border-radius: 22px;
  max-width: 420px;
  width: 90%;
  text-align: center;
  font-family: 'Montserrat', sans-serif;
  box-shadow: 0 15px 40px rgba(0,0,0,0.08);
}

/* Tekst */
.phobs-overlay-card p {
  font-size: 15px;
  line-height: 1.6;
  color: #1f2d3d;
  margin: 0;
}

/* Spinner */
.phobs-spinner {
  width: 40px;
  height: 40px;
  border: 4px solid #f2c94c;
  border-top: 4px solid transparent;
  border-radius: 50%;
  margin: 0 auto 20px;
  animation: phobsSpin 0.8s linear infinite;
}

@keyframes phobsSpin {
  to { transform: rotate(360deg); }
}


/* ==========================================================
   HERO CARD – BALANCED PROPORTION FIX
========================================================== */

/* --- DESKTOP --- */

.hotel-hero-card {
    max-width: 420px;
    padding: 22px 24px;
    border-radius: 18px;
}

.hotel-hero-title {
    font-size: 28px;
    line-height: 1.2;
    margin-bottom: 10px;
}

.hotel-title-category {
    font-size: 16px;
    margin-left: 6px;
}

.hotel-hero-location {
    font-size: 14px;
}

.hotel-map-link {
    font-size: 14px;
}

/* CTA zona */
.hero-cta {
    margin-top: 14px;
    gap: 10px;
}

.hero-btn {
    padding: 10px 18px;
    font-size: 13px;
    border-radius: 36px;
}

/* ==========================================================
   HERO MOBILE — CLEAN FINAL
========================================================== */

@media (max-width: 768px) {

    /* HERO IMAGE */
    .hotel-hero-inner {
        border-radius: 20px;
        overflow: hidden;
    }

    .hotel-hero-img {
        width: 100%;
        height: auto;
        display: block;
    }

    .hotel-hero-overlay {
        display: none;
    }

    /* HERO CARD */
    .hotel-hero-card {
        position: static !important; /* ubija desktop absolute */
        margin-top: 8px !important;  /* mali razmak */
        border-radius: 20px;
    }

}