/* Dropdown Styles */
form select {
    padding: 5px;
    font-size: 16px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background-color: #ffffff;
    color: #333;
    cursor: pointer;
}
form select:focus {
    border-color: #007bff;
    outline: none;
}

/* Base Styles */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background: linear-gradient(135deg, #f0f8ff, #e6e6fa); /* Light gradient background */
}

/* Header Styles */
h1 {
    text-align: center;
    color: #333;
    padding: 20px 0;
    background-color: #ffffff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    margin: 0;
    border-bottom: 2px solid #007bff; /* Add a colored border at the bottom */
}

/* Gallery Styles */
.gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 15px; /* Space between items */
    justify-content: center;
    padding: 15px;
}
.thumbnail {
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    width: calc(100% / 6 - 15px); /* 6 images per row with gap */
    height: 300px; /* Adjust thumbnail height */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    text-align: center; /* Center text */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.3s, box-shadow 0.3s;
    background-color: #ffffff; /* Ensure background is white for better text visibility */
}
.thumbnail:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}
.thumbnail img {
    width: 100%;
    height: 60%; /* Set image height relative to thumbnail */
    object-fit: cover; /* Cover the container without distortion */
}
.thumbnail .caption {
    padding: 10px; /* Add padding for title and description */
    background-color: #f9f9f9; /* Slightly off-white background for text */
    color: #333; /* Ensure text color is dark enough */
}
.thumbnail h3 {
    margin: 5px 0;
    font-size: 14px; /* Adjust title font size */
    font-weight: bold;
}
.thumbnail p {
    margin: 0;
    font-size: 12px; /* Adjust description font size */
    color: #666; /* Light gray color for description */
}
.pagination {
    margin: 20px 0;
    text-align: center;
}
.pagination a {
    margin: 0 5px;
    text-decoration: none;
    color: #007bff; /* Blue color for links */
    font-weight: bold;
}
.pagination a:hover {
    text-decoration: underline;
}

/* Full Image Styles */
.full-image {
    margin: 20px auto;
    max-width: 90%;
    padding: 20px;
    background: #ffffff; /* White background for the full image container */
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
.full-image img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}
.full-image h1 {
    margin: 10px 0;
    font-size: 24px;
    color: #333;
}
.full-image p {
    font-size: 16px;
    color: #666;
}

/* General Utility */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}
