body, html {
    margin: 0;
    padding: 0;
    font-family: 'Open Sans', sans-serif;
    color: #333;
    line-height: 1.6;
}

.container {
    width: 80%;
    margin: 0 auto;
    max-width: 1200px;
}

header {
    background-color: #fff;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.4);
    position: fixed;
    width: 100%;
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 40px;
    margin-right: 10px;
}

.logo h1 {
    font-size: 1.5rem;
    margin: 0;
}

nav ul {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
}

nav ul li {
    margin-left: 20px;
}

nav ul li a {
    text-decoration: none;
    color: #333;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    transition: max-height 0.5s ease-out, opacity 0.5s ease-out;
}

.hamburger span {
    height: 3px;
    width: 25px;
    background: #333;
    margin: 2px 0;
    display: block;
    transition: max-height 0.5s ease-out, opacity 0.5s ease-out;
}

.hero {
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),url('66486c74262465955085d4db/66486ceeb554e95a43e52acb_pexels-pixabay-462119.jpg');
    background-size: cover;
    background-position: center;
    height: 50vh;
    display: flex;
    align-items: center;
    text-align: center;
    color: white;
}
.hero_contact {
    background-image: url('66486c74262465955085d4db/66487aec342e1862250d6a8e_WOP-CattleImages-5979.jpg');
    background-size: cover;
    background-position: center;
    height: 30vh;
    display: flex;
    align-items: center;
    text-align: center;
    color: white;
}
.hero_exhibition {
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),url('66486c74262465955085d4db/66486ceeb554e95a43e52acb_pexels-pixabay-462119.jpg');
    background-size: cover;
    background-position: center;
    height: 30vh;
    display: flex;
    align-items: center;
    text-align: center;
    color: white;
}
.hero-content {
    width: 100%;
}
.hero h2 {
    font-size: 4rem;
    margin-bottom: 0.5rem;
    font-weight: 300;
}
.hero_exhibition h2 {
    font-size: 4rem;
    margin-bottom: 0.5rem;
    font-weight: 300;
}
.hero p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    font-weight: 300;
}
.btn {
    display: inline-block;
    padding: 10px 20px;
    border: 2px solid white;
    color: white;
    text-decoration: none;
    margin: 0 10px;
    transition: all 0.3s ease;
    opacity: 0;
}
.btn:hover {
    background-color: white;
    color: #333;
}
.about {
    padding: 30px 0;
    text-align: center;
}
.about h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 300;
}
.about p {
    font-size: 1.1rem;
    max-width: 800px;
    margin: 0 auto 40px;
}
.grid {
    display: flex;
    justify-content: space-between;
    margin-top: 2rem;
    gap: 1rem;
}
.grid-item {
    flex-basis: 30%;
    background: white;
    padding: 30px;
    border-radius: 5px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    opacity: 0;
}
.grid-item img {
    width: 60px;
    margin-bottom: 1rem;
}
.grid-item h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
}
.content {
    padding: 80px 0;
    text-align: center;
}
.content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 300;
    color: #444;
}
.contact-info {
    margin-top: -5rem;

}
.contact-info p {
    margin: 0.5rem 0;
}
.contact-info a {
    color: #0066cc;
    text-decoration: none;
}
.contact-info a:hover {
    text-decoration: underline;
}
footer {
    background: #f4f4f4;
    padding: 40px 0;
}
.footer-content {
    display: flex;
    justify-content: space-between;
}
.footer-section {
    flex-basis: 30%;
}
.footer-section h5 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: #444;
}
.footer-section a {
    color: #333;
    text-decoration: none;
    display: block;
    margin-bottom: 0.5rem;
}
.copyright {
    text-align: center;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #ddd;
    color: #666;
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    nav ul {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 60px;
        left: 0;
        width: 100%;
        background: white;
        box-shadow: 0 0px 5px rgba(0,0,0,0.3);
        z-index: 0;
    }
    nav ul.show {
        display: flex;
    }
    nav ul li {
        margin: 0;
        text-align: center;
    }
    nav ul li a {
        display: block;
        padding: 10px 0;
    }
    .hero{
        height: 50vh;
    }
    .hero .btn{
        margin-bottom: 1rem;
    }
    .hero h2 {
        font-size: 2.5rem;
    }
    .hero p {
        font-size: 1.2rem;
    }
    .grid {
        flex-direction: column;
    }
    .grid-item {
        margin-bottom: 20px;
    }
    .footer-content {
        flex-direction: column;
    }
    .footer-section {
        margin-bottom: 20px;
    }
}

.exhibition-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 20px;
    margin-bottom: 40px;
    justify-content: center;
}

.exhibition-item {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.exhibition-item:hover {
    transform: translateY(-5px);
}

.exhibition-item img {
    width: 100%;
    object-fit: contain;
}

.exhibition-info {
    padding: 15px;
}

.exhibition-info h3 {
    margin: 0 0 10px 0;
    font-size: 1.2rem;
}

.exhibition-info p {
    margin: 0;
    font-size: 0.9rem;
    color: #666;
}

@media (max-width: 768px) {
    .exhibition-grid {
        grid-template-columns: 1fr;
    }
}

.enlarged-overlay {
    display: none; /* Hidden by default */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8); /* Semi-transparent black background */
    justify-content: center;
    align-items: center;
    z-index: 1000; /* Ensure it is above all other content */
}

.enlarged-overlay img {
    max-width: calc(100% - 4rem); /* Full width minus padding */
    max-height: calc(100% - 4rem); /* Full height minus padding */
    padding: 2rem; /* Padding around the image */
    background: white; /* Background for the image */
    border-radius: 8px; /* Rounded corners */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.close-btn {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 2rem;
    color: white;
    cursor: pointer;
    z-index: 1001; /* Ensure it is above the overlay */
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .enlarged-overlay img {
        max-width: calc(100% - 2rem); /* Reduce padding for smaller screens */
        max-height: calc(100% - 2rem); /* Reduce padding for smaller screens */
        padding: 1rem; /* Reduce padding for smaller screens */
    }
}

@keyframes slideIn50px {
    from {
        transform: translateY(50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes slideIn20px {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}