/* mes variables css */
:root {
  --clr-light-theme: #f5fffa;
  --clr-dark-theme: #93ad97;
  --clr-titre-theme: #e7ddaf;
}

/* reset */
* {
  box-sizing: border-box;
  margin: 0;
}
body {
  padding: 0;
}
/* Déclaration et importation des fonts */
@font-face {
  font-family: "Playfair";
  src: url("/assets/font/Playfair/static/Playfair_9pt-Regular.ttf")
    format("truetype");
  font-weight: 400;
  font-style: normal;
}

/* Une police de base pour tout le site */
body {
  font-family: "Playfair";
}
/* preparation */

a {
  text-decoration: none;
}
a:visited {
  color: var(--clr-dark-theme);
}
li {
  list-style: none;
}
em {
  font-style: normal;
}
strong {
  font-weight: normal;
}
.container {
  padding-inline: 1.5rem;
}

/* gestion des polices globales (taille, justification, style) */
p {
  text-align: justify;
  font-size: 1.2rem;
  @media only screen and (min-width: 768px) {
    font-size: 1.4rem;
  }
}
h3 {
  text-align: justify;
  font-size: 1.2rem;
  font-weight: 400;
  @media only screen and (min-width: 768px) {
    font-size: 1.4rem;
  }
}
h2 {
  text-align: center;
  font-size: 1.7rem;
  color: var(--clr-titre-theme);
  @media only screen and (min-width: 768px) {
    font-size: 2rem;
  }
}

/* header */
.logo-saison {
  max-width: 100%;
  height: auto;
  padding: 3rem 0rem 1rem 0rem;
}

header {
  text-align: center;
  background-image: url("/assets/img/restaurantSaison.jpg");
  background-size: cover;
  background-position: center;
  color: var(--clr-light-theme);
  height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.container-a-boutons {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  max-width: fit-content;
}
.style-bouton {
  background-color: var(--clr-light-theme);
  color: var(--clr-dark-theme);
  border: solid 1px var(--clr-light-theme);
  font-size: 1rem;
  font-weight: 600;
  display: block;
  padding: 0.7rem 0.5rem 0.7rem 0.5rem;
  border-radius: 1.2rem;
  @media only screen and (min-width: 768px) {
    font-size: 1.5rem;
  }
}
.style-bouton:hover {
  color: var(--clr-titre-theme);
  background-color: var(--clr-dark-theme);
  border: solid 1px var(--clr-titre-theme);
  transition: 0.3s;
}
.slogan {
  display: flex;
  flex-direction: column;
  padding: 3rem 0 3rem 0;
  font-size: 2rem;
  @media only screen and (min-width: 768px) {
    font-size: 3rem;
  }
}

/* Main - partie Bienvenue et reservation */
.main-theme {
  background-color: var(--clr-light-theme);
  color: var(--clr-dark-theme);
}
.card {
  border: solid 1px var(--clr-dark-theme);
  padding: 0.5rem;
  background-color: var(--clr-dark-theme);
  color: var(--clr-light-theme);
  border-radius: 0.5rem;
}
.card-agencement {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  flex: 1;
}
main {
  padding-top: 2rem;
  padding-bottom: 2rem;
}
/* Bienvenue au restaurant Saison */
h1 {
  padding-bottom: 2rem;
  font-size: 2.5rem;
  font-weight: normal;
  text-align: center;
  color: var(--clr-titre-theme);
}
.titre-saison {
  font-size: 6rem;
}
.titre-page {
  display: flex;
  flex-direction: column;
}
.photo-terrasse-intérieure {
  width: 100%;
  height: auto;
  object-fit: contain;
}
.image-container {
  display: flex;
  flex: 1;
  align-items: center;
}
.partie-principale {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
.cuisine-moderne {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  flex-grow: 1;
  flex-basis: 0;
  @media only screen and (min-width: 768px) {
    padding-left: 1rem;
  }
}

.alignement-boutons-cartes {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.reseaux-sociaux {
  padding-left: 0;
  display: flex;
  justify-content: flex-start;
  gap: 1rem;
}
.reseaux-sociaux img {
  height: 26px;
  width: auto;
}

@media only screen and (min-width: 768px) {
  .identite-du-restaurant {
    flex-direction: row;
  }
  .liens-cartes {
    flex-direction: row;
  }
}
/* Presentation du chef */
.photo-du-chef {
  width: 100%;
  height: auto;
  padding: 1rem 0 1rem 0;
}
.portraitDuChef {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding-top: 2rem;
  /* max-width: 700px;
  margin: auto; */
  @media only screen and (min-width: 768px) {
    flex-direction: row-reverse;
    gap: 2rem;
  }
}
@media only screen and (min-width: 768px) {
  .description-du-chef {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    flex: 1;
  }
}
.portraitDuChef h2 {
  color: var(--clr-dark-theme);
}

/* footer */
footer {
  padding: 1rem 0 1rem 0;
}

.footer-theme {
  background-color: var(--clr-dark-theme);
  color: var(--clr-light-theme);
}
.footer-boite {
  border: solid 1px var(--clr-light-theme);
  padding: 1rem;
  @media (min-width: 768px) {
    flex-grow: 1;
  }
}

.footer-agencement {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  text-align: center;
}
.section-info-restaurant {
  display: flex;
  flex-direction: column;
  gap: 1rem;

  @media (min-width: 768px) {
    flex-direction: row;
    justify-content: space-around;
  }
}

.footer-boite h2 {
  padding-bottom: 1rem;
  text-align: start;
}
.footer-boite p {
  padding-bottom: 0.5rem;
  text-align: start;
  font-size: 1.1rem;
}

.footer-boite li {
  padding-bottom: 0.5rem;
}

.mentions-legales:visited {
  color: var(--clr-light-theme);
}
.realisation {
  font-size: 0.8rem;
}

/* Mentions légales */
.mentions-legales h1 {
  color: var(--clr-dark-theme);
}
.mentions-legales h2 {
  color: var(--clr-dark-theme);
}
.mentions-legales main {
  padding: 2rem;
}
.mentions-legales footer h2 {
  color: var(--clr-titre-theme);
}

/* banière cookies */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: white;
  border-top: 1px solid #ccc;
  padding: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: sans-serif;
  z-index: 9999;
}

/* Classe temporaire pour les brunchs */
.brunchs{
  text-align: center;
}