﻿.realizace-detail {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem;
    background: #f8f9fa;
    color: #222;
}

    /* === Nadpis s modrou čarou === */
    .realizace-detail h2 {
        font-size: 2.2rem;
        font-weight: 800;
        position: relative;
        padding-left: 1rem;
        margin-bottom: 1.5rem;
    }

        .realizace-detail h2::before {
            content: "";
            position: absolute;
            left: 0;
            top: 0.25rem;
            width: 6px;
            height: 80%;
            background-color: #007bff;
            border-radius: 4px;
        }

/* === Obrázek (hlavní) === */
.detail-image {
    width: 100%;
    height: auto;
    border-radius: 10px;
    margin-bottom: 2rem;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

/* === Popis === */
.realizace-detail p {
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 3rem;
}

/* === Galerie === */
.gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.gallery-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    cursor: zoom-in;
    transition: transform 0.3s ease, filter 0.3s ease;
}
    .gallery-img:hover {
        transform: scale(1.05);
        filter: brightness(85%);
    }



/* === Galerie nadpis === */
.gallery-heading {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    padding-left: 1rem;
    position: relative;
}

    .gallery-heading::before {
        content: "";
        position: absolute;
        left: 0;
        top: 0.25rem;
        width: 5px;
        height: 80%;
        background-color: #007bff;
        border-radius: 3px;
    }

/* === Responsivita === */
@media (max-width: 900px) {
    .gallery {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .gallery {
        grid-template-columns: 1fr;
    }
}

