html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

html, body {
    height: 100%;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    font-family: Work Sans, sans-serif;
}

main {
    flex: 1 0 auto;
    background: #f6f6f6;
}

footer {
    flex-shrink: 0;
}



/* ===== Sekce about ===== */


.about-section {
    background: #f6f6f6;
    color: #5A514C;
}


.section-title {
    font-weight: 700;
    font-size: 2.2rem;
    position: relative;
    padding-bottom: .5rem;
}

    .section-title::after {
        content: "";
        position: absolute;
        left: 0;
        bottom: 0;
        width: 64px;
        height: 4px;
        background: #9C938E;
        border-radius: 2px;
    }


.content-copy p {
    line-height: 1.8;
    margin-bottom: 1.1rem;
}


.feature-card {
    background: #fff;
    border: 1px solid rgba(0,0,0,.06);
    border-radius: 14px;
    box-shadow: 0 6px 16px rgba(0,0,0,.05);
}

    .feature-card h5 {
        color: #5A514C;
        font-weight: 600;
    }


.mini-card {
    background: #fff;
    border: 1px solid rgba(0,0,0,.06);
    border-radius: 12px;
    box-shadow: 0 6px 16px rgba(0,0,0,.05);
}


@media (min-width: 992px) {
    .content-copy {
        max-width: 60ch;
    }
}


/* ===== Navigace ===== */

#navbar {
    transition: transform 0.25s ease-in-out;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

    #navbar.nav--hidden {
        transform: translateY(-100%);
    }

    #navbar.nav--shown {
        transform: translateY(0);
    }

.navbar-custom {
    --nav-bg: #5A514C;
    --nav-bg-2: #4B433F;
    --nav-text: #9C938E;
    background: linear-gradient(180deg, var(--nav-bg) 0%, var(--nav-bg-2) 100%);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1030;
    backdrop-filter: saturate(140%) blur(4px);
}

    .navbar-custom::after {
        content: "";
        position: absolute;
        left: 0;
        right: 0;
        bottom: 0;
        height: 1px;
        background: rgba(255,255,255,.15);
    }


    .navbar-custom .navbar-brand {
        color: #f6f6f6;
        font-weight: 600;
    }

        .navbar-custom .navbar-brand:hover {
            color: #fff;
            opacity: .9;
        }


    .navbar-custom .nav-link {
        color: #f6f6f6;
        font-weight: 500;
        position: relative;
        padding: .5rem .75rem;
        transition: color .2s ease;
    }

        .navbar-custom .nav-link:hover {
            color: #fff;
        }

        .navbar-custom .nav-link::after {
            content: "";
            position: absolute;
            left: .75rem;
            right: .75rem;
            bottom: .25rem;
            height: 2px;
            background: currentColor;
            opacity: 0;
            transform: scaleX(0);
            transition: transform .25s ease, opacity .25s ease;
            transform-origin: left;
        }

        .navbar-custom .nav-link:hover::after {
            opacity: 1;
            transform: scaleX(1);
        }


        .navbar-custom .nav-link.active {
            color: #fff;
        }

            .navbar-custom .nav-link.active::after {
                opacity: 1;
                transform: scaleX(1);
            }


    .navbar-custom .navbar-toggler {
        border-color: rgba(255,255,255,.35);
    }

    .navbar-custom .navbar-toggler-icon {
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255,255,255,0.9)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
    }


    .navbar-custom .icon-link {
        color: #969674;
        background: transparent;
        width: auto;
        height: auto;
        font-size: 1.1rem;
        padding: 0 .25rem;
    }

        .navbar-custom .icon-link:hover {
            color: #ffffff;
        }


    .navbar-custom.shadow {
        box-shadow: 0 10px 25px rgba(0,0,0,.22) !important;
    }





/* ====== Zápatí ====== */
.footer-custom {
    background-color: #5A514C;
    color: #f6f6f6;
    text-align: center;
}

    .footer-custom .footer-link {
        color: #f6f6f6;
        text-decoration: none;
        transition: color 0.2s;
    }


        .footer-custom .footer-link:hover {
            color: #969674;
            text-decoration: underline;
        }

    .footer-custom p {
        margin-bottom: 0;
    }

/* ====== Mapa ====== */
.map-wrap {
    position: relative;
}

    .map-wrap iframe {
        pointer-events: none;
        border: 0;
        border-radius: .5rem;
    }

    .map-wrap.active iframe {
        pointer-events: auto;
    }

.map-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    cursor: pointer;
    user-select: none;
}

.map-hint {
    background: rgba(0,0,0,.55);
    color: #fff;
    font-size: .95rem;
    padding: .35rem .6rem;
    border-radius: .4rem;
}

.map-wrap.active .map-overlay {
    display: none;
}


/* ====== Mapa ====== */
.gallery-item {
    display: block;
    overflow: hidden;
    border-radius: 12px;
}

.img-cover {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .35s ease;
}

.gallery-item:hover .img-cover {
    transform: scale(1.04);
}


.gallery-full {
    max-height: 82vh;
    object-fit: contain;
    background: #000;
}

.modal-content.bg-dark {
    background: #000;
}


.carousel-control-prev-icon, .carousel-control-next-icon {
    filter: drop-shadow(0 2px 6px rgba(0,0,0,.6));
}


/* ====== Kontakt ====== */

.contact-card, .contact-form {
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
}


.contact-link {
    color: #5A514C;
    text-decoration: none;
}

    .contact-link:hover {
        color: #9C938E;
        text-decoration: underline;
    }


.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    margin-right: 8px;
    background: #f0f0f0;
    color: #969674;
    font-size: 1.2rem;
    transition: all 0.2s ease;
}

    .social-links a:hover {
        background: #9C938E;
        color: #fff;
    }


.contact-form .form-label {
    font-weight: 500;
    color: #5A514C;
}

.contact-form .form-control {
    border-radius: 10px;
    border: 1px solid #d1d1d1;
}

    .contact-form .form-control:focus {
        border-color: #9C938E;
        box-shadow: 0 0 0 0.2rem rgba(156,147,142,0.25);
    }

.btn-primary {
    background-color: #5A514C;
    border-color: #5A514C;
    border-radius: 10px;
    font-weight: 500;
}

    .btn-primary:hover {
        background-color: #4B433F;
        border-color: #4B433F;
    }

    /* Deaktivované tlačítko (disabled) */
    .btn-primary:disabled,
    .btn-primary.disabled {
        background-color: #9C938E; /* tvá sekundární barva */
        border-color: #9C938E;
        color: #fff;
        opacity: 0.8;
        cursor: not-allowed;
        transform: none;
        box-shadow: none;
    }