/* --- GALERIE STYLY (SLADĚNO S AUTOPŮJČOVNOU) --- */

.gallery-section {
    background-color: #1c1c1c; /* Tmavé pozadí, jako ostatní sekce */
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.4);
    max-width: 1200px;
    margin: 40px auto;
    color: #e0e0e0; /* Světlejší text pro kontrast */
    font-family: 'Roboto', sans-serif;
    width: 100%;
    box-sizing: border-box;
    /* Nový styl z autopůjčovny: silnější a žlutý levý rámeček */
    border-left: 6px solid #fdd91e;
}

.gallery-title {
    font-size: 2.8em;
    color: #fdd91e; /* Žlutá barva */
    text-align: center;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
    /* Žlutý stín jako na autopůjčovně */
    text-shadow: 0 0 8px rgba(253, 217, 30, 0.6);
}

.gallery-intro {
    text-align: center;
    color: #ccc; /* Světle šedá */
    font-size: 1.1em;
    margin-bottom: 40px;
    line-height: 1.6;
}

.gallery-category {
    margin-bottom: 50px;
    background-color: #2a2a2a; /* Světlejší pozadí pro kategorie */
    padding: 30px;
    border-radius: 10px;
    border-left: 5px solid #fdd91e; /* Žlutý proužek vlevo */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    color: #e0e0e0; /* Zajištění správné barvy textu uvnitř bloku */
}

.gallery-category h3 {
    font-size: 2em;
    color: #fff; /* Bílá barva */
    margin-top: 0;
    margin-bottom: 25px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.gallery-category h3 i {
    color: #fdd91e; /* Žlutá ikona */
    font-size: 1.1em;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    justify-content: center;
    align-items: center;
}

.gallery-item {
    background-color: #333;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
    cursor: pointer;
    position: relative;
    padding-bottom: 66.66%;
    height: 0;
}

.gallery-item:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
}

.gallery-item img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 8px;
}

.gallery-info {
    text-align: center;
    font-size: 1.1em;
    color: #bbb;
    margin-top: 50px;
    font-style: italic;
}

/* RESPONZIVNÍ ÚPRAVY PRO GALERII */
@media (max-width: 768px) {
    .gallery-section {
        padding: 25px;
        margin: 20px auto;
        border-left: 4px solid #fdd91e; /* Tenčí rámeček na mobilu */
    }

    .gallery-title {
        font-size: 2em;
    }

    .gallery-intro {
        font-size: 1em;
        margin-bottom: 25px;
    }

    .gallery-category {
        padding: 20px;
        margin-bottom: 30px;
    }

    .gallery-category h3 {
        font-size: 1.5em;
        flex-direction: column;
        gap: 10px;
    }

    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
        gap: 15px;
    }

    .gallery-item {
        padding-bottom: 75%;
    }
}

@media (max-width: 480px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }
}