body {
    font-family: 'Atma', sans-serif;
    margin: 0;
    padding: 0;
}
.light-text {
    font-weight: 300;
}

.regular-text {
    font-weight: 400;
}

.medium-text {
    font-weight: 500;
}

.semi-bold-text {
    font-weight: 600;
}

.bold-text {
    font-weight: 700;
}
/* barre en-tête */
header {
    height: 128px;
    background-color: #AF040E;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 40px;
}

.logo img {
    height: 100px; /* Ajustez en fonction de votre logo */
    width: auto; /* Maintient les proportions de l'image */
}

.order-button {
    border: none;
    cursor: pointer;
    transition: background-color 0.3s, color 0.3s;
    font-size: 16px;
}

.header-button {
    background-color: #F60917;
    color: white;
    font-family: 'Atma', sans-serif;
    font-weight: 700;
    font-size: 28px;
    border-radius: 5px;
    width: 230px; 
    height: 60px;
    display: flex;  /* Utilise le modèle de boîte flexible */
    justify-content: center;  /* Centre le contenu horizontalement */
    align-items: center;  /* Centre le contenu verticalement */
    text-align: center;  
    padding: 0px 0px;
}

.header-button:hover {
    background-color: white;
    color: #000000;
}



/* 1ère section */
.intro {
    background-image: url('images/123.png');
    background-repeat: no-repeat;  /* Empêche la répétition de l'image */
    background-size: cover;  /* Fait en sorte que l'image couvre la totalité de la section */
    background-position: center;  /* Centre l'image */
    position: relative;
    padding: 50px 50px 50px 100px;
    color: white;
    min-height: 600px;
    display: flex;
    justify-content: center; /* Centre horizontalement */
    flex-direction: column;
}
.overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}
.intro p {
    position: relative;
    z-index: 2;
    text-align: left; /* Alignement du texte à gauche */
}
.headline {
    font-size: 100px;
    color: white;
    line-height: 100px;
    margin-bottom: 0px;
    text-shadow: 
        -3px -3px 0 #000,  
         3px -3px 0 #000,
        -3px 3px 0 #000,
         3px 3px 0 #000;
}

.subheadline {
    font-size: 36px;
    color: white;
    line-height: 50px;
    margin-top: 35px; /* 35px=espacement par défaut */
    text-shadow: 
        -2px -2px 0 #000,  
         2px -2px 0 #000,
        -2px 2px 0 #000,
         2px 2px 0 #000;
}

.intro .order-button {
    position: relative;
    z-index: 2;
    background-color: #F60917;
    color: white;
    padding: 15px 30px;
    border: none;
    border-radius: 5px;
    text-decoration: none;
    font-family: 'Atma', sans-serif;
    font-size: 28px;
    font-weight: 700; /* Utilise la variante Bold (700) de Atma */
    cursor: pointer;
    transition: background-color 0.3s, color 0.3s;
    width: 190px; /* Définit la largeur du bouton */
    height: 30px; /* Définit la hauteur du bouton */
    display: flex;  /* Utilise le modèle de boîte flexible */
    justify-content: center;  /* Centre le contenu horizontalement */
    align-items: center;  /* Centre le contenu verticalement */
    text-align: center;  /* Assure que le texte est centré si le bouton devient plus grand que le texte */
}

.intro .order-button:hover {
    background-color: black;
    color: white;
}

/* 2ème section */
.about {
    display: flex;
    justify-content: space-between;
    align-items: flex-start; /* Aligne le contenu en haut de la section */
    padding: 50px; /* Ajoute un padding autour du contenu pour l'espacement */
    background-color: #AF040E;
    color: white;
}

.text-left {
    flex: 1; /* Prend 50% de la largeur */
    padding-right: 20px; /* Espacement entre le texte et l'image */
}

.image-right {
    flex: 1;
    display: flex;  /* Transforme ce conteneur en flexbox */
    justify-content: flex-end;  /* Aligne l'image à droite dans son conteneur */
}

.image-right img {
    width: 100%; /* Assure que l'image ne dépasse pas la largeur de son conteneur */
    height: auto; /* Maintient les proportions de l'image */
}

.about a {
    font-weight: bold;
    color: white;
    text-decoration: underline;
}

.about a:hover {
    text-decoration: none; /* optionnel, ajoute un soulignement au survol */
}

.map-right {
    flex: 1;
}

/* 3ème section - Produits */
.produits-section {
    background-color: #AF040E; /* Fond rouge */
    padding: 100px; /* Espacement des bords */
    text-align: center; /* Titre centré */
}

.section-title {
    color: white; /* Titre en blanc */
    margin-bottom: 50px; /* Espacement sous le titre */
    font-size: 48px; /* Taille du titre */
}

.grid-container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 20px; /* Espacement entre les cases */
}

.grid-item {
    width: 384px; /* Largeur fixe */
    border-radius: 15px; /* Coins arrondis */
    overflow: hidden; /* Cache les débordements */
    margin-bottom: 20px; /* Espacement en bas de la case */
}

.grid-image {
    width: 100%; /* Largeur totale de la case */
    height: 528px; /* Hauteur fixe */
    background-size: cover;
    background-position: center;
    transition: transform 0.3s; /* Animation du zoom */
    position: relative; /* Pour la position absolue de la légende */
    display: flex; /* Utilisé pour aligner la légende */
    align-items: flex-end; /* Aligner la légende en bas */
}

.grid-label {
    width: 100%; /* Largeur totale */
    height: 144px; /* Hauteur de l'étiquette */
    background-color: rgba(0, 0, 0, 0.7); /* Fond semi-transparent noir */
    color: white; /* Texte en blanc */
    font-size: 24px; /* Taille du texte */
    font-weight: bold; /* Texte en gras */
    text-align: center; /* Texte centré */
    line-height: 144px; /* Hauteur de ligne pour centrer le texte verticalement */
    position: absolute; /* Positionnement absolu par rapport à son parent */
    bottom: 0; /* Bas du parent */
    left: 0; /* Gauche du parent */
    transition: background-color 0.3s, text-decoration 0.3s; /* Animation du fond et du soulignement */
}

.grid-item:hover .grid-image {
    transform: scale(1.1); /* Zoom de l'image */
}

.grid-item:hover .grid-label {
    background-color: rgba(0, 0, 0, 0.9); /* Fond plus opaque au survol */
    text-decoration: underline; /* Ajoute un soulignement au survol */
}
