/* Maintain Background Image */
body {
    background: url('../img/black.jpg') no-repeat center center fixed;
    background-size: cover;
    font-family: 'Playfair Display', serif;
    color: #fff;
    text-align: center;
    height: 100vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* Title Styling (Matches "The Record" Page) */
h1 {
    font-size: 3rem; /* Match size */
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.8); /* Glow effect */
    margin-bottom: 10px;
}

/* Subtitle Styling */
.subtitle {
    font-size: 1.0rem;
    margin-bottom: 20px;
    opacity: 0.8;
}

/* Centered Image Grid */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); /* Responsive grid */
    grid-auto-rows: 150px; /* Ensures uniform height */
    gap: 10px;
    width: 80%;
    max-width: 900px;
    flex-grow: 1;
    justify-content: center; /* Center the grid */
    align-items: center; /* Align images properly */
    margin: auto; /* Center the entire grid */
}

/* Make Images Fit Properly */
.gallery-grid img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    cursor: pointer;
    transition: transform 0.3s ease-in-out;
}

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

/* Lightbox Pop-up (Centered) */
.lightbox {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); /* Ensures perfect centering */
    width: 80%;
    max-width: 700px;
    max-height: 80vh;
    background: rgba(0, 0, 0, 0.9);
    padding: 20px;
    box-sizing: border-box;
    text-align: center;
    border-radius: 5px;
    z-index: 20;
}

/* Lightbox Image */
.lightbox img {
    max-width: 100%;
    max-height: 70vh;
    border: 5px solid #888888;
    display: block;
    margin: auto;
}

/* Close Button (X) */
.close-btn {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 2rem;
    cursor: pointer;
    color: white; /* Default color */
    background: none;
    border: none;
    outline: none;
    padding: 10px;
    transition: color 0.3s ease-in-out; /* Smooth transition */
}

/* Hover Effect */
.close-btn:hover {
    color: #880808; /* Dark red hover effect */
}


/* Navigation Section - Add Space */
.navigation {
    display: flex;
    justify-content: center; /* Centers buttons */
    gap: 10px; /* Space between buttons */
    padding: 40px 0 20px; /* Adds more space above buttons */
}

/* Navigation Buttons */
.btn {
    display: inline-block;
    padding: 15px 30px;
    font-size: 1rem;
    background: rgba(255, 255, 255, 0.2);
    text-decoration: none;
    border: 1px solid white;
    border-radius: 0;
    transition: background 0.3s, transform 0.2s;
    color: #fff;
    font-weight: bold;
    text-align: center;
    margin: 0 5px; /* Adds space between buttons */
}

.btn:hover {
    background: rgba(255, 255, 255, 0.5);
    transform: scale(1.05);
}

/* Navigation Arrows (No Background, Just Simple Arrows) */
.prev-btn, .next-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: none; /* Removes the transparent background */
    border: none;
    color: white;
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    padding: 10px; /* Adjust padding for clickability */
}

/* Positioning */
.prev-btn { left: 20px; }
.next-btn { right: 20px; }

/* Hover Effect (Only Text Color Changes) */
.prev-btn:hover, .next-btn:hover {
    color: #880808; /* Change to red on hover (or any color you prefer) */
}

