/* Réinitialisation des styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
/* Appliquer Lexend partout */
body {
    font-family: 'Lexend', sans-serif;
}

/* Utilisation des différentes graisses */
.light { font-weight: 100; }
.regular { font-weight: 400; }
.medium { font-weight: 500; }
.semi-bold { font-weight: 600; }
.bold { font-weight: 700; }


/* Header avec effet parallax */
header {
    height: 50vh;
    background: url(/img/header-arbre-fruite.jpg) center top fixed;
    background-size: cover;
    background-position-y: -40vh;
    display: flex;
    background-repeat: no-repeat;
    align-items: center;
    justify-content: center;
    color: white;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.7);
    position: relative;
}
header:after {
    content: '';
    width: 50Vw;
    height: 100%;
    display: block;
    background-color: #0000005e;
    position: absolute;
    right: 0;
}

/* Contenu du header */
.header-content {
    padding-left: 20px;
}

/* Conteneur principal */
.content {
    max-width: 1200px;
    margin: 50px auto;
    padding: 0 20px;
}

.row {
    display: flex;
    gap: 20px;
    align-items: stretch;
    z-index: 999;
    width: 1140px;
}
.column-1 {
    flex: 50%;
    display: flex
;
    flex-wrap: wrap;
    gap: 0 2%;
    flex-direction: row;
}


.column-2 {
    flex: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100%;
    flex-direction: column;
}

.sub-column.small {
    flex: 18%;
    margin-bottom: 5px;
    background-color: #cccc02;
}

.sub-column.large {
    flex: 80%;
    padding: 15px;
    margin-bottom: 5px;
}

.column-2 img {
    max-width: 100%;
    height: auto;
    display: block;
    width: 350px;
}
.adresse {
    display: block;
    width: 100%;
    text-align: center;
    font-size: 1.3em;
}

/* Espacement pour effet parallax */
.spacer {
    height: 40vh;
    background: url(/img/header-arbre-fruite.jpg) center bottom 0% fixed;
    background-repeat: no-repeat;
}

/* Footer */
footer {
    height: 50px;
    background: #333;
    color: white;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}
ul {
    padding-left: 15px;
    font-weight: 100;
}
h1 {
    font-size: 1.8em;
}
h1 span {
    display: block;
    font-size: 1.5em;
}
span.ouverture {
    font-size: 1.3em;
    margin: 10px 0;
    display: block;
}
h3 {
    color: #cccc00;
    margin-bottom: 15px;
}

p{
  font-weight: 100;
}

a, a:visited {
    color: #000 !important;
    text-decoration: none;
}

.photo-row {
    display: flex;
    width: 100vw;
    padding-top: 20px;
    gap: 0;
    justify-content: center;
}

.photo-row img {
    width: 25%;
    height: auto;
    object-fit: cover;
}

.restaurant{
  background: url(/img/logo-white.png) no-repeat 50% 10px / contain;

}
.engage{
  background: url(/img/coeur-main.png) no-repeat 50% 10px / contain;

}
.cuisine{
  background: url(/img/assiette.png) no-repeat 50% 10px / contain;

}
.lieu{
  background: url(/img/cuisine.jpg) no-repeat center/cover;
  border: inherit !important;

}
.sub-column.small {
    flex: 18%;
    margin-bottom: 5px;
    background-color: #cccc02;
    border: 10px solid #cccc02;
}
/* 📌 Responsive pour les écrans de moins de 1024px (tablettes et mobiles) */
@media (max-width: 1024px) {
  header:after {
      width: 100vw;
      right: 0;
  }
    .row {
        flex-direction: column; /* ✅ Passe tout en colonne */
        width: 100%;
        gap: 10px;
    }

    .column-1,
    .column-2 {
        flex: 100%; /* ✅ Les colonnes prennent toute la largeur */
    }

    .photo-row {
        flex-wrap: wrap; /* ✅ Permet aux images de s'adapter */
    }

    .photo-row img {
        width: 48%; /* ✅ Deux images par ligne */
    }
}

/* 📌 Responsive pour les écrans de moins de 768px (mobiles) */
@media (max-width: 768px) {
  header:after {
      width: 100vw;
      right: 0;
  }
    .photo-row img {
        width: 100%; /* ✅ Une seule image par ligne */
    }

    .sub-column.small {
        flex: 100%; /* ✅ Les icônes prennent toute la largeur */
        height: 80px; /* ✅ Ajuste la taille des icônes */
        background-size: 50px auto; /* ✅ Ajuste l'icône */
        background-position: center;
    }

    .sub-column.large {
        flex: 100%; /* ✅ Les textes prennent toute la largeur */
    }

    .column-2 img {
        width: 250px; /* ✅ Réduction du logo */
    }

    .lieu {
    background: url(/img/IMG_2319.PNG)no-repeat 50% -30px / cover !important;
    border: inherit !important;
  }
}
