/* Import jednotlivých CSS souborů */
@import url("header.css");
@import url("footer.css");
@import url("responsive.css");
@import url("css_sluzby.css");
@import url("css_kontakty.css");
@import url("css_obchodni-podminky.css");
@import url("css_invest.css");
@import url("css_cookies.css");

:root {
    --rr-primary-dark: #28265B;
    /* hlavní tmavě modrá – nadpisy, menu, důležitý text */
    --rr-primary-accent: #3B8CCC;
    /* světlejší modrá – tlačítka, ceny, odkazy */
    --rr-bg-dark: #1a1c1d;
    /* stávající tmavé pozadí, zatím necháme */
}


/* Světlý základ pro Reinen Reality */
body {
    background-color: #f5f7fa;
    color: #222;
    font-family: "Open Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}



a[href^="tel"] {
    color: inherit !important;
    /* Zachová barvu textu */
    text-decoration: none !important;
    /* Odebere podtržení */
}

h1,
h2,
h3 {
    font-family: "Montserrat", "Open Sans", sans-serif;
    font-weight: 600;
    color: #28265B;
    /* tmavá modrá z loga */
    letter-spacing: 0;
}


/* Přidán zpět background image a styl pro hero sekci */
.hero {
    height: 350px;
    background: url(../img/example\ \(8\).jpg) no-repeat center center / cover;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    padding-top: 50px;
    gap: 40px;

}

.hero-nabidka {
    height: 350px;
    background: url(../img/parking_s.jpg) no-repeat center center / cover;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
    text-align: center;
    color: white;
}


.hero-obchodni-podminky {
    background: url(../img/obchodni-podminky2.jpg) no-repeat center center / cover;
}

.hero-kontakty {
    background: url(../img/couple1_s.jpg) no-repeat center center / cover;
}

.hero h1 {
    font-family: "Montserrat", "Open Sans", sans-serif;
    font-size: 3rem;
    margin-bottom: 10px;
    max-width: 1380px;
    margin-bottom: 40px;
    line-height: 57.2px;
    margin-top: 171px;
    padding: 15px 20px 20px 25px;
    display: inline-block;
    margin: 0;
    text-align: center;
}




.hero p {
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.cta {
    font-family: "Montserrat", "Open Sans", sans-serif;
    background-color: var(--rr-primary-accent);
    color: white;
    padding: 5px 30px 14px 30px;
    text-decoration: none;
    font-size: 20px;
    border-radius: 5px;
    transition: background 0.3s;
    letter-spacing: 1.2px;
    word-spacing: 1.2px;
}

.cta:hover {
    background-color: #2f6ca1;
}


.cars-list {
    text-align: center;
    padding: 30px;
    margin: 0 auto;
    padding-top: 20px;
    background-color: #ececec;
}

.cars-list h2 {
    font-family: "Montserrat", "Open Sans", sans-serif;
    font-size: 1.6rem;
    margin-bottom: 35px;
}

.car-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.car-name {
    width: 100%;
    font-size: 20px;
}

.car-title {
    width: 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
}

.car-desc {
    width: 50%;
    font-size: 15px;
    color: #aaa;
    font-size: 19px;
}

.car-item {

    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
    /* Zabrání přetékání */
    margin-bottom: 0px;
    cursor: pointer;
    border-radius: 20px;
}

.car-image {
    width: 100%;
    border-radius: 10px;
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 3px;
    width: 100%;
    transition: transform 0.6s ease-in-out;
    /* Plynulé zvětšení */

}



.car-info {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    background-color: #ffffff;
    /* bílá karta */
    color: #222;
    /* tmavý text */
    z-index: 5;
    justify-content: space-between;
    align-items: flex-start;
    padding-top: 0;
    padding-bottom: 0;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.06);
    /* jemný stín */
    border-radius: 6px;
}


.car-name {
    width: unset;
    margin: 0;
    text-align: left;
}



.car-name-container {
    font-weight: 600;
    display: flex;
    flex-direction: column;
    margin-left: 5px;
}

.car-name-podnazev {
    font-size: 13px;
    font-weight: 500;
}

.car-meta {
    font-size: 14px;
    width: 100%;
    margin-bottom: 10px;
    position: relative;
    top: -108px;
    color: white;
    font-family: "Ethnocentric", sans-serif;
    color: white;
    font-weight: 500;
    display: flex;
    justify-content: space-between;
    align-items: center;
    /* width: 100%; */
    padding-bottom: 4px;
    background-color: #00000085;
    padding-left: 30px;
    padding-right: 30px;
}

.car-meta .year {

    border-radius: 5px;
    padding: 5px 7px;

    font-weight: 500;
}

.car-meta .fuel {
    margin: 0 10px;
}



.price {

    font-weight: bold;
    color: var(--rr-primary-accent);
    text-align: right;
    font-size: 19px;
    width: 100%;
    border: none;
    font-size: 20px;
    margin: 0;
    padding: 0;

}


.full-offer {
    text-align: center;
    margin: 40px 0;
}

.cta-orange {
    display: inline-block;
    background-color: var(--rr-primary-accent);
    /* Oranžová barva */
    color: white;
    padding: 7px 30px 15px 30px;
    text-decoration: none;
    font-size: 1.5rem;
    font-family: "Montserrat", "Open Sans", sans-serif;
    /* Speciální font */
    border-radius: 5px;
    transition: background 0.3s;
    letter-spacing: 1.2px;
    word-spacing: 1.2px;
}

.cta-orange:hover {
    background-color: #2f6ca1;
    /* Tmavší odstín při hoveru */
}



.custom-car {
    width: 100vw;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f0f3f8;
    /* světle šedé pozadí */
}

.custom-car-container {
    display: flex;
    width: 100vw;
    /* Celá šířka obrazovky */
    height: 500px;
    /* Výška sekce */
    overflow: hidden;
}

.custom-car-image {
    width: 40%;
}

.custom-car-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Vyplní celý prostor */
}

.custom-car-text {
    padding: 50px;
    color: #222;
    background: #ffffff;
    /* bílý box s textem */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    width: 60%;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.06);
}

.custom-car-text h2 {
    font-family: "Montserrat", "Open Sans", sans-serif;
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.custom-car-text p {
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.cta-green {
    display: inline-block;
    background-color: var(--rr-primary-accent);
    font-family: "Montserrat", "Open Sans", sans-serif;
    color: white;
    padding: 7px 30px 15px 30px;
    text-decoration: none;
    font-size: 1.2rem;
    border-radius: 5px;
    transition: background 0.3s;
}

.cta-green:hover {
    background-color: #2f6ca1;
}

.car-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}


/* 

Přidán CSS pro SLUŽBY --
--

-
--
--
--
*/

.info-boxes {
    display: flex;
    padding: 50px 0;
    max-width: 1400px;
    margin: 0 auto;
    flex-wrap: wrap;
    justify-content: space-between;
}

.info-boxes h2 {
    width: 100%;
    text-align: center;
    font-family: "Montserrat", "Open Sans", sans-serif;
    font-size: 1.6rem;
    margin-bottom: 40px;
}

.info-box {
    width: calc(32.9% - (20px / 3));
    /* Každá karta bude mít 33.3% mínus mezery */
    border-radius: 10px;
    overflow: hidden;
    text-align: center;
    transition: transform 0.3s ease;
}

.info-box img {
    width: 100%;
    height: 260px;
    object-fit: cover;
}

.info-box:hover {
    transform: translateY(-5px);
}

.info-content {
    padding: 15px;
    color: white;
}

.info-content h3 {
    font-family: "Montserrat", "Open Sans", sans-serif;
    font-size: 1.4rem;
    color: var(--rr-primary-accent);
    margin-top: 0;
    padding-bottom: 0px;
    margin-bottom: 10px;
}

.info-content p {
    font-size: 1rem;
    color: #ffffff;
    line-height: 1.5;
}





/* STRÁNKA DETAIL
-------------------
------------------- 
-------------------
------------------- 
-------------------
-------------------
-------------------
-------------------*/

.car-detail-container {
    display: flex;
    gap: 30px;
    padding: 40px;
    margin: 0 auto;
    margin-top: 60px;
}



.car-detail-left {
    flex: 1;
    text-align: center;
}

/* Nový wrapper pro hlavní obrázek a navigaci */
.image-wrapper {
    position: relative;
    display: inline-block;
    width: 100%;
    max-width: 800px;
}

/* Hlavní obrázek */
.main-car-image {
    width: 100%;
    border-radius: 10px;
    display: block;
    max-height: 600px;
}

/* Galerie miniatur */
.thumbnail-gallery {
    display: flex;
    justify-content: center;
    margin-top: 10px;
}

.thumbnail {
    width: 80px;
    height: auto;
    margin: 5px;
    cursor: pointer;
    border-radius: 5px;
    transition: transform 0.3s ease;
}

.thumbnail:hover {
    transform: scale(1.1);
}

/* Navigační oblast (jen přes hlavní obrázek) */
.image-navigation {
    position: absolute;
    top: 15%;
    bottom: 10%;
    width: 15%;
    height: 70%;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: auto;
    user-select: none;

    /* Fade nahoře a dole pomocí masky */
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 20%, black 80%, transparent 100%);
    mask-image: linear-gradient(to bottom, transparent 0%, black 20%, black 80%, transparent 100%);

}

.image-navigation.left {
    left: 0;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.5), transparent);
}

.image-navigation.right {
    right: 0;
    background: linear-gradient(to left, rgba(0, 0, 0, 0.5), transparent);
}

/* Šedá plocha a šipky se zobrazí pouze při najetí na hlavní obrázek */
.image-wrapper:hover .image-navigation {
    opacity: 1;
}

/* Šipky bez pozadí, pouze kontrastní efekt */
.image-navigation .arrow {
    font-size: 40px;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    transition: transform 0.2s ease;
}

/* Šipky zarovnané vertikálně uprostřed hlavního obrázku */
.arrow-left,
.arrow-right {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

/* Zvýraznění šipek při najetí */
.image-navigation .arrow:hover {
    transform: scale(1.3);
}



/* Lightbox - pozadí přes celé okno */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

/* Obsah lightboxu */
.lightbox-content {
    position: relative;
    text-align: center;
}

/* Obrázek v lightboxu */
#lightbox-image {
    max-width: 90%;
    max-height: 90vh;
    border-radius: 10px;
}

/* Zavírací tlačítko */
.close-lightbox {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 30px;
    color: white;
    cursor: pointer;
}

/* Navigační šipky v lightboxu */
.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 50px;
    color: white;
    cursor: pointer;
    padding: 10px;
    user-select: none;
}

.lightbox-nav.left {
    left: 20px;
}

.lightbox-nav.right {
    right: 20px;
}

.lightbox-nav:hover {
    color: var(--rr-primary-accent);
}




.car-detail-right {
    flex: 1;
    background: #1a1c1d;
    padding: 0 20px 0 0;

    border-radius: 10px;
    color: white;
}

.car-detail-right h1 {
    padding-left: 8px;
    font-size: 2rem;
}

.car-price {
    font-size: 28px;
    color: var(--rr-primary-accent);
    font-weight: bold;
    padding-left: 0px;
    padding-right: 5px;
}

.car-specs {
    width: 100%;
    margin-top: 20px;
}

.car-specs td {
    padding: 8px;
    border-bottom: 1px solid #333;
}

.contact-buttons {
    margin-top: 20px;
}

.contact-buttons_sluzby {
    margin-bottom: 40px;
    margin-top: 40px;
}

.contact-btn {
    display: block;
    text-align: center;
    padding: 10px 15px;
    border-radius: 5px;
    margin: 5px 0;
    font-size: 18px;
    text-decoration: none;
    background: var(--rr-primary-accent);
    color: white;
}

.contact-btn.green {
    background: var(--rr-primary-accent);
}

.contact-btn.orange {
    background: var(--rr-primary-accent);
}

.car-equipment {
    max-width: 1200px;
    margin: 50px auto;
}

.car-equipment h2,
.car-note h2 {
    font-size: 24px;
    text-align: center;
}

.equipment-columns {
    display: flex;
    justify-content: space-between;
}

.equipment-columns ul {
    list-style: none;
    padding: 0;
}

.equipment-columns li {
    padding: 5px 0;
    border-left: 3px solid var(--rr-primary-accent);
    padding-left: 10px;
}

.car-note {
    max-width: 1200px;
    margin: 50px auto;
    padding: 20px;
    background: #222;
    border-radius: 10px;
    color: white;
}

/*
-------------------
------------------- -------------------
------------------- -------------------
------------------- -------------------
------------------- -------------------
------------------- -------------------
------------------- */






/* 

Blokování všech odkazů kromě tlačítka pokračovat 

body a {
    pointer-events: none;
}

*/

.full-offer a {


    padding: 12px 36px;
    background-color: #3B8CCC;
    color: #ffffff;
    font-family: "Montserrat", "Open Sans", sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 8px;
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.2);
}

@media (max-width: 1315px) {

    .car-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .full-offer a {
        width: 100%;

        margin: 0;
    }



    .hero_main h1 {
        font-size: 25px;
        line-height: 31px;
        /* margin-top: 0px; */
        /* position: absolute; */
        /* top: 30.7vh; */
        padding-bottom: 40px;
        position: relative;

    }

    .hero {
        flex-direction: column;
        justify-content: center;
        padding-left: 0;
        padding-right: 0;
    }



    .hero a {
        width: 75%;
    }

    .hero_main a {
        /* width: unset; */
        /* position: relative; */
        /* top: 35px; */
        /* margin-top: -477px; */
        z-index: 100;
        padding-top: -280px;

        top: 38px;
    }





    .car-container {
        display: grid;
        grid-template-columns: repeat(1, 1fr);
        gap: 10px;
    }

    .cars-list {
        text-align: center;
        padding: 15px;
        padding-top: 0;
        padding-bottom: 30px;
        padding-top: 20px;
    }

    .price {
        width: 100%;
        text-align: right;
    }

    .car-meta {
        width: 100%;
        margin-bottom: 10px;
    }

    .full-offer {
        margin: 25px 0;
    }

    .custom-car-text {
        padding: 10px;
    }

    .custom-car-image {
        width: 100%;
    }

    .custom-car-text {

        width: 100%;
    }

    .custom-car-container {
        height: unset;
        overflow: auto;
        padding: 0px 0px;
    }

    .custom-car-text {
        width: auto;
        padding: 10px;
        align-items: center;
        padding-bottom: 50px;
    }

    .cta-green {
        margin-top: 15px;
    }

    .custom-car-text h2 {
        font-size: 1.6rem;
    }

    .info-box {
        width: 100%;
    }

    .info-boxes {
        padding-top: 0;
        padding-bottom: 0;

    }

    .showroom-container {
        height: unset;
    }

    .showroom-details h3 {
        font-size: 1.6rem;
    }

    .showroom-details {
        padding: 0 30px;
    }

    nav ul {
        background: rgb(26 26 26);
        padding: 25px 0;
    }

    .showroom-image img {
        height: 400px;
    }

    .showroom-details h3 {
        margin-top: 0;
    }

    .showroom-details {
        display: flex;
        flex-direction: column;
        justify-content: space-evenly;
        flex-wrap: nowrap;
    }

    iframe {
        height: 250px;
    }

    .info-box {
        border-radius: 0;
    }

    .cta a {
        width: 75%;
    }

    .info-box img {
        width: 93%;
        border-radius: 7px;
    }

    .info-boxes h2 {
        margin-top: 40px;
    }

    .cta-orange {
        font-size: 17px;
    }

    .cta {
        font-size: 17px;
        padding: 5px 15px 9px 15px;
    }

    .hero a {
        width: unset;
    }

    .services-intro h1 {
        font-size: 2rem;
        color: var(--rr-primary-dark);
        margin-top: 20px;
        margin-bottom: 0;
    }

    .services-intro {
        padding: 20px;
        padding-bottom: 0;
    }

    .cta-green {
        font-size: 17px;
    }

    .car-detail-container {
        display: flex;
        gap: 0px;
        padding: 10px;
        margin: 0 auto;
        margin-top: 60px;
        flex-direction: column;

    }

    .car-detail-right {
        padding: 0;
        ;
    }

    .contact-btn {
        font-size: 15px;
    }

    .equipment-columns {
        display: flex;
        justify-content: space-between;
        padding: 0 10px 0 30px;
        flex-direction: column;
        /* text-align: center; */
    }

    .car-specs td:first-child {
        font-weight: bold;
    }

    .contact-buttons {
        display: flex;
        gap: 0;
        justify-content: space-evenly;
    }

    .contact-btn {
        display: block;
        text-align: center;
        padding: 8px 10px;

    }

    .car-detail-container {

        margin-top: 70px;
    }

}

.hero-sluzby {
    background: url(../img/card4_s.jpg) no-repeat center center / cover;
}



.hero-invest {
    background: url(../img/invest1.jpg) no-repeat center center / cover;
}


.thumbnail-wrapper {
    margin: 0 auto;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    align-items: center;
    /* max-height: 60px; */
    align-content: center;
    margin-top: 10px;
}

.thumbnail {
    margin: 0;

}



@media screen and (max-width: 768px) {

    /* Upravuje se pro mobilní zařízení */
    .extra-vybava ul {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 5px;
        justify-content: start;
        justify-items: stretch;
        padding-left: 20px;
        column-gap: 20px;
        align-items: center;
    }

    .extra-vybava ul li {
        width: 100%;
        box-sizing: border-box;
        padding-left: 3px;
        text-align: left;
    }

    .poznamky ul {
        display: grid;
        gap: 5px;
        padding-left: 20px;
    }

    .poznamky ul li {
        text-align: left;
        padding-left: 5px;
    }


    .extra-vybava,
    .poznamky {
        padding-left: 5px;
        padding-right: 5px;
    }

    .hero-copy h1 {
        padding: 0;

    }

    .hero p {
        font-size: 0.9rem;

    }
}

@media (min-width: 768px) {

    /* Upravuje se pro mobilní zařízení */
    .extra-vybava ul {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 5px;
        justify-content: start;
        justify-items: stretch;
        padding-left: 20px;
        column-gap: 20px;
        align-items: center;
    }

    .extra-vybava ul li {
        width: 100%;
        box-sizing: border-box;
        padding-left: 3px;
        text-align: left;
    }

    .extra-vybava h2 {
        margin-bottom: 30px;
    }

    .poznamky ul {
        display: grid;
        gap: 5px;
        padding-left: 20px;
    }

    .poznamky ul li {
        text-align: left;
        padding-left: 5px;
    }

    .extra-vybava,
    .poznamky {
        max-width: 1100px;
        margin: 0 auto;
    }

    .contact-buttons {
        margin-top: 30px;
        margin-bottom: 50px;
    }

    .poznamky {
        padding-top: 40px;
    }

}

.contact-buttons {
    margin-top: 30px;
    margin-bottom: 30px;
}

/* Modalní okno */
.modal {
    display: none;
    /* Skryté při načtení stránky */
    position: fixed;
    z-index: 1000;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    /* Poloprůhledné pozadí */

    /* Flexbox se aplikuje až když modal otevřeme přes JavaScript */
}

/* Obrázek uvnitř modalu */
.modal-content {
    display: flex;
    margin: auto;
    max-width: 90%;
    max-height: 90%;
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    /* Zajistí, že se obrázek přizpůsobí */
}

/* Zavírací tlačítko */
.close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: white;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
}

/* Navigační šipky v modalu */
.modal-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 40px;
    color: white;
    cursor: pointer;
    padding: 10px;
    user-select: none;
}

.modal-nav.left {
    left: 20px;
}

.modal-nav.right {
    right: 20px;
}

.modal-nav:hover {
    color: var(--rr-primary-accent);
    ;
    /* Zvýraznění na hover */
}

.car-item a {
    text-decoration: none;
}

h2,
h3 {
    line-height: normal;
}

.g-recaptcha {
    display: flex;
    justify-content: center;
}

@media (max-width: 768px) {
    .g-recaptcha iframe {
        height: 80px;
    }
}

.container-thx {
    max-width: 670px !important;
}

.price {
    text-align: right;
    font-size: 20px;
    width: 100%;

}

.price-dph {
    font-size: 15px;
    font-size: 13px;
    font-weight: 500;
}


.car-container {
    max-width: 1400px;
    margin: 0 auto;
}


.filtr-box {
    justify-content: center;

}







.filters-box {
    max-width: 1400px;
    margin: 0 auto;
    /* background: #cecece; */
    padding: 20px;
    color: black;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-end;
    gap: 20px;
    margin: 0 50px;
    border-radius: 3px;

    padding: 0;
    padding-top: 40px;
    margin: 0 auto;
    padding-left: 50px;
    padding-right: 50px;
}

.filters-left,
.filters-right {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.filters-right select {
    appearance: none;
    padding: 8px 12px;
    border-radius: 0;
    font-size: 18px;

    background-color: #1a1c1d;
    color: white;
    min-width: 160px;
    position: relative;
    width: 180px;
    text-align: left;
    border-bottom: 2px solid #727272;


}

.filters-right select.active {
    border-color: var(--rr-primary-accent);
    /* oranžový okraj */
    color: orange;
}

.filters-right select:focus {
    border-color: var(--rr-primary-accent);
    /* oranžová */
    outline: none;
    /* odstraní modrý systémový rámeček */
}

.filters-right option:disabled {
    color: #999;
}

.select-wrapper {
    position: relative;
    display: inline-block;
}

.select-wrapper::after {
    content: "▼";
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    font-size: 10px;
    color: white;
}

.select-wrapper.active::after {
    content: "";
}

.clear-filter {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 14px;
    cursor: pointer;
    display: none;
    color: var(--rr-primary-accent);
    font-weight: bold;
    z-index: 5;
}

.select-wrapper.active .clear-filter {
    display: block;
}

.filters-buttons button,
.filters-right button {
    background-color: #1a1c1d;
    color: #fff;
    border: none;
    padding: 8px 14px;
    border-radius: 6px;
    font-size: 18px;
    cursor: pointer;
    transition: background-color 0.2s ease;
    border: 2px solid #1a1c1d;
    border: 2px solid #727272;
}

.filters-buttons button:hover,
.filters-right button:hover {
    background-color: #666;
}

#arrowRok,
#arrowCena {
    color: var(--rr-primary-accent);
    margin-right: 5px;
}

.filters-buttons button.active {
    border: 2px solid var(--rr-primary-accent);
    ;
    background-color: transparent;
    color: var(--rr-primary-accent);
    ;
}

.filters-buttons button:disabled {
    background-color: #ffffff;
    color: #727272;
    cursor: not-allowed;
    border: 1px solid #999;
}

.reset-filters {
    background-color: var(--rr-primary-accent);
    ;
    color: white !important;
    font-weight: bold;
    padding: 10px 16px;
    font-size: 15px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.reset-filters:hover {
    background-color: #ff9100;
}

.reset-filters .icon-cross {
    margin-right: 3px;
    font-size: 15px;
    color: var(--rr-primary-accent);

}

#filterVse i {
    color: var(--rr-primary-accent);
    margin-right: 3px;
}

#arrowCena,
#arrowRok {
    margin-left: 3px;
}

@media (max-width: 768px) {


    .filters-box {
        flex-direction: column;
        padding: 16px;
        margin: 35px 15px 5px 15px;
    }

    .filters-left,
    .filters-right,
    .filters-reset {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
        justify-content: center;
    }

    .filters-left button,
    .filters-right select,
    .filters-right button,
    .filters-reset button {
        flex: 1 1 calc(50% - 10px);
        font-size: 14px;
        padding: 10px;
        max-width: 100%;
    }

    .filters-right {
        justify-content: space-between;
    }

    .filters-reset {
        margin-top: 10px;
        justify-content: center;
    }

    .filters-reset .reset-filters {
        background-color: var(--rr-primary-accent);
        ;
        color: black;
        font-weight: bold;
        border: none;
        font-size: 16px;
        padding: 10px 16px;
        border-radius: 6px;
    }

    #filterVse i {
        color: var(--rr-primary-accent);
        ;
        margin-right: 3px;
        font-size: 17px;
    }

    #arrowCena,
    #arrowRok {
        margin-left: 3px;
    }

    .filters-buttons {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
        justify-content: center;
    }

    .filters-buttons button {
        flex: 1 1 calc(50% - 10px);
        /* Dvě tlačítka vedle sebe */
        min-width: 120px;
        text-align: center;
        width: 50%;
        font-weight: 600;
        text-transform: uppercase;
    }

    #karoserieSelect,
    #palivoSelect {
        width: 50%;
        font-size: 16px;
        padding-left: 15px;
        text-align: left;
    }

    .filters-buttons {
        width: 100%;
    }

    .filters-right select {
        min-width: 100%;
        width: 50%;


    }

    .select-wrapper {
        position: relative;
        display: inline-block;
        width: 48%;
        border: 0;
    }

    .filters-box {
        gap: 10px;
        padding: 10px;
    }

    #filterVse,
    .filters-right select {
        background-color: #2b2a2a;
        text-align: center;
    }

    .filters-left button,
    .filters-right select,
    .filters-right button {
        flex: 1 1 calc(50% - 10px);
        font-size: 16px;
        padding: 10px;
        max-width: 100%;
        text-align: center;
    }

}



@media (max-width: 768px) {
    .car-price {

        padding-left: 0px;
    }

    .car-meta {
        font-size: 12px;

        top: -101px;

        padding-left: 8px;
        padding-right: 15px;
    }

    .car-meta {
        width: 100%;
        margin-bottom: 0;
    }
}

.car-label {
    display: flex;
}

@media (max-width: 768px) {


    .car-name-podnazev,
    .price-dph {
        font-size: 12px;
    }

    .car-name-hlavni,
    .price-nad-dph {
        font-size: 15.5px;
    }

    .price-nad-dph {
        font-size: 18px;
    }

    .car-info {
        align-items: center;
        align-items: baseline;
    }



}



.category-selection {
    padding: 20px 0;
    background-color: transparent;
    /* ať splývá se světlým pozadím */
    text-align: center;
    background-color: #ffffff;
}


.category-boxes {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    max-width: 1400px;
    margin: 0 auto;
}

.category-box {
    position: relative;
    flex: 1 1;
    overflow: hidden;
    text-decoration: none;
}

.category-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 15px;
    max-height: 200px;

}

.category-title {
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
    color: white;
    font-size: 1.5rem;
    font-weight: bold;
    background-color: #00000085;
    padding: 15px 0;
    font-family: "Montserrat", "Open Sans", sans-serif !important;
    font-weight: 400;
    font-weight: 400;
    padding-top: 5px;
    letter-spacing: 0.16em;
}


@media (max-width: 768px) {
    .category-boxes {
        flex-direction: column;
        gap: 20px;
        padding: 0 15px;
    }

    .category-box {
        flex: 1 1 100%;
    }

    .category-selection {
        padding: 40px 0;
        padding-bottom: 0;
    }

    .services-intro {
        padding-bottom: 10px;
        background: #ececec;
        padding-top: 25px;

    }

    .category-title {
        position: absolute;
        bottom: 10px;
        color: white;
        font-size: 1.2rem;
        padding: 10px 0;
        padding-top: 0;
    }

    .main-car-image {
        max-height: 400px;
    }

    .car-item {
        padding: 0;
    }

    .car-container {
        gap: 15px;
    }

    .nav-links {
        padding-bottom: 50px;
        gap: 30px;
    }
    .hero-inner {
        gap: 30px;
    }
}

@media (min-width: 768px) and (max-width: 1450px) {
    .car-container {
        gap: 20px;
    }

    .cars-list {
        padding: 20px;
    }

    .car-name-hlavni,
    .price-nad-dph {
        font-size: 18px;
    }

    .hero h1 {
        font-size: 2.5rem;
        line-height: 52px;
    }

    .nav-links a {
        font-size: 14px;
    }

    .category-selection {
        padding: 20px 0;
    }

    .category-boxes {
        gap: 20px;
    }
}

.thumbnail.video-thumb {
    position: relative;
    display: inline-block;
    cursor: pointer;
}

.thumbnail.video-thumb img {
    display: block;
    width: 100%;
    height: auto;
}

.thumbnail.video-thumb::after {
    content: '▶';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 60px;
    color: white;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.8);
    pointer-events: none;
}


/* === Reinen Reality – velikost loga === */

/* Logo v hlavičce */
header .logo img {
    max-height: 75px;
    height: auto;
    width: auto;
}

/* Logo ve footeru – menší */
.footer-logo img {
    max-height: 80px;
    height: auto;
    width: auto;
}

/* Na mobilech ještě o chlup menší */
@media (max-width: 768px) {
    header .logo img {
        max-height: 46px;
    }

    .footer-logo img {
        max-height: 70px;
    }
}

/* === Světlý footer pro Reinen Reality === */
footer {
    background-color: #ffffff;
    color: #222;
    border-top: 1px solid #e0e4ea;
}

.footer-bottom {
    border-top: 1px solid #e0e4ea;
    margin-top: 20px;
    padding-top: 15px;
    color: #777;
    font-size: 0.85rem;
}

/* === Reinen Reality – horní navigace === */

.nav-links a {
    font-family: "Montserrat", "Open Sans", sans-serif !important;
    font-weight: 500;
    font-size: 0.9rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #ffffff;
    text-decoration: none;
    border-bottom: none !important;
    /* zruší staré oranžové border-bottom */
    position: relative;
    padding-bottom: 6px;
}

/* Hover a aktivní položka menu */
.nav-links a:hover,
.nav-links a.active {
    color: #3B8CCC;
    /* světlejší modrá z loga */
}

/* Pokud máš někde oranžovou čáru pod aktivní položkou, přebarvíme ji taky */
.nav-links a.active::after {
    content: "";
    display: block;
    margin: 4px auto 0 auto;
    width: 60%;
    height: 2px;
    background-color: #3B8CCC;
}

/* === Reinen Reality – footer typografie a barvy === */

footer {
    background-color: #ffffff;
    color: #222;
    border-top: 1px solid #e0e4ea;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 50px 20px 30px 20px;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 40px;
    text-align: center;
}

.footer-column h3 {
    font-family: "Montserrat", "Open Sans", sans-serif;
    font-weight: 600;
    font-size: 1.05rem;
    color: #3B8CCC;
    /* světlejší modrá (REALITY) */
    margin-bottom: 10px;
}

.footer-column p,
.footer-column a,
.footer-column li {
    font-family: "Open Sans", system-ui, sans-serif;
    font-size: 0.9rem;
    color: #222 !important;
    /* přebijeme starou bílou */
}

.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-column ul li {
    margin-bottom: 4px;
}

.footer-column a {
    text-decoration: none;
}

.footer-column a:hover {
    color: #3B8CCC !important;
}

/* Logo ve footeru menší */
.footer-logo img {
    max-height: 70px;
    height: auto;
    width: auto;
}

/* Spodní proužek copyrightu */
.footer-bottom {
    border-top: 1px solid #e0e4ea;
    margin-top: 10px;
    padding: 12px 20px 20px 20px;
    color: #777;
    font-size: 0.85rem;
    text-align: center;
}

/* Responzivita footeru */
@media (max-width: 992px) {
    .footer-container {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 600px) {
    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-logo img {
        margin: 0 auto;
    }
}


/* === Reinen Reality – HERO sekce === */

.hero_main {
    position: relative;
    height: 55vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}


/* text a tlačítko nad overlayem */
.hero_main h1,
.hero_main .cta {
    position: relative;
    z-index: 2;
}

/* H1 v hero – seriózní, realitní */
.hero_main h1 {
    font-family: "Montserrat", "Open Sans", sans-serif;
    font-weight: 700;
    font-size: clamp(2.2rem, 3.4vw, 3.4rem);
    color: #28265B;
    /* tmavá modrá z loga */
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin: 0 0 1.6rem 0;
}

/* tlačítko v hero */
.hero_main .cta {
    display: inline-block;
    padding: 14px 40px;
    background-color: #3B8CCC;
    color: #ffffff;
    font-family: "Montserrat", "Open Sans", sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: 6px;
    text-decoration: none;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.2);
}

.hero_main .cta:hover {
    background-color: #2f6ca1;
}



/* === Reinen Reality – hlavička jako světlý pruh (styl VojtaReality) === */

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: #ffffff;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
}

/* aby se obsah neposunul pod fixed header */
body {
    padding-top: 80px;
    /* případně uprav dle skutečné výšky headeru */
}

/* zarovnání obsahu v hlavičce */
.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 10px 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* logo v hlavičce */
header .logo img {
    max-height: 72px;
    height: auto;
    width: auto;
}

/* navigace – nový font, barvy, žádná oranžová */
.nav-links {
    list-style: none;
    display: flex;
    gap: 28px;
    margin: 0;
    padding: 0;
}

.nav-links li {
    border-bottom: none !important;
}

.nav-links a {
    font-family: "Montserrat", "Open Sans", sans-serif !important;
    font-weight: 500;
    font-size: 0.9rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #28265B;
    /* tmavá modrá z loga */
    text-decoration: none;
    position: relative;
    padding-bottom: 6px;
    border-bottom: none !important;
    /* zabije starou oranžovou linku */
}

/* jemná modrá linka pod aktivní/hover položkou */
.nav-links a::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background-color: #3B8CCC;
    transition: width 0.2s ease-out;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 80%;
}

.nav-links a.active {
    color: #3B8CCC;
}

/* na mobilech můžeme mezery trochu zmenšit */
@media (max-width: 768px) {


    .nav-links {
        gap: 16px;
    }

    header .logo img {
        max-height: 44px;
    }
}

/* === Reinen Reality – HERO sekce ve stylu moderní realitky === */

.hero {
    position: relative;
    background-size: cover;
    background-position: center center;
}

/* jemný přechod nahoře, žádná brutální černota */
.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom,
            rgba(0, 0, 0, 0.10) 0%,
            rgba(0, 0, 0, 0.00) 40%);
    pointer-events: none;
}

/* konkrétně úvodní hero */
.hero_main {
    min-height: 70vh;
    display: flex;
    align-items: center;

    padding: 0 6vw;
}

/* obsah hero – vlevo v boxu */
.hero-content {
    position: relative;
    z-index: 2;
    max-width: 520px;
    text-align: left;
    padding: 32px 38px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 14px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
}

/* tlačítko */
.hero-content .cta {
    display: inline-block;
    padding: 12px 32px;
    background-color: #3B8CCC;
    color: #ffffff;
    font-family: "Montserrat", "Open Sans", sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 6px;
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.2);
}

.hero-content .cta:hover {
    background-color: #2f6ca1;
}

/* mobil – box přes celou šířku, menší paddingy */
@media (max-width: 768px) {
    .hero_main {
        justify-content: center;
        padding: 0 16px;
    }



    .hero-content h1 {
        font-size: 1.6rem;
    }

    .hero-content .cta {
        width: 100%;
        text-align: center;
    }
}

.hero-content h1 {
    font-family: "Montserrat", "Open Sans", sans-serif;
    font-weight: 600;
    font-size: clamp(2rem, 3vw, 2.6rem);
    color: #28265B;
    letter-spacing: 0.01em;
    text-transform: none !important;
    /* jistota, že už to nebude full CAPS */
    margin: 0 0 1.4rem 0;
    line-height: 1.3;
}

/* === Reinen Reality – HERO SEKCE (finální verze) === */

.hero {
    position: relative;
    background-size: cover;
    background-position: center center;
    overflow: visible;
}

.hero::before {
    /* jen velmi jemný přechod shora, klidně můžeš dát 'background:none' pokud nechceš vůbec nic */
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom,
            rgba(0, 0, 0, 0.08) 0%,
            rgba(0, 0, 0, 0.00) 40%);
    pointer-events: none;
}

/* výška hero se řídí obsahem, žádné useknutí boxu */
.hero_main {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    /* nahoře počítáme s fixním headerem */
    min-height: auto;
    /* necháme content, ne 70vh */
    overflow: visible;
}

/* pro jistotu zabijeme staré podbarvení, co dělalo ten šedý pás */
.hero_main::before {
    content: none !important;
    background: none !important;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 760px;
    width: 100%;
    text-align: center;
    padding: 32px 40px;
    background: rgba(255, 255, 255, 0.93);
    border-radius: 24px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
}

/* nadpis – normální, ne křičící */
.hero-content h1 {
    font-family: "Montserrat", "Open Sans", sans-serif;
    font-weight: 600;
    font-size: clamp(2rem, 3vw, 2.6rem);
    color: #28265B;
    letter-spacing: 0.01em;
    text-transform: none !important;
    margin: 0 0 1.6rem 0;
    line-height: 1.3;
}

/* tlačítko */
.hero-content .cta {
    display: inline-block;
    padding: 12px 36px;
    background-color: #3B8CCC;
    color: #ffffff;
    font-family: "Montserrat", "Open Sans", sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 8px;
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.2);
}

.hero-content .cta:hover {
    background-color: #2f6ca1;
}

/* mobil – menší paddingy, full width box */
@media (max-width: 768px) {
    .hero_main {
        padding: 100px 16px 120px;
    }

    .hero-content {
        max-width: 100%;
        padding: 24px 18px;
    }

    .hero-content h1 {
        font-size: 1.6rem;
    }

    .hero-content .cta {
        width: 100%;
        max-width: 320px;
    }
}


/* === Reinen Reality – karta nemovitosti (seznam / novinky) === */

.car-container {
    display: grid;
    gap: 5px;
}

/* vnější „podložka“ – aby karta byla zaoblená jak v ukázce */
.car-item {
    background-color: #f3f4f6;
    border-radius: 24px;
    padding: 8px;
}

/* klikací oblast karty */
.property-card-link {
    display: block;
    text-decoration: none;
    color: #222;
    background-color: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.12);
    transition: transform 0.15s ease-out, box-shadow 0.15s ease-out;
}

.property-card-link:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 30px rgba(15, 23, 42, 0.16);
}

/* obrázek nahoře */
.property-image-wrap {
    position: relative;
    overflow: hidden;
    border-radius: 20px 20px 0 0;
}

.property-card-image {
    display: block;
    width: 100%;
    height: 260px;
    object-fit: cover;
}

/* badge PRODEJ / PRONÁJEM */
.property-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    padding: 6px 14px;
    background-color: #28265B;
    color: #ffffff;
    font-size: 0.72rem;
    font-family: "Montserrat", "Open Sans", sans-serif;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    border-radius: 999px;
}

/* tělo karty */
.property-card-body {
    padding: 18px 20px 12px;
}

.property-title {
    font-family: "Montserrat", "Open Sans", sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: #111827;
    margin: 0 0 4px 0;
}

.property-price {
    font-family: "Montserrat", "Open Sans", sans-serif;
    color: #3B8CCC;
    font-weight: 700;
    margin: 4px 0 6px 0;
}

.property-location {
    font-size: 0.9rem;
    color: #6b7280;
    margin: 0 0 10px 0;
}

.property-excerpt {
    font-size: 0.9rem;
    color: #4b5563;
    margin: 0;
}

/* spodní lišta s parametry */
.property-card-footer {
    padding: 12px 20px 16px;
    border-top: 1px solid #e5e7eb;
    display: flex;
    justify-content: space-between;
    gap: 5px;
}

.property-attribute {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 0.8rem;
    color: #4b5563;
    text-align: center;
}

.property-attribute i {
    font-size: 1.1rem;
    margin-bottom: 4px;
}

/* mobil */
@media (max-width: 600px) {
    .property-card-image {
        height: 190px;
    }

    .property-card-footer {
        padding-inline: 14px;
    }
}


/* === Reinen Reality – nový HERO panel === */

/* společné pozadí hero (fotka už máš nastavenou dřív) */
.hero_main {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 20px 140px;
    /* nahoře počítá s fixním headerem */
    overflow: visible;
}

/* jemný přechod shora, žádný tmavý pás */
.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom,
            rgba(255, 255, 255, 0.35) 0%,
            rgba(255, 255, 255, 0.00) 40%);
    pointer-events: none;
}

.hero-inner {
    position: relative;
    z-index: 2;
    max-width: 1180px;
    width: 100%;
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    gap: 36px;
    align-items: center;
}

/* levá část – text */
.hero-copy {
    background: rgba(255, 255, 255, 0.92);
    border-radius: 24px;
    padding: 28px 36px 30px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.16);
}

.hero-eyebrow {
    font-family: "Montserrat", "Open Sans", sans-serif;
    font-size: 0.85rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #3B8CCC;
    margin: 0 0 8px 0;
}

.hero-copy h1 {
    font-family: "Montserrat", "Open Sans", sans-serif;
    font-weight: 600;
    font-size: clamp(1.6rem, 3vw, 2.6rem);
    color: #28265B;
    letter-spacing: 0.03em;
    text-transform: none;
    line-height: 1.25;
    margin: 0 0 15px 0;
}


.hero-subtitle {
    font-size: 0.98rem;
    color: #4b5563;
    margin: 0 0 20px 0;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}

/* tlačítka v hero */
.btn-primary,
.btn-secondary {
    display: inline-block;
    padding: 11px 26px;
    font-family: "Montserrat", "Open Sans", sans-serif;
    font-size: 0.9rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    border-radius: 999px;
    text-decoration: none;
    text-align: center;
}

.btn-primary {
    background-color: #3B8CCC;
    color: #ffffff;
    border: none;
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.16);
}

.btn-primary:hover {
    background-color: #2f6ca1;
}

.btn-secondary {
    background-color: #ffffff;
    color: #28265B;
    border: 1px solid #d1d5db;
}

.btn-secondary:hover {
    border-color: #3B8CCC;
    color: #3B8CCC;
}

.btn-primary.full-width {
    width: 100%;
}

/* pravá část – vyhledávací karta */
.hero-search-card {
    background: #ffffff;
    border-radius: 24px;
    padding: 28px 36px 30px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.16);
}

.hero-search-card h2 {
    font-family: "Montserrat", "Open Sans", sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: #28265B;
    margin: 0 0 14px 0;
}

.hero-search-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.hero-search-form .form-row {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.hero-search-form label {
    font-size: 0.8rem;
    color: #6b7280;
}

.hero-search-form input,
.hero-search-form select {
    border-radius: 999px;
    border: 1px solid #d1d5db;
    padding: 8px 14px;
    font-size: 0.9rem;
    font-family: "Open Sans", system-ui, sans-serif;
    outline: none;
}

.hero-search-form input:focus,
.hero-search-form select:focus {
    border-color: #3B8CCC;
}

.form-row-inline {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

/* responzivita */
@media (max-width: 768px) {
    .hero-inner {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .hero-copy {
        padding: 24px 22px 26px;
    }

    .hero-actions {
        flex-direction: column;
    }

    .hero_main {
        padding: 30px 15px 30px;
    }

    body {
        padding-top: 70px;

    }
}


.hero-search-form select {
    background-color: #ffffff;
    color: #111827;
    border-radius: 999px;
    border: 1px solid #d1d5db;
    padding: 8px 40px 8px 14px;
    /* víc místa vpravo kvůli šipce */
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image:
        linear-gradient(45deg, transparent 50%, #6b7280 50%),
        linear-gradient(135deg, #6b7280 50%, transparent 50%);
    background-position:
        calc(100% - 18px) 14px,
        calc(100% - 12px) 14px;
    background-size: 6px 6px, 6px 6px;
    background-repeat: no-repeat;
}

.hero-search-form select:focus {
    border-color: #3B8CCC;
}

.hero_main {
    height: 40vh;
}


/* === FIX: mobilní navigace Reinen Reality === */

/* desktop – hamburger pryč */
@media (min-width: 1201px) {
    .hamburger-menu {
        display: none;
    }
}

/* mobil / tablet */
@media (max-width: 768px) {

    .hero_main {
        height: auto;
    }

    header {
        /* už je fixed a bílé, jen zmenšíme padding */
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
    }

    .header-container {
        padding: 10px 16px;
    }

    nav {
        position: static;
    }

    /* skryté menu – vysune se pod header */
    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        list-style: none;
        margin: 0;
        padding: 16px 0 20px;
        flex-direction: column;
        align-items: center;
        gap: 10px;
        background: #ffffff;
        box-shadow: 0 12px 20px rgba(15, 23, 42, 0.12);
        display: none;
        /* defaultně schované */
        z-index: 90;
    }

    /* když JS přidá .show, menu se zobrazí */
    .nav-links.show {
        display: flex;
    }

    .nav-links a {
        color: #28265B;
        font-size: 0.9rem;
        letter-spacing: 0.16em;
    }

    /* hamburger tlačítko */
    .hamburger-menu {
        display: flex;
        flex-direction: column;
        gap: 5px;
        cursor: pointer;
    }

    .hamburger-menu span {
        display: block;
        width: 28px;
        height: 3px;
        border-radius: 999px;
        background: #28265B;
        /* tmavá modrá, ať to na bílém hezky vidět */
        transition: transform 0.2s ease, opacity 0.2s ease;
    }

    .category-box img {

        max-height: 120px;

    }

    .category-title {
        padding: 10px 0px
    }

    .category-selection {
        padding: 30px 0;
    }

    .category-boxes {
        gap: 15px;
    }

    .hero a{
        line-height: 1.4;
    }
}


/* === Web ve výstavbě – modal === */
#under-construction-modal {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.65);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease-out;
}

#under-construction-modal.visible {
    opacity: 1;
    pointer-events: auto;
}

.uc-modal-card {
    max-width: 420px;
    width: 90%;
    background: #ffffff;
    border-radius: 20px;
    padding: 24px 24px 20px;
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.35);
    text-align: center;
}

.uc-modal-card h2 {
    font-family: "Montserrat", "Open Sans", sans-serif;
    font-size: 1.3rem;
    font-weight: 600;
    color: #28265B;
    margin: 0 0 10px 0;
}

.uc-text {
    margin: 0 0 6px 0;
    font-size: 0.95rem;
    color: #4b5563;
}

.uc-small {
    margin: 0 0 18px 0;
    font-size: 0.8rem;
    color: #6b7280;
}

.uc-close {
    display: inline-block;
    padding: 9px 22px;
    border-radius: 999px;
    border: none;
    background-color: #3B8CCC;
    color: #ffffff;
    font-family: "Montserrat", "Open Sans", sans-serif;
    font-size: 0.85rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    cursor: pointer;
}

.uc-close:hover {
    background-color: #2f6ca1;
}

/* ať obsah pod headerem na mobilech nezařezává */
@media (max-width: 1200px) {
    body {
        padding-top: 69px;
    }
}
.property-image-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 210px;
    background: #e5e7eb;
    color: #6b7280;
    font-size: 0.9rem;
    font-family: "Open Sans", system-ui, sans-serif;
    border-radius: 20px 20px 0 0;
}
.no-click {
    pointer-events: none !important;
}


