/* 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 */
}
html {
    scroll-behavior: smooth;
}


/* 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"] {
    /* 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 {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    padding-top: 50px;
    gap: 40px;

}

.hero {
    height: 480px;
    background: url('../img/webp/hero.webp') no-repeat center center / cover;
}

.hero-nabidka {
    height: 200px;
    background: url(../img/webp/hero1.webp) 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-nemovitosti {
    background: url(../img/webp/reinen-reality-nemovitosti.webp) no-repeat center center / cover;
}
.hero-kontakt {
    background: url(../img/webp/reinen-reality-kontakt.webp) no-repeat center center / cover;
}
.hero-kariera {
    background: url(../img/webp/reinen-reality-kariera.webp) no-repeat center center / cover;
}
.hero-sluzby {
    background: url(../img/webp/reinen-reality-sluzby.webp) no-repeat center center / cover!important;
}
.hero-thank-you {
    background: url(../img/jpg/reinen--reality-thank-you.jpg) no-repeat center center / cover!important;
}


.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 15px 25px;
    display: inline-block;
    margin: 0;
    text-align: center;
}




.hero p {
    font-size: 1.2rem;
    margin-bottom: 0px;
}

.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: 0;
    background-color: #ffffff;
}

.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;
}

.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%;
        padding: 7px 0px 13px 0px;
        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: 20px;
    }

    .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: 1.8rem;
        color: var(--rr-primary-dark);
        margin-top: 20px;
        margin-bottom: 10px;
        margin-top: 30px;
    }

    .services-intro {
        padding-bottom: 0;
    }

    .services-intro p  {
        line-height: 28px!important;
    }
    .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;
    }

}




.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;
        border: 1px solid #88888829;
}

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: 180px;

}

.category-title {
    position: absolute;
    bottom: 15px;
    left: 0;
    right: 0;
    color: white;
    font-size: 1.8rem;
    font-weight: bold;
    background-color: #00000085;
    padding: 10px 0;
    font-family: "Montserrat", "Open Sans", sans-serif !important;
    font-weight: 600;

    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: 25px;
        background: #ffffff;
        padding-top: 25px;

    }

    .category-title {
        position: absolute;
        bottom: 10px;
        color: white;
        font-size: 1.8rem;
        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 20px;
    }

    .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(3, 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: 15px;
}

.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: 15px;
}

.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 15px 20px;
    color: #777;
    font-size: 0.85rem;
    text-align: center;
    margin-bottom: 0;
}

/* Responzivita footeru */
@media (max-width: 992px) {
    .footer-container {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.services-cta {
    background: #f3f4f6;
    padding: 50px 0 60px;
}

@media (max-width: 1000px) {
    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 15px;
    }

    .footer-logo img {
        margin: 0 auto;
    }

    .services-cta {
        padding-left: 15px;
        padding-right: 15px;
    }
}


/* === 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: 95px;
    /* 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: 20px;
    }

    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: 20px;
}



/* 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: auto;
    object-fit: cover;
}

/* badge PRODEJ / PRONÁJEM */
.property-badge {
    position: absolute;
    top: 16px;
    right: 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;
    text-align: justify;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* 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: 30px 35px 30px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.16);
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.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.5rem);
    color: #28265B;
    letter-spacing: 0.03em;
    text-transform: none;
    line-height: 1.10;
    margin: 0;
    max-width: 480px;
}


.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;
    margin-top: 20px;
}


/* 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: 14px;
    text-decoration: none;
    text-align: center;
    min-width: auto;
}
@media (max-width: 768px) {
.btn-primary,
.btn-secondary {

    width: fit-content;
}
}
.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 #9ca1a7;
}

.btn-secondary:hover {
    border-color: #3B8CCC;
    color: #3B8CCC;
}

.btn-primary.full-width {
    width: 100%;
}
.btn-kariera {
    margin: 20px auto;
}

/* 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: 35px 22px 35px;
    }

    .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: 350px;
}


/* === FIX: mobilní navigace Reinen Reality === */

/* desktop – hamburger pryč */
@media (min-width: 1201px) {
    .hamburger-menu {
        display: none;
    }
}

/* mobil / tablet */
@media (max-width: 768px) {

    .hero_main, .hero-nabidka {
        height: 400px;
    }

    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: 20px;
        background: #ffffff;
        box-shadow: 0 12px 20px rgba(15, 23, 42, 0.12);
        display: none;
        /* defaultně schované */
        z-index: 90;
        padding-bottom: 80px;
    }

    /* 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;
    }
}


/* --- Placeholder pro fotku nemovitosti --- */
.property-image-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 240px;
    /* výška pro fotku */
    background: #e5e7eb;
    /* světle šedé pozadí */
    color: #6b7280;
    /* jemný šedý text */
    font-size: 1rem;
    font-family: "Open Sans", sans-serif;
    border-radius: 20px 20px 0 0;
    /* horní zaoblení jako reálná fotka */
    text-align: center;
    font-weight: 500;
}

.property-image-placeholder::before {
    content: "📷";
    display: block;
    font-size: 2rem;
    margin-bottom: 8px;
}

.property-image-placeholder {
    flex-direction: column;
}


/* === PREMIUM REAL ESTATE CARD EFFECT === */

.property-card-link {
    display: block;
    background: #ffffff;
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
    transition: box-shadow 0.25s ease, transform 0.25s ease;
    position: relative;
}

/* efekt zvednutí jako na pravé kartě */
.property-card-link:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.16);
}

/* placeholder obrázek víc připomíná reálnou fotku */
.property-image-placeholder {
    height: 230px;
    background: #e5e7eb;
    color: #6b7280;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 22px 22px 0 0;
    font-size: 1rem;
    font-weight: 500;
}

/* „vzdušnější“ obsah jako na screenu */
.property-card-body {
    padding: 22px 26px 18px;
}

.property-card-footer {
    padding: 14px 26px 20px;
    border-top: 1px solid #e5e7eb;
    display: flex;
    justify-content: space-between;
}

/* === FIX: Oprava dvojitého okraje kolem karet === */



/* Karta – necháme jen jeden radius */
.property-card-link {
    border-radius: 22px !important;
}

/* Placeholder obrázku – také jen jeden radius */
.property-image-placeholder {
    border-radius: 22px 22px 0 0 !important;
}


/* === HLAVNÍ KARTA === */
.property-card-link {
    display: block;
    background: #ffffff;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.07);
    /* čistý, moderní stín */
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

/* === HOVER EFEKT (zvednutí) === */
.property-card-link:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.12);
}

/* === OBRÁZKOVÝ PLACEHOLDER === */
.property-image-placeholder {
    height: 230px;
    background: #eceff1;
    color: #6b7280;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* === OBSAH KARTY === */
.property-card-body {
    padding: 22px 26px;
}

/* === FOOTER KARTY === */
.property-card-footer {
    border-top: 1px solid #e5e7eb;
    background: #ffffff;
    /* žádný šedý blob */
    padding: 14px 26px 18px;
    display: flex;
    justify-content: space-between;
}

.property-attribute {
    flex: 1;
    text-align: center;
    color: #253041;
}

.property-attribute i {
    font-size: 19px;
    margin-bottom: 4px;
}


/* obal seznamu karet nesmí řezat stín */
.cars-list,
.car-container,
.car-item {
    overflow: visible !important;
}

.cars-list .btn-primary{
    margin-top: 20px;
    margin-bottom: 20px;
}

#filters{
  scroll-margin-top: 70px; /* uprav dle výšky headeru */
}

/* Aktivní pole */
.filters-reality .field-wrapper{
  position: relative;
}

.filters-reality .in.active-filter{
  border-color: #2f5fd3;
  box-shadow: 0 0 0 3px rgba(47,95,211,.15);
  background: #f8fbff;
  padding-right: 36px;
}

/* Červené X */
.filter-clear{
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 14px;
  font-weight: 700;
  color: #d60000;
  text-decoration: none;
  cursor: pointer;
  line-height: 1;
}

.filter-clear:hover{
  opacity: .7;
}

/* select bez nativní šipky */
.filters-reality select.in{
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  padding-right: 44px; /* místo pro ikonku vpravo */
}

/* pravý “slot” pro ikonku */
.field-wrapper.has-icon .icon-slot{
  position:absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  border-radius: 999px;
  display:flex;
  align-items:center;
  justify-content:center;
}

/* default caret (naše vlastní šipka) */
.field-wrapper.has-icon .caret{
  color: rgba(0,0,0,.55);
  font-size: 14px;
  line-height: 1;
  user-select:none;
  pointer-events:none; /* ať to neblokuje klik na select */
}

/* X */
.field-wrapper.has-icon .filter-clear{
  width: 28px;
  height: 28px;
  border-radius: 999px;
  display:flex;
  align-items:center;
  justify-content:center;
  background: rgba(214,0,0,.10);
  color: #d60000;
  font-weight: 900;
  text-decoration:none;
  line-height: 1;
}
.filter-clear {
    right: 0!important;
}

.field-wrapper.has-icon .filter-clear:hover{
  background: rgba(214,0,0,.16);
}

.property-card-link {
    display: block;
    background: #ffffff;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(15, 23, 42, 0.08);
    transition: transform 0.5s ease, box-shadow 0.5s ease;
    /* pomalejší */
}

.property-card-link:hover {
    transform: translateY(-8px);
    /* trochu víc nahoru */
    box-shadow: 0 18px 30px rgba(15, 23, 42, 0.16);
}

.hero-nabidka {
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    margin: 0 auto;
}

.hero-subpage .hero-inner,
.hero-nabidka .hero-inner {
    grid-template-columns: unset;

}



@media (min-width: 768px) {
    .logo-class {
        height: 75px;
    }

    body {
        padding-top: 95px;
    }

    

}
@media (max-width: 768px) {

.hero-nabidka h1, .hero-copy h1 {
    letter-spacing: 0;
    margin: 15px 0;
}}

/* Wrapper jako container pod kartama */
.filters-wrap{
  max-width: 1400px;
  margin: 0 auto;
  
}

/* Filtrace */
.filters-reality{
  margin-top: 12px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 12px;
  align-items: center;

  border: 1px solid rgba(0,0,0,.06);
  border-radius: 18px;
  background: #fff;
      overflow: hidden;
    box-shadow: 0 4px 10px rgba(15, 23, 42, 0.08);
    transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.filters-reality .in{
  height: 46px;
  border-radius: 14px;
  border: 1px solid rgba(0,0,0,.10);
  padding: 0 14px;
  font-size: 15px;
  outline: none;
  
}

.filters-reality .in:focus{
  border-color: rgba(0,0,0,.25);
  box-shadow: 0 0 0 4px rgba(0,0,0,.06);
}

/* Akce (tlačítka) – sjednotit výšku */
.filters-reality button,
.filters-reality a.btn-secondary{
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  padding: 0 18px;
  white-space: nowrap;
      background-color: #3B8CCC;
    color: #ffffff;
}

/* Meta */
.filters-reality .filters-meta{
  grid-column: 1 / -1;
  font-size: 13px;
  color: rgba(0,0,0,.65);
  text-align: right;
  margin-top: 2px;
}

/* Tablet */
@media (max-width: 980px){
   .filters-reality{
    grid-template-columns: 1fr 1fr;
  }

  /* Meta pod tím a doleva */
  .filters-reality .filters-meta{
    text-align: left;
  }
}

/* Mobil – vypadá to jako jedna pěkná karta */
@media (max-width: 640px){
  .filters-reality{
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 25px 20px;
  }

  /* Tlačítka na celou šířku */
  .filters-reality button,
  .filters-reality a.btn-secondary{
    width: auto;
  }

  .filters-reality .filters-meta{
    text-align: center;
  }
}

/* ZÁKLADNÍ STYL – všechny category boxy */
.category-box {
    display: block;
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    transition: transform 0.5s ease, box-shadow 0.5s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    /* základní jemný stín */
}

/* Efekt po najetí myší */
.category-box:hover {
    transform: translateY(-4px);
    /* zvednutí */
    box-shadow: 0 18px 32px rgba(0, 0, 0, 0.15);
    /* hlubší stín jako u realitních karet */
    cursor: pointer;
}

/* Obrázek uvnitř */
.category-box img {
    display: block;
    width: 100%;
    height: auto;
    transition: transform 0.4s ease;
}

/* Jemné přiblížení obrázku při hoveru */
.category-box:hover img {
    transform: scale(1.02);
}

/* Překryvný tmavý pás s textem – ať není tak tvrdý */
.category-title {


    background: rgba(0, 0, 0, 0.35);
    /* lehce průhledný overlay */
    text-align: center;
    color: white;
    letter-spacing: 2.5px;
}

.services-grid-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}



.services-grid {
    padding: 40px 0 60px;
    background: white;
}

@media (max-width: 1000px) {
    .services-grid {
        padding: 40px 15px
    }
}

.services-grid-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.service-card {
    background: #ffffff;
    border-radius: 18px;
    padding: 22px 24px 20px;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.06);
    box-shadow: 0 4px 10px rgba(15, 23, 42, 0.08);
        border: 1px solid #88888829;
}

.service-card h2 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    margin-top: 0;
}

.service-card p {
    font-size: 0.95rem;
    color: #4b5563;
    margin-bottom: 10px;
}

.service-card ul {
    padding-left: 18px;
    margin: 0;
    font-size: 0.9rem;
    color: #4b5563;
}

.service-card h2 {
    font-size: 25px;
}

.services-grid-inner-kariera {
    max-width: 800px;
}

/* === KARIÉRA ACCORDION === */
.kariera-list {
    max-width: 860px;
    margin: 0 auto 60px;
    padding: 60px 24px 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.kariera-item {
    background: #ffffff;
    border-radius: 18px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 2px 12px rgba(15, 23, 42, 0.06);
    overflow: hidden;
}

.kariera-preview {
    padding: 28px 32px 24px;
    display: flex;
    align-items: flex-end;
    gap: 24px;
    flex-wrap: wrap;
}

.kariera-preview-main {
    flex: 1;
    min-width: 0;
}

.kariera-label {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #7c78c1;
    margin: 0 0 6px;
}

.kariera-preview-main h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 0 12px;
    color: #1e1b4b;
    letter-spacing: -0.01em;
}

.kariera-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 16px;
    margin: 0 0 12px;
    padding: 0;
    list-style: none;
}

.kariera-meta span {
    font-size: 0.85rem;
    background: #f1f0f8;
    color: #28265b;
    padding: 4px 12px;
    border-radius: 20px;
    font-weight: 500;
}

.kariera-perex {
    font-size: 0.95rem;
    color: #4b5563;
    margin: 0;
    line-height: 1.6;
}

.kariera-toggle {
    flex-shrink: 0;
    background: #28265b;
    color: #ffffff;
    border: none;
    border-radius: 10px;
    padding: 12px 22px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: background 0.2s;
    white-space: nowrap;
}

.kariera-toggle:hover {
    background: #1e1b4b;
}

.kariera-arrow {
    font-size: 0.7rem;
}

.kariera-body {
    padding: 0 32px 32px;
    border-top: 1px solid #f1f0f8;
}

.kariera-body h3 {
    font-size: 1rem;
    color: #28265b;
    margin: 24px 0 8px;
}

.kariera-body ul {
    padding-left: 20px;
    margin: 0;
    color: #4b5563;
    font-size: 0.93rem;
    line-height: 1.8;
}

.kariera-toggle--close {
    margin-top: 28px;
    background: #f1f0f8;
    color: #28265b;
}

.kariera-toggle--close:hover {
    background: #e0dff5;
}

.kariera-body .hero-actions {
    justify-content: flex-start;
    align-items: center;
}

.kariera-body .hero-actions a {
    flex: 0 0 auto;
    margin: 0;
}

@media (max-width: 600px) {
    .kariera-preview {
        padding: 20px 20px 18px;
        flex-direction: column;
        align-items: stretch;
    }

    .kariera-body {
        padding: 0 20px 24px;
    }

    .kariera-toggle {
        justify-content: center;
    }
}



.services-cta-inner {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.services-cta h2 {
    margin-bottom: 12px;
}

.contact-wrapper {
    padding: 50px 20px 20px;
}

.contact-grid {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    gap: 40px;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.contact-info p i {
    margin-right: 8px;
    color: #1e3a8a;
}

.contact-info a {
    color: #1e3a8a;
    text-decoration: none;
}

.contact-form-inner {
    background: #ffffff;
    padding: 26px 28px;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.contact-form-inner .form-row {
    margin-bottom: 16px;
}

.contact-form-inner input,
.contact-form-inner textarea {
    width: -webkit-fill-available;
    padding: 12px;
    border: 1px solid #d1d5db;
    border-radius: 10px;
    font-size: 1rem;
}

.map-section {
    padding: 40px 0 0px;
}

.map-section h2 {
    max-width: 1100px;
    margin: 0 auto;
    margin-bottom: 10px;
}

.map-frame {
    max-width: 1100px;
    margin: 0 auto;
}

.btn-sluzby {
    margin-top: 20px;
}


.property-image {
    width: 100%;
    height: auto;
    overflow: hidden;
    border-radius: 12px 12px 0 0;
}

.property-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* =========================
   DETAIL NEMOVITOSTI – FIX
========================= */

.property-detail {
    max-width: 1100px;
    margin: 0 auto 100px;
    padding: 40px 20px 0;
}

/* HLAVIČKA */
.property-detail-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 30px;
    margin-bottom: 30px;
}

.property-detail-header h1 {
    font-size: 34px;
    line-height: 1.25;
    margin: 0 0 6px;
}

.property-detail-location {
    font-size: 16px;
    color: #666;
}

.property-detail-price {
    font-size: 30px;
    font-weight: 700;
    color: #2f80ed;
    white-space: nowrap;
}

/* GALERIE */
.property-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin: 40px 0;
}

.property-gallery img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    border-radius: 14px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
    border: 1px solid #eef1f6;

}

/* INFO BOX */
.property-detail-meta {
    display: flex;
    gap: 30px;
    background: #f5f7fb;
    border-radius: 14px;
    margin-bottom: 35px;
    flex-wrap: wrap;
}

.property-detail-meta div {
    font-size: 15px;
    color: #222;
}

/* POPIS */
.property-detail-description {
    max-width: 936px;
    font-size: 16px;
    line-height: 1.75;
    color: #333;
    margin-bottom: 50px;
}

/* CTA */
.property-detail-actions {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

/* RESPONSIVE */
@media (max-width: 1024px) {
    .property-gallery {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .property-detail {
        padding-top: 20px;
    }

    .property-detail-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .property-detail-price {
        font-size: 26px;
    }

    .property-gallery {
        grid-template-columns: 1fr;
    }
}

/* === HLAVIČKA DETAILU === */

.property-detail {
    padding-top: 60px;
    /* oddělení od menu */
}

.property-detail-header {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: end;
    gap: 30px;
    padding-bottom: 25px;
    margin-bottom: 35px;
    border-bottom: 2px solid #dadde4;
}

.property-detail-title h1 {
    font-size: 34px;
    line-height: 1.25;
    margin: 0 0 8px;
}

.property-detail-location {
    font-size: 16px;
    color: #6b7280;
}

.property-detail-price-box {
    font-size: 30px;
    font-weight: 700;
    color: #2f80ed;
    background: #f1f6ff;
    padding: 14px 22px;
    border-radius: 14px;
    white-space: nowrap;
}

@media (max-width: 768px) {
    .property-detail-header {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .property-detail-price-box {
        align-self: flex-start;
        font-size: 26px;
    }
}

/* === INFO POD GALERIÍ === */

.property-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin: 40px 0 45px;
}

.property-info-item {
    background: #ffffff;
    border-radius: 16px;
    padding: 22px 24px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
    border: 1px solid #eef1f6;
}

.info-label {
    display: block;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #7a869a;
    margin-bottom: 6px;
}

.info-value {
    font-size: 20px;
    font-weight: 600;
    color: #1f2937;
}

.property-detail-description {
    padding-top: 10px;
    border-top: 1px solid #e6e9f0;
}

/* === SEKCE POD GALERIÍ === */

.property-info-grid {
    margin: 50px 0;
}

/* === WRAPPER PRO TEXT === */

.property-description-wrapper {
    background: #ffffff;
    padding: 50px 20px;
    margin: 40px auto 60px;
}

.property-detail-description {
    max-width: 936px;   /* KLÍČ */
    margin: 0 auto;
    font-size: 17px;
    line-height: 1.8;
    color: #2b2b2b;
}

/* mezery mezi odstavci */
.property-detail-description p {
    margin-bottom: 22px;
}

/* === CTA SEKCE === */

.property-detail-actions {
    max-width: 760px;
    margin: 0 auto 80px;
    padding-top: 20px;
    display: flex;
    gap: 20px;
    justify-content: center;
}
/* BADGE NA DETAILU */

.property-detail-badge {
    display: inline-block;
    margin: 20px 0 0;
    background: #2f80ed;
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    padding: 8px 14px;
    border-radius: 999px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
/* CELÁ KARTA */
.car-item {
    height: 100%;
}

.property-card-link {
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* TĚLO KARTY */
.property-card-body {
    flex: 1;                 /* natáhne se */
    display: flex;
    flex-direction: column;
}

.property-title{
    line-height: 1.3;
    min-height: calc(1.3em * 2); /* vždy místo na 2 řádky */
    margin: 0 0 8px;
}


/* ============================= */
/* LEGAL PAGES – REINEN REALITY */
/* ============================= */

.legal-hero {
    background: linear-gradient(135deg, #f5f8fc, #eef3f9);
    padding: 90px 20px 60px;
}

.legal-hero-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.legal-hero h1 {
    font-size: 42px;
    font-weight: 700;
    color: #0f172a;
}

/* INTRO */
.legal-intro {
    max-width: 800px;
    margin: 40px auto 0;
    padding: 0 20px;
    text-align: center;
}

.legal-intro h2 {
    font-size: 26px;
    margin-bottom: 12px;
    color: #0f172a;
}

.legal-intro p {
    font-size: 16px;
    color: #475569;
}

/* CONTENT */
.legal-wrapper {
    background: #ffffff;
    margin: 60px auto;
    padding: 0 20px;
}

.legal-content {
    max-width: 800px;
    margin: 0 auto;
    padding-bottom: 80px;
    font-size: 15.5px;
    line-height: 1.75;
    color: #1f2937;
}

.legal-content h3 {
    margin-top: 42px;
    margin-bottom: 12px;
    font-size: 20px;
    color: #0f172a;
}

.legal-content p {
    margin-bottom: 16px;
}

.legal-content ul {
    padding-left: 20px;
    margin-bottom: 16px;
}

.legal-content li {
    margin-bottom: 8px;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .legal-hero h1 {
        font-size: 32px;
    }

    .legal-intro h2 {
        font-size: 22px;
    }
}


/* ================================ */
/* LEGAL – PRAVIDLA UŽÍVÁNÍ WEBU */
/* ================================ */

.legal-usage-wrapper {
    background: #ffffff;
    padding: 70px 20px 90px;
}

.legal-usage-content {
    max-width: 820px;
    margin: 0 auto;
    font-size: 15.5px;
    line-height: 1.75;
    color: #1f2937;
}

.legal-usage-content h2 {
    margin-top: 42px;
    margin-bottom: 12px;
    font-size: 20px;
    font-weight: 600;
    color: #0f172a;
}

.legal-usage-content p {
    margin-bottom: 16px;
}

.legal-usage-content ul {
    padding-left: 22px;
    margin-bottom: 16px;
}

.legal-usage-content li {
    margin-bottom: 8px;
}

.legal-usage-content a {
    color: #2563eb;
    text-decoration: underline;
}

.legal-usage-content a:hover {
    text-decoration: none;
}

/* ================================ */
/* LEGAL – GDPR / OCHRANA ÚDAJŮ */
/* ================================ */

.legal-gdpr-wrapper {
    background: #ffffff;
    padding: 70px 20px 90px;
}

.legal-gdpr-content {
    max-width: 820px;
    margin: 0 auto;
    font-size: 15.5px;
    line-height: 1.75;
    color: #1f2937;
}

.legal-gdpr-content h2 {
    margin-top: 42px;
    margin-bottom: 12px;
    font-size: 20px;
    font-weight: 600;
    color: #0f172a;
}

.legal-gdpr-content p {
    margin-bottom: 16px;
}

.legal-gdpr-content ul {
    padding-left: 22px;
    margin-bottom: 16px;
}

.legal-gdpr-content li {
    margin-bottom: 8px;
}

.legal-gdpr-content a {
    color: #2563eb;
    text-decoration: underline;
}

.legal-gdpr-content a:hover {
    text-decoration: none;
}

.form-success {
    background: #ecfdf5;
    border: 1px solid #10b981;
    color: #065f46;
    padding: 16px 20px;
    border-radius: 12px;
    margin-bottom: 20px;
}


/* Ztmavení stránky + zvýraznění formuláře */
.rr-dim{
  position: fixed;
  inset: 0;
  background: rgba(10, 14, 25, 0.65);
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease;
  z-index: 9998;
}

body.rr-dim-on .rr-dim{
  opacity: 1;
  pointer-events: auto;
}

/* formulář nad overlay */
body.rr-dim-on #kontakt-form{
  position: relative;
  z-index: 9999;
}

/* ať to není pod fixed headerem */
#kontakt-form{
  scroll-margin-top: 120px; /* uprav podle headeru */
}

/* jemný “highlight” okolo formuláře */
body.rr-dim-on #kontakt-form{
  border-radius: 18px;
  box-shadow: 0 18px 50px rgba(0,0,0,.35);
}
