html {
    scroll-behavior: smooth;
}

#lightbox {
    display: none;
    align-items: center;
    justify-content: center;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.85);
    z-index: 100;
}

#lightbox img {
    max-width: 90vw;
    max-height: 90vh;
    border-radius: 8px;
    box-shadow: 0 0 15px rgba(0,0,0,0.5);
}

#lightbox button {
    background: none;
    border: none;
    cursor: pointer;
    user-select: none;
}

#closeBtn {
    top: 20px;
    right: 20px;
}

#prevBtn, #nextBtn {
    top: 50%;
    transform: translateY(-50%);
}


/* POZADÍ STRÁNKY */
body {
    background: 
        rgba(0,0,0,0.5),
        url("img/metal-bg.jpg");
    background-blend-mode: multiply;
    background-size: cover;
    background-position: center;
    color: #f0f0f0;
}

/* SEKCE PŘES CELÝ ŠÍŘKU */
section {
    width: 100%;
    background: linear-gradient(to bottom, rgba(60,60,60,0.7), rgba(50,50,50,0.7));
    padding: 3rem 0; /* horní a dolní padding */
    margin-bottom: 2rem;
}

/* Obsah sekce (zužený a centrovaný) */
.section-content {
    max-width: 1200px; /* nebo 6xl */
    margin: 0 auto;
    padding: 0 1rem; /* horizontální odsazení */
}

/* Nadpisy sekcí */
section h2 {
    color: #f0f0f0;
    text-align: center;
    margin-bottom: 2rem;
}

/* Karty služeb */
.service-card {
    background: linear-gradient(to bottom, #fefefe, #f0f0f0);
    color: #1f2937;
    border-radius: 1rem;
    padding: 1.5rem;
    transition: transform 0.2s, box-shadow 0.2s;
    text-align: center;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.4);
}

/* Galerie obrázků */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4 obrázky na řádek */
    gap: 10px;
    justify-items: center;
}

.gallery-grid img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

.gallery-grid img:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(0,0,0,0.5);
    filter: brightness(1.05);
}

/* Text v kontaktní sekci */
#kontakt p {
    color: #f0f0f0;
    text-align: center;
}

header {
    position: relative;
    overflow: hidden;
}

header h1, header p {
    color: #111; /* temně šedá místo černé */
    text-shadow: 
        -1px -1px 0 #fff,  
         1px -1px 0 #fff,
        -1px  1px 0 #fff,
         1px  1px 0 #fff; /* bílý lem kolem textu */
}

footer {
    color: #d0d0d0;
    background: rgba(40,40,40,0.7);
}