/* Variables de couleurs */
:root {
    --color-darkest: #1C1D21;
    --color-dark: #2D2B36;
    --color-purple: #664966;
    --color-lavender: #E6DBE6;
    --color-accent: #B784B7;
    --color-orange: #F4B860;
    --text-light: #E6DBE6;
    --text-dark: #2D2B36;
}

/* Styles de base */
body {
    background-color: var(--color-darkest);
    color: var(--text-light);
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
}

/* Navigation */
nav {
    background-color: var(--color-dark);
    border-bottom: 1px solid var(--color-purple);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

nav a {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.3s ease;
}

nav a:hover {
    color: var(--color-orange);
}

/* En-tête */
header {
    position: relative;
    background-image: url('images/logo.png'); /* Assure-toi que le chemin est correct */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 400px; /* Ajuste selon ton besoin */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--text-light);
}

/* Pseudo-élément pour l'effet de filtre */
header::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4); /* Légère opacité pour voir l’image */
    z-index: 1;
}

header h1 {
    position: relative;
    z-index: 2; /* Pour que le texte soit au-dessus du filtre */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
	margin-bottom: 20px;  /* Ajouter un espacement en bas du h1 */
    margin-top: 10px;  /* Ajouter un espacement au-dessus du p */
				
}

/* Galerie */
.gallery-card {
    background-color: var(--color-dark);
    border: 1px solid var(--color-purple);
    transition: all 0.3s ease;
}

.gallery-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px var(--color-purple);
    border-color: var(--color-orange);
}

.gallery-card img {
    filter: brightness(0.9);
    transition: all 0.3s ease;
}

.gallery-card:hover img {
    filter: brightness(1.1);
}

.gallery-card h3 {
    color: var(--color-orange);
}

.gallery-card p {
    color: var(--text-light);
}

/* Section About */
#about {
	background-color: var(--color-dark);
}

#about img {
    border: 3px solid var(--color-purple);
    box-shadow: 0 0 15px rgba(183, 132, 183, 0.3);
}

													  
}

/* Contact form */
input, textarea {
    background-color: var(--color-dark);
    border: 1px solid var(--color-purple);
    color: var(--text-light);
    transition: all 0.3s ease;
}

input:focus, textarea:focus {
    border-color: var(--color-orange);
    box-shadow: 0 0 0 2px rgba(244, 184, 96, 0.2);
    outline: none;
}

button {
    background-color: var(--color-purple);
    color: var(--text-light);
    border: none;
    transition: all 0.3s ease;
}

button:hover {
    background-color: var(--color-orange);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(244, 184, 96, 0.3);
}

/* Pied de page */
footer {
    background-color: var(--color-dark);
    border-top: 1px solid var(--color-purple);
}

footer a {
    color: var(--text-light);
    transition: color 0.3s ease;
}

footer a:hover {
    color: var(--color-orange);
}

/* Titres */
h1, h2, h3 {
    color: var(--text-light);
}

/* Effets de survol */
.hover-effect:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px var(--color-purple);
}

/* Animations */
.fade-in {
    animation: fadeIn 0.8s ease forwards;
}

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

/* Media queries */
@media (max-width: 768px) {
    header {
        height: 300px; /* Réduction pour mobiles */
    }

    .gallery-card:hover {
        transform: translateY(-3px);
    }
}

/* Lightbox */
#lightbox {
    display: none;
    align-items: center;
    justify-content: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 1000;
}

#lightbox img {
    max-width: 90%;
    max-height: 80vh;
    border-radius: 10px;
}

#lightbox-caption {
    color: white;
    text-align: center;
    font-size: 1.2rem;
    margin-top: 10px;
}

#lightbox-close {
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 2rem;
    cursor: pointer;
    background: none;
    border: none;
    color: white;
}
