* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body, html {
    height: 100%;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #fff8f0;
    color: #333;
    display: flex;
    flex-direction: column;
}

header {
    width: 100%;
}

.header-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
}

.horizontal-menu {
    background-color: #ffcc80;
    padding: 10px 0;
}

.horizontal-menu ul {
    display: flex;
    justify-content: center;
    list-style: none;
    gap: 10px;
    flex-wrap: wrap;
}

.horizontal-menu li {
    list-style: none;
}

.horizontal-menu a {
    display: block;
    padding: 15px 25px;
    background-color: #ffcc80;
    color: #333;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.horizontal-menu a:hover,
.horizontal-menu a.active {
    background-color: #ffb74d;
    color: white;
}

.main-wrapper {
    display: flex;
    flex-direction: row;
    flex: 1;
}

.vertical-menu {
    width: 300px;
    background-color: #ffcc80;
    padding: 20px;
    border-right: 2px solid #f0b04d;
    display: flex;
    flex-direction: column;
    position: relative;
    flex-shrink: 0;
}

.vertical-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.vertical-menu li {
    margin-bottom: 10px;
}

.vertical-menu a {
    display: block;
    padding: 15px 20px;
    background-color: #ffd699;
    color: #4e4e4e;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.vertical-menu a:hover,
.vertical-menu a.active {
    background-color: #ffb74d;
    color: white;
}

.main-content {
    flex-grow: 1;
    padding: 50px 40px 30px 40px;
    background-color: #fff0e6;
    max-width: calc(100% - 300px);
    min-height: 100%;
    text-align: justify;
    hyphens: auto;
    box-sizing: border-box;
    word-break: break-word;
}

.main-content h1 {
    text-align: center;
    margin-bottom: 30px;
    color: #444;
    font-size: 2.2em;
}

.main-content p {
    text-align: left;
    margin-bottom: 15px;
    line-height: 1.6;
    font-size: 1.05em;
}

.contact-top-photo {
    width: 100%;
    max-width: 800px;
    margin: 0 auto 40px auto;
}

.contact-top-photo img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    border-radius: 10px;
    border: 1px solid #ffcc80;
    display: block;
}

.contact-layout {
    display: flex !important;
    flex-direction: row !important;
    justify-content: center !important;
    align-items: flex-start !important;
    flex-wrap: wrap !important;
    margin-top: 40px !important;
    text-align: left !important;
    gap: 80px !important;
    width: 100%;
}

.contact-text-side {
    text-align: left !important;
    flex: 0 1 auto !important;
    hyphens: none !important;
    min-width: 250px;
    margin-right: 20px !important;
}

.info-block {
    margin-bottom: 10px;
    line-height: 1.6;
}

.phone-link {
    color: #e67e22;
    font-weight: bold;
    text-decoration: none;
}

.spacer-bottom {
    margin-bottom: 35px !important;
    display: block;
}

.spacer-top {
    margin-top: 35px !important;
    display: block;
}

.map-box-fixed {
    width: 350px !important;
    height: 350px !important;
    flex: 0 0 350px !important;
    border: 1px solid #ddd;
    border-radius: 4px;
    overflow: hidden;
}

.gallery {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin: 20px 0;
}

.gallery-thumb {
    width: 200px;
    height: auto;
    border: 3px solid #f0b04d;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.3s;
}

.gallery-thumb:hover {
    transform: scale(1.05);
}

.gallery img[alt="DarkovyPoukaz"] {
    width: 500px;
    max-width: 100%;
}

footer {
    background-color: #ffcc80;
    color: #4e4e4e;
    text-align: center;
    padding: 15px;
    font-weight: bold;
    margin-top: auto;
    border-top: 2px solid #f0b04d;
}

.mobile-scroll-menu, .mobile-overlay, .menu-backdrop {
    display: none;
}

@media screen and (max-width: 950px) {
    .contact-text-side {
        margin-right: 0 !important;
    }
    
    .contact-layout {
        flex-direction: column !important;
        align-items: center !important;
        gap: 40px !important;
    }

    .contact-text-side {
        text-align: center !important;
    }

    .contact-top-photo img {
        height: 250px;
    }
}

@media screen and (max-width: 768px) {
    .horizontal-menu, .vertical-menu {
        display: none !important;
    }

    .main-wrapper {
        flex-direction: column;
    }

    .main-content {
        width: 100%;
        max-width: 100%;
        padding: 20px;
    }

    .mobile-scroll-menu {
        display: flex !important;
        overflow-x: auto;
        background: #ffcc80;
        position: sticky;
        top: 0;
        z-index: 2000;
        border-bottom: 2px solid #f0b04d;
    }

    .mobile-scroll-menu a {
        padding: 15px 20px;
        text-decoration: none;
        color: #333;
        font-weight: bold;
        white-space: nowrap;
    }

    .burger-item {
        display: flex !important;
        align-items: center;
        padding: 0 25px;
        background: #ffb74d;
        font-size: 28px;
        cursor: pointer;
        position: sticky;
        left: 0;
        z-index: 2001;
        border-right: 2px solid #f0b04d;
        flex-shrink: 0;
    }

    .mobile-overlay {
        position: fixed;
        left: -100%;
        top: 0;
        width: 280px;
        height: 100%;
        background: #fff8f0;
        z-index: 10000;
        transition: 0.3s;
        display: flex !important;
        flex-direction: column;
    }

    .mobile-overlay.open { left: 0; }

    .mobile-overlay a {
        padding: 20px;
        border-bottom: 1px solid #ddd;
        text-decoration: none;
        color: #333;
        font-weight: bold;
    }

    .menu-backdrop.active {
        display: block;
        position: fixed;
        inset: 0;
        background: rgba(0,0,0,0.5);
        z-index: 9999;
    }

    .map-box-fixed {
        width: 100% !important;
        max-width: 350px !important;
        flex: none !important;
    }
}

/* --- NOVÉ DOPLNĚNÉ ÚPRAVY PRO TLAČÍTKO OBJEDNAT --- */

/* Na počítači schováme mobilní tlačítko */
.btn-mobile {
    display: none !important;
}

/* Na mobilu (pod 768px) přepneme viditelnost */
@media screen and (max-width: 768px) {
    .btn-desktop {
        display: none !important;
    }
    .btn-mobile {
        display: inline-block !important;
    }
}