body {
font-family: Arial, sans-serif;
margin: 0;
min-height: 100vh;
background-size: cover;
background-position: center;
background-attachment: fixed;
}


/* Home */
body.home {
background-image: url("../backgrounds/home.jpg");
}


/* Artiest */
body.artiest {
background-image: url("../backgrounds/artiest.jpg");
}


/* Schilderijen */
body.schilderijen {
background-image: url("../backgrounds/schilderijen.jpg");
}


/* Tentoonstellingen */
body.tentoonstellingen {
background-image: url("../backgrounds/tentoonstellingen.jpg");
}


/* Contact */
body.contact {
background-image: url("../backgrounds/contact.jpg");
}


main {
background: rgba(255, 255, 255, 0.85);
padding: 2rem;
border-radius: 10px;
}

.contact-form {
max-width: 500px;
background: white;
padding: 2rem;
border-radius: 8px;
box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}


.contact-form label {
display: block;
margin-top: 1rem;
}


.contact-form input,
.contact-form textarea {
width: 100%;
padding: 8px;
margin-top: 5px;
}


.contact-form button {
margin-top: 1.5rem;
padding: 10px;
background: #222;
color: white;
border: none;
cursor: pointer;
}


.success {
margin-top: 1rem;
color: green;
}

.painting-thumb {
width: 180px;
height: 140px;
object-fit: cover;
cursor: zoom-in;
transition: transform 0.2s;
}


.painting-thumb:hover {
transform: scale(1.05);
}


.modal {
display: none;
position: fixed;
z-index: 1000;
left: 0;
top: 0;
width: 100%;
height: 100%;
background: rgba(0,0,0,0.85);
justify-content: center;
align-items: center;
}


.modal img {
max-width: 90%;
max-height: 90%;
border-radius: 8px;
}

.painting-thumb {
    width: 180px;
    height: 140px;
    object-fit: cover;
    cursor: zoom-in;
    transition: 0.2s;
}

.painting-thumb:hover {
    transform: scale(1.05);
}

/* MODAL */
.modal {
    display: none;
    position: fixed;
    z-index: 9999;
    inset: 0;
    background: rgba(0,0,0,0.85);
    justify-content: center;
    align-items: center;
}

.modal img {
    max-width: 90%;
    max-height: 90%;
}

.card {
    text-align: center;
}

.title {
    margin-top: 10px;
    font-weight: bold;
    font-size: 16px;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.card {
    text-align: center;
}

.painting-thumb {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 8px;
    cursor: zoom-in;
}

/* Homepage afbeelding */
.home img {
    max-width: 600px;   /* maakt de foto kleiner */
    width: 100%;        /* schaalt mooi mee */
    height: auto;
    display: block;
    margin: 20px auto;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}
/* 📱 Mobiel optimalisatie */
@media (max-width: 768px) {

    nav {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    nav a {
        margin: 10px 0;
    }

    .grid {
        grid-template-columns: 1fr; /* 1 kolom op gsm */
    }

    .painting-thumb {
        height: auto;
    }

    main {
        padding: 1rem;
    }

    h1, h2 {
        text-align: center;
    }

    .contact-container {
        flex-direction: column;
    }

}

.expo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px,1fr));
    gap: 25px;
}

.expo-card {
    background: linear-gradient(
        135deg,
        rgba(184,134,11,0.9),
        rgba(139,69,19,0.9)
    );

    color: white;
    padding: 40px;
    border-radius: 15px;
    text-align: center;
    text-decoration: none;

    box-shadow: 0 4px 12px rgba(0,0,0,0.3);

    transition: all 0.3s ease;
}

.expo-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.4);
}