body {
    color: white;
    font-family: Arial, sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

header {
    padding: 1rem;
    text-align: center;
    z-index: 2;
}

.container {
    display: flex;
    flex: 1;
    justify-content: center;
    padding: 2rem;
    z-index: 2;
}

main {
    max-width: 1100px;
    width: 100%;
}

.gallerie-content {
    background-color: rgba(0, 0, 0, 0.7);
    padding: 2rem;
    border-radius: 10px;
}

.gallerie-content h1 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: #ff6600;
    border-bottom: 2px solid #ff6600;
    padding-bottom: 0.5rem;
}

.photo-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.photo-card {
    overflow: hidden;
    border-radius: 8px;
    background-color: rgba(255, 255, 255, 0.1);
    transition: transform 0.3s, background-color 0.3s;
    cursor: pointer;
}

.photo-card:hover {
    transform: scale(1.03);
    background-color: rgba(255, 255, 255, 0.15);
}

.photo-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.photo-card .photo-title {
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
    text-align: center;
    color: white;
}

.back-link {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.3);
}

.back-link a {
    color: white;
    text-decoration: none;
    font-size: 1.1rem;
    display: inline-block;
    padding: 0.5rem 1rem;
    background-color: rgba(255, 102, 0, 0.8);
    border-radius: 5px;
    transition: background-color 0.3s;
}

.back-link a:hover {
    background-color: rgba(255, 102, 0, 1);
    text-decoration: none;
}

footer {
    color: white;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 2;
}

.footer-img {
    height: 50px;
    width: auto;
}

.footer-center {
    display: flex;
    align-items: center;
    gap: 20px;
}

.footer-center a {
    color: white;
    text-decoration: none;
    font-size: 14px;
}

.footer-center a:hover {
    text-decoration: underline;
}

.footer-icons {
    display: flex;
    gap: 15px;
}

.footer-icons a {
    color: white;
    font-size: 32px;
    text-decoration: none;
}

.footer-icons a:hover {
    color: #ddd;
}

.opac {
    background-color: rgba(255, 255, 255, 0.25);
}

.header-logo-text-container {
    display: flex;
    align-items: center;
    justify-content: center;
}

.header-logo {
    max-width: 200px;
    height: auto;
    margin-right: 15px;
}

.header-text {
    font-size: 32px;
    font-weight: bold;
}

.content-no-opacity {
    z-index: 1;
}

.backgroundImage {
    background-image: url("../background.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 100vh;
    position: relative;
}

.overlay-container {
    position: absolute;
    top: 50px;
    right: 50px;
}

.overlayImage {
    transform: scaleX(-1);
    width: auto;
    height: calc(100vh - 50px);
    z-index: 1;
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 1000;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.lightbox.active {
    display: flex;
}

.lightbox img {
    max-width: 90%;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 8px;
}

.lightbox-title {
    color: white;
    font-size: 1.2rem;
    margin-top: 1rem;
    text-align: center;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 2.5rem;
    cursor: pointer;
    line-height: 1;
    transition: color 0.2s;
}

.lightbox-close:hover {
    color: #ff6600;
}

/* Mobile responsive styles */
@media (max-width: 768px) {
    body {
        min-height: auto;
    }

    .backgroundImage {
        height: auto;
        min-height: 100vh;
    }

    .container {
        padding: 1rem;
    }

    .gallerie-content {
        padding: 1.5rem;
    }

    .gallerie-content h1 {
        font-size: 1.8rem;
    }

    .photo-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .header-logo-text-container {
        flex-direction: column;
        text-align: center;
    }

    .header-logo {
        margin-right: 0;
        margin-bottom: 10px;
        max-width: 150px;
    }

    .header-text {
        font-size: 20px;
    }

    .overlayImage {
        height: 50vh;
        right: 0;
    }

    .overlay-container {
        top: 20px;
        right: 20px;
    }

    footer {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .footer-icons {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .header-text {
        font-size: 16px;
    }

    .header-logo {
        max-width: 100px;
    }

    .gallerie-content {
        padding: 1rem;
    }

    .gallerie-content h1 {
        font-size: 1.5rem;
    }

    .photo-grid {
        grid-template-columns: 1fr;
    }

    .footer-icons a {
        font-size: 24px;
    }

    .overlayImage {
        display: none;
    }
}
