/* ================================================= */
/* KOMPLETNÍ FINÁLNÍ KÓD (opravený a doplněný)       */
/* ================================================= */

/* === PŘIDÁNO: Zajištění správného výpočtu velikostí pro všechny prvky === */
*,
*::before,
*::after {
    box-sizing: border-box;
}

@import url('https://fonts.googleapis.com/css2?family=Caveat:wght@500&display=swap');

/* --- Základ a rám notebooku --- */
:root { --primary-color: #A08A6F; }
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-image: url('https://images.unsplash.com/photo-1598824495436-16852a485c25?q=80&w=1964&auto=format&fit=crop');
    background-size: cover; background-position: center; background-attachment: fixed;
    display: flex; justify-content: center; align-items: center; min-height: 100vh; margin: 0;
}
.macbook-container { padding: 50px 20px; }
.macbook {
    width: 90vw;
    max-width: 1000px;
    margin: auto;
}
.macbook-screen-top { background-color: #1e1e1e; border: 1px solid #333; padding: 15px; border-radius: 20px 20px 0 0; box-shadow: 0 -5px 20px rgba(0,0,0,0.2); position: relative; }
.macbook-camera { width: 10px; height: 10px; background: #000; border: 1px solid #444; border-radius: 50%; position: absolute; top: 5px; left: 50%; transform: translateX(-50%); }
.macbook-screen {
    background: #fff;
    border-radius: 5px;
    overflow: hidden;
    height: calc(100vh - 150px);
    display: flex;
    flex-direction: column;
}
.macbook-header { background: #e8e6e8; padding: 8px; display: flex; align-items: center; flex-shrink: 0; border-bottom: 1px solid #ccc; }
.dot { height: 12px; width: 12px; border-radius: 50%; margin-right: 8px; border: 1px solid rgba(0,0,0,0.1); }
.dot.red { background-color: #ff5f57; } .dot.yellow { background-color: #ffbd2e; } .dot.green { background-color: #28c940; }
.address-bar { flex-grow: 1; background: #fff; text-align: center; padding: 4px; border-radius: 5px; color: #555; font-size: 0.8rem;}
.macbook-screen iframe { width: 100%; height: 100%; }
.macbook-bottom { background: linear-gradient(to top, #d6d6d6, #e7e7e7); height: 25px; border-radius: 0 0 15px 15px; position: relative; border: 1px solid #aaa; border-top: none; box-shadow: 0 10px 30px rgba(0,0,0,0.2); }
.macbook-notch { width: 100px; height: 8px; background: #b5b5b5; border-radius: 0 0 10px 10px; position: absolute; top: 0; left: 50%; transform: translateX(-50%); border: 1px solid #aaa; border-top: none; }


/* --- Styly pro OBSAH webu (uvnitř iframu) --- */
.content-body { background: #fff; min-height: auto; display: block; color: #333; }
.content-body main { background-color: #fff; }
.content-body section {
    padding: 2.5rem 0; /* Zmenšené obecné odsazení sekcí */
}
.content-body h2 { font-size: 2.8rem; font-weight: 700; margin-bottom: 1.5rem; text-align: left; padding: 0 3rem; }

/* === OPRAVA PRO MOBILNÍ ZOBRAZENÍ ÚVODNÍ FOTKY === */
.content-body .hero-v2 {
    position: relative;
    height: 50vh; 
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    background-image: url('obrazky/hero-background.jpg'); /* Přesunuto sem */
    background-size: cover;
    background-position: center;
}
.content-body .hero-v2-background {
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.3); /* Přidáno pro ztmavení */
    z-index: 1;
}
.content-body .hero-v2-background video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1s ease-in;
}
.content-body .hero-v2-background video.is-playing {
    opacity: 1;
}
.content-body .hero-v2-content { 
    position: relative; 
    z-index: 2; /* Zajišťuje, že text je nad videem a ztmavením */
}
/* === KONEC OPRAVY === */

.content-body .hero-v2-content h1 { font-size: 3.8rem; font-weight: 800; line-height: 1.2; color: #FFFFFF; text-shadow: 0px 5px 25px rgba(0, 0, 0, 0.8); -webkit-text-stroke: 1px rgba(0, 0, 0, 0.4); }
.content-body .hero-v2-content p { font-size: 1.3rem; text-shadow: 0 2px 10px rgba(0,0,0,0.5); }
.content-body .story-section {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    align-items: start;
    gap: 3rem;
    background: #f9f9f9;
    padding: 2.5rem 3rem; 
}

.content-body .photo-collage {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-top: 2rem; /* PŘIDÁNO: Odsazení shora pro lepší zarovnání */
}
.content-body .collage-photo {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
    aspect-ratio: 1 / 1;
}
.content-body .collage-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}
.content-body .collage-photo:hover {
    transform: scale(2.2);
    z-index: 10;
    box-shadow: 0 20px 40px rgba(0,0,0,0.25);
}

.content-body .story-content { line-height: 1.7; }
.content-body .story-content ul { list-style: none; padding: 0; margin-top: 2rem; }
.content-body .story-content li { font-weight: 500; margin-bottom: 0.5rem; }
.content-body .story-content i { color: var(--primary-color); margin-right: 10px; }
.content-body .expand-section-trigger { text-align: center; margin-top: 2.5rem; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.content-body .expand-section-trigger i { font-size: 2rem; color: #333; padding: 10px; transition: transform 0.4s ease, color 0.3s ease; }
.content-body .expand-section-trigger i:hover { color: var(--primary-color); }
.content-body .expand-section-trigger i.open { transform: rotate(180deg); }
.content-body .expandable-content { max-height: 0; overflow: hidden; transition: max-height 0.5s ease-in-out, margin-top 0.5s ease-in-out; padding: 0; color: #555; font-size: 0.95em; line-height: 1.6; }
.content-body .expandable-content.show { max-height: 200px; margin-top: 1.5rem; }
.content-body #galerie {
    padding: 2.5rem 0; 
    background: #fff;
}
.content-body .gallery-container h2 { margin-bottom: 2rem; }
.content-body .gallery-v2 { display: flex; flex-wrap: nowrap; gap: 1.5rem; overflow-x: auto; scroll-snap-type: x mandatory; padding: 1rem 3rem; scrollbar-width: thin; scrollbar-color: transparent transparent; transition: scrollbar-color 0.3s ease-out; }
.content-body .gallery-v2:hover { scrollbar-color: rgba(0, 0, 0, 0.4) rgba(0, 0, 0, 0.1); }
.content-body .gallery-v2::-webkit-scrollbar { height: 12px; }
.content-body .gallery-v2::-webkit-scrollbar-track { background: transparent; }
.content-body .gallery-v2::-webkit-scrollbar-thumb { background-color: transparent; border-radius: 6px; border: 2px solid transparent; background-clip: content-box; }
.content-body .gallery-v2:hover::-webkit-scrollbar-thumb { background-color: rgba(0, 0, 0, 0.5); }
.content-body .gallery-v2-item { flex-shrink: 0; width: 400px; height: 300px; border-radius: 10px; overflow: hidden; scroll-snap-align: start; }
.content-body .gallery-v2-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.content-body .gallery-v2-item:hover img { transform: scale(1.05); }
.content-body .map-placeholder { width: 100%; height: 100%; min-height: 400px; border-radius: 10px; overflow: hidden; box-shadow: 0 20px 50px rgba(0,0,0,0.15); }
.content-body .map-placeholder iframe { width: 100%; height: 100%; border: 0; }
.content-body .btn-details { display: inline-block; margin-top: 1.5rem; background: transparent; border: 2px solid var(--primary-color); color: var(--primary-color); padding: 0.8rem 1.5rem; text-decoration: none; border-radius: 8px; font-weight: 700; transition: all 0.3s ease; }
.content-body .btn-details:hover { background: var(--primary-color); color: #fff; }
.content-body .btn-details i { margin-left: 8px; }
.content-body .testimonials-section {
    background: #f9f9f9;
    padding: 2.5rem 3rem; 
}
.content-body .testimonials-slider { max-width: 800px; margin: auto; position: relative; padding: 0 40px; }
.content-body .testimonial-card { background: #fff; padding: 3rem; border-radius: 10px; box-shadow: 0 15px 40px rgba(0,0,0,0.08); text-align: center; position: relative; }
.content-body .quote-icon { position: absolute; top: 1.5rem; left: 2rem; font-size: 3rem; color: var(--primary-color); opacity: 0.15; }
.content-body .testimonial-text { font-family: 'Caveat', cursive; font-size: 2rem; line-height: 1.6; color: #333; margin-bottom: 2rem; position: relative; z-index: 2; }
.content-body .author-info { display: flex; align-items: center; justify-content: center; gap: 15px; padding-top: 1.5rem; border-top: 1px solid #eee; }
.content-body .author-info img { width: 50px; height: 50px; border-radius: 50%; object-fit: cover; }
.content-body .author-name { font-weight: 600; color: #333; }
.content-body .swiper-button-prev, .content-body .swiper-button-next { color: var(--primary-color); opacity: 0; transition: opacity 0.3s ease; }
.content-body .testimonials-slider:hover .swiper-button-prev, .content-body .testimonials-slider:hover .swiper-button-next { opacity: 0.7; }
.content-body .swiper-button-prev:hover, .content-body .swiper-button-next:hover { opacity: 1; }
.content-body .booking-v2 {
    background: #f9f9f9;
    text-align: center;
    padding: 2.5rem 3rem;
}
/* === NOVÁ ÚPRAVA: CENTROVÁNÍ NADPISŮ === */
.content-body .booking-v2 h2 {
    text-align: center;
}
.content-body .price-cards { display: flex; justify-content: center; gap: 2rem; margin: 2rem 0 3rem 0; }
.content-body .price-card { background: #fff; padding: 2rem; border-radius: 10px; box-shadow: 0 10px 30px rgba(0,0,0,0.05); }
.content-body .price-card h3 { font-weight: 600; }
.content-body .price-card p { font-size: 1.2rem; margin-top: 0.5rem; }
.content-body .price-card span { font-size: 1.8rem; font-weight: 700; color: var(--primary-color); }
.content-body .btn-booking { background: var(--primary-color); color: #fff; padding: 1rem 3rem; text-decoration: none; border-radius: 8px; font-weight: 700; display: inline-block; transition: all 0.3s ease; }
.content-body .btn-booking:hover { transform: translateY(-3px); box-shadow: 0 10px 20px rgba(160, 138, 111, 0.4); }
.content-body .contact-details p { font-size: 1.5rem; margin: 1rem; }
.content-body .contact-details i { color: var(--primary-color); margin-right: 1rem; }
.content-body .contact-link { color: inherit; text-decoration: none; }
.content-body #kontakt-info {
    padding-bottom: 0.5rem;
}
.content-body .site-footer {
    text-align: center;
    padding: 1.5rem 2rem 3rem; 
    background: #f9f9f9;
    font-size: 0.9rem;
    color: #777;
}
.content-body .social-links { margin-bottom: 1.5rem; }
.content-body .social-links a {
    color: #333;
    font-size: 2rem; 
    margin: 0 15px; 
    transition: color 0.3s ease;
}
.content-body .social-links a:hover { color: var(--primary-color); }
.content-body .footer-nav { margin-top: 1rem; }
.content-body .footer-nav a { color: #555; text-decoration: none; font-weight: 500; }
.content-body .footer-nav a:hover { color: var(--primary-color); }

/* --- Spodní lišta (Dock) --- */
.content-body .dock {
    position: fixed;
    bottom: 20px;
    left: 50%;
    opacity: 0;
    transform: translateX(-50%) translateY(20px);
    pointer-events: none;
    display: flex;
    align-items: flex-end;
    gap: 15px;
    padding: 10px 15px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: opacity 0.4s ease, transform 0.4s ease;
    z-index: 1000;
}

/* Zobrazit dock POUZE na zařízeních, která podporují hover (typicky desktop s myší) */
@media (hover: hover) and (pointer: fine) {
    .content-body:hover .dock {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
        pointer-events: auto;
    }
}

.content-body .dock a {
    color: #fff;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}
.content-body .dock a .fa-solid {
    font-size: 48px;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.4));
}
.content-body .dock a span {
    position: absolute;
    top: -45px;
    background: rgba(20, 20, 20, 0.9);
    color: #fff;
    padding: 5px 10px;
    border-radius: 7px;
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.2s ease;
    pointer-events: none;
}
.content-body .dock a:hover {
    transform: translateY(-15px) scale(1.4);
}
.content-body .dock a:hover span {
    opacity: 1;
    transform: translateY(0);
}

/* --- Styly pro rezervační stránku --- */
.booking-page-body { background: #f4f7f6; display: block; }
.booking-page-body .page-container { max-width: 900px; margin: 2rem auto; padding: 2rem; background: #fff; border-radius: 10px; box-shadow: 0 10px 40px rgba(0,0,0,0.1); }
.booking-page-body .page-header { text-align: center; margin-bottom: 3rem; border-bottom: 1px solid #eee; padding-bottom: 2rem; }
.booking-page-body .page-header h1 { font-size: 2.8rem; margin: 1rem 0 0.5rem 0; color: #333; }
.booking-page-body .page-header p { font-size: 1.1rem; color: #666; }
.booking-page-body .back-link { display: inline-block; color: var(--primary-color); text-decoration: none; font-weight: 600; margin-bottom: 1rem; }
.booking-page-body .back-link i { margin-right: 8px; }
.booking-page-body .calendar-section, .booking-page-body .form-section { margin-bottom: 3rem; }
.booking-page-body .calendar-section h2, .booking-page-body .form-section h2, .booking-page-body .legal-text-section h2 { font-size: 1.8rem; margin-bottom: 1.5rem; text-align: center; padding: 0; }
.booking-page-body .calendar-container { position: relative; padding-bottom: 75%; height: 0; overflow: hidden; border: 1px solid #ddd; border-radius: 8px; }
.booking-page-body .calendar-container iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }
.booking-page-body .booking-form { display: grid; gap: 1.5rem; }
.booking-page-body .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.booking-page-body .form-group { display: flex; flex-direction: column; }
.booking-page-body .form-group label { margin-bottom: 0.5rem; font-weight: 600; font-size: 0.9rem; text-align: left; }
.booking-page-body .form-group input, .booking-page-body .form-group textarea { padding: 0.8rem 1rem; border: 1px solid #ccc; border-radius: 6px; font-size: 1rem; font-family: inherit; transition: border-color 0.2s, box-shadow 0.2s; }
.booking-page-body .form-group input:focus, .booking-page-body .form-group textarea:focus { outline: none; border-color: var(--primary-color); box-shadow: 0 0 0 3px rgba(160, 138, 111, 0.2); }
.booking-page-body .btn-submit { background: var(--primary-color); color: #fff; padding: 1rem; border: none; border-radius: 6px; font-size: 1.1rem; font-weight: 700; cursor: pointer; transition: all 0.3s ease; }
.booking-page-body .btn-submit:hover { transform: translateY(-2px); box-shadow: 0 5px 15px rgba(160, 138, 111, 0.4); }
.booking-page-body .legal-text-section { padding: 0 1rem; line-height: 1.8; color: #333; }
.booking-page-body .legal-text-section h2 { margin-top: 2rem; }
.booking-page-body .form-group-agree { display: flex; align-items: center; gap: 10px; }
.booking-page-body .form-group-agree input[type="checkbox"] { width: 18px; height: 18px; accent-color: var(--primary-color); }
.booking-page-body .form-group-agree label { font-size: 0.9rem; color: #555; text-align: left; }
.booking-page-body .form-group-agree a { color: var(--primary-color); font-weight: 600; text-decoration: none; }
.booking-page-body .form-group-agree a:hover { text-decoration: underline; }

.lg-backdrop.in {
  background-color: rgba(30, 30, 30, 0.5) !important;
  -webkit-backdrop-filter: blur(15px) !important;
  backdrop-filter: blur(15px) !important;
}

/* ================================================= */
/* === RESPONZIVITA A STYLY PRO MOBILNÍ ZAŘÍZENÍ === */
/* ================================================= */
@media (max-width: 768px) {

    body {
        display: block;
        overflow-x: hidden; /* Zamezí horizontálnímu posunu */
    }
    .macbook-container {
        padding: 0;
    }
    .macbook {
        width: 100%;
        max-width: 100%;
    }
    .macbook-screen-top {
        border-radius: 0;
        padding: 10px;
    }
    .macbook-screen {
        height: auto;
        min-height: 100vh;
        border-radius: 0;
    }
    .macbook-screen iframe {
        flex-grow: 1; 
        height: auto;
    }
    .macbook-bottom {
        display: none; 
    }
    
    /* === OPRAVA: Obalovači třída obsahu, která zamezí přetékání === */
    .content-wrapper {
        overflow-x: hidden;
        width: 100%;
        /* Přidán prostor pro spodní pevnou lištu s ohledem na iOS (home indicator) */
        padding-bottom: calc(70px + env(safe-area-inset-bottom));
    }

    .content-body .hero-v2-content h1 {
        font-size: 2.2rem;
    }
    .content-body .hero-v2-content p {
        font-size: 1.1rem;
    }
    .content-body h2 {
        font-size: 1.8rem;
        padding: 0 1rem;
    }
    .content-body .story-section {
        grid-template-columns: 1fr;
        padding: 1.5rem 1rem; 
    }
    .content-body .photo-collage {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px; 
    }
    .content-body .collage-photo:hover {
        transform: none;
        z-index: auto;
        box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    }
    .content-body #aktivity.story-section {
        grid-template-columns: 1fr;
        padding: 2.5rem 1rem; 
    }
    .content-body #aktivity.story-section .map-placeholder {
        grid-row-start: 2;
    }
    .content-body .gallery-v2 {
        padding: 1rem;
    }
    .content-body .gallery-v2-item {
        width: 80%;
        height: 250px;
    }
    .content-body .price-cards {
        flex-direction: column;
        gap: 1.5rem;
        padding: 0 1rem;
    }
    .content-body .testimonials-section {
        padding: 2.5rem 1rem;
    }
    .content-body .testimonials-slider {
        max-width: 100%;
        padding: 0;
    }
    .content-body .testimonial-card {
        padding: 2rem 1.5rem;
    }
    .content-body .testimonial-text {
        font-size: 1.3rem;
    }
    .content-body .contact-details p {
        font-size: 1.2rem;
        word-break: break-all;
    }

    /* === FINÁLNÍ OPRAVA SPODNÍ LIŠTY PRO MOBILY === */
    .content-body .dock {
        opacity: 1;
        transform: none;
        pointer-events: auto;
        left: 0;
        right: 0; /* Přidáno pro jistotu */
        bottom: 0;
        width: 100%;
        display: flex;
        justify-content: space-around;
        align-items: center;
        padding: 5px 0 calc(5px + env(safe-area-inset-bottom));
        gap: 0;
        border-radius: 0;
        border-top: 1px solid rgba(0, 0, 0, 0.1);
        background: rgba(255, 255, 255, 0.9);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
    }
    
    .content-body .dock a {
        color: #333;
        flex-grow: 1;
        text-align: center;
        padding: 2px 5px;
    }

    .content-body .dock a:hover {
        transform: none;
        background-color: transparent;
    }

    .content-body .dock a .fa-solid {
        font-size: 20px;
        filter: none;
    }

    .content-body .dock a span {
        position: static;
        opacity: 1;
        transform: none;
        background: none;
        padding: 0;
        margin-top: 2px;
        font-size: 10px;
        color: inherit;
        text-shadow: none;
        white-space: normal;
    }
    /* =========================================================== */


    /* --- Mobilní styly pro rezervační stránku --- */
    .booking-page-body .page-container {
        margin: 0;
        padding: 1.5rem 1rem;
        border-radius: 0;
        box-shadow: none;
        min-height: 100vh;
    }
    .booking-page-body .page-header {
        padding-bottom: 1.5rem;
        margin-bottom: 2rem;
    }
    .booking-page-body .page-header h1 {
        font-size: 2rem;
    }
    .booking-page-body .page-header p {
        font-size: 1rem;
    }
    .booking-page-body .form-row {
        grid-template-columns: 1fr;
        gap: 1.2rem;
    }
}

/* -- Styly pro rozbalovací sekci s detaily apartmánu -- */
.content-body .expandable-content.show {
    max-height: 1000px; /* Zvýšeno pro nový obsah */
}

.content-body .expandable-content h4 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #333;
    margin-top: 0; /* Reset */
    margin-bottom: 1rem;
}

.content-body .expandable-content p {
    margin-bottom: 1rem;
}

.content-body .expandable-content p strong {
    color: #444;
}

.content-body .features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.1rem;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #eee;
}

.content-body .feature-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 0.95rem;
    line-height: 1.5;
}

.content-body .feature-item i {
    font-size: 1.1rem;
    color: var(--primary-color);
    margin-top: 4px;
    flex-shrink: 0;
    width: 20px;
    text-align: center;
}
/* === Styly pro zvýraznění možností platby === */
.booking-page-body .payment-options {
    margin-top: 0.5rem;
    margin-bottom: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.booking-page-body .option {
    background-color: #f9f9f9;
    border-left: 4px solid var(--primary-color);
    padding: 1rem 1.25rem;
    border-radius: 0 8px 8px 0;
}

.booking-page-body .option-title {
    display: block;
    font-weight: 700;
    color: #333;
    font-size: 1.05rem;
    margin-bottom: 0.25rem;
}

.booking-page-body .option-desc {
    display: block;
    color: #555;
    font-size: 0.95rem;
}
/* === Styl pro informační box === */
.booking-page-body .info-box {
    margin-top: 1.5rem;
    padding: 1rem 1.25rem;
    background-color: #f8f9fa;
    border-left: 4px solid #ced4da;
    border-radius: 0 8px 8px 0;
}

.booking-page-body .info-box p {
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #495057;
    font-size: 0.95rem;
    font-style: italic;
}

.booking-page-body .info-box i {
    font-size: 1.2rem;
    color: #6c757d;
}
/* === Styl pro odkazy v právních textech === */
.booking-page-body .legal-text-section a.legal-link {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
}

.booking-page-body .legal-text-section a.legal-link:hover {
    text-decoration: underline;
}

/* === Styly pro potvrzovací modální okno === */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(30, 30, 30, 0.5);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal-overlay.show {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: #fff;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.2);
    text-align: center;
    max-width: 400px;
    width: 90%;
    transform: scale(0.95);
    transition: transform 0.3s ease;
}

.modal-overlay.show .modal-content {
    transform: scale(1);
}

.modal-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #333;
    margin-top: 0;
    margin-bottom: 0.5rem;
}

.modal-content p {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 2rem;
}

.modal-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.modal-btn {
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    flex-grow: 1;
}

.modal-btn.confirm {
    background-color: var(--primary-color);
    color: #fff;
}

.modal-btn.confirm:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(160, 138, 111, 0.4);
}

.modal-btn.cancel {
    background-color: #e9e9e9;
    color: #555;
}

.modal-btn.cancel:hover {
    background-color: #ddd;
}