/* General Reset */
body, html {
    margin: 0;
    padding: 0;
    height: 100%;
    font-family: Arial, sans-serif;
}

/* Grayscale variable gradient for background */
body {
    background: black;
    background-size: cover;
    color: white;
}

/* Semi-transparent overlay for main content */
main {
    background: rgba(0,0,0,0); /* White with 90% opacity */
    margin: 2em auto;
    padding: 2em;
    border-radius: 1em; /* Optional: Adds soft corners */
    max-width: 90%; /* Ensures content stays readable on smaller screens */
    height: 90%;
    box-shadow: 0 0.5em 0.5em rgba(0, 0, 0, 0.1); /* Adds a subtle shadow */
}

/* Semi-transparent footer background */
footer {
    background: black;
    padding: 15px;
    border-radius: 0.6em 0.6em 0 0; /* Soft corners for visual cohesion */
    box-shadow: 0 0.5em 0.5em rgba(0, 0, 0, 0.1);
    position: fixed;
    bottom: 0;
    left: 0;
}

/* Center all text */
header, main, footer {
    text-align: center;
}

h1, h2, h3, p {
    margin: 0.5em 0;
}

/* Navbar Styling */
nav {
    background: black;
    padding: 10px 0;
}

nav ul {
    display: flex;
    justify-content: center;
    list-style: none;
    margin: 0;
    padding: 0;
}

nav ul li {
    margin: 0 15px;
}

nav ul li a {
    text-decoration: none;
    color: white;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 1em;
}

nav ul li a:hover {
    text-decoration: underline;
}

/* Gallery Grid Styling */
.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.art-item img {
    width: 100%;
    transition: transform 0.3s;
    border: 2px solid black;
}

.art-item img:hover {
    transform: scale(1.1);
}

.art-details {
    margin-top: 10px;
    text-align: center;
}

/* Lightbox Styling */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8); /* Dark overlay */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    overflow: hidden; /* Prevent scrollbars */
}

/* Lightbox Content Container */
.lightbox-content {
    position: relative;
    background: white;
    padding: 20px;
    text-align: center;
    border-radius: 10px;
    max-width: 90vw; /* Constrain width to 90% of the viewport */
    max-height: 90vh; /* Constrain height to 90% of the viewport */
    overflow: hidden; /* Prevent internal scrollbars */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3); /* Subtle shadow */
    display: flex;
    flex-direction: column; /* Stack content vertically */
    justify-content: space-between; /* Space between the image and details */
    align-items: center; /* Center align content horizontally */
}

/* Lightbox Image */
.lightbox-content img {
    max-width: 100%; /* Scale image down to fit horizontally */
    max-height: 70vh; /* Scale image down to fit vertically with space for details */
    object-fit: contain; /* Preserve aspect ratio without cropping */
}

/* Lightbox Details */
.lightbox-details {
    margin-top: 15px;
    text-align: center;
    font-size: 1rem;
    color: black;
}

.lightbox-details h3 {
    margin: 0.5em 0;
    font-size: 1.25rem;
    font-weight: bold;
}

.lightbox-details p {
    margin: 0.25em 0;
}

/* Close Button */
.lightbox .close {
    position: absolute;
    top: 10px; /* Space above the button */
    right: 10px; /* Space to the right of the button */
    background: black;
    color: white;
    border: none;
    padding: 10px;
    cursor: pointer;
    text-transform: uppercase;
    border-radius: 5px;
    z-index: 1001; /* Ensure it’s above everything else */
}

.lightbox .close:hover {
    background: white;
    color: black;
    border: 1px solid black;
}
/* Contact Section Styling */
.contact-section {
    text-align: center;
    margin: 20px auto;
}

.contact-picture {
    width: 70vh;
    height: 70vh;
    object-fit: cover; /* Ensures proper scaling */
    margin-bottom: 20px; /* Adds spacing below the image */
}

.contact-info p {
    font-size: 1.1em;
    margin: 5px 0;
}
