/* style.css */

/* Global styles */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #bdc3c7 
;
    color: #333;
    animation: fadeIn 1s ease-in;
    text-align: center;
}

header {
    display: ;
    justify-content: space-between;
    align-items: center;
    padding: 2px 3px;
    background-image: url('n.jpg'); /* Remplace par le chemin de ton image */
    background-size: cover; /* Ajuste l'image pour couvrir tout le header */
    background-position: center; /* Centre l'image */
    background-repeat: ; /* Empêche la répétition */
    height: 200px; /* Ajuste la hauteur selon ton besoin */
    color: white;
    position: relative;
	
}



h1, h2, h3 {
    color: blue;
    animation: waveText 1.5s ease-in-out infinite alternate;
    text-align: center;
}

/* Section À propos */
.section-apropos {
    background-color: #ffebcc;
    padding: 20px;
    animation: fadeInUp 1s ease-in-out;
    text-align: center;
	
}

/* Section Menu */
.section-menu {
    background-color: #ffcc99;
    padding: 20px;
    animation: fadeInUp 1.2s ease-in-out;
    text-align: align-items;
	display:flex; 
	flex-wrap: wrap;
	justify-content: center;
	grid-template-columns: repeat(3, 1fr); /* 3 colonnes égales */
    gap: 20px; /* Espace entre les éléments */
    justify-content: center; /* Centre les éléments */
	 
	 
}

.menu-title {
    text-align: center; /* Centre le texte */
    font-size: 2.5em; /* Taille plus grande */
    font-weight: bold; /* Texte en gras */
    color: #333; /* Couleur sombre */
    text-transform: uppercase; /* Majuscules */
    margin-bottom: 20px; /* Espacement sous le titre */
    animation: fadeInDown 1s ease-in-out; /* Effet d’apparition */
}





/* Section Promotions */
.section-promotions {
    background-color: #ff6666;
    padding: 20px;
    color: white;
    animation: fadeInUp 1.4s ease-in-out;
    text-align: center;
}

/* Section Contact */
.section-contact {
    background-color: lightgrey;
    padding: 20px;
    animation: fadeInUp 1.6s ease-in-out;
    text-align: center;
}

/* Navigation Animation */
nav ul {
    display: flex;
    justify-content: center;
    gap: 20px;
    animation: slideInFromTop 1s ease-out;
    padding: 0;
}

nav ul li {
    display: inline-block;
}


.menu-item {
   
    text-align: center;
    
   
	width: calc(33.33% - 20px);
}


.menu-item img {
    border: 5px solid black;
    border-radius: 15px;
    padding: 5px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out, filter 0.3s ease-in-out;
	
}

.menu-item img:hover {
     transform: scale(1.1); /* Agrandit légèrement */
    box-shadow: 0px 8px 20px rgba(0, 0, 0, 0.3); /* Ombre plus marquée */

}






.cta-button {
    background-color: white;
    color: #d9534f;
    padding: 15px 25px;
    font-size: 1.2em;
    text-transform: uppercase;
    border-radius: 5px;
    margin-top: 20px;
    transition: background-color 0.3s ease, transform 0.3s ease-in-out;
    display: inline-block;
}

.cta-button:hover {
    background-color: #d9534f;
    color: white;
    transform: scale(1.1);
    animation: bounce 0.6s ease-in-out;
}
.section-inscription {
    padding: 20px;
    background-color: lightyellow ;
    margin: 20px 0;
}

.section-inscription form {
    display: flex;
    flex-direction: column;
}

.section-inscription input {
    margin: 10px 0;
    padding: 10px;
    border: 1px solid #ccc;
}

.section-inscription button {
    padding: 10px;
    background-color: #ff5722;
    color: grey;
    border: none;
    cursor: pointer;
}

.section-inscription button:hover {
    background-color: #e64a19;
}

footer {
    background-color: #222;
    color: white;
    text-align: center;
    padding: 10px 0;
    animation: fadeIn 2s ease-in;
}

/* Keyframes for animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideInFromLeft {
    from { transform: translateX(-100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

@keyframes slideInFromTop {
    from { transform: translateY(-100%); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

@keyframes fadeInUp {
    from { transform: translateY(20px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@keyframes waveText {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(3deg); }
}