/* START GENERAL */
:root {
    --carousel-img-height: 220px;
}

html, body {
    height: 100%;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main {
    flex: 1;
    padding-bottom: 2rem;
}

.no-right-click {
    pointer-events: none;
}

.sticky-footer {
    margin-top: auto !important;
}

#footer.light {
    background: #F7F8FA;
    font-size: 95%;
}

.footer-text.light {
    color: #707070;
}

.footer-link.light {
    color: black;
}

.navbar.light {
    background: #F7F8FA;
}

.navbar-nav .dropdown-item.light,
.nav-link.light {
    color: black !important;
}

.dropdown-item.light:focus {
    background-color: var(--bs-rs-main);
    color: white !important;
}

.str-layout-phoneNote {
    font-size: 12px;
    font-weight: 400;
    color: #707070;
}

i.favBadge {
    display: inline-block;
    position: relative;
    top: 4px;
    left: -15px;
    font-size: 11px;
    color: #ffffff;
    background: var(--bs-rs-main);
    border-radius: 30px;
    text-align: center;
    width: 17px;
    height: 17px;
    padding: 1px 0px 0px 0px;
}

@media (max-width: 365px) {
    .row-cols-xs-1 > * {
        flex: 0 0 100%;
        max-width: 100%;
    }
}
/* END GENERAL */

/* START Banner */
.promo__static {
    position: relative;
    overflow: visible;
    height: 600px;
    display: flex;
    align-items: stretch;
}

.promo__img-container {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    overflow: hidden;
    z-index: 1;
}

.promo__img-container img {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    object-fit: cover;
    opacity: 0;
    transform: scale(1);
    transition-property: opacity, transform;
    transition-timing-function: ease-in-out;
    transition-duration: 5s, 0.4s; /* zoom 5s, opacity 0.4s */
    will-change: opacity, transform;
}

.promo__img-container img.active {
    opacity: 1;
    transform: scale(1.05);
}

/* Obsah v banneru */
.promo__content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
    padding-top: 2rem;
    padding-bottom: 2rem;
    overflow: visible;
}

.promo__header {
    font-size: 4rem;
    font-weight: 700;
}

.promo__text {
    font-size: 1.25rem;
    line-height: 1.6;
    font-weight: 400;
}

/* Formulář v banneru (desktop) */
.promo__form {
    max-width: 1200px;
    margin-top: 2rem;
    bottom: 2px;
}

/* MOBILE – výška a styl */
@media (max-width: 767px) {
    .promo__static {
        height: 200px;
        padding-bottom: 0;
        min-height: 464px;
    }

    .promo__img {
        height: 100%;
        width: 100%;
        
    }

    .promo__header {
        font-size: 1.75rem;
        text-align: center;
    }

    .promo__text {
        font-size: 1rem;
        text-align: center;
    }
}
/* END Banner */

/* START Reality:searchResult */
.searchResult-section {
    margin-top: 5rem;
}

.searchResult-button {
    color: var(--bs-rs-main);
    border: 1px solid #D9D9D9;
    font-size: 20px;
    font-weight: 700;
    margin-top: 22px;
    padding: 8px 15px;
}

.searchResult-button:hover,
.searchResult-button:focus {
    color: var(--bs-rs-main);
    border: 1px solid #D9D9D9;
}

.searchResult-searchForm {
    width: 100%;
}

.noResultBtns {
    color: var(--bs-rs-main);
    border: 1px solid #D9D9D9;
    font-size: 20px;
    font-weight: 700;
    padding: 8px 15px;
    margin: 0px 5px;
}

.noResultBtns:hover,
.noResultBtns:focus {
    color: var(--bs-rs-main);
    border: 1px solid #D9D9D9;
}

.noResultText {
    color: #2B2B2B;
    font-size: 36px;
    font-weight: 600;
}

@media (max-width: 1400px) {
    .searchForm-width {
        width: 75% !important;
    }
}
/* END Reality:searchResult */

/* START form */
.form-submit {
    background: var(--bs-rs-main) !important;
    color: #ffffff;
    font-size: 20px;
    font-weight: 700;
    border: none !important;
    transition: all 0.3s ease; /* plynulý přechod */
}

.form-submit:hover,
.form-submit:focus,
.form-submit:active,
.form-submit:disabled {
    background: color-mix(in srgb, var(--bs-rs-main) 90%, black) !important;
    color: #ffffff;
}
/* END form */

/* START SearchForm */
.search-form-button {
    background-color: #ffffff;
    color: #2B2B2B;
    font-size: 22px;
    font-weight: 600;
    border: none;
    transition-duration: 200ms;
}

.search-form-button:hover {
    color: var(--bs-rs-main);
}

.search-form-button::placeholder {
    color: #2B2B2B !important;
    opacity: 1;
}

.custom-border-start-lg {
    border-left: 1px solid #D9D9D9;
}

@media (max-width: 767px) {
    .custom-border-start-lg {
        border-left: none;
    }
}

/* END SearchForm */

/* START reservationForm */
.reservation-container {
    max-height: 100dvh;
    overflow-y: auto;
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 20px 20px 33px 20px;
}

@media (max-width: 991px) {
    .reservation-container {
        position: static;
        max-height: none;
        overflow: visible;
        padding: 20px;
    }
}

.reservation-form-button {
    background-color: #ffffff !important;
    color: #2B2B2B !important;
    font-size: 18px;
    font-weight: 600;
    border-left: none;
}

.reservation-form-button::placeholder {
    color: #2B2B2B !important;
    opacity: 1;
}

.reservation-priceNote {
    font-size: 14px;
    font-weight: 400;
    font-style: italic;
}

.reservation-gdpr {
    font-size: 14px;
    font-weight: 400;
    color: #2B2B2B;
}
/* END reservationForm */

/* START reality:listItemCarousel */
.realityCard {
    background-color: #F7F8FA;
    color: #2B2B2B;
    overflow: hidden;
    min-height: 395px;
    width: 100%;
}

.realityCard-body {
    justify-content: space-between;
    padding: 20px;
    padding-bottom: 5px;
}

.realityCard-title {
    font-weight: 600;
    font-size: 22px;
}

.realityCard-text {
    font-weight: 400;
    font-size: 18px;
    margin-bottom: 2px;
}

.realityCard-secText {
    font-weight: 400;
    font-size: 14px;
    color: #707070;
}

.realityCard-price {
    font-weight: 600;
    font-size: 18px;
}

.carousel-indicators [data-bs-target] {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background-color: #ffffff;
    opacity: 0.5;
    margin: 0 4px;
    transition: opacity 0.3s ease;
    border: none;
}

.heart-wrapper {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 5px;
    z-index: 200;
    background: rgba(255,255,255,0.7);
    border-radius: 50%;
}

.heart-text {
    font-weight: 600;
    font-size: 18px;
    line-height: 30px;
    color: #2B2B2B;
    text-decoration: underline;
}

.heart-icon {
    width: 20px !important;
    height: 20px !important;
    margin-bottom: 5px;
    margin-left: 5px;
    cursor: pointer;
    display: inline-block;
}
/* END reality:listItemCarousel */

/* START reality:detail */
.reality-searchForm {
    width: 75%;
}

@media (max-width: 991px) {
    .reality-searchForm {
      width: 100%;
    }
  }

.reality-title {
    font-size: 60px;
    font-weight: 700;
}

.reality-location {
    font-size: 32px;
    font-weight: 600;
}

.reality-detailLocation {
    font-size: 18px;
    font-weight: 400;
    color: #2B2B2B;
}

.reality-link {
    text-decoration: underline !important;
}

.reality-importantInfo {
    font-size: 18px;
    font-weight: 600;
}

.reality-importantInfo-link {
    font-size: 14px;
    font-weight: 600;
    color: #486A72;
    text-decoration: underline;
}

.reality-importantInfo-link:hover {
    color: #6798a3;
    text-decoration: underline;
}

.reality-importantInfo-link:focus {
    color: #6798a3;
    text-decoration: underline;
    box-shadow: none;
}

.reality-brokerbanner-title {
    font-size: 42px;
    font-weight: 600;
    color: #E52613;
}

.reality-brokerbanner-name {
    font-size: 25px;
    font-weight: 600;
}

.reality-brokerbanner-contact {
    font-size: 26px;
    font-weight: 700;
}

.reality-brokerbanner-contact-underNumber {
    font-size: 16px;
    font-weight: 400;
    color: #707070;
}

.reality-grayText {
    color: #707070;
}

.reality-img-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: rgba(185, 185, 185, 0.5);
    z-index: 1;
}

.reality-img-button {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    background-color: #ffffff;
    border: none;
    z-index: 2;
    width: 80%;
}

.reality-options-button {
    background-color: #ECF0F3;
    border: none;
    border-radius: 0.375rem;
    white-space: normal;
    word-break: break-word;
    padding: 0.5rem 1rem;
}

.reality-img-button:hover,
.reality-img-button:focus,
.reality-options-button:hover,
.reality-options-button:focus {
  background-color: #ECF0F3 !important;
  box-shadow: none !important;
  color: inherit !important;
  border: none;
}

.gallery-main-image-container {
    /*margin-bottom: 2px;*/
}

.gallery-main-image {
    aspect-ratio: 4/3;
    width: 100%;
    height: auto;
}

.gallery-main-image img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain; /* udrží celý obrázek */
    object-position: bottom;
}

.gallery-other-image {
    flex: 0 0 50%;
    aspect-ratio: 16/9;
    width: 100%;
    position: relative;
    overflow: hidden;
}

.gallery-other-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: bottom;
    display: block;
}
/* END reality:detail */

/* START modals */
.listfilter-radiogroup {
    background-color: #F7F8FA;
    padding: 0.25rem;
    border-radius: 1rem;
}

.listfilter-radiogroup .btn {
    color: #2B2B2B;
    font-size: 14px;
    font-weight: 600;
    border: none;
    border-radius: 0.75rem;
    padding: 0.5rem 1rem;
    transition: all 0.2s ease;
}

.listfilter-radiogroup .btn-check:checked + .btn {
    color: #2B2B2B;
    background-color: #ffffff;
    box-shadow: 0px 2px 6px rgba(0,0,0,.1);
}

.listfilter-radiogroup .btn:not(.active):hover {
    background-color: #eceff3;
}

.listfilter-radiogroup .btn.btn-outline-primary {
    border: none;
}

.listfilter-radiogroup .btn.btn-outline-primary.active,
.listfilter-radiogroup .btn.btn-outline-primary:active,
.listfilter-radiogroup .btn.btn-outline-primary:focus {
    border: none;
    color: #2B2B2B;
    background-color: #ffffff;
    box-shadow: 0px 2px 6px rgba(0,0,0,.1);
}

.listfilter-resetFilters {
    color: #2B2B2B;
    background-color: #ECF0F3;
    font-size: 14px;
    font-weight: 600;
    padding: 0.5rem 1rem 0.5rem 1rem;
    border: none;
    border-radius: 0.5rem;
}

.listfilter-search {
    color: #ffffff;
    background-color: var(--bs-rs-main);    
    border: 1px solid var(--bs-rs-main);
    font-size: 14px;
    font-weight: 600;
    padding: 0.5rem 1rem 0.5rem 1rem;
    border-radius: 0.5rem;
    box-shadow: 0px 5px 14px 0px #E41E1359;
}

.listfilter-overPrice {
    color: #707070;
    font-size: 1rem;
    font-weight: 400;
    margin-bottom: 0px;
}

.listfilter-price {
    color: var(--bs-rs-main);
    font-size: 1.25rem;
    font-weight: 600;
}

.share-main-image {
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}

@media (max-width: 575px) {
    .share-main-image {
        margin-bottom: 30px;
    }
}

.share-btn {
    display: flex;
    align-items: center;
    border-radius: 8px;
    border-color: #D9D9D9;
    padding: 8px 14px;

    font-weight: 600;
    font-size: 14px;
    color: #2B2B2B;
}

.share-btn:hover,
.share-btn:focus,
.share-btn:active {
    border-color: #486A72;
}
/* END modals */

/* START popups */
.popup {
    position: absolute;
    width: 400px;
    padding: 1.5rem;
    box-shadow: 0 70px 50px rgba(0, 0, 0, 0.3) !important;
    border-radius: 1rem !important;
    z-index: 1000;
}

@media (max-width: 920px) {
    .popup {
        position: fixed !important;
        left: 0 !important;
        right: 0 !important;
        top: 0 !important;
        bottom: auto !important;
        width: 100% !important;
        max-height: 70vh;
        padding-top: 3rem !important;
    }

    .popup .btn-close {
        display: block !important;
        position: absolute;
        top: 0.75rem;
        right: 0.75rem;
        z-index: 1100;
    }

    .flatpickr-innerContainer {
        justify-content: center !important;
    }
}

.guests-buttons {
    width: 45px;
    height: 45px;
    border: 1px solid #D9D9D9 !important;
    color: #2B2B2B !important;
}

.guests-buttons:hover {
    background-color: #dfdfdf;
}

.gallery-modal-xl {
    max-width: 100rem;
    padding-left: 1rem;
    padding-right: 1rem;
}

.gallery-columns {
    column-count: 4;
    column-gap: 0.5rem;
}

@media (max-width: 1200px) {
    .gallery-columns {
        column-count: 3;
    }
}

@media (max-width: 768px) {
    .gallery-columns {
        column-count: 2;
    }
}

@media (max-width: 576px) {
    .gallery-columns {
        column-count: 1;
    }
}

.gallery-img-wrapper {
    overflow: hidden;
    display: block;
    margin-bottom: 0.5rem;
}

.gallery-img-wrapper img {
    width: 100%;
    display: block;
    transition: transform 0.75s ease;
    break-inside: avoid;
}

.gallery-img-wrapper img:hover {
    transform: scale(1.03);
}
/* END popups */

/* START flatpickr */
.flatpickr-calendar {
    color: #2B2B2B !important;
}

.flatpickr-day.selected,
.flatpickr-day.startRange,
.flatpickr-day.endRange {
    /*background: var(--bs-rs-main) !important;*/
    background: #2fa73b !important;
    border: none !important;
    color: #ffffff;
    box-shadow: none !important;
}

.flatpickr-day.inRange {
    /*background: color-mix(in srgb, var(--bs-rs-main) 40%, white) !important;
    box-shadow: 10px 0 0 color-mix(in srgb, var(--bs-rs-main) 40%, white) !important;*/
    background: color-mix(in srgb, #2fa73b 40%, white) !important;
    box-shadow: 10px 0 0 color-mix(in srgb, #2fa73b 40%, white) !important;
    border: none;
}

.flatpickr-day:hover {
    /*background: var(--bs-rs-main) !important;
    border-color: var(--bs-rs-main) !important;*/
    background: #2fa73b !important;
    border-color: #2fa73b !important;
    color: #ffffff;
}

.flatpickr-day.startRange:not(.endRange) {
    /*box-shadow: 10px 0 0 var(--bs-rs-main) !important;*/
    box-shadow: 10px 0 0 #2fa73b !important;
}
/* END flatpickr */

#mapcontainer {
    position: sticky;
    top: 15px;
    height: 80vh;
}

#map {
    max-height: unset;
    height:100%;
}

.pricePin {
    padding: 1px 6px;
    border: 1px solid black;
    background-color: whitesmoke;
    border-radius: 8px;
    font-weight: bold;
    font-size: 120%;
    box-shadow: 2px 2px 6px gray;
}

.container-xl {
    max-width:1500px;
}

.shadow {
    box-shadow: 0 0 .8rem rgba(0,0,0,.2) !important;
}

/* START contact */
.str-contact-wrapper {
    display: flex;
    justify-content: center;
    padding: 4rem 1rem;
    margin-top: 4rem;
    background-image: url('/images/str_contact_background.jpg');
    background-size: cover;
    background-position: center;position: relative;
    z-index: 0;
    overflow: hidden;
}

/* Tmavý overlay */
.str-contact-wrapper::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.2);
    z-index: 1;
}

.str-contact-inner {
    max-width: 900px;
    width: 100%;
    z-index: 2;
}

.str-contact-header {
    font-size: 60px;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #ffffff
}

.str-contact-subtitle {
    font-size: 22px;
    font-weight: 400;
    margin-bottom: 2.5rem;
    color: #ffffff
}

.str-contact-boxes {
    max-width: 40rem;
    margin-left: auto;
    margin-right: auto;
}

.str-contact-box {
    padding: 2rem 3rem;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    min-height: 90px;
}

.str-contact-icon {
    width: 2rem;
    height: 2rem;
}

.str-contact-text {
    font-size: 20px;
    font-weight: 700;
    color: #2B2B2B;
}

.str-contact-note {
    font-size: 14px;
    color: #707070;
}

@media (max-width: 991px) {
    .str-contact-boxes {
        align-items: center;
    }

    .str-contact-box {
        width: 100%;
        max-width: 600px;
    }
}

@media (max-width: 768px) {
    .str-contact-box {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }

    .str-contact-icon {
        margin-bottom: 0.5rem;
    }

    .str-contact-header {
        font-size: 32px;
    }

    .str-contact-text {
        font-size: 18px;
    }

    .str-contact-note {
        font-size: 13px;
    }
}
/* END contact */

/* END favourite */
.favouriteTitle {
    font-size: 4rem;
    font-weight: 700;
    line-height: 4rem;
    margin-bottom: 0;
}

@media (max-width: 991px) {
    .favouriteTitle {
        font-size: 3rem;
    }
}

@media (max-width: 767px) {
    .favouriteTitle {
        font-size: 3rem;
    }
}
/* END favourite */

/* START preview */
.preview-box {
    position: sticky;
    top: 0px;
    left: 0px;
    width: 100%;
    background-color: #FFEDD5;
    justify-content: center;
    align-items: center;
    z-index: 1100;
}

.preview-title {
    font-size: 22px;
    font-weight: 600;
    color: #C2410C;
}

.preview-disabled {
    cursor: not-allowed;
}

.preview-disabled div,
.preview-disabled svg {
    cursor: not-allowed !important;
}

.preview-sidebox {
    position: fixed;
    top: 50%;
    right: 0;
    width: auto;
    transform: translateY(-50%);
    background-color: #FFEDD5;
    z-index: 1100;
}

@media (max-width: 991px) {
    .preview-sidebox {
        display: none;
    }
}

.preview-sidebox .close-sidebox {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 10px;
    height: 10px;
    padding: 0;
    opacity: 0.7;
    z-index: 1200;
}
.preview-sidebox .close-sidebox:hover,
.preview-sidebox .close-sidebox:focus {
    opacity: 1;
    box-shadow: none;
}

.preview-sidebox-titlebox {
    display: flex;
    align-items: center;
    border-bottom: 1px solid #C2410C;
}
/* END preview */