/* Basic Resets */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', 'DejaVu Sans', 'Trebuchet MS', Verdana, sans-serif;
    line-height: 1.6;
    background: #f0f2f5;
    color: #333;
}

.container {
    max-width: 960px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    background: rgba(255, 255, 255, 1);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.logo {
    width: 250px;
    border-radius: 8px;
    transition: box-shadow 0.3s ease-in-out;
}

.logo:hover {
    box-shadow: 0 0 15px 5px #ffc107;
}

/* Main Content */
.gallery-container {
    padding: 2rem 0;
}

.gallery-background {
    background: white;
    border-radius: 8px;
    padding: 20px;
    margin: 0 auto;
    max-width: 750px; /* Set a max-width for the filmstrip */
}

.gallery {
    /* This is a block-level element, its children will stack vertically by default */
}

.glass-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.1);
    overflow: hidden;
    margin-bottom: 20px;
}

.gallery .glass-card:last-child {
    margin-bottom: 0;
}

.gallery img {
    width: 100%;
    height: auto;
    display: block;
}

/* Footer */
footer {
    background: rgba(255, 255, 255, 1);
    backdrop-filter: blur(10px);
    color: rgba(35, 32, 33, 1);
    padding: 2rem 0 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    text-align: center;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    margin-bottom: 1rem;
}

.logo-footer {
    width: 150px;
    margin-bottom: 1rem;
    border-radius: 8px;
    transition: box-shadow 0.3s ease-in-out;
}

.logo-footer:hover {
    box-shadow: 0 0 15px 5px #ffc107;
}

.footer-contact p {
    margin-bottom: 0.5rem;
}

.footer-copyright {
    text-align: center;
    margin-top: 2rem;
    font-size: 0.9em;
    color: #ccc;
}

/* ── Lightbox ──────────────────────────────────────── */
#lightbox-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.92);
    z-index: 9999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
}

#lightbox-overlay.active {
    opacity: 1;
    pointer-events: all;
}

#lightbox-close {
    position: fixed;
    top: 14px;
    right: 16px;
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 50%;
    color: #fff;
    font-size: 1.25rem;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10001;
    transition: background 0.2s ease, transform 0.15s ease;
    -webkit-tap-highlight-color: transparent;
}

#lightbox-close:hover,
#lightbox-close:focus-visible {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
    outline: none;
}

#lightbox-wrapper {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    z-index: 10000;
}

#lightbox-img {
    max-width: 95vw;
    max-height: 95vh;
    object-fit: contain;
    cursor: zoom-in;
    user-select: none;
    -webkit-user-select: none;
    -webkit-user-drag: none;
    border-radius: 4px;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.6);
    transform-origin: center center;
    will-change: transform;
}

/* Gallery images get a subtle zoom-in cursor hint */
.gallery img {
    cursor: zoom-in;
}

/* Responsive */
@media (min-width: 768px) {
    .footer-content {
        flex-direction: row;
        justify-content: space-around;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }

    .logo {
        width: 200px;
    }

    .gallery-background {
        margin: 0 15px;
    }

    .logo-footer {
        width: 120px;
    }
}
