/* --- Global Styles --- */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background: #f7f7f7;
}

header {
    background: #1b5e20;
    color: white;
    padding: 15px 20px;
    display: flex;
    align-items: center;
}

header img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    margin-right: 15px;
}

nav {
    background: #2e7d32;
    padding: 12px;
    text-align: center;
}

nav a {
    color: white;
    text-decoration: none;
    padding: 12px 18px;
    font-weight: bold;
    display: inline-block;
}

nav a:hover {
    background: #1b5e20;
    border-radius: 4px;
}

.container {
    padding: 20px 40px;
}

/* --- Slider (Updated) --- */
.slider {
    width: 100%;
    height: 260px;     /* Adjust image height */
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #e8f5e9;
    position: relative;
}

.slider img {
    width: auto;
    height: 260px;     /* Ensures images appear cleanly */
    object-fit: contain;
    margin: 0 10px;
    animation: slide 12s infinite;
}

/* --- Simple fading animation (Images switch every 4 seconds) --- */
@keyframes slide {
    0%   { opacity: 1; }
    33%  { opacity: 0; }
    66%  { opacity: 1; }
    100% { opacity: 1; }
}

/* --- Footer --- */
.footer {
    background: #1b5e20;
    color: white;
    text-align: center;
    padding: 15px;
    margin-top: 40px;
}

/* --- Gallery --- */
.gallery {
    display: flex;
    flex-wrap: wrap;
}

.gallery img {
    width: 220px;
    height: 220px;
    object-fit: cover;
    border-radius: 8px;
    margin: 8px;
    box-shadow: 0 0 6px rgba(0,0,0,0.3);
}

/* --- Responsive --- */
@media (max-width: 600px) {
    header img {
        width: 50px;
    }
    .container {
        padding: 15px;
    }
    .gallery img {
        width: 45%;
        height: 180px;
    }
    .slider {
        height: 200px;
    }
    .slider img {
        height: 200px;
    }
}
