/* Hero sekce */
.hero_sekce {
    background-color: #0B3D77;
    padding: 80px 20px 40px 20px;
    position: relative;
}

.hero_container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 60px;
}

.hero_obsah {
    flex: 1;
    max-width: 462px;
}

.hero_podnadpis {
    font-family: Roboto, sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 23px;
    letter-spacing: 0%;
    color: #4CA7DD;
    margin: 0 0 24px 0;
}

.hero_nadpis {
    font-family: Roboto, sans-serif;
    font-weight: 700;
    font-size: 52px;
    line-height: 120%;
    letter-spacing: 0%;
    color: #FFFFFF;
    margin: 0 0 38px 0;
}

.hero_tlacitka {
    display: flex;
    gap: 20px;
    flex-wrap: nowrap;
}

.tlacitko_primarni {
    background-color: #4CA7DD;
    color: #FFFFFF;
    width: 248px;
    height: 61px;
    border-radius: 10px;
    text-decoration: none;
    font-family: Roboto, sans-serif;
    font-weight: 700;
    font-size: 16px;
    line-height: 100%;
    letter-spacing: 0%;
    text-align: center;
    transition: background-color 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tlacitko_primarni:hover {
    background-color: #3a8fc7;
}

.tlacitko_sekundarni {
    background-color: transparent;
    color: #FFFFFF;
    width: 232px;
    height: 61px;
    border: 1px solid #4CA7DD;
    border-radius: 10px;
    text-decoration: none;
    font-family: Roboto, sans-serif;
    font-weight: 700;
    font-size: 16px;
    line-height: 100%;
    letter-spacing: 0%;
    text-align: center;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tlacitko_sekundarni:hover {
    background-color: rgba(76, 167, 221, 0.1);
}

.hero_info {
    flex: 0 0 396px;
    padding: 0;
    position: relative;
    padding-left: 30px;
}

.hero_cara {
    position: absolute;
    left: 0;
    top: 4px;
    width: 1px;
    height: 85px;
    background-color: #4CA7DD;
    transform: rotate(15deg);
    transform-origin: top left;
}

.hero_info p {
    font-family: Roboto, sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 23px;
    letter-spacing: 0%;
    color: #FFFFFF;
    margin: 0;
}

/* Obrazek sekce */
.obrazek_sekce {
    background: linear-gradient(to bottom, #0B3D77 0%, #0B3D77 50%, #FFFFFF 50%, #FFFFFF 100%);
    padding: 40px 20px 100px 20px;
    position: relative;
}

.obrazek_container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

.vyhledavaci_panel {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #F6F2F0;
    padding: 15px 20px;
    border-radius: 10px;
    box-shadow: 0px 4px 30px 0px rgba(7, 44, 88, 0.4);
    display: flex;
    align-items: center;
    gap: 15px;
    z-index: 10;
    width: 777px;
    max-width: calc(100% - 40px);
    height: 80px;
    box-sizing: border-box;
}

.vyhledavaci_input {
    flex: 1;
    padding: 12px 15px;
    border: 1px solid #E0E0E0;
    border-radius: 8px;
    font-family: Roboto, sans-serif;
    font-size: 14px;
    color: #333;
    background-color: #FFFFFF;
    height: 50px;
    appearance: none;
    background-image: url('/img/ikony/sipka_filtr.svg');
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 16px;
    padding-right: 40px;
}

.tlacitko_hledat {
    background-color: #4CA7DD;
    color: #FFFFFF;
    padding: 0 30px;
    border: none;
    border-radius: 8px;
    font-family: Roboto, sans-serif;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    white-space: nowrap;
    height: 50px;
}

.tlacitko_hledat:hover {
    background-color: #3a8fc7;
}

.tlacitko_hledat_ikona {
    width: 18px;
    height: 18px;
    vertical-align: middle;
    margin-right: 6px;
}

.hlavni_obrazek {
    width: 1200px;
    height: 600px;
    max-width: 100%;
    margin: 40px auto 0 auto;
    border-radius: 20px;
    background-image: linear-gradient(180deg, rgba(11, 61, 119, 0.9) 0%, rgba(11, 61, 119, 0) 27.42%), url('/img/uvodni-obrazek-homepage.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

.hlavni_obrazek_pin_velky {
    position: absolute;
    bottom: 165px;
    left: 190px;
}

.hlavni_obrazek_pin_stredni {
    position: absolute;
    bottom: 350px;
    right: 285px;
}

.hlavni_obrazek_pin_mini {
    position: absolute;
    bottom: 459px;
    right: 120px;
}

.hlavni_obrazek_pin_maly {
    position: absolute;
    bottom: 410px;
    left: 283px;
}

/* Region sekce */
.region_sekce {
    background-color: #FFFFFF;
    
}

.region_container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    gap: 60px;
    align-items: flex-start;
}

.region_podnadpis {
    font-family: Roboto, sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 23px;
    letter-spacing: 0%;
    color: #4CA7DD;
    margin: 0;
    flex: 0 0 279px;
}

.region_obsah {
    flex: 1;
}

.region_nadpis {
    font-family: Roboto, sans-serif;
    font-weight: 500;
    font-size: 32px;
    line-height: 120%;
    letter-spacing: 0%;
    color: #0B3D77;
    margin: 0 0 32px 0;
    max-width: 849px;
}

.region_popis {
    font-family: Roboto, sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 23px;
    letter-spacing: 0%;
    color: #0B3D77;
    margin: 0 0 48px 0;
    max-width: 701px;
}

.region_statistiky {
    display: flex;
    gap: 60px;
    align-items: flex-start;
    justify-content: flex-start;
}

.statistika_polozka {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    flex: 0 0 auto;
}

.statistika_ikona {
    width: 100px;
    height: 72px;
    object-fit: contain;
}

.statistika_text {
    font-family: Roboto, sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 23px;
    letter-spacing: 0%;
    text-align: center;
    color: #0B3D77;
    margin: 0;
}

/* Byty sekce */
.byty_sekce {
    background-color: #FFFFFF;
    padding: 80px 20px;
}

.byty_container {
    max-width: 1200px;
    margin: 0 auto;
}

.byty_hlavicka {
    display: flex;
    gap: 30px;
    align-items: flex-start;
    margin-bottom: 60px;
}

.byty_nadpis {
    font-family: Roboto, sans-serif;
    font-weight: 500;
    font-size: 36px;
    line-height: 100%;
    letter-spacing: 0%;
    color: #0B3D77;
    margin: 0;
    flex: 0 0 345px;
}

.byty_popis {
    font-family: Roboto, sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 23px;
    letter-spacing: 0%;
    color: #0B3D77;
    margin: 0;
    flex: 1;
    max-width: 522px;
}

.byty_grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.byt_karta {
    background-color: #FFFFFF;
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.byt_karta:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.byt_obrazek {
    width: 100%;
    height: 242px;
    object-fit: cover;
    display: block;
}

.byt_info {
    padding: 16px;
}

.byt_nazev {
    font-family: Roboto, sans-serif;
    font-weight: 500;
    font-size: 22px;
    line-height: 100%;
    letter-spacing: 0%;
    color: #0B3D77;
    margin: 0 0 16px 0;
}

.byt_parametry {
    display: flex;
    gap: 20px;
}

.byt_parametr {
    display: flex;
    align-items: center;
    gap: 8px;
}

.parametr_ikona {
    width: 20px;
    height: 20px;
    object-fit: contain;
}

.parametr_text {
    font-family: Roboto, sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 23px;
    letter-spacing: 0%;
    color: #0B3D77;
}

.byty_tlacitko_obal {
    text-align: center;
    margin-top: 60px;
}

.tlacitko_zobrazit_byty {
    display: inline-block;
    background-color: #4CA7DD;
    color: #FFFFFF;
    padding: 20px 40px;
    border-radius: 10px;
    text-decoration: none;
    font-family: Roboto, sans-serif;
    font-weight: 700;
    font-size: 17px;
    line-height: 100%;
    letter-spacing: 0%;
    text-align: center;
    transition: background-color 0.3s ease;
}

.tlacitko_zobrazit_byty:hover {
    background-color: #3a8fc7;
}

/* Prostredni obrazek sekce */
.prostredni_obrazek_sekce {
    width: 100%;
    display: flex;
    justify-content: center;
    background-color: #FFFFFF;
}

.prostredni_obrazek_wrapper {
    position: relative;
    width: 100%;
    max-width: 1400px;
}

.prostredni_obrazek {
    width: 100%;
    max-width: 1400px;
    height: 400px;
    object-fit: cover;
    display: block;
}

.prostredni_obrazek_text {
    position: absolute;
    width: 510px;
    height: 122px;
    top: 139px;
    left: 126px;
    opacity: 1;
    font-family: Roboto, sans-serif;
    font-weight: 700;
    font-size: 52px;
    line-height: 130%;
    letter-spacing: 0%;
    color: #FFFFFF;
    margin: 0;
}

.prostredni_obrazek_pin {
    position: absolute;
    bottom: 190px;
    right: 440px;
}

/* Zpravy sekce - carousel */
.zpravy_sekce {
    background-color: #FFFFFF;
    padding: 80px 20px;
}

.zpravy_container {
    max-width: 1200px;
    margin: 0 auto;
}

.zpravy_nadpis {
    font-family: Roboto, sans-serif;
    font-weight: 500;
    font-size: 38px;
    line-height: 100%;
    letter-spacing: 0%;
    color: #0B3D77;
    margin: 0 0 60px 0;
}

.carousel_wrapper {
    position: relative;
}

.carousel_container {
    overflow: hidden;
    margin-bottom: 40px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.carousel_track {
    display: flex;
    gap: 20px;
    transition: transform 0.5s ease;
    padding: 0 100px;
}

.carousel_item {
    flex: 0 0 auto;
}

.zprava_karta {
    background-color: #FFFFFF;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    position: relative;
    transition: transform 0.5s ease, box-shadow 0.5s ease, width 0.5s ease;
}

.zprava_karta:hover {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.zprava_obrazek {
    width: 100%;
    object-fit: cover;
    display: block;
    z-index: 1000;
    transition: height 0.5s ease;
}

.zprava_text {
    font-family: Roboto, sans-serif;
    font-weight: 400;
    font-size: 24px;
    line-height: 130%;
    letter-spacing: 0%;
    color: #0B3D77;
    margin: 0;
    padding: 20px;
    min-height: 90px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.zprava_datum {
    position: absolute;
    top: 16px;
    left: 16px;
    background-color: #FFFFFF;
    padding: 8px 16px;
    border-radius: 20px;
    font-family: Roboto, sans-serif;
    font-weight: 400;
    font-size: 14px;
    color: #0B3D77;
    display: flex;
    align-items: center;
    gap: 6px;
}

.zprava_datum::before {
    content: '';
    display: inline-block;
    width: 16px;
    height: 16px;
    background-image: url('/img/ikony/Calendar.svg');
    background-size: contain;
    background-repeat: no-repeat;
}

.carousel_navigation {
    display: flex;
    align-items: center;
    gap: 12px;
    justify-content: space-between;
    padding-bottom: 30px;
}

.carousel_navigation::before {
    content: '';
    flex: 1;
    height: 1px;
    background-color: #F0EAE7;
    margin-right: 20px;
}

.carousel_sipka {
    background-color: #FFFFFF;
    border: 1px solid #0B3D77;
    border-radius: 30px;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.carousel_sipka svg {
    width: 25px;
    height: 25px;
}

.carousel_sipka:hover {
    background-color: #F0EAE7;
}

.carousel_sipka:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

/* Hlaseni sekce */
.hlaseni_sekce {
    background-color: #FFFFFF;
    margin-bottom: 100px;
}

.hlaseni_container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    gap: 60px;
    align-items: flex-start;
}

.hlaseni_obsah {
    flex: 0 0 313px;
}

.hlaseni_nadpis {
    font-family: Roboto, sans-serif;
    font-weight: 500;
    font-size: 38px;
    line-height: 100%;
    letter-spacing: 0%;
    color: #0B3D77;
    margin: 0 0 20px 0;
    max-width: 257px;
}

.hlaseni_popis {
    font-family: Roboto, sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 23px;
    letter-spacing: 0%;
    color: #0B3D77;
    margin: 0 0 30px 0;
    max-width: 313px;
}

.hlaseni_vyhody {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.hlaseni_vyhoda {
    display: flex;
    align-items: center;
    gap: 12px;
}

.vyhoda_ikona {
    width: 40px;
    height: 40px;
    background-color: #E74C3C;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    font-weight: 700;
    font-size: 18px;
    flex-shrink: 0;
}

.vyhoda_text {
    font-family: Roboto, sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 23px;
    letter-spacing: 0%;
    color: #E93333;
    margin: 0;
}

.hlaseni_formular_wrapper {
    flex: 1;
    display: flex;
    border: 5px solid #F0EAE7;
    border-radius: 15px;
    overflow: visible;
    height: 440px;
    position: relative;
}

.hlaseni_formular {
    flex: 1;
    padding: 30px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    background-color: #FFFFFF;
    overflow: hidden;
    border-radius: 10px 0 0 10px;
}

.formular_radek {
    display: flex;
    gap: 16px;
}

.formular_input {
    width: 240px;
    padding: 12px 16px;
    border: none;
    border-bottom: 1px solid #E0E0E0;
    border-radius: 0;
    font-family: Roboto, sans-serif;
    font-size: 14px;
    color: #0B3D77;
}

.formular_input::placeholder {
    color: #0B3D77;
}

.formular_poruchy_homepage {
    appearance: none;
    background-color: #F6F2F0;
    background-image: url('/img/ikony/sipka_filtr.svg');
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 16px;
    padding-right: 40px;
    border-radius: 5px;
}

.formular_poruchy_homepage option {
    background-color: #F6F2F0;
    color: #0B3D77;
}

.formular_poruchy_homepage option:hover,
.formular_poruchy_homepage option:checked {
    background-color: #F6F2F0;
    color: #0B3D77;
}

.formular_textarea {
    width: 480px;
    padding: 12px 16px;
    border: none;
    border-bottom: 1px solid #E0E0E0;
    border-radius: 0;
    font-family: Roboto, sans-serif;
    font-size: 14px;
    color: #0B3D77;
    resize: vertical;
    min-height: 80px;
}

.formular_textarea::placeholder {
    color: #0B3D77;
}

.formular_souhlas {
    width: 480px;
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding-top: 20px;
    border-top: 1px solid #F0EAE7;
}

.souhlas_text {
    font-family: Roboto, sans-serif;
    font-size: 12px;
    color: #0B3D77;
    line-height: 1.4;
    flex: 1;
}

.souhlas_text a {
    color: #0B3D77;
    text-decoration: underline;
}

.souhlas_text a:hover {
    opacity: 0.8;
}

.formular_tlacitko {
    background-color: #E93333;
    color: #FFFFFF;
    border: none;
    width: 123px;
    height: 50px;
    border-radius: 10px;
    font-family: Roboto, sans-serif;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    flex-shrink: 0;
}

.formular_tlacitko:hover {
    background-color: #c72a2a;
}

.formular_obrazek {
    width: 280px;
    flex-shrink: 0;
    position: absolute;
    right: -5px;
    top: -5px;
    bottom: -5px;
    height: auto;
}

.hlaseni_obrazek {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 0 15px 15px 0;
}

/* Responsive */
@media (max-width: 1024px) {
    .hero_container {
        flex-direction: column;
        gap: 40px;
    }
    
    .hero_obsah {
        max-width: 100%;
    }
    
    .hero_info {
        flex: 1;
        width: 100%;
    }
    
    .hero_tlacitka {
        flex-wrap: wrap;
    }
}

@media (max-width: 768px) {
    .hero_sekce {
        padding: 60px 0 80px 0;
    }
    
    .hero_container {
        padding: 0 20px;
    }
    
    .hero_nadpis {
        font-size: 36px;
    }
    
    .hero_tlacitka {
        flex-direction: column;
    }
    
    .tlacitko_primarni,
    .tlacitko_sekundarni {
        width: 100%;
        text-align: center;
    }
    
    .vyhledavaci_panel {
        flex-wrap: wrap;
        height: auto;
        padding: 15px;
        gap: 10px;
        bottom: 20px;
        top: auto;
        transform: translateX(-50%);
    }
    
    .vyhledavaci_input {
        flex: 1 1 calc(50% - 5px);
        min-width: calc(50% - 5px);
    }
    
    .vyhledavaci_input:nth-child(3) {
        flex: 1 1 calc(50% - 5px);
        min-width: calc(50% - 5px);
    }
    
    .tlacitko_hledat {
        flex: 1 1 calc(50% - 5px);
        min-width: calc(50% - 5px);
    }
    
    .hero_cara {
        display: none;
    }
    
    .hero_info {
        padding-left: 0;
    }
    
    .hlavni_obrazek {
        height: 400px;
        margin-top: 80px;
    }
    
    .region_container {
        flex-direction: column;
        gap: 30px;
    }
    
    .region_podnadpis {
        flex: 1;
    }
    
    .region_nadpis {
        font-size: 24px;
    }
    
    .region_statistiky {
        flex-direction: column;
        gap: 40px;
        align-items: center;
    }
    
    .byty_hlavicka {
        flex-direction: column;
        gap: 20px;
    }
    
    .byty_nadpis {
        flex: 1;
    }
    
    .byty_grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .byty_grid {
        grid-template-columns: 1fr;
    }
    
    .zpravy_nadpis {
        font-size: 28px;
    }
    
    .carousel_wrapper {
        gap: 10px;
    }
    
    .carousel_sipka {
        width: 40px;
        height: 40px;
    }
    
    .carousel_item:first-child .zprava_karta {
        width: 100%;
        max-width: 400px;
    }
    
    .carousel_item:not(:first-child) .zprava_karta {
        width: 100%;
        max-width: 300px;
    }
    
    .zprava_text {
        font-size: 18px;
    }
    
    .hlaseni_container {
        flex-direction: column;
        gap: 40px;
    }
    
    .hlaseni_obsah {
        flex: 1;
        max-width: 100%;
    }
    
    .hlaseni_nadpis {
        font-size: 28px;
        max-width: 100%;
    }
    
    .hlaseni_popis {
        max-width: 100%;
    }
    
    .hlaseni_formular_wrapper {
        height: auto;
        border-width: 3px;
    }
    
    .formular_obrazek {
        display: none;
    }
    
    .hlaseni_formular {
        padding: 20px;
        padding-right: 60;
    }
    
    .formular_radek {
        flex-direction: column;
        gap: 12px;
    }
    
    .formular_tlacitko {
        width: 100%;
        height: 40px;
    }
    
    .formular_souhlas {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
}

