﻿/* AP_PhotoGallery.css V2.2 */
/* Adjustments for folder-selection */
.folder-selection {
    margin: 20px;
    display: flex; /* Default to flex for multiple buttons */
    flex-wrap: wrap;
    justify-content: center;
}

button {
    font-size: 2vw;
    font-family: 'Times New Roman', serif;
    border: white;
    border-radius: 20px;
    background-color: transparent;
    color: floralwhite;
    border-color: white;
    border-style: groove;
    padding: 0 2vw;
    margin: 0 10px; /* Space between buttons */
}

#PageHead {
    position: static;
    margin: 12vh 0 0 0;
    height: auto;
    z-index: 1;
    text-align: center; /* Center the h1 */
}

h1 {
    font-size: 3vw;
    margin: 0 0 20px 0; /* Space below h1 */
    color: white;
}
/* Add to AP_PhotoGallery.css */
.zoom-controls {
    
}

.zoom-controls {
    display: flex;
    justify-content: center;
    gap: 1px; /* Space between zoom buttons */
    font-size: 2vw; /* Smaller than gallery buttons */
    margin: 0 30%;
    padding: 0px; /* Compact padding */
    width: auto; /* Space between buttons */
    border: 5px solid gold;
    border-radius: 25px;
    background-color: transparent;
    color: floralwhite;
    border-style: groove;
}
    .zoom-controls #left {
        border-color: transparent;
        background-color: transparent;
        padding: 0;
    }
    .zoom-controls #center {
        border-color: transparent;
        background-color: transparent;
        border-radius:0;
        padding:0px;
       }
    .zoom-controls #right {
        border-color: transparent;
        background-color: transparent;
       padding: 0px;
    }

/* Ensure gallery scales smoothly */
.gallery {
    position: relative;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 15px;
    width: 100%;
    justify-items: center;
    align-content: flex-start;
    transition: transform 0.3s ease; /* Smooth zoom transition */
}
/* AP_PhotoGallery.css V2.1 */
body {
    display: flex;
    margin: 0;
    position: static;
    background-color: black;
    justify-content: space-evenly;
    flex-direction: column;
    flex-wrap: wrap;
    align-items: center;
    align-content: center;
    width: 98vw;
    margin: 0 3em 0 2em;
    height: auto;
    top: 0;
    z-index: 0;
    font-family: Arial, sans-serif;
    text-align: center;
    font-size: 1.5vw;
    color: white;
}

/* Park logo */
.logo {
    float: left;
    margin-left: 3vw;
    width: 11vw;
    color: black;
    transition: 2s;
}

.AP100logo {
    float: left;
    margin-left: 3vw;
    width: 11vw;
    height: auto;
    background-color: transparent;
    transition: 2s;
    box-shadow: white -1px 0px 22px, gold 1.5vw 0px 2vw;
    border-radius: 1vw;
}

#TBid_img {
    float: left;
}

.TBnav {
    position: fixed;
    height: 5vw;
    background-color: transparent;
    left: 0;
    top: 0;
    z-index: 1;
}

    .TBnav.black {
        background-image: linear-gradient(rgb(5, 5, 5), rgba(12, 3, 51, .4));
    }

.TBelements {
    display: inline-flex;
    align-items: flex-start;
    flex-direction: row;
    flex-wrap: wrap;
    top: 0;
    margin: 2px 1vw;
    padding: 2px 2px 0 0;
    stroke: black;
    stroke-width: 5px;
}

    .TBelements a {
        font-family: 'Roadgeek 2005 Transport';
        padding: 4px 0 4px 2vw;
        margin-top: 2vw;
        font-size: 2.5vw;
        font-weight: 10;
        color: white;
        align-content: center;
        text-decoration: none;
    }

        .TBelements a:hover {
            font-style: italic;
            text-shadow: 0px -8px 66px gold, 0px 8px 66px gold;
        }

/* NavAbout popup */
#TBfloat {
    display: none;
    position: absolute;
    top: 6vw;
    left: 15vw;
    margin: 0;
    padding: 0;
    width: 80vw;
    height: 2em;
    background: linear-gradient(transparent, black);
    color: white;
    z-index: 5;
}

.folder-selection {
    margin: 20px;
}

#LandingPage {
    display: flex;
    flex-direction: column;
}

    #LandingPage a img {
        width: 98vw; /* Fixed syntax: no '=' */
        height: auto;
        align-content: center;
    }

img {
    width: 98vw; /* Fixed syntax: no '=' */
    height: auto;
    align-content: center;
}

#LandingPage a {
    font-size: 1.0vw;
    text-align: center;
    margin: 0 0 2vh 0;
}

.photo-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    padding: 2vw;
    margin: 0 6em 0 3em;
}

    .photo-container img {
        max-width: 100%; /* Changed from 200px to fill container */
        height: auto;
        object-fit: cover;
        transition: transform 0.3s;
        border: 1px solid cornsilk;
    }

    .photo-container:hover img {
        -ms-transform: scale(1.1); /* IE 9 */
        -webkit-transform: scale(1.1); /* Safari 3-8 */
        transform: scale(1.1);
    }

.photo-title {
    font-size: 14px;
    text-align: center;
    margin-top: 5px;
}

/* Ensure single column on mobile */
@media (max-width: 600px) {
    .gallery {
        grid-template-columns: 1fr;
    }

    .photo-container img {
        max-width: 100%;
    }
}

