body {
    margin: 0;
    background: #1e1516;
    font-family: Arial, sans-serif;
    color: white;
}

/* HERO */
.kamioni {
    background: url('../img/36d75cd4661235b093740a83241f3763.webp') center/cover;
    text-align: center;
    padding: 60px 20px;
}

.btn {
    text-align: center;
}

.btn a {
    display: inline-block;
    margin: 5px 10px;
    padding: 10px 18px;
    font-size: 18px;
    background: #ccc;
    border-radius: 10px;
    color: black;
    text-decoration: none;
}

/* GALERIE */
.gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    padding: 20px;
}

figure {
    box-sizing: border-box;
    flex: 1 1 calc(8.333% - 10px); /* 🔥 12 sloupců */
    margin: 0;
    overflow: hidden;
}

.gallery img {
    width: 100%;
    transition: 0.3s;
    cursor: pointer;
}

/* ✨ HOVER efekt */
.gallery img:hover {
    transform: scale(1.05);
    opacity: 0.8;
}

#overlay {
    background: rgba(0,0,0,.9);
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999;
    text-align: center;
    display: none;
}

#overlay img {
    max-width: 90%;
    max-height: 90%;
    margin-top: 5%;
    border: 5px solid white;
    border-radius: 5px;
}

/* TEXT */
.pre-footer {
    padding: 20px;
    max-width: 1200px;
    margin: auto;
}

/* MAPA */
.container {
    position: relative;
    height: 350px;
    margin-top: 15px;
}

.responsive-iframe {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 0;
}

/* FOOTER */
footer {
    background: #333;
    text-align: center;
    padding: 30px;
}

.personal li {
    display: inline-block;
    margin: 0 20px;
}

.personal a {
	color: #fff;
	text-decoration: none;
}

.personal .fa-whatsapp {
    color: #25D366;
}

/* 📱 RESPONSIVE */
/* default (velké obrazovky) */
figure {
    flex: 1 1 calc(8.333% - 4px); /* 12 sloupců */
}

/* ≤ 1400px */
@media (max-width: 1400px) {
    figure {
        flex: 1 1 calc(12.5% - 4px); /* 8 sloupců */
    }
}

/* ≤ 1100px */
@media (max-width: 1100px) {
    figure {
        flex: 1 1 calc(16.66% - 4px); /* 6 sloupců */
    }
}

/* ≤ 800px */
@media (max-width: 800px) {
    figure {
        flex: 1 1 calc(25% - 4px); /* 4 sloupce */
    }
}

/* ≤ 600px */
@media (max-width: 600px) {
    figure {
        flex: 1 1 calc(50% - 4px); /* 2 sloupce */
    }
}

/* ≤ 350px */
@media (max-width: 350px) {
    figure {
        flex: 1 1 100%; /* 1 sloupec */
    }
}

@media (max-width: 600px) {
    .btn a {
        display: block;
        margin: 10px auto;
        width: fit-content;
    }
}

/* 🔍 LIGHTBOX */
#lightbox {
    display: none;
    position: fixed;
    z-index: 999;
    background: rgba(0,0,0,0.9);
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    text-align: center;
}

#lightbox img {
    max-width: 90%;
    max-height: 90%;
    margin-top: 5%;
}

#close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 40px;
    cursor: pointer;
}

/* 📞 STICKY CALL BUTTON */
.call-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #28a745;
    color: white;
    padding: 15px;
    border-radius: 50%;
    font-size: 22px;
    z-index: 999;
}