body {
    font-family: Arial, sans-serif;
    background: #f4f4f4;
    margin: 0;
    padding: 20px;
}

/* HEADER */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
}

header h1 {
    font-family: Arial, sans-serif;
    font-size: 3rem;
    font-weight: 300;
    color: rgba(0, 0, 0, 0.5);
    margin: 0;
}

/* KONTAKT ODKAZ */
.contact-link {
    font-family: Arial, sans-serif;
    font-size: 1.2rem;
    font-weight: 300;
    color: rgba(0, 0, 0, 0.6);
    cursor: pointer;
    transition: color 0.2s ease;
}

/* Větší popisek na mobilech */
@media (max-width: 600px) {
    #lightbox-caption {
        font-size: 1.6rem;
        margin-top: 25px;
    }

    .arrow {
        font-size: 2.5rem;
        padding: 8px 16px;
    }

    #lightbox img {
        max-width: 95vw;
        max-height: 70vh;
    }
}


.contact-link:hover {
    color: rgba(0, 0, 0, 0.9);
}

/* MODAL */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0,0,0,0.5);
    justify-content: center;
    align-items: center;
    z-index: 2000;
}

.modal-content {
    background: white;
    padding: 30px 40px;
    border-radius: 8px;
    font-family: Arial, sans-serif;
    text-align: center;
}

/* GALERIE */
.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, 250px);
    justify-content: center;
    gap: 30px;
}

.gallery img {
    width: 100%;
    height: auto;
    border-radius: 6px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
    transition: transform 0.2s ease;
    cursor: zoom-in;
}

.gallery img:hover {
    transform: scale(1.03);
}

.caption {
    margin-top: 10px;
    font-size: 15px;
    color: #333;
}

/* LIGHTBOX */
#lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.8);
    display: none;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    z-index: 1000;
}

#lightbox img {
    max-width: 90vw;
    max-height: 90vh;
    object-fit: contain;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

/* ŠIPKY V LIGHTBOXU */
.arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 3rem;
    color: white;
    cursor: pointer;
    user-select: none;
    padding: 10px 20px;
    background: rgba(0,0,0,0.3);
    border-radius: 6px;
    transition: background 0.2s ease;
    z-index: 1100;
}

.arrow:hover {
    background: rgba(0,0,0,0.6);
}

.arrow.left {
    left: 20px;
}

.arrow.right {
    right: 20px;
}

/* POPISEK V LIGHTBOXU */
#lightbox-caption {
    position: relative;
    margin-top: 20px;
    color: white;
    font-size: 1.2rem;
    text-align: center;
    text-shadow: 0 0 10px black;
}

