body {
    background-color: #628a99;
    font-family: Verdana, Arial, Helvetica, sans-serif;
    color: #000000;
    margin: 0;
    padding: 0;
    line-height: 1.5;
}

a {
    color: #000000;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

header, main, footer {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

header img {
    width: 75%;
    height: auto;
    display: block;
    margin:0 auto;
    text-align: center;
}

nav {
    background-color: #628a99;
    padding: 10px 0;
}

nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

nav li {
    margin: 0 5px;
}

/* CSS-only rollover using two stacked images */
.nav-button {
    display: block;
    width: 150px;
    height: 64px;
    position: relative;
    overflow: hidden;
}

.nav-button img {
    position: absolute;
    top: 0;
    left: 0;
    transition: opacity 0.3s ease;
}

.nav-button img.off {
    opacity: 1;
}

.nav-button img.on {
    opacity: 0;
}

.nav-button:hover img.off {
    opacity: 0;
}

.nav-button:hover img.on {
    opacity: 1;
}

content {
    background-color: #628a99;
    font-size: 2em;
    padding: 20px;
    margin: 20px 0;
    border-radius: 8px;
    align-items: center;
}

h1 {
    font-size: 1.75em;
    text-decoration: underline;
    align-items: center;
}

h2 {
    font-size: 1.5em;
    align-items: center;
}

.special {
    color: #ff4d4d;
}

.email{
    color:antiquewhite;
}

.highlight {
    background-color: #00FFFF;
    padding: 0 5px;
}

.yellow-bg {
    background-color: yellow;
}

.large-number {
    font-size: 1.75em;
}

.gallery-section {
    margin: 40px 0;
    text-align: center;
    block-size: 50%;
}

.gallery-section h2 {
    font-size: 1.5em;
    margin-bottom: 20px;
}

.gallery-section h3 {
    font-size: 1.0em;
    margin-bottom: 20px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.gallery-grid a {
    display: block;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    transition: transform 0.3s, box-shadow 0.3s;
}

.gallery-grid a:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 16px rgba(0,0,0,0.3);
}

.gallery-grid img {
    width: 100%;
    height: auto;
    display: block;
}

.copyright {
    font-size: 0.8em;
}

/* Thumbnail Grid */
.thumbnail-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    justify-content: center;
    justify-items: center;
    gap: 15px;
    max-width: 1200px;
    margin: 0 auto;
}

.thumbnail-grid h2 {
    font-size: 0.5em;
    align-items: center;
}

.thumbnail-grid img {
    width: 200px;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.2s;
}
.thumbnail-grid img:hover {
    transform: scale(1.05);
}

/* Modal (Lightbox) */
.modal {
    display: none; /* Hidden by default */
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.95);
    align-items: center;
    justify-content: center;
    z-index: 1000;
    overflow: hidden;
}
.modal.open {
    display: flex;
}

/* Horizontal Scrollable Full Images */
.full-gallery {
    display: flex;
    overflow-x: auto;
    gap: 20px;
    padding: 20px;
    max-width: 100vw;
    scroll-snap-type: x mandatory; /* Optional: snaps to each image */
}
.full-gallery img {
    flex: 0 0 90vw; /* Each image takes most of the viewport width */
    max-width: 90vw;
    height: 90vh;
    object-fit: contain; /* Show full image without cropping */
    scroll-snap-align: center;
    border-radius: 8px;
}

/* Close button */
.close-btn {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 40px;
    color: white;
    cursor: pointer;
    z-index: 1001;
}

/* Hide scrollbar for cleaner look (still scrollable) */
.full-gallery::-webkit-scrollbar { display: none; }
.full-gallery { -ms-overflow-style: none; scrollbar-width: none; }

footer {
    width: 200%;
    padding: 5px 0;
    color: black;
    min-height: 82px;
}

footer a {
    width: 200%;
    color: black;
    margin: 0 5px;
    font-size: 1.5em;
}

@media (max-width: 768px) {
    nav ul {
        flex-direction: column;
        align-items: center;
    }
    nav li {
        margin: 10px 0;
    }
}