/* style.css */

/* --- Modal Styles --- */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1000; /* Sit on top (should be higher than other content) */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgba(0,0,0,0.9); /* Black w/ opacity */
    justify-content: center; /* Center horizontally */
    align-items: center;   /* Center vertically */
    flex-direction: column; /* For caption below image */
}

/* Modal Content (Image) */
.modal-content {
    margin: auto;
    display: block;
    max-width: 80%; /* Max width of enlarged image */
    max-height: 90vh; /* Max height of enlarged image relative to viewport */
    object-fit: contain; /* Ensures the image fits without cropping */
}

/* Caption of Modal Image (if used) */
#caption {
    margin-top: 20px;
    display: block;
    width: 80%;
    text-align: center;
    color: #ccc;
    font-size: 17px;
    padding: 10px 0;
    height: 150px; /* Adjust as needed */
}

/* Close Button */
.close-button {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
}

.close-button:hover,
.close-button:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}

/* Add some basic responsiveness for smaller screens */
@media only screen and (max-width: 700px){
    .modal-content {
        max-width: 95%;
    }
}

/* --- General Website Header/Navigation Styles (Example, adjust to your site) --- */
header {
    background-color: #f8f8f8;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
}

header img {
    /* Styles for your regular logo in the header */
    max-height: 80px; /* Example size */
    width: auto;
    display: block; /* Removes extra space below image */
}

nav a {
    text-decoration: none;
    color: #333;
    padding: 0 15px;
}