/************************************/
/* HEADER */
/************************************/

.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #e6fcf5;

  /* ZBOG STICKY-JA POSLE SAM STAVIO OVO */
  height: 9.6rem;
  padding: 0 4.8rem;
  /* zbog mobilne navigacije da bismo sakrili */
  position: relative;
}

.logo {
  height: 4.8rem;
}

/************************************/
/* NAVIGATION */
/************************************/

.navigation-main-list {
  display: flex;
  list-style: none;
  gap: 4.8rem;
  align-items: center;
}

.navigation-main-link:link,
.navigation-main-link:visited {
  display: inline-block;
  text-decoration: none;
  color: #333;
  font-size: 1.8rem;
  font-weight: 500;
  border-radius: 5px;
  transition: all 300ms;
}

.navigation-main-link:hover,
.navigation-main-link:active {
  color: #077655;
}

.navigation-main-link.nav-btn-cta:link,
.navigation-main-link.nav-btn-cta:visited {
  background-color: #08835e;
  color: #fff;
  padding: 1.2rem 2.4rem;
  border-radius: 12px;
  transition: all 300ms;
}

.navigation-main-link.nav-btn-cta:hover,
.navigation-main-link.nav-btn-cta:active {
  background-color: #077655;
}

/* MOBILE NAV */

.btn-mob-nav {
  border: none;
  background: none;
  cursor: pointer;

  display: none;
}

.icon-mob-nav {
  height: 4.8rem;
  width: 4.8rem;
  color: #333;
}

.icon-mob-nav[name="close-outline"] {
  display: none;
}

/* STICKY NAVIGATION */
.sticky .header {
  position: fixed;
  top: 0;
  bottom: 0;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.97);
  z-index: 500;
  height: 8rem;
  padding-top: 0;
  padding-bottom: 0;
  box-shadow: 0 1.2rem 3.2rem rgba(0, 0, 0, 0.05);
}

.sticky .section-hero {
  margin-top: 9.6rem;
}

/************************************/
/* HERO SECTION */
/************************************/

.section-hero {
  background-color: #e6fcf5;
  padding: 4.8rem 0 9.6rem 0;
}

.hero {
  max-width: 130rem;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 9.6rem;

  /* PADDING UKOLIKO KORISNIK SMANJI VELICINU PROZORA DA SE KONTENT NE LEPI LEVO I DESNO */
  padding: 0 3.2rem;
}

.hero-description {
  font-size: 2rem;
  line-height: 1.6;
  margin-bottom: 4.8rem;
}

.zadovoljni-gosti {
  display: flex;
  align-items: center;
  gap: 1.6rem;
  margin-top: 8rem;
}

.zadovoljni-gosti-imgs {
  display: flex;
}

.zadovoljni-gosti-imgs img {
  height: 4.8rem;
  width: 4.8rem;
  border-radius: 50%;
  margin-right: -1.6rem;
  border: 3px solid #e6fcf5;
}

.zadovoljni-gosti-imgs img:last-child {
  margin-right: 0;
}

.zadovoljni-gosti-text {
  font-size: 1.8rem;
  font-weight: bold;
}

.zadovoljni-gosti-text span {
  color: #077655;
  font-weight: 700;
}

.hero-img {
  width: 100%;
}

/************************************/
/* FEATURED SECTION */
/************************************/

.section-featured {
  padding: 4.8rem 0 3.2rem 0;
}

.heading-featured {
  text-align: center;
  font-size: 1.4rem;
  text-transform: uppercase;
  letter-spacing: 1.6px;
  font-weight: 500;
  margin-bottom: 3.2rem;
  color: #999;
}

.logos {
  display: flex;
  justify-content: space-around;
  align-items: center;
}

.featured-logo-img {
  height: 4rem;
  filter: brightness(0);
  opacity: 50%;
}

/************************************/
/* UPUTSTVO SECTION */
/************************************/

.section-uputstvo {
  padding: 9.6rem 0;
}

.uputstvo-img-box {
  display: flex;
  justify-content: center;
  text-align: center;
  position: relative;
}

.uputstvo-img-box::before {
  content: "";
  display: block;
  position: absolute;
  background-color: #e6fcf5;
  width: 60%;
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: -2;

  /* height: 60%; */
  padding-bottom: 60%;
}

.uputstvo-img-box::after {
  width: 45%;
  padding-bottom: 45%;
  background-color: #cee6df;
  content: "";
  display: block;
  position: absolute;
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: -1;
}

.uputstvo-img {
  width: 35%;
}

.uputstvo-text-box {
  align-self: center;
}

.uputstvo-number {
  font-size: 8.6rem;
  font-weight: 600;
  color: #ddd;
  margin-bottom: 1.2rem;
}

.uputstvo-text {
  font-size: 1.8rem;
  line-height: 1.8;
}

/************************************/
/* PROIZVODI SECTION */
/************************************/

.section-proizvodi {
  padding: 9.6rem 0;
}

.proizvod-kartica {
  box-shadow: 0 2.4rem 4.8rem rgba(0, 0, 0, 0.15);
  border-radius: 16px;
  overflow: hidden;
  transition: all 300ms;
}

.proizvod-kartica:hover {
  transform: translateY(-1.2rem);
}

.proizvod-img {
  width: 100%;
}

.proizvod-text-box {
  padding: 3.2rem 4.8rem 4.8rem 4.8rem;
}

.tags {
  margin-bottom: 0.8rem;
  display: flex;
  gap: 0.4rem;
}

.tag {
  display: inline-block;
  font-size: 1.2rem;
  padding: 0.4rem 0.8rem;
  text-transform: uppercase;
  color: #333;
  border-radius: 12px;
  font-weight: 600;
  background-color: #ffe066;
}

.proizvod-naziv {
  font-size: 2.4rem;
  font-weight: 600;
  color: #333;
  margin-bottom: 3.2rem;
}

.proizvod-opisi {
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
  list-style: none;
  margin-bottom: 3.2rem;
}

.proizvod-opis {
  font-size: 1.8rem;
  display: flex;
  gap: 1.6rem;
  align-items: center;
}

.icon-proizvodi {
  color: #08835e;
  height: 2.4rem;
  width: 2.4rem;
}

.proizvod-cena {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 2.4rem;
  font-weight: 500;
  color: #333;
}

.ceo-jelovnik {
  text-align: center;
  font-size: 1.8rem;
}

.link:link,
.link:visited {
  display: inline-block;
  color: #08835e;
  transition: all 300ms;
  padding-bottom: 2px;
  text-decoration: none;
  padding-bottom: 2px;
  border-bottom: 1px solid currentColor;
}

.link:hover,
.link:active {
  color: #077655;
  border-bottom: 1px solid transparent;
}

/************************************/
/* GALERIJA SECTION */
/************************************/

.section-galerija {
  display: grid;
  grid-template-columns: 55fr 45fr;
  background-color: #fff;
  align-items: center;
}

.testimonials-box {
  padding: 9.6rem;
}

.testimonials {
  display: grid;
  grid-template-columns: 1fr 1fr;
  row-gap: 4.8rem;
  column-gap: 8rem;
}

.testimonial-img {
  width: 6.4rem;
  border-radius: 50%;
  margin-bottom: 1.2rem;
}

.testimonial-text {
  font-size: 1.8rem;
  line-height: 1.8;
  margin-bottom: 1.6rem;
}

.testimonial-gost {
  font-size: 1.6rem;
  color: #777;
}

.galerija {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.6rem;
  padding: 1.6rem;
}

.galerija-item {
  overflow: hidden;
}

.galerija-img {
  display: block;
  width: 100%;
  transition: all 400ms;
}

.galerija-img:hover {
  transform: scale(1.1);
}

/************************************/
/* CENOVNIK SECTION */
/************************************/

.section-cenovnik {
  padding: 9.6rem 0;
}

.cenovnik-kartica {
  text-align: center;
  border-radius: 15px;
  width: 100%;
}

.cenovnik-classic {
  border: 2px solid #e6fcf5;
  padding: 4.6rem;
}

.cenovnik-best {
  background-color: #e6fcf5;
  padding: 4.8rem;
  position: relative;
  overflow: hidden;
}

.cenovnik-best::after {
  content: "Najbolji izbor";
  position: absolute;
  top: 10%;
  right: -13%;

  text-transform: uppercase;
  font-size: 1.4rem;
  font-weight: 700;
  background-color: #ffe066;
  padding: 0.8rem 3.2rem;
  color: #333;
  transform: rotate(45deg);
}

.plan-naziv {
  color: #08835e;
  font-weight: 600;
  font-size: 2rem;
  text-transform: uppercase;
  letter-spacing: 0.75;
  margin-bottom: 3.2rem;
}

.plan-cena {
  font-size: 6.2rem;
  font-weight: 600;
  color: #333;
  margin-bottom: 1.6rem;
}

.plan-cena span {
  font-size: 3rem;
  font-weight: 500;
  margin-right: 0.8rem;
}

.plan-text {
  font-size: 1.5rem;
  line-height: 1.6;
  color: #6f6f6f;
}

.cenovnik-rezervisi {
  text-align: center;
  margin-top: 4.8rem;
}

.cenovnik-detalji {
  font-size: 1.6rem;
  line-height: 1.6;
  text-align: center;
}

.specifikacije-icon {
  height: 3.2rem;
  width: 3.2rem;
  background-color: #e6fcf5;
  color: #08835e;
  margin-bottom: 3.2rem;
  padding: 1.6rem;
  border-radius: 50%;
}

.specifikacije-naslov {
  font-size: 2.2rem;
  color: #333;
  font-weight: 700;
  margin-bottom: 1.6rem;
}

.specifikacije-tekst {
  font-size: 1.8rem;
  line-height: 1.8;
}

/************************************/
/* CTA SECTION */
/************************************/

.section-cta {
  padding: 4.8rem 0 12.8rem;
}

.cta {
  display: grid;
  grid-template-columns: 2fr 1fr;
  background-image: linear-gradient(to right bottom, #399c7e, #08835e);
  box-shadow: 0 2.4rem 4.8rem rgba(0, 0, 0, 0.2);
  border-radius: 15px;
  overflow: hidden;
}

.cta-text-box {
  padding: 4.8rem 6.4rem 6.4rem 6.4rem;
  color: #02271c;
}

.cta .heading-secondary {
  color: inherit;
  margin-bottom: 3.2rem;
}

.cta-text {
  font-size: 1.8rem;
  line-height: 1.8;
  margin-bottom: 4.8rem;
}

.cta-img-box {
  background-image: linear-gradient(
      to right bottom,
      rgba(57, 156, 126, 0.35),
      rgba(8, 131, 94, 0.35)
    ),
    url("../img/dete.JPG");
  background-size: cover;
  background-position: center;
}

.cta-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 3.2rem;
  row-gap: 2.4rem;
}

.cta-form label {
  display: block;
  font-size: 1.6rem;
  font-weight: 500;
  margin-bottom: 1.2rem;
}

.cta-form input,
.cta-form select {
  width: 100%;
  padding: 1.2rem;
  font-size: 1.8rem;
  font-family: inherit;
  border: none;
  background-color: #e6fcf5;
  border-radius: 12px;
  box-shadow: 0 3px 2px rgba(0, 0, 0, 0.1);
}

.cta-form input::placeholder {
  color: #aaa;
}

.cta *:focus {
  outline: none;
  box-shadow: 0 0 0 0.8rem rgba(230, 252, 245, 0.5);
}

/************************************/
/* FOOTER */
/************************************/

.footer {
  padding: 12.8rem 0;
  border-top: 1px solid #eee;
}

.grid--footer {
  grid-template-columns: 1.5fr 1.5fr 1fr 1fr 1fr;
}

.logo-col {
  display: flex;
  flex-direction: column;
}

.footer-logo {
  display: block;
  margin-bottom: 3.2rem;
}

.social-links {
  list-style: none;
  display: flex;
  gap: 2.4rem;
}

.social-icon {
  height: 2.4rem;
  width: 2.4rem;
}

.copyright {
  font-size: 1.4rem;
  color: #888;
  line-height: 1.6;
  margin-top: auto;
}

.footer-heading {
  font-size: 1.8rem;
  font-weight: 500;
  margin-bottom: 4rem;
}

.kontakti {
  font-style: normal;
  font-size: 1.6rem;
  line-height: 1.6;
}

.adresa {
  margin-bottom: 2.4rem;
}

.footer-nav {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 2.4rem;
}

.footer-link:link,
.footer-link:visited {
  text-decoration: none;
  font-size: 1.6rem;
  color: #888;
  transition: all 300ms;
}

.footer-link:hover,
.footer-link:active {
  color: #555;
}

/************************************/
/* LIGHTBOX */
/************************************/

.galerija-img {
  cursor: pointer;
}

.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.92);
  z-index: 1000;
  align-items: center;
  justify-content: center;
}

.lightbox.lightbox--open {
  display: flex;
}

.lightbox-img {
  max-width: 85vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: 6px;
  box-shadow: 0 2.4rem 6.4rem rgba(0, 0, 0, 0.6);
  user-select: none;
  display: block;
}

.lightbox-btn {
  position: absolute;
  background: rgba(255, 255, 255, 0.08);
  border: none;
  color: #fff;
  cursor: pointer;
  line-height: 1;
  padding: 0.8rem 1.4rem;
  border-radius: 8px;
  transition: background-color 200ms;
  user-select: none;
}

.lightbox-btn:hover {
  background-color: rgba(255, 255, 255, 0.18);
}

.lightbox-close {
  top: 2rem;
  right: 2rem;
  font-size: 3.4rem;
  padding: 0.4rem 1.2rem;
}

.lightbox-prev {
  left: 2rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 5.6rem;
}

.lightbox-next {
  right: 2rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 5.6rem;
}

.lightbox-counter {
  position: absolute;
  bottom: 2.4rem;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.6rem;
  font-family: "Rubik", sans-serif;
  letter-spacing: 0.5px;
}
/************************************/
/* POPUPS (DOMAĆIN + JELOVNIK) */
/************************************/

.popup-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.55);
  z-index: 900;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.popup-overlay.popup--open {
  display: flex;
}

.popup-card {
  background: #fff;
  border-radius: 16px;
  position: relative;
  box-shadow: 0 2.4rem 6.4rem rgba(0, 0, 0, 0.2);
  animation: popupIn 250ms ease;
}

@keyframes popupIn {
  from { opacity: 0; transform: scale(0.93) translateY(1.2rem); }
  to   { opacity: 1; transform: scale(1)    translateY(0);      }
}

.popup-close {
  position: absolute;
  top: 1.4rem;
  right: 1.4rem;
  background: none;
  border: none;
  font-size: 2.8rem;
  color: #aaa;
  cursor: pointer;
  line-height: 1;
  padding: 0.2rem 0.8rem;
  border-radius: 6px;
  transition: background-color 200ms, color 200ms;
}

.popup-close:hover {
  background-color: #f0f0f0;
  color: #333;
}

/* ---- DOMAĆIN POPUP ---- */

.popup-domacin-card {
  padding: 4.4rem 4.8rem 4rem;
  max-width: 40rem;
  width: 100%;
  text-align: center;
}

.popup-domacin-header {
  font-size: 1.3rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.6px;
  color: #08835e;
  margin-bottom: 2.8rem;
}

.popup-domacin-avatar {
  width: 8rem;
  height: 8rem;
  border-radius: 50%;
  background-color: #e6fcf5;
  color: #08835e;
  font-size: 2.4rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.6rem;
  border: 3px solid #cee6df;
  font-family: "Rubik", sans-serif;
}

.popup-domacin-ime {
  font-size: 2.4rem;
  font-weight: 600;
  color: #333;
  margin-bottom: 0.6rem;
}

.popup-domacin-telefon {
  font-size: 1.7rem;
  color: #888;
  margin-bottom: 3.2rem;
}

.popup-pozovi-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 1.8rem;
  padding: 1.4rem 4rem;
}

.popup-pozovi-icon {
  width: 2rem;
  height: 2rem;
}

.korak-02-trigger {
  cursor: pointer;
}

/* ---- JELOVNIK POPUP ---- */

.popup-jelovnik-card {
  max-width: 84rem;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 5.2rem 5.6rem 4.4rem;
}

.popup-jelovnik-card::-webkit-scrollbar {
  width: 5px;
}
.popup-jelovnik-card::-webkit-scrollbar-thumb {
  background-color: #cee6df;
  border-radius: 4px;
}

.jelovnik-naslov {
  text-align: center;
  font-size: 3.4rem;
  font-weight: 700;
  color: #333;
  margin-bottom: 0.6rem;
  letter-spacing: -0.5px;
}

.jelovnik-podnaslov {
  text-align: center;
  font-size: 1.4rem;
  color: #aaa;
  margin-bottom: 4rem;
  text-transform: uppercase;
  letter-spacing: 1.6px;
}

.jelovnik-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.4rem 6.4rem;
  margin-bottom: 3.2rem;
}

.jelovnik-kategorija-naslov {
  font-size: 1.3rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.6px;
  color: #08835e;
  border-bottom: 2px solid #e6fcf5;
  padding-bottom: 1rem;
  margin-bottom: 1.8rem;
}

.jelovnik-lista {
  list-style: none;
  counter-reset: stavka;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.jelovnik-stavka {
  font-size: 1.55rem;
  color: #444;
  line-height: 1.5;
  display: flex;
  align-items: baseline;
  gap: 1rem;
  counter-increment: stavka;
}

.jelovnik-stavka::before {
  content: counter(stavka);
  font-size: 1.15rem;
  font-weight: 700;
  color: #08835e;
  min-width: 1.8rem;
  flex-shrink: 0;
  opacity: 0.75;
}

.jelovnik-divider {
  border: none;
  border-top: 1px solid #eee;
  margin: 3rem 0;
}

.jelovnik-napomene {
  background-color: #f6fdf9;
  border-left: 4px solid #08835e;
  border-radius: 0 10px 10px 0;
  padding: 2rem 2.4rem;
}

.jelovnik-napomene-naslov {
  font-size: 1.2rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.4px;
  color: #08835e;
  margin-bottom: 1.2rem;
}

.jelovnik-napomene-lista {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.jelovnik-napomene-stavka {
  font-size: 1.5rem;
  color: #555;
  display: flex;
  gap: 1rem;
  line-height: 1.5;
}

.jelovnik-napomene-stavka::before {
  content: "›";
  color: #08835e;
  font-weight: 700;
  flex-shrink: 0;
}

.jelovnik-kontakt {
  text-align: center;
  margin-top: 2.8rem;
  font-size: 1.5rem;
  color: #aaa;
}

.jelovnik-kontakt span {
  font-weight: 600;
  color: #555;
}

/************************************/
/* POPUP: ŠIFRA */
/************************************/

.korak-03-trigger {
  cursor: pointer;
}

.popup-sifra-card {
  padding: 4.4rem 4.8rem 4rem;
  max-width: 42rem;
  width: 100%;
  text-align: center;
}

.popup-sifra-ikona {
  width: 7.2rem;
  height: 7.2rem;
  border-radius: 50%;
  background-color: #e6fcf5;
  color: #08835e;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 2rem;
}

.popup-sifra-ikona ion-icon {
  width: 3.2rem;
  height: 3.2rem;
}

.popup-sifra-naslov {
  font-size: 2.2rem;
  font-weight: 700;
  color: #333;
  margin-bottom: 0.8rem;
}

.popup-sifra-opis {
  font-size: 1.5rem;
  color: #888;
  line-height: 1.6;
  margin-bottom: 2.8rem;
}

.popup-sifra-input {
  width: 100%;
  padding: 1.2rem 1.6rem;
  font-size: 1.7rem;
  font-family: "Rubik", sans-serif;
  border: 2px solid #e0e0e0;
  border-radius: 10px;
  outline: none;
  transition: border-color 200ms;
  text-align: center;
  letter-spacing: 2px;
  margin-bottom: 0.8rem;
  color: #333;
}

.popup-sifra-input:focus {
  border-color: #08835e;
  box-shadow: 0 0 0 0.4rem rgba(8, 131, 94, 0.15);
}

.popup-sifra-input.input-error {
  border-color: #e03131;
  box-shadow: 0 0 0 0.4rem rgba(224, 49, 49, 0.12);
}

.popup-sifra-greska {
  font-size: 1.35rem;
  color: #e03131;
  margin-bottom: 2rem;
  min-height: 2rem;
  opacity: 0;
  transition: opacity 200ms;
}

.popup-sifra-greska.greska--vidljiva {
  opacity: 1;
}

.popup-sifra-btn {
  width: 100%;
  font-size: 1.7rem;
  padding: 1.3rem;
}

/************************************/
/* POPUP: LOKACIJA */
/************************************/

.popup-lokacija-card {
  padding: 4.8rem;
  max-width: 48rem;
  width: 100%;
}

.popup-lokacija-header {
  display: flex;
  align-items: center;
  gap: 1.6rem;
  margin-bottom: 3.2rem;
}

.popup-lokacija-ikona {
  width: 6rem;
  height: 6rem;
  border-radius: 50%;
  background-color: #e6fcf5;
  color: #08835e;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.popup-lokacija-ikona ion-icon {
  width: 2.8rem;
  height: 2.8rem;
}

.popup-lokacija-naslov {
  font-size: 2.4rem;
  font-weight: 700;
  color: #333;
}

.popup-maps-link {
  display: flex;
  align-items: center;
  gap: 1rem;
  background-color: #08835e;
  color: #fff;
  text-decoration: none;
  font-size: 1.6rem;
  font-weight: 600;
  padding: 1.3rem 2.4rem;
  border-radius: 10px;
  margin-bottom: 2.4rem;
  transition: background-color 200ms;
  justify-content: center;
}

.popup-maps-link:hover {
  background-color: #077655;
}

.popup-maps-ikona {
  width: 2rem;
  height: 2rem;
  flex-shrink: 0;
}

.popup-maps-external {
  width: 1.5rem;
  height: 1.5rem;
  margin-left: auto;
  opacity: 0.7;
}

.popup-lokacija-tekst-box {
  background-color: #f6fdf9;
  border-left: 4px solid #08835e;
  border-radius: 0 10px 10px 0;
  padding: 1.8rem 2rem;
}

.popup-lokacija-tekst {
  font-size: 1.6rem;
  line-height: 1.8;
  color: #444;
}

.popup-lokacija-tekst strong {
  color: #08835e;
  font-weight: 600;
}

/************************************/
/* SCROLL ANIMACIJE */
/************************************/

.scroll-reveal {
  opacity: 0;
  transform: translateY(2.8rem);
  transition: opacity 0.65s ease, transform 0.65s ease;
  will-change: opacity, transform;
}

.scroll-reveal.scroll-reveal--left {
  transform: translateX(-3rem);
}

.scroll-reveal.scroll-reveal--right {
  transform: translateX(3rem);
}

.scroll-reveal.is-revealed {
  opacity: 1;
  transform: none;
}

/************************************/
/* GALERIJA KUĆE SECTION */
/************************************/

.section-galerija-kuca {
  display: grid;
  grid-template-columns: 45fr 55fr;
  background-color: #e6fcf5;
  align-items: center;
  border-bottom: 1px solid #f0f0f0;
}

/* Limit: prikazuje se max 12 slika, ostale su dostupne samo u lightbox-u */
.galerija-kuca .galerija-item:nth-child(n+13),
.galerija-priroda .galerija-item:nth-child(n+13) {
  display: none;
}

/* Fix: hover zoom na karticama proizvoda ne radi zbog scroll-reveal specifičnosti */
/* Rešeno u JS-u — klasa scroll-reveal se skida nakon animacije */
/* Fallback CSS za slučaj da JS kasni */
.proizvod-kartica.scroll-reveal.is-revealed:hover {
  transform: translateY(-1.2rem);
}

/************************************/
/* KALENDAR SEKCIJA */
/************************************/

.section-kalendar {
  padding: 9.6rem 0;
  background-color: #f6fdf9;
}

.section-kalendar .heading-secondary {
  margin-bottom: 4.8rem;
}

.kalendar-wrapper {
  max-width: 46rem;
  margin: 0 auto;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 2.4rem 4.8rem rgba(0, 0, 0, 0.08);
  padding: 3.6rem;
  min-height: 38rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.kalendar-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.2rem;
  color: #aaa;
  font-size: 1.6rem;
}

.kalendar-spinner {
  width: 3.2rem;
  height: 3.2rem;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

.kalendar-sadrzaj {
  display: none;
  width: 100%;
}

.kalendar-sadrzaj.je-ucitan {
  display: block;
}

.kalendar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2.8rem;
}

.btn-mes {
  background: none;
  border: 2px solid #e6fcf5;
  border-radius: 8px;
  font-size: 3rem;
  color: #08835e;
  cursor: pointer;
  padding: 0 1.2rem;
  line-height: 1.2;
  transition: background-color 200ms;
}

.btn-mes:hover {
  background-color: #e6fcf5;
}

.kalendar-naslov {
  font-size: 2rem;
  font-weight: 600;
  color: #333;
  text-align: center;
}

.kalendar-grid-header {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  margin-bottom: 0.6rem;
}

.kalendar-grid-header span {
  text-align: center;
  font-size: 1.2rem;
  font-weight: 600;
  color: #bbb;
  text-transform: uppercase;
  padding: 0.4rem 0;
}

.kalendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0.4rem;
  margin-bottom: 2.4rem;
}

.dan {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  font-size: 1.5rem;
  font-weight: 500;
  font-family: "Rubik", sans-serif;
}

.dan--proslo {
  color: #ddd;
}

.dan--danas {
  outline: 2px solid #08835e;
  outline-offset: -2px;
  color: #08835e;
  font-weight: 700;
}

.dan--slobodan {
  color: #333;
  background-color: #f0fdf7;
}

.dan--zauzet {
  background-color: #fff1f0;
  color: #e03131;
  font-weight: 600;
  position: relative;
}

.dan--zauzet::after {
  content: "";
  position: absolute;
  left: 20%;
  right: 20%;
  top: 50%;
  height: 1.5px;
  background-color: #e03131;
  opacity: 0.6;
}

.kalendar-legenda {
  display: flex;
  gap: 2rem;
  justify-content: center;
  padding-top: 2rem;
  border-top: 1px solid #f0f0f0;
}

.legenda-item {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 1.35rem;
  color: #777;
}

.legenda-boja {
  width: 1.4rem;
  height: 1.4rem;
  border-radius: 4px;
  flex-shrink: 0;
}

.legenda-slobodan { background-color: #f0fdf7; border: 1px solid #c8f0de; }
.legenda-zauzet   { background-color: #fff1f0; border: 1px solid #ffd6d6; }
.legenda-proslo   { background-color: #f5f5f5; border: 1px solid #e8e8e8; }

/************************************/
/* TRI KALENDARA LAYOUT */
/************************************/

.korak-01-trigger {
  cursor: pointer;
}

.section-kalendar .heading-secondary {
  margin-bottom: 3.2rem;
}

.tri-kal-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.2rem;
  color: #aaa;
  font-size: 1.6rem;
  min-height: 24rem;
}

.tri-kal-sadrzaj {
  display: none;
}

.tri-kal-sadrzaj.je-ucitan {
  display: block;
}

.tri-kal-nav {
  display: flex;
  justify-content: space-between;
  margin-bottom: 2rem;
}

.tri-kalendara {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.4rem;
  margin-bottom: 3.2rem;
}

.kalendar-kartica {
  background: #fff;
  border-radius: 16px;
  padding: 2.8rem 2.4rem;
  box-shadow: 0 1.2rem 3.2rem rgba(0, 0, 0, 0.06);
}

.kalendar-kartica .kalendar-naslov {
  text-align: center;
  font-size: 1.8rem;
  font-weight: 600;
  color: #333;
  margin-bottom: 2rem;
}

.kalendar-kartica .kalendar-grid-header {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  margin-bottom: 0.6rem;
}

.kalendar-kartica .kalendar-grid-header span {
  text-align: center;
  font-size: 1.1rem;
  font-weight: 600;
  color: #bbb;
  text-transform: uppercase;
  padding: 0.4rem 0;
}

.kalendar-kartica .kalendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0.3rem;
}

.kalendar-kartica .dan {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 7px;
  font-size: 1.35rem;
  font-weight: 500;
  font-family: "Rubik", sans-serif;
}

.kalendar-akcija {
  text-align: center;
  margin-top: 3.6rem;
}

.kalendar-rezervisi-btn {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  font-size: 1.8rem;
  padding: 1.4rem 4.8rem;
}

.kalendar-rezervisi-btn ion-icon {
  width: 2rem;
  height: 2rem;
}
