body {
            margin: 0;
            padding: 0;
            font-family: 'Fredericka the Great';
            background-color: #3e3c3b; /* Fond noir */
            color: #fff; /* Texte en blanc par défaut */
        }

        /* Navigation Bar */
        .navbar {
            display: flex;
            justify-content: space-between;
            align-items: center;
            background-color: #3e3c3b;
			transition: background-color 0.3s ease; /* Transition fluide */
            color: #fff;
            padding: 20px 60px;
            position: fixed;
            top: 0;
            width: 95%;
            z-index: 1000;
        }
        
		.navbar.translucent {
			background-color: rgba(62, 60, 59, 0); /* Couleur translucide */
		}
		
        .navbar .brand {
            font-size: 2rem;
            font-weight: normal;
        }

        .navbar .menu {
            display: flex;
            gap: 30px;	
        }

        .navbar .menu a {
            text-decoration: none;
            color: #fff;
            font-size: 1.2rem;
            transition: color 0.3s ease;
        }

        .navbar .menu a:hover {
            color: #bbb;
        }

        .gallery {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 0;
            margin-top: 80px; /* To account for the navbar */
        }

        .gallery img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            cursor: pointer;
            transition: filter 0.3s ease; /* Transition for hover effect */
        }

        .gallery img:hover {
            filter: brightness(70%);
        }
		
		@media (max-width: 768px) {
		.gallery {
			grid-template-columns: repeat(3, 1fr); /* Toujours 3 colonnes */
		}

		.gallery .image {
			height: 200px; /* Conserver la hauteur fixe */
		}
}


        /* Slideshow styles */
        .slideshow {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: white;
            justify-content: center;
            align-items: center;
            z-index: 10;
			padding-top: 10px
        }

        .slideshow img {
            max-width: 70%;
            max-height: 60%;
            border: 300px solid white;
            border-radius: 20px;
        }

        .slideshow .close {
    position: absolute;
    bottom: 20px; /* Positionne le bouton à 20px du bas */
    left: 50%; /* Centre horizontalement */
    transform: translateX(-50%); /* Ajuste pour centrer parfaitement */
    color: white;
    font-size: 1.2rem;
    background: rgba(0, 0, 0, 0.7);
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    z-index: 2001;
    transition: background-color 0.3s ease;
}

.slideshow .close:hover {
    background-color: rgba(255, 255, 255, 0.2); /* Change la couleur au survol */
}

.slideshow .prev,
.slideshow .next {
    position: absolute;
    top: 50%; /* Aligne verticalement les boutons */
    transform: translateY(-50%); /* Centre parfaitement les boutons */
    color: black;
    font-size: 2rem;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 2001;
}

.slideshow .prev {
    left: 5%; /* Positionne le bouton précédent à gauche */
}

.slideshow .next {
    right: 5%; /* Positionne le bouton suivant à droite */
}


        /* Footer styles */
        .footer {
            background-color: #3e3c3b;
            color: #fff;
            text-align: center;
			text-decoration: none;
            padding: 20px;
            margin-top: 20px;
            font-size: 1rem;
        } 
		
		/* Contact Button */
.contact-button {
    position: fixed;
    bottom: 40px;
    right: 40px;
    background-color: #333;
    color: #fff;
    border: none;
    padding: 15px 30px;
    font-size: 1.2rem;
    cursor: pointer;
    border-radius: 50px;
    transition: background-color 0.3s ease;
}

.contact-button:hover {
    background-color: #555;
}

/* Contact Form Modal */
.contact-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    justify-content: center;
    align-items: center;
    z-index: 2000;
}

.contact-modal form {
    background-color: #222;
    padding: 50px;
    border-radius: 5px;
    width: 100%;
    max-width: 400px;
    color: #fff;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-modal form input,
.contact-modal form textarea,
.contact-modal form button {
    width: 100%;
    padding: 10px;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
}

.contact-modal form input,
.contact-modal form textarea {
    background-color: #333;
    color: #fff;
}

.contact-modal form button {
    background-color: #555;
    color: #fff;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.contact-modal form button:hover {
    background-color: #777;
}

.contact-modal .close {
    position: absolute;
    top: 20px;
    right: 20px;
    color: #fff;
    font-size: 2rem;
    cursor: pointer;
}

		
    
/* Fix for narrow screens like Samsung with Firefox */
@media (max-width: 480px) {
    .navbar {
        padding: 5px 10px; /* Minimal padding for small screens */
        justify-content: space-between;
    }

    .navbar .brand {
        font-size: 1rem; /* Smaller text for the brand */
    }

    .navbar .menu {
        flex-wrap: wrap; /* Allow menu items to wrap if necessary */
        gap: 10px; /* Smaller gap for tighter spacing */
    }

    .navbar .menu a {
        font-size: 0.9rem; /* Adjusted font size for links */
    }
}

/* Media Queries for responsiveness */
@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        align-items: flex-start;
        padding: 10px 20px;
    }

    .navbar .menu {
        flex-direction: column;
        gap: 10px;
    }

    .navbar .menu a {
        font-size: 1rem;
    }

    .gallery {
        grid-template-columns: 1fr;
    }

    .contact-button {
        bottom: 20px;
        right: 20px;
        padding: 10px 20px;
        font-size: 1rem;
    }

    .video-carousel,
    .carousel-slide video {
        width: 100%;
    }

    .carousel-btn {
        font-size: 1.5rem;
        padding: 5px 10px;
    }
}

@media (max-width: 480px) {
    .navbar .brand {
        font-size: 1.5rem;
    }

    .navbar .menu a {
        font-size: 0.9rem;
    }

    .contact-button {
        padding: 8px 16px;
        font-size: 0.9rem;
    }
}