@charset "utf-8";
/* CSS Document */

/* General Reset */
body, h1, p {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "BarlowSemiCondensed BlackItalic";
    background-color: #f2efed;
    color: #333;
}

/* Header */
header {
    text-align: center;
    background-color: #f2efed;
    color: #b3892b;
    padding: 20px 0;
    margin-bottom: 20px;
}

header h1 {
    font-size: 36px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* Navigation Menu */
.menu {
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 100;
}

.menu-button {
    width: 35.5px;
    height: 35.5px;
    cursor: pointer;
}

.nav-menu {
    display: none;
    position: absolute;
    top: 50px;
    left: 0;
    background-color: rgba(0, 0, 0, 0.8);
    padding: 10px;
    border: 1px solid #B3892B;
}

.nav-menu a {
    display: block;
    margin: 10px 0;
    font-size: 14px;
    color: #B3892B;
}
.gallery-page .nav-menu {
    display: none; /* Default state */
}

.gallery-page .nav-menu.visible {
    display: block; /* Toggle visibility */
}

/* Gallery Section */
.gallery-thumbnails {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
    padding: 20px;
    justify-content: center;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.gallery-thumbnails img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.gallery-thumbnails img:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.8);
}

.modal-content {
    display: block;
    margin: auto;
    max-width: 90%;
    max-height: 90%;
    border-radius: 10px;
    transition: transform 0.3s ease;
}
.close-modal {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 30px;
    color: white;
    background-color: transparent;
    border: none;
    cursor: pointer;
}

.prev, .next {
    position: absolute;
    top: 50%;
    font-size: 30px;
    color: white;
    background-color: transparent;
    border: none;
    cursor: pointer;
}

.prev {
    left: 10px;
}

.next {
    right: 10px;
}

button {
    margin-top: 20px;
    padding: 10px;
    background-color: #333;
    color: white;
    border: none;
    cursor: pointer;
}

.modal-content:hover {
    transform: scale(1.02);
}

.modal-caption {
    margin: 20px auto;
    text-align: center;
    color: #fff;
    font-size: 18px;
}

/* Close Button */
.close {
    position: absolute;
    top: 10px;
    right: 20px;
    color: white;
    font-size: 30px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close:hover {
    color: #ff6666;
}

/* Responsive Adjustments */
@media screen and (max-width: 768px) {
    header h1 {
        font-size: 28px;
    }

    .gallery-thumbnails {
        gap: 10px;
    }

    .modal-caption {
        font-size: 16px;
    }
}



@media screen and (max-width: 480px) {
    .menu-button {
        width: 30px;
    }

    .nav-menu a {
        padding: 8px 15px;
    }

    .gallery-thumbnails img {
        border-radius: 5px;
    }

    .modal-caption {
        font-size: 14px;
    }
}
