

#main-image {
    width: 100%;
    max-width: 700px;
    height: auto;
    border: 7px solid #eee;
    border-radius: 8px;
    margin-bottom: 15px;
    transition: transform 0.3s ease, border-color 0.3s ease;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

#main-image:hover {
    transform: scale(1.02);
    border-color: #87cefa;
}

/* Homepage Photo Gallery Styles */
.js-gallery {
    margin-top: 20px;
    text-align: center;
}



.thumbnails {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.thumb {
    width: 110px;
    height: 85px;
    object-fit: cover;
    border: 4px solid #ccc;
    cursor: pointer;
    border-radius: 5px;
    transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
}

.thumb:hover, .thumb.active {
    border-color: #2c3e50; /* Dark blue for active/hover thumbnail */
    transform: scale(1.1);
    box-shadow: 0 3px 8px rgba(0,0,0,0.2);
}
/* General Gallery and Voting Gallery Styles */
.gallery, .voting-gallery {
    display: flex;
    justify-content: center; /* Center images in galleries */
    flex-wrap: wrap;
    margin-top: 25px;
    gap: 20px;
}

.gallery figure, .voting-gallery figure {
    margin: 15px;
    text-align: center;
    background-color: #f9f9f9;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.gallery figure:hover, .voting-gallery figure:hover {
    transform: translateY(-5px);
}

.gallery img, .voting-gallery img {
    max-width: 280px;
    height: auto;
    border: 4px solid #b0c4de; /* Light steel blue border */
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

figcaption {
    margin-top: 10px;
    font-style: italic;
    color: #555;
}

/* Forms */
form {
    background-color: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #eee;
    margin-top: 20px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

form h3 {
    border-bottom: 1px solid #e0e0e0;
    padding-bottom: 8px;
    margin-bottom: 15px;
}

form input[type="text"],
form textarea {
    width: calc(100% - 20px);
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 1em;
}

form input[type="submit"],
form input[type="reset"] {
    background-color: #4CAF50; /* Green submit button */
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1em;
    margin-right: 10px;
    transition: background-color 0.3s ease;
}

form input[type="reset"] {
    background-color: #f44336; /* Red reset button */
}

form input[type="submit"]:hover {
    background-color: #45a049;
}

form input[type="reset"]:hover {
    background-color: #da190b;
}.


