
body {
    font-family: 'Times New Roman', serif;
    margin: 0;
    padding: 0;
    background-color: #fff;
    color: #333;
    overflow-x: hidden;
}


header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    background-color: #fff;
    border-bottom: 1px solid #ddd;
    position: sticky;
    top: 0;
    z-index: 10;
}

header .logo {
    display: flex;
    align-items: center;
}

header .logo img {
    width: 40px;
    height: 40px;
    margin-right: 10px;
}

header h1 {
    font-size: 1.5rem;
    margin: 0;
}

nav ul {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
}

nav ul li {
    margin-left: 15px;
}

nav ul li a {
    text-decoration: none;
    color: #333;
    font-size: 1rem;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: #555;
}


.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    text-align: center;
}

.gallery-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease, filter 0.3s ease;
}

.gallery-item img:hover {
    transform: scale(1.05);
    filter: brightness(70%);
}


.gallery-item .details {
    display: none; 
}


.popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 999;
    padding: 20px;
    box-sizing: border-box;
}

.popup img {
    max-width: 90%;
    max-height: 80%;
    margin-bottom: 10px;
    object-fit: contain;
}

.popup .details {
    display: block; 
    font-size: 1rem;
    color: #fff;
    text-align: center;
    margin-top: 10px;
}

.arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 2rem;
    color: white;
    cursor: pointer;
    user-select: none;
    z-index: 10;
    padding: 10px;
}

.left-arrow {
    left: 10px;
}

.right-arrow {
    right: 10px;
}

.arrow:hover {
    color: #ccc;
}


.bio-content {
    display: flex; 
    justify-content: space-between;
    align-items: flex-start; 
    gap: 20px; 
    margin: 40px auto;
    max-width: 1200px;
}

.left-section {
    flex: 1; 
    text-align: left; 
}

.left-section h2 {
    margin-top: 0;
    font-size: 24px;
    color: #333;
}

.exhibitions {
    list-style: none; 
    padding: 0;
}

.exhibitions li {
    margin-bottom: 10px; 
    line-height: 1.6;
}

.exhibitions strong {
    color: #000; 
}

.right-section {
    flex: 0.8; 
}

.bio-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px; 
}


.contact-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 60vh;
    text-align: center;
}

.contact-section h2, 
.contact-section p {
    margin: 10px 0;
    font-size: 1.2em;
}

  footer {
            text-align: center;
            padding: 20px;
            background-color: #fff;
            color: #333;
            margin-top: 40px;
        }

        footer p {
            margin: 0;
            font-size: 0.9rem;
        }

/* Mobilná responzivita */
@media (max-width: 768px) {
    .gallery {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }

    .bio-section {
        flex-direction: column;
        padding-left: 20px;
    }

    .bio-section .statement,
    .bio-section .photo {
        flex: 1 1 100%;
        padding-left: 20px;
    }
}

