/* CSS Custom Properties - Color Variables */
:root {
    --rt-platinum: #F2ECEB;
    --rt-black: #240604;
}


/* Kompletní styles.css - header + footer */

/* Nahrani fontu ze slozky fonts */
@font-face {
    font-family: 'Contralto Small';
    src: url('fonts/Contralto_Small_Bold.otf') format('opentype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Supreme';
    src: url('fonts/Supreme-Light.otf') format('opentype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Supreme';
    src: url('fonts/Supreme-Regular.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Supreme';
    src: url('fonts/Supreme-Medium.otf') format('opentype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Supreme';
    src: url('fonts/Supreme-Bold.otf') format('opentype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Supreme', Arial, sans-serif;
    background-color: #f8f8f8;
    padding-top: 100px;
    min-width: 767px;
    overflow-x: auto;
}

/* ========== HEADER STYLES ========== */
.header {
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
}

.header-container {
    width: 1600px;
    height: 100px;
    max-width: 100%;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px 80px;
    position: relative;
    background-color: white;
}

.logo {
    display: flex;
    align-items: center;
    position: absolute;
    left: 80px;
}

.logo-svg {
    height: 60px;
    width: auto;
}

/* Desktop navigace */
.nav-desktop {
    display: flex;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 60px;
    align-items: center;
}

.nav-item {
    font-size: 16px;
    font-weight: 400;
    color: #2c2c2c;
    text-decoration: none;
    transition: font-weight 0.2s ease;
}

.nav-item.active {
    font-weight: 700;
}

.nav-item:hover {
    font-weight: 700;
}

/* Contact button container */
.contact-container {
    position: absolute;
    right: 80px;
}

.contact-button {
    background-color: var(--rt-black);
    color: white;
    padding: 12px 24px;
    border-radius: 25px;
    text-decoration: none;
    font-size: 16px;
    font-weight: 400;
    transition: background-color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.contact-button:hover {
    background-color: #5a1f15;
}

.contact-icon {
    width: 16px;
    height: 16px;
}

/* Hamburger menu */
.hamburger-menu {
    display: none;
    position: absolute;
    right: 80px;
}

.hamburger-btn {
    width: 50px;
    height: 50px;
    background-color: #4a1810;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
    gap: 4px;
}

.hamburger-btn span {
    width: 20px;
    height: 2px;
    background-color: white;
    transition: all 0.3s ease;
    transform-origin: center;
}

.hamburger-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(3px, 3px);
}

.hamburger-btn.active span:nth-child(2) {
    opacity: 0;
}

.hamburger-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(3px, -3px);
}

/* Mobilní navigace */
.nav-mobile {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    pointer-events: none;
}

.nav-mobile.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
    pointer-events: all;
}

.nav-menu-mobile {
    list-style: none;
    padding: 20px;
}

.nav-menu-mobile li {
    margin-bottom: 15px;
}

.nav-item-mobile {
    font-size: 16px;
    font-weight: 400;
    color: #2c2c2c;
    text-decoration: none;
    display: block;
    padding: 10px 0;
    transition: font-weight 0.2s ease;
}

.nav-item-mobile.active {
    font-weight: 500;
}

.nav-item-mobile:hover {
    font-weight: 500;
}

.contact-button-mobile {
    background-color: #4a1810;
    color: white;
    padding: 12px 24px;
    border-radius: 25px;
    text-decoration: none;
    font-size: 16px;
    font-weight: 400;
    display: inline-block;
    transition: background-color 0.3s ease;
    margin-top: 10px;
}

.contact-button-mobile:hover {
    background-color: #5a1f15;
}

/* ========== MAIN STYLES ========== */
main {
    width: 100%;
}

.main-container {
    width: 1600px;
    max-width: 100%;
    margin: 0 auto;
    padding: 20px 80px;
    position: relative;
    background-color: white;
    /* Změněno: odstraněno display: flex, justify-content, align-items, min-height */
}

/* =========  main-top ==================== */
.main-top {
    width: 1440px;
    max-width: 100%;
    height: 700px;
    position: relative;
    background-image: url('images/home_main.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 40px;
    overflow: hidden;
    margin: 0 auto 40px auto; /* Přidána mezera dolů */
}

.main-top__content {
    position: absolute;
    width: 500px;
    height: 417px;
    bottom: 80px;
    left: 57px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 20px;
}

.main-top__title {
    font-family: 'Contralto Small', cursive;
    font-weight: 400;
    font-size: 72px;
    color: white;
    line-height: 1.1;
    margin-bottom: 10px;
}

.main-top__description {
    font-family: 'Supreme', Arial, sans-serif;
    font-weight: 300;
    font-size: 24px;
    color: white;
    line-height: 1.4;
    margin-bottom: 20px;
}

.main-top__button {
    width: 274px;
    height: 57px;
    background-color: white;
    border: none;
    border-radius: 28px;
    color: #240604;
    font-family: 'Supreme', Arial, sans-serif;
    font-weight: 700;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

.main-top__button:hover {
    background-color: #f5f5f5;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.main-top__button:active {
    transform: translateY(0);
}

.main-top-2 {
    width: 1440px;
    max-width: 100%;
    margin: 0 auto;
    display: flex;
    gap: 20px;
}

/* Levý hlavní card - polovina šířky */
.main-top-2__main-card {
    flex: 1;
    height: 400px;
    background-color: var(--rt-platinum);
    border-radius: 20px;
    display: flex;
    align-items: flex-end;
    padding: 10px;
}

.main-top-2__image {
    width: calc(50% - 0px);
    height: calc(100% - 0px);
    background-image: url('images/home_main_2.jpg');
    background-size: cover;
    background-position: center;
    border-radius: 10px;
    margin-right: 10px;
}

.main-top-2__content {
    flex: 1;
    padding: 20px;
    color: var(--rt-black);
}

.main-top-2__title {
    font-family: 'Contralto Small', cursive;
    font-size: 32px;
    font-weight: 400;
    margin-bottom: 15px;
    color: var(--rt-black);
}

.main-top-2__text {
    font-family: 'Supreme', Arial, sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.5;
    color: var(--rt-black);
    margin-bottom: 20px;
}

.main-top-2__button {
    width: 128px;
    height: 38px;
    background-color: transparent;
    border: 1px solid var(--rt-black);
    border-radius: 18px;
    color: var(--rt-black);
    font-family: 'Supreme', Arial, sans-serif;
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
    margin-top: 10px; /* Odsazení shora */
}

.main-top-2__button:hover {
    background-color: var(--rt-black);
    color: white;
    transform: translateY(-1px);
}

.main-top-2__button-link {
    text-decoration: none; /* odstraní podtržení odkazu */
    display: inline-block; /* zabrání rozbití layoutu */
}

.main-top-2__button-link:hover .main-top-2__button {
    /* zde můžete přidat efekty při najetí myší */
    opacity: 0.9;
}

/* Pravá sekce se 4 menšími cardy */
.main-top-2__right-cards {
    flex: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.main-top-2__small-card {
    height: 190px;
    background-color: var(--rt-platinum);
    border-radius: 20px;
    padding: 20px;
    color: var(--rt-black);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.main-top-2__small-card--light {
    background-color: var(--rt-platinum);
    color: var(--rt-black);
}

.main-top-2__small-title {
    font-family: 'Contralto Small', cursive;
    font-weight: 400;
    font-size: 20px; /* Stejné jako jsme-tu__title v mobilech */
    margin-bottom: 10px;
}

.main-top-2__text,
.main-top-2__small-text {
    font-family: 'Supreme', Arial, sans-serif;
    font-weight: 400;
    font-size: 16px; /* Stejné jako jsme-tu__text */
    line-height: 1.5;
    color: var(--rt-black);
}

/* Upravené responzivní styly pro mobil */
@media (max-width: 1050px) {
    .main-top-2 {
        flex-direction: column;
        width: 100%;
    }
    
    .main-top-2__main-card {
        width: 100%;
        flex-direction: column;
        height: auto;
        padding: 20px;
        margin-bottom: 20px; /* Přidáno pro odstup od dalších karet */
    }
    
    .main-top-2__image {
        width: 100%;
        height: 200px;
        margin-right: 0;
        margin-bottom: 15px;
    }
    
    .main-top-2__content {
        padding: 0;
    }
    
    /* Upraveno - zachování 2x2 mřížky pro malé karty */
    .main-top-2__right-cards {
        grid-template-columns: 1fr 1fr; /* Změněno z 1fr na 1fr 1fr */
        width: 100%;
    }
    
    .main-top-2__small-card {
        height: 150px;
    }
}

/* Další úpravy pro velmi malé obrazovky */
@media (max-width: 480px) {
    .main-top-2__right-cards {
        gap: 10px; /* Menší mezera mezi kartami na velmi malých obrazovkách */
    }
    
    .main-top-2__small-card {
        height: 180px; /* Větší výška pro lepší čitelnost */
    }
}

* Responzivní úpravy pro soulad s "jsme-tu" */
@media (max-width: 768px) {
    .main-top-2__title {
        font-size: 22px; /* Stejné jako jsme-tu__title v mobilech */
    }
    
    .main-top-2__small-title {
        font-size: 18px;
    }
    
    .main-top-2__text,
    .main-top-2__small-text {
        font-size: 14px; /* Stejné jako jsme-tu__text v mobilech */
    }
}

@media (max-width: 480px) {
    .main-top-2__title {
        font-size: 20px;
    }
    
    .main-top-2__small-title {
        font-size: 16px;
    }
}

/* ============ nabidka ================ */
.nabidka {
    width: 1440px;
    max-width: 100%;
    margin: 40px auto 0 auto;
    border: 1px solid var(--rt-black);
    min-height: 200px; /* Dočasná výška pro viditelnost */
}

/* Responzivní design pro nabidka */
@media (max-width: 768px) {
    .nabidka {
        width: 100%;
        margin: 30px 0 0 0;
    }
}

       /* ============ jsme-tu ================ */
        .jsme-tu {
            width: 1440px;
            max-width: 100%;
            margin: 40px auto 0 auto;
            padding: 06px 0;
            text-align: center;
        }

        .jsme-tu__main-title {
            font-family: 'Contralto Small', cursive;
            font-weight: 700;
            font-size: 48px;
            color: var(--rt-black);
            margin-bottom: 50px;
            line-height: 1.2;
        }

        .jsme-tu__cards {
            display: flex;
            gap: 20px;
            justify-content: center;
            flex-wrap: wrap;
        }

        .jsme-tu__card {
            flex: 1 1 200px;
            min-width: 200px;
            max-width: 280px;
            height: auto;
            min-height: 100px;
            background-color: var(--rt-platinum);
            border-radius: 20px;
            padding: 20px 20px;
            display: flex;
            flex-direction: column;
            justify-content: flex-start;
            text-align: left;
            position: relative;
        }

        .jsme-tu__icon {
            width: 32px;
            height: 32px;
            position: absolute;
            top: 20px;
            right: 20px;
            opacity: 0.7;
            color: var(--rt-black);
        }

        .jsme-tu__title {
            font-family: 'Contralto Small', cursive;
            font-weight: 700;
            font-size: 24px;
            color: var(--rt-black);
            margin-bottom: 10px;
            line-height: 1.2;
            margin-top: 0;
        }

        .jsme-tu__text {
            font-family: 'Supreme', Arial, sans-serif;
            font-weight: 400;
            font-size: 16px;
            color: var(--rt-black);
            line-height: 1.5;
        }

        /* Responzivní design - opravená verze */
        @media (max-width: 1200px) {
            .jsme-tu__cards {
                justify-content: center;
            }
            
            .jsme-tu__card {
                flex: 1 1 280px;
                max-width: 320px;
            }
        }

        @media (max-width: 900px) {
            .jsme-tu__cards {
                display: grid;
                grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
                gap: 20px;
                max-width: 800px;
                margin: 0 auto;
            }
            
            .jsme-tu__card {
                width: 100%;
                max-width: none;
                min-height: 250px;
            }
        }

 /* Upravené CSS pro sekci jsme-tu - mobilní verze na celou šířku */
@media (max-width: 768px) {
    .jsme-tu {
        width: 100%;
        padding: 40px 15px; /* Zmenšený padding pro mobil */
        margin: 40px auto;
        box-sizing: border-box;
    }
    
    .jsme-tu__cards {
        display: grid;
        grid-template-columns: repeat(2, 1fr); /* 2 sloupce */
        gap: 15px;
        width: 100%; /* Zabírá celou šířku */
        padding: 0; /* Odstranění případného padding */
        margin: 0 auto;
    }
    
    .jsme-tu__card {
        width: 100%; /* Každá karta zabírá celý svůj sloupec */
        min-height: 160px;
        padding: 20px 15px;
        box-sizing: border-box; /* Zahrnuje padding do šířky */
    }
    
    /* Odstranění jakýchkoli max-width omezení */
    .jsme-tu__cards,
    .jsme-tu {
        max-width: none !important;
    }
}

@media (max-width: 480px) {
    .jsme-tu__cards {
        grid-template-columns: 1fr; /* Na velmi úzkých mobilech 1 sloupec */
    }
    
    .jsme-tu__card {
        min-height: auto;
    }
}

/* ============ realizovane ================ */
.realizovane {
    width: 1440px;
    max-width: 100%;
    margin: 20px auto 0 auto;
    border: 1px solid var(--rt-black);
    padding: 00px 0 60px 0;
}

.realizovane__title {
    font-family: 'Contralto Small', cursive;
    font-weight: 700;
    font-size: 48px;
    color: var(--rt-black);
    margin-bottom: 50px;
    line-height: 1.2;
    text-align: left;
    padding-left: 00px;
    margin-top: 0;
}

/* Responzivní design pro realizovane */
@media (max-width: 768px) {
    .realizovane {
        width: 100%;
        margin: 30px 0 0 0;
        padding: 40px 20px;
    }
    
    .realizovane__title {
        font-size: 36px;
        margin-bottom: 30px;
        padding-left: 0;
    }
}


/* ============ formular ================ */
.formular {
    width: 1000px;
    max-width: 100%;
    margin: 30px auto 10px auto;
    position: relative;
}

.formular__main-title {
    font-family: 'Contralto Small', cursive;
    font-weight: 700;
    font-size: 48px;
    color: var(--rt-black);
    line-height: 1.2;
    text-align: center;
    margin-bottom: 20px;
}

.formular__container {
    background-color: var(--rt-platinum);
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    min-height: 400px;
}

.formular__image {
    flex: 1;
    background-image: url('images/formular_pict.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
}

.formular__logo {
    position: absolute;
    bottom: 40px;
    left: 60px;
    width: 80px;
    height: auto;
    filter: brightness(0) invert(1);
}

.formular__content {
    flex: 1;
    padding: 20px 40px;
    display: flex;
    flex-direction: column;
}

.formular__form-title {
    font-family: 'Contralto Small', cursive;
    font-weight: 700;
    font-size: 24px;
    color: var(--rt-black);
    margin-bottom: 20px;
}

.formular__form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    flex-grow: 1;
}

.formular__row {
    display: flex;
    gap: 10px;
}

.formular__input {
    flex: 1;
    padding: 2px 0;
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--rt-black);
    font-family: 'Supreme', Arial, sans-serif;
    font-size: 16px;
    color: var(--rt-black);
    outline: none;
    transition: border-color 0.3s ease;
}

.formular__input::placeholder {
    color: #777;
    font-size: 16px;
}

.formular__input:focus {
    border-bottom-color: var(--rt-black);
}

.formular__textarea {
    width: 100%;
    min-height: 60px;
    padding: 16px 0;
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--rt-black);
    font-family: 'Supreme', Arial, sans-serif;
    font-size: 16px;
    color: var(--rt-black);
    outline: none;
    resize: vertical;
    transition: border-color 0.3s ease;
}

.formular__textarea::placeholder {
    color: #777;
    font-size: 16px;
}

.formular__textarea:focus {
    border-bottom-color: var(--rt-black);
}

.formular__submit {
    width: 100%;
    height: 47px;
    background-color: var(--rt-black);
    color: white;
    border: none;
    border-radius: 28px;
    font-family: 'Supreme', Arial, sans-serif;
    font-weight: 700;
    font-size: 20px;
    cursor: pointer;
    margin-top: 20px;
    transition: all 0.3s ease;
}

.formular__submit:hover {
    background-color: var(--rt-black);
    //transform: translateY(-2px);
    //box-shadow: 0 4px 12px rgba(36, 6, 4, 0.3);
}

.formular__submit:active {
    transform: translateY(0);
}

/* Responzivní design pro formular */
@media (max-width: 768px) {
    .formular {
        width: 100%;
        margin: 60px 0 0 0;
        padding: 0 20px;
    }
    
    .formular__main-title {
        font-size: 36px;
        margin-bottom: 30px;
    }
    
    .formular__container {
        flex-direction: column;
        min-height: auto;
    }
    
    .formular__image {
        height: 300px;
        flex: none;
    }
    
    .formular__logo {
        bottom: 20px;
        left: 20px;
        width: 60px;
    }
    
    .formular__content {
        padding: 40px 20px;
    }
    
    .formular__form-title {
        font-size: 20px;
        margin-bottom: 20px;
    }
    
    .formular__row {
        flex-direction: column;
        gap: 15px;
    }
    
    .formular__form {
        gap: 15px;
    }
}


/* ============ o_nas ================ */
.o_nas {
    width: 1440px;
    max-width: 100%;
    margin: 40px auto 0 auto;
    display: flex;
    min-height: 700px;
    border-radius: 40px;
    overflow: hidden;
}

.o_nas__image {
    flex: 1;
    background-image: url('images/o_nas_image.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.o_nas__logo {
    width: 120px;
    height: auto;
    filter: brightness(0) invert(1);
    opacity: 0.9;
}

.o_nas__content {
    flex: 1;
    background-color: var(--rt-platinum);
    padding: 80px 60px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.o_nas__title {
    font-family: 'Contralto Small', cursive;
    font-weight: 700;
    font-size: 72px;
    color: var(--rt-black);
    margin-bottom: 40px;
    line-height: 1.1;
}

.o_nas__text {
    font-family: 'Supreme', Arial, sans-serif;
    font-weight: 400;
    font-size: 20px;
    color: var(--rt-black);
    line-height: 1.6;
    font-style: italic;
}

/* Responzivní design pro o_nas */
@media (max-width: 768px) {
    .o_nas {
        width: 100%;
        margin: 30px 0 0 0;
        flex-direction: column;
        min-height: auto;
    }
    
    .o_nas__image {
        height: 400px;
        flex: none;
    }
    
    .o_nas__logo {
        width: 80px;
    }
    
    .o_nas__content {
        padding: 50px 30px;
    }
    
    .o_nas__title {
        font-size: 48px;
        margin-bottom: 30px;
    }
    
    .o_nas__text {
        font-size: 18px;
        line-height: 1.5;
    }
}

/* ============ hodnoty ================ */
/* Základní styly pro sekci hodnoty */
.hodnoty {
    width: 100%;
    max-width: 1440px;
    margin: 60px auto;
    padding: 0 20px;
    text-align: center;
}

.hodnoty__title {
    font-family: 'Contralto Small', cursive;
    font-weight: 700;
    font-size: 48px;
    color: var(--rt-black);
    margin-bottom: 60px;
    line-height: 1.2;
}

.hodnoty__cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* Výchozí: 4 karty v řadě */
    gap: 30px;
    max-width: 1440px;
    margin: 0 auto;
}

.hodnoty__card {
    background-color: var(--rt-platinum);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: left;
    min-height: 220px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
}

.hodnoty__card-title {
    font-family: 'Contralto Small', cursive;
    font-weight: 700;
    font-size: 24px;
    color: var(--rt-black);
    margin-bottom: 20px;
    line-height: 1.2;
}

.hodnoty__card-text {
    font-family: 'Supreme', Arial, sans-serif;
    font-weight: 400;
    font-size: 16px;
    color: var(--rt-black);
    line-height: 1.5;
    flex-grow: 1;
}

/* Responzivní úpravy */
@media (max-width: 1200px) {
    .hodnoty__cards {
        grid-template-columns: repeat(2, 1fr); /* 2 karty v řadě */
        max-width: 800px;
    }
}

@media (max-width: 768px) {
    .hodnoty {
        padding: 0 20px;
        margin: 40px auto;
    }
    
    .hodnoty__title {
        font-size: 36px;
        margin-bottom: 40px;
    }
    
    .hodnoty__cards {
        grid-template-columns: 1fr; /* 1 karta v řadě */
        max-width: 500px;
        gap: 20px;
    }
    
    .hodnoty__card {
        min-height: auto;
        padding: 30px 25px;
    }
    
    .hodnoty__card-title {
        font-size: 22px;
        margin-bottom: 15px;
    }
}

@media (max-width: 480px) {
    .hodnoty__title {
        font-size: 32px;
    }
    
    .hodnoty__card-title {
        font-size: 20px;
    }
    
    .hodnoty__card-text {
        font-size: 15px;
    }
}

/* ============ makler ================ */
/* Základní styly pro sekci makler */
.makler {
    width: 1440px;
    max-width: 100%;
    margin: 40px auto;
    padding: 60px 20px;
    text-align: center;
}

.makler__title {
    font-family: 'Contralto Small', cursive;
    font-weight: 700;
    font-size: 48px;
    color: var(--rt-black);
    margin-bottom: 40px;
    line-height: 1.2;
}

.makler__cards {
    display: flex;
    gap: 30px;
    justify-content: center;
}

/* Styly pro jednotlivé karty makléřů */
.makler__card {
    width: calc(50% - 15px);
    background-color: var(--rt-platinum);
    border-radius: 20px;
    padding: 30px;
    display: flex;
    gap: 30px;
    text-align: left;
    min-height: 400px;
    height: auto;
    box-sizing: border-box;
}

/* Obrázek makléře - max 50% šířky */
.makler__image {
    width: 50%;
    max-width: 250px;
    height: 360px;
    border-radius: 10px;
    background-size: cover;
    background-position: top center;
    flex-shrink: 0;
}

/* Obsah karty */
.makler__content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.makler__name {
    font-family: 'Contralto Small', cursive;
    font-weight: 700;
    font-size: 32px;
    color: var(--rt-black);
    margin-bottom: 20px;
    line-height: 1.2;
}

.makler__description {
    font-family: 'Supreme', Arial, sans-serif;
    font-weight: 400;
    font-size: 16px;
    color: var(--rt-black);
    line-height: 1.6;
    font-style: italic;
    margin-bottom: 20px;
}

.makler__contact {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.makler__phone,
.makler__email {
    font-family: 'Supreme', Arial, sans-serif;
    font-weight: 400;
    font-size: 16px;
    color: var(--rt-black);
    text-decoration: none;
    transition: color 0.3s ease;
}

.makler__phone:hover,
.makler__email:hover {
    color: #5a1f15;
    text-decoration: underline;
}

/* Responzivní úpravy */
@media (max-width: 1200px) {

    .makler {
        padding: 40px 20px;
    }
    
    .makler__title {
        font-size: 36px;
        margin-bottom: 30px;
    }
    
    .makler__cards {
        flex-direction: column;
    }
    
    .makler__card {
        width: 100%;
        padding: 20px;
        flex-direction: row; /* Změna: zachováváme horizontální layout */
        gap: 20px;
    }
    
    .makler__image {
        width: 33.33%; /* 1/3 šířky */
        min-width: 33.33%;
        max-width: 33.33%;
        height: auto;
        aspect-ratio: 3/4; /* Zachováváme poměr stran pro kompletní zobrazení */
        background-size: cover;
        background-position: center;
        border-radius: 10px;
        flex-shrink: 0;
    }
    
    .makler__content {
        width: 66.67%; /* 2/3 šířky */
        flex: none;
    }
    
    .makler__name {
        font-size: 24px; /* Zmenšení pro lepší čitelnost */
        margin-bottom: 15px;
    }
    
    .makler__description {
        font-size: 14px;
        margin-bottom: 15px;
    }
    
    .makler__phone,
    .makler__email {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .makler__title {
        font-size: 32px;
    }
    
    .makler__card {
        padding: 15px;
        gap: 15px;
    }
    
    .makler__image {
        width: 33.33%;
        min-width: 33.33%;
        max-width: 33.33%;
        aspect-ratio: 3/4;
    }
    
    .makler__name {
        font-size: 20px;
        margin-bottom: 10px;
    }
    
    .makler__description {
        font-size: 13px;
        margin-bottom: 10px;
    }
    
    .makler__phone,
    .makler__email {
        font-size: 13px;
    }
}

/* ============ kontakt ================ */
.kontakt {
    width: 1440px;
    max-width: 100%;
    margin: 40px auto 0 auto;
    display: flex;
    min-height: 600px;
    border-radius: 40px;
    overflow: hidden;
}

.kontakt__content {
    flex: 1;
    background-color: var(--rt-platinum);
    padding: 80px 60px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.kontakt__title {
    font-family: 'Contralto Small', cursive;
    font-weight: 700;
    font-size: 72px;
    color: var(--rt-black);
    margin-bottom: 20px;
    line-height: 1.1;
}

.kontakt__company {
    font-family: 'Supreme', Arial, sans-serif;
    font-weight: 400;
    font-size: 24px;
    color: var(--rt-black);
    margin-bottom: 40px;
}

.kontakt__separator {
    width: 100%;
    height: 2px;
    background-color: var(--rt-black);
    margin-bottom: 40px;
}

.kontakt__address {
    font-family: 'Supreme', Arial, sans-serif;
    font-weight: 400;
    font-size: 20px;
    color: var(--rt-black);
    margin-bottom: 30px;
    line-height: 1.4;
}

.kontakt__separator2 {
    width: 100%;
    height: 2px;
    background-color: var(--rt-black);
    margin-bottom: 40px;
}

.kontakt__email {
    font-family: 'Supreme', Arial, sans-serif;
    font-weight: 400;
    font-size: 20px;
    color: var(--rt-black);
    text-decoration: none;
}

.kontakt__email:hover {
    text-decoration: underline;
}

.kontakt__map {
    width: 50%;
    position: relative;
    background-color: #f0f0f0;
}

.kontakt__map iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.kontakt__map-marker {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background-color: var(--rt-black);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    pointer-events: none;
}

.kontakt__map-marker-text {
    color: white;
    font-family: 'Supreme', Arial, sans-serif;
    font-weight: 700;
    font-size: 18px;
}

/* Responzivní design pro kontakt */
@media (max-width: 768px) {
    .kontakt {
        width: 100%;
        margin: 30px 0 0 0;
        flex-direction: column;
        min-height: auto;
    }
    
    .kontakt__content {
        padding: 50px 30px;
    }
    
    .kontakt__title {
        font-size: 48px;
        margin-bottom: 15px;
    }
    
    .kontakt__company {
        font-size: 18px;
        margin-bottom: 30px;
    }
    
    .kontakt__separator,
    .kontakt__separator2 {
        margin-bottom: 30px;
    }
    
    .kontakt__address {
        font-size: 16px;
        margin-bottom: 20px;
    }
    
    .kontakt__email {
        font-size: 16px;
    }
    
    .kontakt__map {
        height: 400px;
        flex: none;
    }
    
    .kontakt__map-marker {
        width: 50px;
        height: 50px;
    }
    
    .kontakt__map-marker-text {
        font-size: 16px;
    }
}


/* ============ main-nabidka ================ */
.main-nabidka {
    width: 1440px;
    max-width: 100%;
    margin: 40px auto 0 auto;
    padding: 00px 0;
    text-align: left;
}

.main-nabidka__title {
    font-family: 'Contralto Small', cursive;
    font-weight: 700;
    font-size: 48px;
    color: var(--rt-black);
    margin-bottom: 20px;
    line-height: 1.2;
    text-align: center;
}

.main-nabidka__filters {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.main-nabidka__filter {
    padding: 3px 12px;
    background-color: white;
    border: 1px solid var(--rt-black);
    border-radius: 25px;
    font-family: 'Supreme', Arial, sans-serif;
    font-weight: 400;
    font-size: 16px;
    color: var(--rt-black);
    cursor: pointer;
    transition: none;
}

.main-nabidka__filter:hover {
    background-color: white;
    color: var(--rt-black);
}

.main-nabidka__filter--active {
    background-color: var(--rt-black);
    color: white;
}

.main-nabidka__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 00px;
}

.main-nabidka__card {
    background-color: white;
    border-radius: 20px 20px 0px 0px;
    overflow: hidden;
    //box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    //transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.main-nabidka__card:hover {
    //transform: translateY(-5px);
    //box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.main-nabidka__card-image {
    width: 100%;
    height: 250px;
    border-radius: 20px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.main-nabidka__card-tags {
    position: absolute;
    top: 15px;
    left: 15px;
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.main-nabidka__tag {
    padding: 6px 12px;
    border-radius: 15px;
    font-family: 'Supreme', Arial, sans-serif;
    font-weight: 400;
    font-size: 12px;
    color: var(--rt-black);
    background-color: white;
    border: none;
}

.main-nabidka__card-content {
    padding-top: 10px;
}

.main-nabidka__card-location {
    font-family: 'Supreme', Arial, sans-serif;
    font-weight: 400;
    font-size: 14px;
    color: #666;
    margin-bottom: 05px;
    display: flex;
    align-items: left;
    gap: 8px;
    text-align: left;
}

.main-nabidka__card-location::before {
    content: "";
    width: 16px;
    height: 16px;
    background-image: url('images/MapPin.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    flex-shrink: 0;
}

.main-nabidka__card-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 05px;
}

.main-nabidka__card-title {
    font-family: 'Contralto Small', cursive;
    font-weight: 700;
    font-size: 24px;
    color: var(--rt-black);
    line-height: 1.2;
}

.main-nabidka__card-price {
    font-family: 'Contralto Small', cursive;
    font-weight: 700;
    font-size: 24px;
    color: var(--rt-black);
    text-align: right;
}

.main-nabidka__card-separator {
    width: 100%;
    height: 1px;
    background-color: var(--rt-black);
    margin-bottom: 05px;
}

.main-nabidka__card-details {
    font-family: 'Supreme', Arial, sans-serif;
    font-weight: 400;
    font-size: 14px;
    color: var(--rt-black);
    line-height: 1.4;
    text-align: left;
}

.main-nabidka__pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 00px;
}

.main-nabidka__page-btn {
    padding: 3px 12px;
    background-color: white;
    border: 1px solid var(--rt-black);
    border-radius: 25px;
    font-family: 'Supreme', Arial, sans-serif;
    font-weight: 400;
    font-size: 16px;
    color: var(--rt-black);
    cursor: pointer;
    transition: all 0.3s ease;
}

.main-nabidka__page-btn:hover,
.main-nabidka__page-btn--active {
    background-color: var(--rt-black);
    color: white;
}

.main-nabidka__load-more {
    width: 200px;
    height: 50px;
    background-color: transparent;
    border: 1px solid var(--rt-black);
    border-radius: 25px;
    font-family: 'Supreme', Arial, sans-serif;
    font-weight: 400;
    font-size: 16px;
    color: var(--rt-black);
    cursor: pointer;
    transition: all 0.3s ease;
    margin: 0 auto;
    display: block;
}

.main-nabidka__load-more:hover {
    background-color: var(--rt-black);
    color: white;
}

/* Responzivní design pro main-nabidka */
@media (max-width: 1190px) {
    .main-nabidka__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .main-nabidka {
        width: 100%;
        margin: 30px 0 0 0;
        padding: 40px 20px;
    }
    
    .main-nabidka__title {
        font-size: 36px;
        margin-bottom: 30px;
    }
    
    .main-nabidka__filters {
        margin-bottom: 30px;
    }
    
    .main-nabidka__filter {
        font-size: 14px;
        padding: 10px 20px;
    }
    
    .main-nabidka__grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-bottom: 30px;
    }
    
    .main-nabidka__card-image {
        height: 200px;
    }
    
    .main-nabidka__card-content {
        padding: 20px;
    }
    
    .main-nabidka__card-title {
        font-size: 20px;
    }
    
    .main-nabidka__card-price {
        font-size: 18px;
    }
}

/* ============ detail-top ================ */
.detail-top {
    width: 1440px;
    max-width: 100%;
    margin: 40px auto 40px auto;
    border-radius: 40px;
    overflow: hidden;
    position: relative;
    min-height: 700px;
}

.detail-top__background {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}

.detail-top__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.1) 50%, rgba(0,0,0,0.6) 100%);
    z-index: 2;
}

.detail-top__tags {
    position: absolute;
    top: 30px;
    left: 30px;
    margin-top: 00px;
    z-index: 3;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.detail-top__tag {
    padding: 8px 16px;
    background-color: white;
    border-radius: 20px;
    font-family: 'Supreme', Arial, sans-serif;
    font-weight: 400;
    font-size: 14px;
    color: var(--rt-black);
}

.detail-top__content {
    position: absolute;
    bottom: 30px;
    left: 30px;
    right: 30px;
    z-index: 3;
    background-color: white;
    border-radius: 20px;
    padding: 30px;
    max-width: 600px;
}

.detail-top__location {
    font-family: 'Supreme', Arial, sans-serif;
    font-weight: 400;
    font-size: 14px;
    color: #666;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.detail-top__location::before {
    content: "";
    width: 16px;
    height: 16px;
    background-image: url('images/MapPin.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    flex-shrink: 0;
}

.detail-top__header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 10px;
}

.detail-top__title {
    font-family: 'Contralto Small', cursive;
    font-weight: 700;
    font-size: 24px;
    color: var(--rt-black);
    line-height: 1.1;
}

.detail-top__price {
    font-family: 'Contralto Small', cursive;
    font-weight: 700;
    font-size: 24px;
    color: var(--rt-black);
    text-align: right;
    white-space: nowrap;
}

.detail-top__separator {
    width: 100%;
    height: 2px;
    background-color: var(--rt-black);
    margin-bottom: 10px;
}

.detail-top__details {
    font-family: 'Supreme', Arial, sans-serif;
    font-weight: 400;
    font-size: 16px;
    color: #666;
    line-height: 1.5;
}

/* Responzivní design pro detail-top */
@media (max-width: 1024px) {
    .detail-top {
        width: 100%;
        margin: 30px 0 0 0;
        min-height: 500px;
    }
    
   
    .detail-top__tags {
        top: 00px;
        left: 20px;
        margin-top: 50px;
    }
    
    .detail-top__tag {
        padding: 6px 12px;
        font-size: 12px;
    }
    
    .detail-top__content {
        bottom: 20px;
        left: 20px;
        right: 20px;
        padding: 20px;
        max-width: none;
    }
    
    .detail-top__header {
        margin-bottom: 15px;
    }
    
    .detail-top__title {
        font-size: 28px;
    }
    
    .detail-top__price {
        font-size: 24px;
    }
    
    .detail-top__separator {
        margin-bottom: 15px;
    }
    
    .detail-top__details {
        font-size: 14px;
    }
}

/* ============ detail-bottom ================ */
.detail-bottom {
    width: 1440px;
    max-width: 100%;
    margin: 20px auto 20px auto;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.detail-bottom__top {
    display: flex;
    gap: 20px;
    /* Používáme JavaScript pro výšku - bez min-height */
}

.detail-bottom__left-card {
    width: 50%;
    background-color: var(--rt-platinum);
    border-radius: 40px;
    overflow: hidden;
    display: flex;
}

.detail-bottom__map {
    width: 50%;
    position: relative;
    background-color: #f0f0f0;
}

.detail-bottom__map iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.detail-bottom__map-marker {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background-color: var(--rt-black);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    pointer-events: none;
}

.detail-bottom__map-marker-text {
    color: white;
    font-family: 'Supreme', Arial, sans-serif;
    font-weight: 700;
    font-size: 18px;
}

.detail-bottom__left-content {
    width: 50%;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.detail-bottom__description-title {
    font-family: 'Contralto Small', cursive;
    font-weight: 700;
    font-size: 24px;
    color: var(--rt-black);
    margin-bottom: 15px;
}

.detail-bottom__description-text {
    font-family: 'Supreme', Arial, sans-serif;
    font-weight: 400;
    font-size: 16px;
    color: #666;
    line-height: 1.6;
}

.detail-bottom__right {
    width: 50%;
    display: flex;
    gap: 20px;
}

.detail-bottom__specs-left {
    width: 50%; /* 25% celkové šířky */
    background-color: var(--rt-platinum);
    border-radius: 20px;
    padding: 30px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
}

.detail-bottom__specs-right-container {
    width: 50%; /* 25% celkové šířky */
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.detail-bottom__contact-card {
    background-color: white;
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    flex-shrink: 0;
    min-height: 60px;
    display: none;
}

.detail-bottom__contact-id {
    display: none;    
}

.detail-bottom__contact-name {
    font-family: 'Supreme', Arial, sans-serif;
    font-weight: 600;
    font-size: 16px;
    color: var(--rt-black);
}

.detail-bottom__specs-right {
    background-color: var(--rt-platinum);
    border-radius: 20px;
    padding: 30px;
    flex: 1;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
}

.detail-bottom__specs {
    width: 100%;
    border-collapse: collapse;
    height: auto;
}

.detail-bottom__specs tr {
    border-bottom: 1px solid #ddd;
}

.detail-bottom__specs tr:last-child {
    border-bottom: none;
}

.detail-bottom__spec-label {
    font-family: 'Supreme', Arial, sans-serif;
    font-weight: 400;
    font-size: 14px;
    color: #666;
    padding: 10px 8px;
    text-align: left;
    vertical-align: top;
    word-wrap: break-word;
    white-space: normal;
    line-height: 1.3;
}

.detail-bottom__spec-value {
    font-family: 'Supreme', Arial, sans-serif;
    font-weight: 500;
    font-size: 14px;
    color: var(--rt-black);
    padding: 10px 8px;
    text-align: right;
    vertical-align: top;
    word-wrap: break-word;
    white-space: normal;
    line-height: 1.3;
}

.detail-bottom__detailed-description {
    background-color: white;
    padding: 0px;
    border-radius: 0px;
}

.detail-bottom__detailed-title {
    font-family: 'Contralto Small', cursive;
    font-weight: 700;
    font-size: 24px;
    color: var(--rt-black);
    margin-bottom: 20px;
}

.detail-bottom__detailed-text {
    font-family: 'Supreme', Arial, sans-serif;
    font-weight: 400;
    font-size: 16px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 15px;
    text-align: justify;
}

.detail-bottom__detailed-text:last-child {
    margin-bottom: 0;
}

/* Responzivní design pro detail-bottom */
@media (max-width: 1024px) {
    .detail-bottom__top {
        flex-direction: column;
        gap: 20px;
    }
    
    .detail-bottom__left-card {
        width: 100%;
        order: 1; /* První pořadí */
    }
    
    .detail-bottom__right {
        width: 100%;
        flex-direction: column;
        order: 2; /* Druhé pořadí */
    }
    
    .detail-bottom__specs-left {
        width: 100%;
        order: 1; /* Druhý sloupec celkově */
    }
    
    .detail-bottom__specs-right-container {
        width: 100%;
        order: 2; /* Třetí sloupec celkově */
    }
}

@media (max-width: 768px) {
    .detail-bottom {
        width: 100%;
        margin: 30px 0 0 0;
        padding: 0 20px;
    }
    
    .detail-bottom__top {
        flex-direction: column;
        gap: 20px;
    }
    
    .detail-bottom__left-card {
        width: 100%;
        flex-direction: column;
        min-height: 500px;
    }
    
    .detail-bottom__map {
        width: 100%;
        height: 50%;
    }
    
    .detail-bottom__left-content {
        width: 100%;
        height: 50%;
        padding: 30px;
    }
    
    .detail-bottom__right {
        width: 100%;
        flex-direction: column;
    }
    
    .detail-bottom__specs-left {
        width: 100%;
    }
    
    .detail-bottom__specs-right-container {
        width: 100%;
    }
    
    .detail-bottom__contact-card {
        width: 100%;
        align-self: stretch;
    }
    
    .detail-bottom__detailed-description {
        padding: 0px 0px;
    }
    
    .detail-bottom__spec-label,
    .detail-bottom__spec-value {
        font-size: 12px;
        padding: 8px 6px;
    }
}

/* ============ fotogalerie ================ */
.fotogalerie {
    width: 1440px;
    max-width: 100%;
    margin: 10px auto 10px auto;
    padding: 20px 0;
}

.fotogalerie__title {
    font-family: 'Contralto Small', cursive;
    font-weight: 700;
    font-size: 48px;
    color: var(--rt-black);
    margin-bottom: 20px;
    text-align: left;
    padding-left: 0;
}

.fotogalerie__container {
    position: relative;
    overflow: hidden;
}

.fotogalerie__slider {
    display: flex;
    transition: transform 0.3s ease;
}

.fotogalerie__slide {
    min-width: 100%;
    display: flex;
    gap: 20px;
}

.fotogalerie__image {
    flex: 1;
    height: 300px;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.fotogalerie__image:hover {
    /* Odstraněno transform pro hover efekt */
}

.fotogalerie__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.fotogalerie__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background-color: rgba(36, 6, 4, 0.8);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 24px;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
}

.fotogalerie__nav:hover {
    background-color: var(--rt-black);
    transform: translateY(-50%) scale(1.1);
}

.fotogalerie__nav--prev {
    left: 20px;
}

.fotogalerie__nav--next {
    right: 20px;
}

.fotogalerie__dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
}

.fotogalerie__dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #ddd;
    cursor: pointer;
    transition: all 0.3s ease;
}

.fotogalerie__dot--active {
    background-color: var(--rt-black);
}

/* Lightbox pro fullscreen zobrazení */
.fotogalerie__lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 1000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 40px; /* Přidáno odsazení ze všech stran */
    box-sizing: border-box; /* Aby padding nebyl připočítán k šířce/výšce */
}

.fotogalerie__lightbox--active {
    display: flex;
}

.fotogalerie__lightbox-content {
    position: relative;
    max-width: 100%;
    max-height: 100%;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    /* Odebráno padding: 5vh 0; */
}

.fotogalerie__lightbox-image {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 10px;
}

.fotogalerie__lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    background-color: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    color: var(--rt-black);
    font-size: 28px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.fotogalerie__lightbox-nav:hover {
    background-color: white;
    transform: translateY(-50%) scale(1.1);
}

.fotogalerie__lightbox-nav--prev {
    left: 20px; /* Změněno z -80px na 20px */
}

.fotogalerie__lightbox-nav--next {
    right: 20px; /* Změněno z -80px na 20px */
}

.fotogalerie__lightbox-close {
    position: absolute;
    top: 20px; /* Změněno z -50px na 20px */
    right: 20px; /* Změněno z 0 na 20px */
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    color: var(--rt-black);
    font-size: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.fotogalerie__lightbox-close:hover {
    background-color: white;
    transform: scale(1.1);
}

.fotogalerie__lightbox-label {
    position: absolute;
    bottom: 20px; /* Změněno z -40px na 20px */
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(255, 255, 255, 0.9);
    color: var(--rt-black);
    padding: 10px 20px;
    border-radius: 20px;
    font-family: 'Supreme', Arial, sans-serif;
    font-weight: 500;
    font-size: 16px;
    white-space: nowrap;
    display: none;
}

/* ============ VIDEO STYLY ================ */
/* Video thumbnail styly */
.fotogalerie__video {
    position: relative;
    cursor: pointer;
}

.fotogalerie__video-thumbnail {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f0f0f0;
    border-radius: 20px;
    overflow: hidden;
}

/* Video preview element */
.fotogalerie__video-preview {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
    z-index: 1;
}

/* Video overlay pro lepší rozlišení od fotek */
.fotogalerie__video .fotogalerie__video-thumbnail::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.2);
    z-index: 2;
    pointer-events: none;
}

.fotogalerie__video-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: none;
    align-items: center;
    justify-content: center;
    background: #f0f0f0;
    z-index: 2;
}

.fotogalerie__video-placeholder-icon {
    font-size: 48px;
    color: #666;
    opacity: 0.8;
}

.fotogalerie__video-play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.3s ease;
    z-index: 10;
    pointer-events: none;
}

.fotogalerie__video:hover .fotogalerie__video-play-button {
    transform: translate(-50%, -50%) scale(1.1);
}

.fotogalerie__video-play-button svg {
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.3));
}

/* Lightbox video styly - opravené pro lepší viditelnost */
.fotogalerie__lightbox-video-container {
    position: relative;
    max-width: 100%;
    max-height: 100%;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    /* Odebráno padding: 5vh 0; */
    box-sizing: border-box;
}

.fotogalerie__lightbox-video {
    max-width: 100%;
    max-height: 100%;
    border-radius: 10px;
    outline: none;
    background-color: #000;
    /* Výrazné zlepšení viditelnosti */
    /* filter: brightness(1.5) contrast(1.3) saturate(1.2); */
}

.fotogalerie__lightbox-video::-webkit-media-controls-panel {
    background-color: rgba(0, 0, 0, 0.8);
}

.fotogalerie__lightbox-video::-webkit-media-controls-play-button {
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
}

/* Responzivní design pro fotogalerie */
@media (max-width: 768px) {
    .fotogalerie {
        width: 100%;
        margin: 10px 0 0 0;
        padding: 40px 20px;
    }
    
    .fotogalerie__title {
        font-size: 36px;
        margin-bottom: 30px;
    }
    
    .fotogalerie__slide {
        flex-direction: column;
        gap: 15px;
    }
    
    .fotogalerie__image {
        height: 200px;
    }
    
    .fotogalerie__nav {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }
    
    .fotogalerie__nav--prev {
        left: 10px;
    }
    
    .fotogalerie__nav--next {
        right: 10px;
    }
    
    /* Lightbox responzivní úpravy */
    .fotogalerie__lightbox {
        padding: 30px;
    }
    
    .fotogalerie__lightbox-nav--prev {
        left: 15px;
    }
    
    .fotogalerie__lightbox-nav--next {
        right: 15px;
    }
    
    .fotogalerie__lightbox-nav {
        width: 50px;
        height: 50px;
        font-size: 24px;
    }
    
    .fotogalerie__lightbox-close {
        top: 15px;
        right: 15px;
    }
    
    .fotogalerie__lightbox-label {
        bottom: 15px;
    }
    
    /* Responsive úpravy pro video */
    .fotogalerie__video-play-button svg {
        width: 50px;
        height: 50px;
    }
    
    .fotogalerie__video-placeholder-icon {
        font-size: 32px;
    }
    
    .fotogalerie__lightbox-video {
        max-height: 70vh;
    }
}

@media (max-width: 480px) {
    /* Lightbox responzivní úpravy pro velmi malé obrazovky */
    .fotogalerie__lightbox {
        padding: 20px;
    }
    
    .fotogalerie__lightbox-nav--prev {
        left: 10px;
    }
    
    .fotogalerie__lightbox-nav--next {
        right: 10px;
    }
    
    .fotogalerie__lightbox-nav {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }
    
    .fotogalerie__lightbox-close {
        top: 10px;
        right: 10px;
        width: 35px;
        height: 35px;
        font-size: 18px;
    }
    
    .fotogalerie__lightbox-label {
        bottom: 10px;
        font-size: 14px;
        padding: 8px 16px;
    }
    
    .fotogalerie__video-play-button svg {
        width: 40px;
        height: 40px;
    }
    
    .fotogalerie__video-placeholder-icon {
        font-size: 24px;
    }
    
    .fotogalerie__lightbox-video {
        max-height: 60vh;
    }
}


/* ========== FOOTER STYLES ========== */
.footer {
    color: white !important;
    padding: 00px 0 0;
    margin-top: auto;
    width: 100%;
}

.footer-container {
    background-color: #240604 !important;
    width: 1600px;
    max-width: 100%;
    height: 167px;
    margin: 0 auto;
    position: relative;
}

.footer-text {
    position: absolute;
}

#text1 {
    top: 30px;
    left: 80px;
  }

  #text2 {
    top: 30px;
    left: 39%;
  }
  
  #text3 {
    top: 30px;
    left: 67%;
  }

  #text4 {
    top: 30px;
    right: 80px;
  }

  #text5 {
    bottom: 30px;
    left: 80px;
  }

  #text6 {
    bottom: 30px;
    right: 80px;
  }


.footer-first {
    font-family: 'Supreme', Arial, sans-serif;
    font-size: 15px;
    font-weight: 400;
    margin-bottom: 9px;
    color: white !important;
}

.footer-second {
    font-family: 'Supreme', Arial, sans-serif;
    font-size: 14px;
    font-weight: 300;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.9) !important;
}

.footer-email-link {
    font-family: 'Supreme', Arial, sans-serif;
    color: white !important;
    text-decoration: none;
    font-size: 14px;
    font-weight: 300;
    margin-bottom: 20px;
    transition: color 0.3s ease;
}

.email-link:hover {
    color: white !important;
    font-weight: 500;
}



.social-icons {
    display: flex;
    gap: 16px;
}

.social-link {
    width: 32px;
    height: 32px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white !important;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.social-link:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.social-link svg {
    width: 16px;
    height: 16px;
}

.footer-bottom {
    margin-top: 40px;
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom-container {
    width: 1600px;
    max-width: 100%;
    margin: 0 auto;
    padding: 0 80px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-links {
    display: flex;
    gap: 40px;
}

.footer-link {
    font-family: 'Supreme', Arial, sans-serif;
    color: rgba(255, 255, 255, 0.7) !important;
    text-decoration: none;
    font-size: 12px;
    font-weight: 400;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: white !important;
    font-weight: 500;
}

.footer-copyright p {
    font-family: 'Supreme', Arial, sans-serif;
    color: rgba(255, 255, 255, 0.7) !important;
    font-size: 12px;
    font-weight: 400;
}

/* ========== RESPONSIVE DESIGN ========== */
@media (max-width: 768px) {
    /* Header mobile */
    .header-container {
        width: 100%;
        height: 100px;
        padding: 0 20px;
        justify-content: space-between;
    }
    
    .logo {
        position: static;
    }
    
    .nav-desktop {
        display: none;
    }
    
    .contact-container {
        display: none;
    }
    
    .hamburger-menu {
        display: block;
        position: static;
    }
    
    .logo-svg {
        height: 50px;
    }
    
    /* Main mobile */
    .main-container {
        width: 100%;
        padding: 0 20px;
    }
    
    /* Footer mobile */
    .footer {
        padding: 30px 0 0;
    }
    
    .footer-container {
        width: 100%;
        padding: 0 20px;
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: left;
    }
    
    .footer-title {
        font-size: 16px;
        margin-bottom: 12px;
    }
    
    .footer-address,
    .phone-link,
    .email-link {
        font-size: 14px;
    }
    
    .phone-numbers {
        gap: 6px;
    }
    
    .email-link {
        margin-bottom: 16px;
    }
    
    .social-icons {
        gap: 12px;
    }
    
    .social-link {
        width: 28px;
        height: 28px;
    }
    
    .social-link svg {
        width: 14px;
        height: 14px;
    }
    
    .footer-bottom {
        margin-top: 30px;
        padding: 16px 0;
    }
    
    .footer-bottom-container {
        width: 100%;
        padding: 0 20px;
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 12px;
        order: 2;
    }
    
    .footer-copyright {
        order: 1;
    }
    
    .footer-link,
    .footer-copyright p {
        font-size: 11px;
    }
}

@media (max-width: 360px) {
    .header-container {
        width: 100%;
        padding: 0 20px;
    }
    
    .main-container {
        width: 100%;
        padding: 0 20px;
    }
    
    .footer-container,
    .footer-bottom-container {
        width: 100%;
        padding: 0 20px;
    }
}


/* ============ Content Lightbox ================ */
.content-lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.content-lightbox--active {
    display: flex;
}

.content-lightbox-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    animation: fadeIn 0.3s ease;
}

.content-lightbox-container {
    position: relative;
    background-color: white;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    max-width: 800px;
    max-height: 90vh;
    width: 100%;
    overflow: hidden;
    animation: slideIn 0.3s ease;
    display: flex;
    flex-direction: column;
}

.content-lightbox-header {
    display: flex;
    justify-content: flex-end;
    padding: 20px 20px 0 20px;
    background-color: white;
    border-radius: 20px 20px 0 0;
}

.content-lightbox-close {
    width: 40px;
    height: 40px;
    border: none;
    background-color: #f5f5f5;
    border-radius: 50%;
    font-size: 24px;
    font-weight: bold;
    color: #666;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.content-lightbox-close:hover {
    background-color: #e0e0e0;
    color: #333;
    transform: scale(1.1);
}

.content-lightbox-content {
    flex: 1;
    padding: 0 30px 30px 30px;
    overflow-y: auto;
    font-family: 'Supreme', Arial, sans-serif;
}

.content-lightbox-loading {
    text-align: center;
    padding: 60px 20px;
    font-size: 18px;
    color: #666;
    font-family: 'Supreme', Arial, sans-serif;
}

.content-lightbox-loading::after {
    content: '';
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #333;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-left: 10px;
    vertical-align: middle;
}

.content-lightbox-error {
    text-align: center;
    padding: 60px 20px;
    color: #d32f2f;
    font-size: 16px;
    font-family: 'Supreme', Arial, sans-serif;
}

.content-lightbox-error h3 {
    margin-bottom: 15px;
    color: #d32f2f;
    font-family: 'Contralto Small', cursive;
}

/* Styly pro obsah lightboxu */
.content-lightbox-content h1,
.content-lightbox-content h2,
.content-lightbox-content h3 {
    color: #333;
    margin-bottom: 20px;
    font-weight: 700;
    font-family: 'Contralto Small', cursive;
}

.content-lightbox-content h1 {
    font-size: 28px;
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 15px;
    margin-bottom: 25px;
}

.content-lightbox-content h2 {
    font-size: 22px;
    margin-top: 30px;
}

.content-lightbox-content h3 {
    font-size: 18px;
    margin-top: 25px;
}

.content-lightbox-content p {
    color: #666;
    line-height: 1.7;
    margin-bottom: 15px;
    font-size: 15px;
    font-family: 'Supreme', Arial, sans-serif;
}

.content-lightbox-content ul,
.content-lightbox-content ol {
    color: #666;
    line-height: 1.7;
    margin-bottom: 15px;
    padding-left: 20px;
    font-family: 'Supreme', Arial, sans-serif;
}

.content-lightbox-content li {
    margin-bottom: 8px;
    font-size: 15px;
    font-family: 'Supreme', Arial, sans-serif;
}

.content-lightbox-content strong {
    color: #333;
    font-weight: 700;
    font-family: 'Supreme', Arial, sans-serif;
}

.content-lightbox-content a {
    color: #240604;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s ease;
    font-family: 'Supreme', Arial, sans-serif;
}

.content-lightbox-content a:hover {
    border-bottom-color: #240604;
}

.content-lightbox-content em {
    font-family: 'Supreme', Arial, sans-serif;
    font-style: italic;
}

/* Animace */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideIn {
    from { 
        opacity: 0;
        transform: translateY(-20px) scale(0.95);
    }
    to { 
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Responzivní design */
@media (max-width: 768px) {
    .content-lightbox {
        padding: 10px;
    }
    
    .content-lightbox-container {
        max-height: 95vh;
        border-radius: 15px;
    }
    
    .content-lightbox-header {
        padding: 15px 15px 0 15px;
        border-radius: 15px 15px 0 0;
    }
    
    .content-lightbox-close {
        width: 35px;
        height: 35px;
        font-size: 20px;
    }
    
    .content-lightbox-content {
        padding: 0 20px 20px 20px;
    }
    
    .content-lightbox-content h1 {
        font-size: 24px;
    }
    
    .content-lightbox-content h2 {
        font-size: 20px;
    }
    
    .content-lightbox-content h3 {
        font-size: 16px;
    }
    
    .content-lightbox-content p,
    .content-lightbox-content li {
        font-size: 14px;
    }
}

/* Scrollbar pro lightbox obsah */
.content-lightbox-content::-webkit-scrollbar {
    width: 6px;
}

.content-lightbox-content::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

.content-lightbox-content::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 3px;
}

.content-lightbox-content::-webkit-scrollbar-thumb:hover {
    background: #a1a1a1;
}

/* ============ COOKIE BANNER & MODAL STYLES ================ */

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: white;
    border-top: 2px solid var(--rt-black);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
    z-index: 9999;
    transform: translateY(100%);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
}

.cookie-banner--visible {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
}

.cookie-banner-container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 20px 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.cookie-banner-content {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    flex: 1;
    max-width: 70%;
}

.cookie-banner-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    background-color: var(--rt-platinum);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--rt-black);
    margin-top: 5px;
}

.cookie-banner-icon svg {
    width: 20px;
    height: 20px;
}

.cookie-banner-text h3 {
    font-family: 'Contralto Small', cursive;
    font-weight: 700;
    font-size: 18px;
    color: var(--rt-black);
    margin: 0 0 8px 0;
    line-height: 1.2;
}

.cookie-banner-text p {
    font-family: 'Supreme', Arial, sans-serif;
    font-weight: 400;
    font-size: 14px;
    color: #666;
    margin: 0;
    line-height: 1.4;
}

.cookie-banner-buttons {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
}

.cookie-btn {
    padding: 10px 20px;
    border-radius: 25px;
    font-family: 'Supreme', Arial, sans-serif;
    font-weight: 500;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid var(--rt-black);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
}

.cookie-btn--accept {
    background-color: var(--rt-black);
    color: white;
}

.cookie-btn--accept:hover {
    background-color: #3d1612;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(36, 6, 4, 0.3);
}

.cookie-btn--settings {
    background-color: white;
    color: var(--rt-black);
}

.cookie-btn--settings:hover {
    background-color: var(--rt-platinum);
    transform: translateY(-1px);
}

.cookie-btn--decline {
    background-color: transparent;
    color: #666;
    border-color: #ccc;
}

.cookie-btn--decline:hover {
    background-color: #f5f5f5;
    color: var(--rt-black);
    border-color: var(--rt-black);
}

.cookie-btn--secondary {
    background-color: white;
    color: var(--rt-black);
}

.cookie-btn--secondary:hover {
    background-color: var(--rt-platinum);
}

/* Cookie Modal */
.cookie-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    transition: all 0.3s ease;
}

.cookie-modal--visible {
    display: flex;
    opacity: 1;
}

.cookie-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
}

.cookie-modal-container {
    position: relative;
    background-color: white;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    max-width: 600px;
    max-height: 80vh;
    width: 100%;
    overflow: hidden;
    animation: modalSlideIn 0.3s ease;
    display: flex;
    flex-direction: column;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-20px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.cookie-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 30px 0 30px;
    border-bottom: 1px solid #eee;
    margin-bottom: 0;
}

.cookie-modal-header h2 {
    font-family: 'Contralto Small', cursive;
    font-weight: 700;
    font-size: 24px;
    color: var(--rt-black);
    margin: 0 0 20px 0;
}

.cookie-modal-close {
    width: 40px;
    height: 40px;
    border: none;
    background-color: #f5f5f5;
    border-radius: 50%;
    font-size: 24px;
    font-weight: bold;
    color: #666;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    margin-bottom: 20px;
}

.cookie-modal-close:hover {
    background-color: #e0e0e0;
    color: #333;
    transform: scale(1.1);
}

.cookie-modal-content {
    flex: 1;
    padding: 20px 30px;
    overflow-y: auto;
    max-height: 50vh;
}

.cookie-category {
    margin-bottom: 25px;
    padding: 20px;
    background-color: #fafafa;
    border-radius: 12px;
    border: 1px solid #eee;
}

.cookie-category:last-child {
    margin-bottom: 0;
}

.cookie-category-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.cookie-category h4 {
    font-family: 'Supreme', Arial, sans-serif;
    font-weight: 600;
    font-size: 16px;
    color: var(--rt-black);
    margin: 0;
}

.cookie-category-description {
    font-family: 'Supreme', Arial, sans-serif;
    font-weight: 400;
    font-size: 14px;
    color: #666;
    line-height: 1.5;
    margin: 0;
}

/* Toggle Switch */
.cookie-toggle {
    position: relative;
    display: inline-block;
}

.cookie-toggle input[type="checkbox"] {
    opacity: 0;
    width: 0;
    height: 0;
}

.cookie-toggle label {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
    background-color: #ccc;
    border-radius: 24px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.cookie-toggle label:after {
    content: "";
    position: absolute;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: white;
    top: 2px;
    left: 2px;
    transition: transform 0.3s ease;
}

.cookie-toggle input[type="checkbox"]:checked + label {
    background-color: var(--rt-black);
}

.cookie-toggle input[type="checkbox"]:checked + label:after {
    transform: translateX(26px);
}

.cookie-toggle--disabled {
    opacity: 0.6;
}

.cookie-toggle--disabled label {
    cursor: not-allowed;
    background-color: var(--rt-black);
}

.cookie-modal-buttons {
    padding: 20px 30px 30px 30px;
    display: flex;
    gap: 15px;
    justify-content: flex-end;
    border-top: 1px solid #eee;
}

/* Scrollbar pro modal content */
.cookie-modal-content::-webkit-scrollbar {
    width: 6px;
}

.cookie-modal-content::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

.cookie-modal-content::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 3px;
}

.cookie-modal-content::-webkit-scrollbar-thumb:hover {
    background: #a1a1a1;
}

/* Responzivní design pro cookie banner a modal */
@media (max-width: 768px) {
    .cookie-banner-container {
        padding: 15px 20px;
        flex-direction: column;
        gap: 20px;
        align-items: stretch;
    }
    
    .cookie-banner-content {
        max-width: 100%;
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }
    
    .cookie-banner-icon {
        align-self: center;
        margin-top: 0;
    }
    
    .cookie-banner-text h3 {
        font-size: 16px;
    }
    
    .cookie-banner-text p {
        font-size: 13px;
    }
    
    .cookie-banner-buttons {
        flex-direction: column;
        gap: 8px;
        width: 100%;
    }
    
    .cookie-btn {
        width: 100%;
        padding: 12px 20px;
        font-size: 14px;
    }
    
    /* Modal mobile styly */
    .cookie-modal {
        padding: 10px;
        align-items: flex-start;
        padding-top: 50px;
    }
    
    .cookie-modal-container {
        max-width: 100%;
        max-height: 85vh;
        margin-top: 0;
    }
    
    .cookie-modal-header {
        padding: 20px 20px 0 20px;
    }
    
    .cookie-modal-header h2 {
        font-size: 20px;
    }
    
    .cookie-modal-close {
        width: 35px;
        height: 35px;
        font-size: 20px;
        margin-bottom: 15px;
    }
    
    .cookie-modal-content {
        padding: 15px 20px;
        max-height: 60vh;
    }
    
    .cookie-category {
        padding: 15px;
        margin-bottom: 20px;
    }
    
    .cookie-category-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .cookie-category h4 {
        font-size: 15px;
    }
    
    .cookie-category-description {
        font-size: 13px;
    }
    
    .cookie-modal-buttons {
        padding: 15px 20px 20px 20px;
        flex-direction: column;
        gap: 10px;
    }
    
    .cookie-btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .cookie-banner-text h3 {
        font-size: 15px;
    }
    
    .cookie-banner-text p {
        font-size: 12px;
        line-height: 1.3;
    }
    
    .cookie-modal-header h2 {
        font-size: 18px;
    }
    
    .cookie-category h4 {
        font-size: 14px;
    }
    
    .cookie-category-description {
        font-size: 12px;
    }
    
    .cookie-toggle label {
        width: 45px;
        height: 22px;
    }
    
    .cookie-toggle label:after {
        width: 18px;
        height: 18px;
    }
    
    .cookie-toggle input[type="checkbox"]:checked + label:after {
        transform: translateX(23px);
    }
}

/* Animace pro smooth přechody */
@keyframes cookieBannerSlideUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes cookieBannerSlideDown {
    from {
        transform: translateY(0);
        opacity: 1;
    }
    to {
        transform: translateY(100%);
        opacity: 0;
    }
}

/* Accessibility vylepšení */
.cookie-btn:focus,
.cookie-toggle label:focus,
.cookie-modal-close:focus {
    outline: 2px solid var(--rt-black);
    outline-offset: 2px;
}

.cookie-toggle input[type="checkbox"]:focus + label {
    outline: 2px solid var(--rt-black);
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .cookie-banner {
        border-bottom-width: 3px;
    }
    
    .cookie-btn {
        border-width: 2px;
    }
    
    .cookie-category {
        border-width: 2px;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    .cookie-banner,
    .cookie-btn,
    .cookie-toggle label,
    .cookie-toggle label:after,
    .cookie-modal-container {
        transition: none;
        animation: none;
    }
}