body {
    font-family: 'Montserrat', sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;

}

.boja {
    background: linear-gradient(#8dc240, #49819d);
    color: transparent;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-style: 600;
}

.bg-gradient-outdoor {
    background: linear-gradient(90deg, #8dc240 0%, #49819d 100%);
}

.text-balanced {
    text-wrap: balance;
}

div.scrollDist,
div.main {
    position: absolute;
}

div.toppozadina {
    background-image: url(/assets/img/illustrations/illustration-6-cropped.png), url(/assets/img/illustrations/illustration-4-cropped.png);
    height: 30vh;
    background-repeat: no-repeat;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50%;
}

.navbar-brand-img {
    max-height: 3rem;
    width: auto
}

.lang-flag {
    width: 22px;
    height: 16px;
    object-fit: cover;
    border-radius: 2px;
    vertical-align: middle;
    box-shadow: 0 0 1px rgba(0,0,0,.25);
}

.dropdown-item .lang-flag {
    width: 24px;
    height: 18px;
}

#home {
    position: relative;
    width: 100%;
    width: auto;
    min-height: calc(100vw*(1920 / 1080));
    font-size: 1rem;
    background-color: #f4f4f4;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    scroll-snap-align: center;
    text-align: center;
    overflow: hidden;
    
}

#home h2 {
    text-wrap: balance;
}

#home video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    height: calc(100vw*(1920 / 1080));
    z-index: 0;
    -ms-transform: translateX(-50%) translateY(-50%);
    -moz-transform: translateX(-50%) translateY(-50%);
    -webkit-transform: translateX(-50%) translateY(-50%);
    transform: translateX(-50%) translateY(-50%);
}

.display-1 {
    font-size: 2.125rem;
}

.btn-success {
    --bs-btn-color: #fff;
    --bs-btn-bg: #8dc540;
}

.form-check-input:checked {
    background-color: #8dc540;
    border-color: #8dc540;
}

.is-invalid {
    border-color: #dc3545;
    color: tomato;
}

.small,
small {
    font-size: 70%;
}

.play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 3rem;
    color: white;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
}

.play-icon i {
    transition: color 0.3s;
}

.play-icon:hover i {
    color: #ccc;
}

.flickity-page-dots {
    bottom: 10px !important;
}

.flickity-button-white .flickity-prev-next-button {
    background-color: var(--bs-white);
    color: #88be46;
}

#chat-button {
    position: fixed;
    bottom: 15px;
    right: 15px;
    color: white;
    border: none;
    cursor: pointer;
    display: none;
    /* Dugme je inicijalno sakriveno */
    transition: opacity 0.3s ease;
    z-index: 1000;
}

#chat-button:hover {

}

   .bg-line {
        background-color: #86bc49;
        color: #ffffff;
    }
/* Wrap drži overlay i dugme */
.review-text-wrap {
  position: relative;
  display: inline-block;     /* da overlay prati širinu teksta */
  max-width: 100%;
}

/* Fade overlay – aktivan dok smo klampovani */
.review-text-wrap.clamped::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  /* malo iznad dugmeta */
  bottom: 2.2rem;
  height: 3rem;
  pointer-events: none;
  background: linear-gradient(to bottom, rgba(255,255,255,0), #fff);
}

/* Tekst: 4 reda, ništa ne “viri” */
.review-text {
  margin: 0;                 /* spriječi margin-collapse */
  line-height: 1.6;
  text-align: center;
  word-wrap: break-word;
}
.review-text.clamp {
  display: -webkit-box;
  -webkit-line-clamp: 3;     /* broj redova */
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Dugme ispod teksta s razmakom */
.view-more {
  margin-top: .75rem;
  position: relative;
  z-index: 2;                /* iznad overlay-a */
  border: 1px solid #88be46; /* outline u zelenoj */
  border-radius: 4px;        /* ako hoćeš blago zaobljenje */
  background: #fff;
  color: #88be46;            /* tekst u istoj zelenoj */
  padding: .25rem .75rem;    /* malo paddinga */
  font-size: .9rem;
  cursor: pointer;
}
.view-more:hover {
  background: #88be46;
  color: #fff;
}


/* Kad je prošireno – ukloni clamp i overlay */
.review-text-wrap.expanded::after { display: none; }
.review-text-wrap.expanded .review-text { -webkit-line-clamp: unset; }
.review-text-wrap.expanded .view-more { /* opciono stil */ }


/*za galeriju sa view more*/

.gallery-wrapper {
  max-height: 400px;   /* visina prije "view more" */
  overflow: hidden;
  position: relative;
  padding-bottom: 4rem; /* prostor za dugme */
}

.gallery-wrapper.expanded {
  max-height: none;
  padding-bottom: 0;
}

.gallery-wrapper .fade-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 8rem;
  background: linear-gradient(to bottom, rgba(255,255,255,0), #fff);
  pointer-events: none;
}

.gallery-wrapper.expanded .fade-overlay {
  display: none;
}

.view-more-gallery {
  position: absolute;
  bottom: 0.5rem;
  left: 50%;
  transform: translateX(-50%);
  border: 1px solid #88be46;
  color: #88be46;
  background: #fff;
  z-index: 2;
}
.view-more-gallery:hover {
  background: #88be46;
  color: #fff;
}
.object-cover { object-fit: cover; object-position: center; }
.park-card { aspect-ratio: 4/3; position: relative; }
.park-card > img { height: 100%; }

/* Overlay ide PREKO cijele slike */
.park-overlay {
  position: absolute;
  inset: 0; /* full cover */
  background: rgba(0,0,0,0.45); /* lagano zatamnjenje slike */
  color: #fff;
  opacity: 1; /* stalno vidljivo */
  transition: background .25s ease;
}
.park-card:hover .park-overlay {
  background: rgba(0,0,0,0.65); /* malo tamnije na hover */
}

/* Naslov mora biti iznad overlaya */
#parkModalLabel{
  z-index: 2;
  color: #fff;
}

/* X dugme iznad svega */
#parkModal .btn-close{ z-index: 3; }

#parkModal .modal-hero { position: relative; height: clamp(460px, 40vw, 380px); }

#parkModal .modal-hero-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center; background-repeat: no-repeat;
  z-index: 0;
}
#parkModal .modal-hero-overlay {
  position: absolute; inset: 0;
  background: radial-gradient(120% 120% at 50% 100%, rgba(0,0,0,.65), rgba(0,0,0,.35) 60%, rgba(0,0,0,.15));
  z-index: 1;
}
#parkModal .modal-hero-inner { z-index: 2; }
#parkModal .btn-close { z-index: 3; }


.bg-soft {
    background: linear-gradient(180deg, #f8fafc, #ffffff);
  }

  .review-badge {
    position: absolute;
    top: 12px;
    left: 12px;
  }

  .avatar-ring {
    border: 3px solid #fff;
    box-shadow: 0 6px 18px rgba(0, 0, 0, .15);
  }

  .glass {
    backdrop-filter: blur(6px);
    background: rgba(255, 255, 255, .75);
  }

  .fade-edge {
    mask-image: linear-gradient(to bottom, black 60%, transparent);
  }

  .pin {
    position: absolute;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #dc3545;
    border: 2px solid #fff;
    box-shadow: 0 0 0 4px rgba(220, 53, 69, .2);
    top: 50%;
    left: 58%;
    transform: translate(-50%, -50%);
  }

  .faq-illus {
    object-fit: cover;
    border-radius: 1rem;
  }

  .accordion-button:focus {
    box-shadow: none;
  }

@media (min-width: 768px) {

    #home {
        position: relative;
        width: 100%;
        min-height: 100dvh;
        font-size: 1rem;
        background-color: #f4f4f4;
        background-size: cover;
        background-position: center center;
        background-repeat: no-repeat;
        scroll-snap-align: center;
        text-align: center;
        overflow: hidden;
        padding-top: 140px;
    }

    #home h2 {
        text-wrap: balance;
    }

    #home video {
        position: absolute;
        top: 50%;
        left: 50%;
        min-width: 100%;
        min-height: 100%;
        width: auto;
        height: auto;
        z-index: 0;
        -ms-transform: translateX(-50%) translateY(-50%);
        -moz-transform: translateX(-50%) translateY(-50%);
        -webkit-transform: translateX(-50%) translateY(-50%);
        transform: translateX(-50%) translateY(-50%);
    }
    .bg-line {
        background-color: #86bc49;
        color: #ffffff;
    }


/* Wrap drži overlay i dugme */
.review-text-wrap {
  position: relative;
  display: inline-block;     /* da overlay prati širinu teksta */
  max-width: 100%;
}

/* Fade overlay – aktivan dok smo klampovani */
.review-text-wrap.clamped::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  /* malo iznad dugmeta */
  bottom: 2.2rem;
  height: 3rem;
  pointer-events: none;
  background: linear-gradient(to bottom, rgba(255,255,255,0), #fff);
}

/* Tekst: 4 reda, ništa ne “viri” */
.review-text {
  margin: 0;                 /* spriječi margin-collapse */
  line-height: 1.6;
  text-align: center;
  word-wrap: break-word;
}
.review-text.clamp {
  display: -webkit-box;
  -webkit-line-clamp: 3;     /* broj redova */
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Dugme ispod teksta s razmakom */
.view-more {
  margin-top: .75rem;
  position: relative;
  z-index: 2;                /* iznad overlay-a */
  border: 1px solid #88be46; /* outline u zelenoj */
  border-radius: 4px;        /* ako hoćeš blago zaobljenje */
  background: #fff;
  color: #88be46;            /* tekst u istoj zelenoj */
  padding: .25rem .75rem;    /* malo paddinga */
  font-size: .9rem;
  cursor: pointer;
}
.view-more:hover {
  background: #88be46;
  color: #fff;
}

/* Kad je prošireno – ukloni clamp i overlay */
.review-text-wrap.expanded::after { display: none; }
.review-text-wrap.expanded .review-text { -webkit-line-clamp: unset; }
.review-text-wrap.expanded .view-more { /* opciono stil */ }

#parkModal .modal-hero { position: relative; height: clamp(260px, 40vw, 420px); }

}

@media (min-width: 1200px) {

    .container {
        max-width: 1350px;
    }


    .display-1 {
        font-size: 4.125rem;
    }
/* Wrap drži overlay i dugme */
.review-text-wrap {
  position: relative;
  display: inline-block;     /* da overlay prati širinu teksta */
  max-width: 100%;
}

/* Fade overlay – aktivan dok smo klampovani */
.review-text-wrap.clamped::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  /* malo iznad dugmeta */
  bottom: 2.2rem;
  height: 3rem;
  pointer-events: none;
  background: linear-gradient(to bottom, rgba(255,255,255,0), #fff);
}

/* Tekst: 4 reda, ništa ne “viri” */
.review-text {
  margin: 0;                 /* spriječi margin-collapse */
  line-height: 1.6;
  text-align: center;
  word-wrap: break-word;
}
.review-text.clamp {
  display: -webkit-box;
  -webkit-line-clamp: 3;     /* broj redova */
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Dugme ispod teksta s razmakom */
.view-more {
  margin-top: .75rem;
  position: relative;
  z-index: 2;                /* iznad overlay-a */
  border: 1px solid #88be46; /* outline u zelenoj */
  border-radius: 4px;        /* ako hoćeš blago zaobljenje */
  background: #fff;
  color: #88be46;            /* tekst u istoj zelenoj */
  padding: .25rem .75rem;    /* malo paddinga */
  font-size: .9rem;
  cursor: pointer;
}
.view-more:hover {
  background: #88be46;
  color: #fff;
}

/* Kad je prošireno – ukloni clamp i overlay */
.review-text-wrap.expanded::after { display: none; }
.review-text-wrap.expanded .review-text { -webkit-line-clamp: unset; }
.review-text-wrap.expanded .view-more { /* opciono stil */ }




}

@media (max-width: 767.98px) {
    footer .col-6, footer .col-4 {
        width: 100%;
        text-align: center;
        margin-bottom: 2rem;
    }
    footer img.footer-brand {
        display: block;
        margin-left: auto;
        margin-right: auto;
    }
}
