/* Basic Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    /* Keep the text color and padding */
    color: #ffffff;
    text-align: center;
    padding: 20px;
    
    /* Needed to ensure the content sits on top of the background */
    position: relative; 
    min-height: 100vh;
    z-index: 1; 
}

/* The Blurred Background Layer */
body::before {
    content: "";
    position: fixed; /* Keeps the background still when you scroll */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    
    /* Your background image */

    /*background-image: url('images/burger_transparent.gif'); */
    background-color: #f0a8b5;
    background-size: cover;
    background-position: center;
    
    /* The blur effect */
    /*filter: blur(0px); */
    
    /* Puts the background strictly behind the gallery */
    z-index: -1; 
    
    /* Optional: Darkens the background so the gallery pieces pop */
    filter: blur(3px) brightness(0.9); 
}

header {
    margin-bottom: 30px;
}

/* Masonry Layout */
.gallery-container {
    /* Responsive columns */
    column-count: 3;
    column-gap: 15px;
    max-width: 1200px;
    margin: 0 auto;
}

.gallery-img {
    width: 100%;
    margin-bottom: 15px;
    border-radius: 8px;
    cursor: pointer;
    break-inside: avoid; /* Prevents images from splitting across columns */
    transition: transform 0.2s ease;
}

.gallery-img:hover {
    transform: scale(1.02);
}

/* Responsive Design for Mobile and Tablet */
@media (max-width: 900px) {
    .gallery-container { column-count: 2; }
}

@media (max-width: 600px) {
    .gallery-container { column-count: 1; }
}

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

.lightbox-content {
    max-width: 90%;
    max-height: 90vh;
    border-radius: 4px;
}

.close-btn {
    position: absolute;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
}