/* =======================================================
   GLOBAL RESETS & BASE STYLES
   ======================================================= */

.rounded {
    border-radius: 10px !important;
}

.text-justify {
    text-align: justify;
}

.visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

.dropdown-menu .dropdown-item:hover,
.dropdown-menu .dropdown-item:focus,
.dropdown-menu .dropdown-item.active,
.dropdown-menu .dropdown-item:active {
    background-color: transparent !important;
    color: inherit !important;
}

button:focus,
a:focus,
input:focus,
textarea:focus,
select:focus {
    outline: none !important;
    box-shadow: none !important;
}

button:hover,
a:hover,
input:hover,
textarea:hover,
select:hover {
    outline: none;
    box-shadow: none;
}

/* ===========================================
   CUSTOM FORM INPUTS
   Override Bootstrap form-control styles
   =========================================== */

.form-control {
    height: 48px;
    padding: 0.65rem 1rem;
    border-radius: 10px;
    border: 1px solid #d9d9d9;
    font-size: 1rem;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
    box-sizing: border-box;
}

textarea.form-control {
    height: auto;
    min-height: 150px;
    padding-top: 1rem;
}

.form-control:focus {
    border-color: #153652 !important;
    box-shadow: 0 0 0 0.25rem rgba(21, 54, 82, 0.25) !important;
}

.form-control.is-valid {
    border-color: #153652 !important;
}

.form-control.is-invalid {
    border-color: #dc3545 !important;
}

.form-label {
    margin-bottom: 0.45rem;
    font-weight: 500;
}

/* ===========================================
   SELECT ELEMENT STYLING
   Poravnanje s inputima
   =========================================== */
.form-select {
    height: 48px;
    padding: 0.65rem 1rem;
    border-radius: 10px;
    border: 1px solid #d9d9d9;
    font-size: 1rem;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
    background-color: #fff;
    box-sizing: border-box;
}

.form-select:focus {
    border-color: #153652 !important;
    box-shadow: 0 0 0 0.25rem rgba(21, 54, 82, 0.25) !important;
}

.form-select.is-valid {
    border-color: #153652 !important;
}

.form-select.is-invalid {
    border-color: #dc3545 !important;
}

.manrope {
    font-family: 'Manrope', Helvetica, Arial, Lucida, sans-serif;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: Open Sans, Arial, sans-serif;
    color: #666;
    background-color: #ffffff;
    margin: 0;
    padding: 0;
    line-height: 1.8em;
    font-size: 1rem;
    font-weight: 500;
}

h1, .h1,
h2, .h2,
h3, .h3,
h4, .h4,
h5, .h5 {
    font-family: 'Manrope', Helvetica, Arial, Lucida, sans-serif;
    color: #000;
    margin-bottom: 0.5rem;
    letter-spacing: 2px;
}

h1, .h1 { font-size: 4rem; }
h2, .h2 { font-size: 3em; }
h3, .h3 { font-size: 2rem; }

@media (max-width: 1199.98px) {
    h1, .h1 { font-size: 3.2rem; }
    h2, .h2 { font-size: 3rem; }
    h3, .h3 { font-size: 2rem; }
}

@media (max-width: 991.98px) {
    h1, .h1 { font-size: 3rem; }
    h2, .h2 { font-size: 2.5rem; }
    h3, .h3 { font-size: 2rem; }
}

@media (max-width: 767.98px) {
    h1, .h1 { font-size: 2.2rem; }
    h2, .h2 { font-size: 2rem; }
    h3, .h3 { font-size: 1.8rem; }
}

p {
    color: #666;
    font-family: 'Manrope', Helvetica, Arial, Lucida, sans-serif;
    font-weight: 400;
    font-size: 100%;
    letter-spacing: 0.5px;
    line-height: 1.8em;
}

a {
    color: #153652;
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: #0d2335;
}

label {
    font-size: .9rem;
    font-weight: 100;
}

.bg-primary {
    background-color: #153652 !important;
}

.bg-faded {
    background-color: #f5f5f5 !important;
}

/* =======================================================
   BUTTONS
   ======================================================= */

.btn {
    border: none;
    border-radius: 10px;
    overflow: hidden;
    font-family: Open Sans, Arial, sans-serif;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: 14px;
    padding: 10px;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.btn-round {
    border-radius: 100px;
    padding: 12px 40px;
    font-family: 'Manrope', Helvetica, Arial, Lucida, sans-serif;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 14px;
    font-weight: 500;
}

.btn-link {
    padding: 0;
}

.btn-primary {
    background-color: #153652;
    color: #ffffff;
}

.btn-primary:hover {
    background-color: #0d2335;
}

.btn-primary:focus, 
.btn-primary:active:focus {
  background-color: #153652;
}

.btn-light {
    background-color: #f5f5f5;
    color: #666;
}

.btn-light:hover {
    background-color: #f4f4f4;
}

/* =======================================================
   CUSTOM IKONE
   ======================================================= */

   .ikona-gallery {
    width: 20px;
    height: 20px;
   }

   .ikona-distances {
    width: 30px;
    height: 30px;
    color: #000;
    margin-right: 1rem;
   }

   .ikona-30 {
    width: 30px;
    height: 30px;
    margin-bottom: 1rem;
    color: #000;
   }

   .ikona-25 {
    width: 25px;
    height: 25px;
    margin-bottom: .8rem;
    color: #000;
   }

   svg.icon-light {
    color: #fff;
  }



/* =======================================================
   HEADER & NAVBAR
   ======================================================= */

.header {
    position: fixed;
    left: 0;
    top: 0;
    right: 0;
    transition: all 0.5s;
    z-index: 997;
}

.navbar {
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.navbar-toggler {
    width: 44px;
    height: 44px;
    border: 1px solid #000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    background-color: transparent;
}

.navbar-icon {
    width: 26px;
    height: 24px;
    stroke: currentColor;
    transition: color 0.3s ease;
}

.navbar-transparent .navbar-icon {
    color: #fff;
}

.navbar-solid .navbar-icon {
    color: #000;
}

.navbar-toggler:hover .navbar-icon {
    opacity: 0.8;
}

.navbar-transparent .navbar-icon {
    color: #fff;
}

.navbar-solid .navbar-icon {
    color: #000;
}

.navbar-toggler:hover .navbar-icon {
    opacity: 0.8;
}

.navbar-transparent {
    background: linear-gradient(to bottom, rgba(0,0,0,0.7), rgba(0,0,0,0));
    box-shadow: none;
}

.navbar-transparent .nav-link {
    color: #fff !important;
}

.navbar-transparent .dropdown .dropdown-toggle {
    color: #fff !important;
}

.navbar-solid {
    background-color: #ffffff;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.navbar-solid .nav-link {
    color: #153652 !important;
}

.navbar-solid .dropdown .dropdown-toggle {
    color: #000 !important;
}

#navbar-logo {
    transition: all 0.3s ease;
}

.navbar-collapse.collapse.show {
    background-color: #ffffff !important;
}

.navbar-collapse.collapse.show .nav-link {
    color: #153652 !important;
}

.padding-top-lg {
    padding-top: 86px;
}

@media (max-width: 991.98px) {
    .padding-top {
        padding-top: 86px;
    }
}


/* =======================================================
   NAV LINKS – ANIMIRANA CRTA
   ======================================================= */

@media (max-width: 991.98px) {
    .navbar-nav {
        padding: 3rem
    }
}

.navbar .nav-link {
    position: relative;
    color: inherit;
    text-decoration: none;
    text-transform: uppercase;
    padding-bottom: 8px;
    transition: color 0.3s ease;
}

.navbar .nav-link::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background-color: currentColor;
    transition: width 0.3s ease, left 0.3s ease;
}

.navbar .nav-link:hover::after,
.navbar .nav-link.active::after {
    width: 100%;
    left: 0;
}

@media (min-width: 992px) {
    .navbar-expand-lg .navbar-nav .nav-link {
        padding: 1.5;
    }
}

@media (max-width: 991.98px) {
    .navbar .nav-link::after {
        display: none;
        content: none;
    }
    .navbar.navbar-solid {
        background: transparent !important;
        box-shadow: none !important;
    }
    .navbar.navbar-solid::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 86px;
        background-color: #fff;
        z-index: -1;
    }
    .navbar-collapse {
        margin-left: auto;
        margin-right: auto;
        border-radius: 10px;
        background-color: #fff !important;
        border: 1px solid #000;
        z-index: 9999;
        max-width: 100%;
        position: static;
    }
}

/* =======================================================
   DROPDOWN (JEZIČNI IZBORNIK)
   ======================================================= */

.dropdown-menu {
    width: auto;        
    min-width: 0;       
    padding: 2rem 2rem;
    border-radius: 10px;
    border: 1px solid #000;
}

.dropdown-item {
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.dropdown-menu li:not(:last-child) {
    margin-bottom: 1rem;
}

.dropdown .dropdown-toggle:hover,
.dropdown .dropdown-toggle:focus {
    text-decoration: none;
}

.custom-dropdown-btn::after {
    margin-left: 0;
}

/* ==========================================================
   Accordion Custom Styles — Clean, Accessible, SEO Friendly
   ========================================================== */

.accordion-button {
    background-color: #f5f5f5 !important;
    color: #153652;
    background-image: none !important;
    box-shadow: none !important;
    border: none !important;
    font-family: 'Manrope', Helvetica, Arial, Lucida, sans-serif;
    font-size: 1.2rem;
    transition: all 0.2s ease-in-out;
}

.accordion-button:not(.collapsed) {
    background-color: #fff !important;
    color: #153652;
    box-shadow: none !important;
    border-bottom: none !important;
}

.accordion-button:not(.collapsed)::after {
    display: none !important;
}

.accordion-button::after {
    transition: transform 0.2s ease;
}

.accordion-button:hover {
    background-color: #f5f5f5 !important;
}

.accordion-button:focus {
    box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.25) !important;
    outline: none !important;
}

.accordion-item {
    background-color: #fff !important;
    background-image: none !important;
    box-shadow: none !important;
    border: 1px solid rgba(0, 0, 0, 0.05) !important;
    border-radius: 0.5rem !important;
    overflow: hidden;
    color: #666;
    font-family: 'Manrope', Helvetica, Arial, Lucida, sans-serif;
    font-weight: 400;
    font-size: 100%;
    letter-spacing: 0.5px;
    line-height: 1.8em;
}

.accordion-body {
    text-align: justify;
}

.accordion-collapse.collapse.show {
    border-top: none !important;
}

.accordion-button:focus-visible {
    box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.25);
    outline: none;
}

.accordion-button:focus:not(:focus-visible) {
    box-shadow: none !important;
    outline: none !important;
}

/* ======================================================
   BASE SECTION STYLES
   ====================================================== */

.section-title {
    font-weight: 300;
    color: #153652;
    letter-spacing: 1.2px;
    line-height: 1.2em;
}

.section-faded-p {
    color: #fff;
    font-family: 'Manrope', Helvetica, Arial, Lucida, sans-serif;
    font-weight: 400;
    font-size: 100%;
    letter-spacing: 0.5px;
    line-height: 1.8em;
    text-align: justify;
}



@media (max-width: 767.98px) {
    .section-title {
        line-height: 1.4em;
    }
}

/* ======================================================
   FOOTER STYLES
   ====================================================== */

footer {
    font-size: 0.9rem;
    background-color: #153652;
    padding-top: 4rem;
    padding-bottom: 2rem;
}

footer a:hover {
    color: rgba(255, 255, 255, 0.7);
}

footer .contact-info i {
    font-size: 1.5rem;
}

footer .contact-info {
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0;
    line-height: 1.2em;
}

#footer-logo {
    text-align: center;
}

#footer-logo img {
    width: 60%;
    max-width: 156px;
    height: auto;
    display: inline-block;
}

.footer-menu {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-end; 
}

.footer-menu li {
    margin-bottom: 1rem;
}

@media (max-width: 991.98px) {
    .footer-menu {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        flex-wrap: wrap;
    }

    .footer-menu li {
        margin-bottom: 0;
    }
}

/* ======================================================
   COOKIE CONSENT BANNER
   ====================================================== */
.cookie-banner {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 526px;
    background-color: #ffffff;
    color: #666;
    padding: 1.5rem;
    border: 1px solid #ddd;
    border-radius: 12px;
    display: none;
    z-index: 9999;
    font-size: 13px;
}

#cookie-banner:focus {
    outline: none;
}

.cookie-close {
    position: absolute;
    top: 8px;
    right: 12px;
    font-size: 1.4rem;
    color: #000;
    cursor: pointer;
    opacity: 0.6;
    transition: opacity 0.2s ease;
}
.cookie-close:hover {
    opacity: 1;
}

.cookie-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.cookie-content p {
    padding: 2rem 0 .5rem 0;
    margin: 0;
    text-align: justify;
}

.cookie-content a {
    color: #153652;
    text-decoration: underline;
}

.cookie-buttons {
    display: flex;
    justify-content: flex-end;
    gap: 0.5rem;
    flex-wrap: wrap;
}

@media (max-width: 768px) {
    .cookie-banner {
        width: 100%;
        left: 0;
        right: 0;
        bottom: 0;
        border-radius: 0;
        padding: 1rem;
    }

    .cookie-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .cookie-buttons {
        justify-content: center;
        width: 100%;
    }
}

/* ==========================================
   FLOATING WHATSAPP BUTTON
   ========================================== */
.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    background-color: #25D366;
    color: #ffffff;
    font-size: 28px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
    z-index: 9999;
}

.whatsapp-float:hover {
    background-color: #1ebe5b;
}

.whatsapp-float i {
    color: #ffffff;
}

/* ======================================================
   IFRAME STYLES
   ====================================================== */

iframe {
    width: 100%;
    height: 430px;
    border: none;
    overflow: hidden;
}

@media (max-width: 991.98px) {
    iframe {
        height: 800px;
    }
}

@media (max-width: 538.98px) {
    iframe {
        height: 940px;
    }
}

/* ======================================================
   HOMREPAGE STYLES
   ====================================================== */

#top-gallery {
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 0;
}

.top-gallery-inner {
    max-width: 1550px;
    width: 100%;
    display: flex;
    gap: 0;
    position: relative;
    height: auto;
}

.left-col {
    flex: 2;
}

.left-col a,
.right-col a {
    display: block;
    width: 100%;
    height: 100%;
}
.left-col a img,
.right-col a img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: filter 0.3s ease;
}

.right-col {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.right-col img {
    height: 50%;
}

.top-gallery-img {
    filter: brightness(90%);
}

.top-gallery-img:hover {
    filter: brightness(70%);
}

/* OVERLAY – DESKTOP */
.top-gallery-overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3;
  pointer-events: none;
  padding-bottom: 1.6rem;
}

.top-gallery-overlay .container {
  pointer-events: auto;
}

.top-gallery-title {
  position: static;
  color: #fff;
  font-weight: 300;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
  margin: 0;
}

.top-gallery-btn {
  position: static;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  margin-bottom: .5rem;
}

@media (max-width: 767.98px) {

    .top-gallery-inner {
        flex-direction: column;
        height: auto;
    }

    .right-col {
        display: none;
    }

    .left-col {
        flex: 1 1 100%;
    }

    .left-col a img {
        width: 100%;
        height: auto;
    }

    .top-gallery-overlay {
        position: absolute;
        top: 0;
        bottom: 0;
        padding-bottom: 0;
    }

    .top-gallery-overlay .container {
        height: 100%;
        position: relative;
    }

    .top-gallery-overlay .row {
        height: 100%;
        position: relative;
    }

    .top-gallery-btn {
        position: absolute;
        top: 1rem;
        right: 1rem;
        order: unset;
        z-index: 10;
        margin-bottom: 0;
    }

    .top-gallery-title {
        position: absolute;
        left: 1rem;
        bottom: 1rem;
        order: unset;
        z-index: 9;
    }
}


#icon-row p {
    font-size: .8rem;
    line-height: 1.2em;
    color: #153652;
}

#homepage-captions img {
    border-radius: 10px;
}

#homepage-captions .section-title {
    margin: 0;
    padding: 0;
}
 
#homepage-captions p{
    color: #666;
    font-family: 'Manrope', Helvetica, Arial, Lucida, sans-serif;
    font-weight: 400;
    font-size: 100%;
    letter-spacing: 0.5px;
    line-height: 1.8em;
    padding: 0;
    margin: 0;
}

@media (max-width: 767.98px) {
    #homepage-captions .section-title {
    margin: 0;
    padding: 1rem;
}
 
#homepage-captions p{
    padding: 1rem;
    margin: 0;
}
}

#map {
    border: 2px solid #eee;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.leaflet-popup-content {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    line-height: 1.5;
}

.leaflet-container a {
    color: #007bff;
    text-decoration: none;
}

.leaflet-container a:hover {
    text-decoration: underline;
}

#self-checkin .bg-primary {
    min-height: 400px;
    max-height: 600px;
}

#self-checkin .bg-primary {
    overflow-y: auto;
}

.form-control {
    height: 48px;
}

textarea.form-control {
    height: auto;
}

.progress {
    height: 30px;
    border-radius: 15px;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background-color: #153652;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    color: #fff;
    transition: width 0.4s ease;
}

.input-error {
    border-color: #dc3545 !important;
}

.error-text {
    color: #dc3545;
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

/* ======================================================
   DETAILS STYLES
   ====================================================== */

#details-banner {
    position: relative;
}

#details-banner a {
    color: #fff;
}

#details-banner span {
    font-size: 10px;
}

.row.align-items-stretch {
    align-items: stretch;
}

.col-12.col-lg-7 {
    display: flex;
}

.banner-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    border-radius: 10px 0 0 10px;
}

.banner-caption {
    border-radius: 0 10px 10px 0;
}

.in-depth-img {
    filter: brightness(90%);
    transition: filter 0.3s ease;
    border-radius: 10px 10px 0 0;
}

.in-depth-img:hover {
    filter: brightness(70%);
}

.in-depth-icon-container {
    border-radius: 0 0 10px 10px;
}

.in-depth-btn {
    position: absolute;
    display: flex;
    align-items: center;
    gap: .5rem;
    top: 1rem;
    bottom: auto;
    right: 1.8rem;
    z-index: 3;
}

.in-depth-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center; 
    text-align: center;
    margin-bottom: 1rem;
}

.in-depth-icon p {
    font-size: .8rem;
    line-height: 1.2em;
    color: #153652;
}

.list-distances li {
    font-size: 1.2rem;
    margin-bottom: 1.5em;
}

.distances span {
    line-height: 1.2em;
    color: #153652;
}

@media (max-width: 1199.98px) {
    .banner-img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
        display: block;
        border-radius: 10px;
    }
    .banner-caption {
        border-radius: 10px;
    }
}

/* ======================================================
   THINGS TO DO PAGE STYLES
   ====================================================== */

#things-to-do-banner {
    height: 80vh;
    min-height: 600px;
    overflow: hidden;
}

#things-to-do-banner .banner-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
}

#things-to-do-banner .banner-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 2;
}

#things-to-do-banner .banner-content {
    z-index: 3;
}

.swiper-edge {
    width: 100%;
    padding-left: var(--container-padding, 15px);
    box-sizing: border-box;
}

.swiper-card {
    position: relative;
    background: #f5f5f5;
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.swiper-image-bg {
    width: 100%;
    height: 250px;
    background-size: cover;
    background-position: center;
    transition: transform 0.4s ease;
    border-radius: inherit;
    position: relative;
}

.swiper-img-container {
    width: 100%;
    height: 250px;
    overflow: hidden;
}

.swiper-card:hover .swiper-image-bg {
    transform: scale(1.1);
}

.swiper-content {
    padding: 20px 20px 30px 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 0;
}

.slider-caption {
    flex-grow: 1;
}

.swiper-price {
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 18px;
}

.swiper-price .h4 {
    margin-bottom: 0;
}

.badge-overlay {
    position: absolute;
    top: 15px;
    left: 15px;
    color: #fff;
    padding: 6px 12px;
    border-radius: 10px;
    font-size: 12px;
    pointer-events: none;
    z-index: 2;
}

.swiper-slide {
    display: flex;
    height: auto;
}

.swiper-slide {
    width: 75%;
}

@media (min-width: 768px) {
    .swiper-slide {
        width: 40%;
    }
}

@media (min-width: 1200px) {
    .swiper-slide {
        width: 28%;
    }
}

.swiper-controls button {
    background: none;
    border: none;
    box-shadow: none;
    width: 40px;
    height: 40px;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    cursor: pointer;
}

.swiper-controls-light button {
    background: none;
    color: #fff;
    border: none;
    box-shadow: none;
    width: 40px;
    height: 40px;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    cursor: pointer;
}

.swiper-button-disabled {
    opacity: .5;
}