body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f1e9;
    color: #333;
    
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 30px;
    background-color: #8b5e3c;
    color: white;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}


.navbar ul {
    list-style: none;
    display: flex;
    gap: 20px;
}

.navbar a {
    text-decoration: none;
    color: white;
    font-size: 20px;
    transition: color 0.3s;
}

.navbar a:hover {
    color: #d4c2a3;
}

/* Art Styles */
.art-hero {
    text-align: center;
    padding: 40px 20px;
    background: linear-gradient(to right, #c2b59b, #eae4d4);
    color: #3b2b2b;
    font-size: 28px;
    font-weight: bold;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.2);
}

.gallery {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    padding: 40px;
    width: 80%;
    margin: auto;
}

.gallery-item {
   width: 250px;
    height: 250px;
    background-color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    
    /*transition: transform 0.3s ease-in-out;*/
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    
    /*transition: transform 0.3s ease-in-out, opacity 0.3s;*/
}

.gallery-item span {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    padding-top: 45%;
    text-align: center;

    background: #FFF0;
    color: #0000;

    font-size: 1vw;
    font-weight: bold;

    transition-property: background, color, font-size;
    transition-duration: 0.5s;
    transition-timing-function: ease;
    z-index: 2;
}

.gallery-item span:hover {
    background: #ffffffbb;
    color: #6a472e;
    font-size: 1.5vw;
}

/* Overlay */
.image-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(244, 241, 233, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999;
    padding: 40px 20px;
    box-sizing: border-box;
}

.image-overlay img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0,0,0,0.4);
}

.image-overlay {
    display: none;
}

.image-overlay:target {
    display: flex;
}


/* Close Button */

.image-overlay .close-btn {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 36px;
    color: #333;
    text-decoration: none;
    font-weight: bold;
    background: rgba(255, 255, 255, 0.8);
    padding: 5px 10px;
    border-radius: 20%;
    transition: background 0.2s, color 0.2s;
}

.image-overlay .close-btn:hover {
    background: #333;
    color: white;
}

/* Overlay text when hovering */

.overlay {
    position: absolute;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5); /* semi-transparent black */
    color: #fff;
    width: 100%;
    text-align: center;
    padding: 10px 0;
    font-size: 18px;
    opacity: 0;
     transition: opacity 0.3s ease;
}

.gallery-item:hover .overlay {
    opacity: 1;
}



/* Footer */
.footer {
    text-align: center;
    padding: 20px;
    background-color: #8b5e3c;
    color: white;
    margin-top: 40px;
    
}
