/* gallery.css */

/* Basic Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background: #34495e; /* Use the background color from the original styles */
}

.container {    
    width: 100%;
    max-width: 1200px;
    margin: 40px auto; /* Add top margin to the container */
    padding: 20px;
    background: #fff;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Header Styles */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 20px 0;
    background-color: #007bff;
    padding: 10px;
}

nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 20px;
}

nav a {
    text-decoration: none;
    color: white;
    font-weight: bold;
    padding: 10px 20px;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.search-container {
    display: flex;
    align-items: center;
}

.search-container input {
    padding: 8px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    margin-right: 10px;
}

.search-container button {
    padding: 8px 15px;
    background-color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

/* Gallery Styles */
.gallery {
    text-align: center;
    margin-top: 30px;
}

.gallery h2 {
    margin-bottom: 20px;
    font-size: 2em;
}

.gallery-images {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.gallery-link {
    width: 150px;
    height: 150px;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.gallery-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-img:hover {
    transform: scale(1.1);
}

/* Footer Styles */
footer {
    width: 100%;
    padding: 10px 20px;
    background-color: #007bff;
    color: white;
    margin-top: auto;
    border-radius: 10px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.contact-info {
    display: flex;
    flex-direction: column;
}

.contact-info h3 {
    margin-bottom: 10px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .gallery-link {
        width: 120px;
        height: 120px;
    }
}

@media (max-width: 480px) {
    .gallery-link {
        width: 100px;
        height: 100px;
    }
}