@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700&family=Oswald:wght@400;500;600;700&display=swap");

/* =========================
   GÉNÉRAL
========================= */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Montserrat", sans-serif;
  background-color: #f6f1e9;
  color: #191919;
}

/* =========================
   HEADER
========================= */

header {
  width: 100%;
  height: 150px;
  padding: 0 7%;

  display: flex;
  align-items: center;
  justify-content: space-between;

  background-color: #f6f1e9;
}

.logo-link {
  display: flex;
  align-items: center;
}

.logo-img {
  width: 200px;
  height: auto;
  display: block;
}

nav {
  display: flex;
  gap: 30px;
}

nav a {
  color: #191919;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
}

nav a:hover {
  color: #b51f24;
}

/* =========================
   HERO / ACCUEIL
========================= */

.hero {
  min-height: calc(100vh - 150px);
  padding: 40px 20px;

  display: flex;
  justify-content: center;
  align-items: center;

  text-align: center;
}

.hero-content {
  max-width: 800px;
}

.subtitle {
  margin-bottom: 18px;

  color: #b51f24;
  text-transform: uppercase;

  font-size: 15px;
  font-weight: 700;
  letter-spacing: 2px;
}

h1 {
  margin-bottom: 25px;

  font-family: "Oswald", sans-serif;
  font-size: 80px;
  line-height: 1;
  letter-spacing: 3px;
}

.description {
  max-width: 600px;
  margin: 0 auto 35px;

  color: #555;

  font-size: 18px;
  line-height: 1.7;
}

/* =========================
   BOUTONS ACCUEIL
========================= */

.buttons {
  display: flex;
  justify-content: center;
  gap: 15px;
}

.btn {
  padding: 16px 30px;

  border-radius: 6px;

  text-decoration: none;
  font-weight: 700;

  transition: 0.2s;
}

.btn-primary {
  background-color: #b51f24;
  color: white;
}

.btn-primary:hover {
  background-color: #94191d;
  transform: translateY(-2px);
}

.btn-secondary {
  border: 2px solid #191919;
  color: #191919;
}

.btn-secondary:hover {
  background-color: #191919;
  color: white;
}

/* =========================
   EMPLACEMENT DU JOUR
========================= */

.today-home {
  max-width: 450px;
  margin: 50px auto 0;
  padding: 18px 25px;

  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;

  background-color: white;

  border: 1px solid #ddd5ca;
  border-radius: 10px;

  text-align: left;
}

.today-dot {
  width: 10px;
  height: 10px;

  flex-shrink: 0;

  background-color: #b51f24;
  border-radius: 50%;
}

.today-title {
  margin: 0 0 4px;

  color: #b51f24;

  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
}

.today-home #today-location {
  margin: 0;

  font-family: "Oswald", sans-serif;
  font-size: 18px;
  font-weight: 600;
}

.today-home #today-hours {
  margin: 3px 0 0;

  color: #777;
  font-size: 13px;
}

/* =========================
   CARTE DES PIZZAS
========================= */

.menu-section {
  padding: 100px 7%;
  background-color: #f6f1e9;
}

.menu-header {
  max-width: 700px;
  margin: 0 auto 40px;
  text-align: center;
}

.menu-small-title {
  margin-bottom: 10px;

  color: #b51f24;

  font-size: 13px;
  font-weight: 700;
  letter-spacing: 3px;
}

.menu-header h2 {
  margin-bottom: 10px;

  font-family: "Oswald", sans-serif;
  font-size: 55px;
}

.menu-header > p:last-child {
  color: #666;
  font-size: 14px;
}

/* =========================
   TÉLÉCHARGEMENT PDF
========================= */

.download-menu {
  display: inline-block;

  margin-top: 20px;
  padding-bottom: 4px;

  color: #b51f24;

  border-bottom: 1px solid #b51f24;

  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
}

.download-menu:hover {
  color: #191919;
  border-color: #191919;
}

/* =========================
   CATÉGORIES DE PIZZAS
========================= */

.menu-tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;

  margin-bottom: 50px;
}

.menu-tab {
  padding: 12px 25px;

  background-color: transparent;
  border: 1px solid #cfc8be;
  border-radius: 50px;

  font-family: "Montserrat", sans-serif;
  font-weight: 700;

  cursor: pointer;
  transition: 0.2s;
}

.menu-tab:hover {
  border-color: #b51f24;
  color: #b51f24;
}

.menu-tab[data-category="tomate"].active {
  background-color: #e31e24;
  border-color: #e31e24;
  color: white;
}

.menu-tab[data-category="creme"].active {
  background-color: #18aeea;
  border-color: #18aeea;
  color: white;
}

.menu-tab[data-category="pecheurs"].active {
  background-color: #0069a7;
  border-color: #0069a7;
  color: white;
}

/* =========================
   LISTE DES PIZZAS
========================= */

.pizza-menu {
  max-width: 1000px;
  margin: auto;

  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px 40px;
}

.pizza-card {
  padding: 22px;

  background-color: white;

  border: 2px solid;
  border-radius: 12px;

  transition: 0.2s;
}

.pizza-card:hover {
  transform: translateY(-3px);
}

.pizza-card.tomate {
  border-color: #e31e24;
}

.pizza-card.tomate .pizza-top span {
  color: #e31e24;
}

.pizza-card.creme {
  border-color: #18aeea;
}

.pizza-card.creme .pizza-top span {
  color: #18aeea;
}

.pizza-card.pecheurs {
  border-color: #0069a7;
}

.pizza-card.pecheurs .pizza-top span {
  color: #0069a7;
}

.pizza-top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 20px;

  margin-bottom: 7px;
}

.pizza-top h3 {
  font-family: "Oswald", sans-serif;
  font-size: 21px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.pizza-top span {
  font-family: "Oswald", sans-serif;
  font-size: 20px;
  font-weight: 700;

  white-space: nowrap;
}

.pizza-card p {
  margin: 0;

  color: #666;

  font-size: 13px;
  line-height: 1.6;
}

/* =========================
   EMPLACEMENTS
========================= */

.emplacements {
  padding: 100px 7%;
  background-color: #ffffff;
}

.locations-container {
  max-width: 1100px;
  margin: auto;
}

.locations-container > h2 {
  margin-bottom: 50px;

  font-family: "Oswald", sans-serif;
  font-size: 45px;
  text-align: center;
}

.locations-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.location-card {
  padding: 30px 20px;

  border: 1px solid #ddd;
  border-radius: 10px;

  text-align: center;
}

.location-card h3 {
  margin-bottom: 15px;

  color: #b51f24;

  font-family: "Oswald", sans-serif;
  font-size: 25px;
}

.location-card p {
  margin-bottom: 10px;
  font-size: 15px;
}

.location-card span {
  font-weight: 700;
}

/* Centre le dimanche sur la dernière ligne */
.location-card:last-child:nth-child(odd) {
  grid-column: 1 / -1;
  justify-self: center;
  width: calc(50% - 10px);
}

/* =========================
   CONTACT
========================= */

.contact {
  padding: 90px 20px;

  background-color: #191919;
  color: white;

  text-align: center;
}

.contact h2 {
  margin-bottom: 10px;

  font-family: "Oswald", sans-serif;
  font-size: 45px;
}

.contact p {
  margin-bottom: 30px;
  color: #aaa;
}

.call-button {
  display: inline-block;

  padding: 18px 35px;

  background-color: #b51f24;
  color: white;

  border-radius: 7px;

  text-decoration: none;
  font-weight: 700;
}

/* =========================
   FOOTER
========================= */

footer {
  padding: 60px 7% 20px;

  background-color: #171717;
  color: white;
}

.footer-content {
  max-width: 1200px;
  margin: auto;

  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
}

.footer-logo {
  width: 150px;
  height: auto;
}

.footer-links {
  display: flex;
  gap: 25px;
}

.footer-links a {
  color: #ccc;

  text-decoration: none;
  font-size: 14px;
}

.footer-links a:hover {
  color: white;
}

.footer-contact {
  text-align: right;
}

.footer-contact p {
  margin-bottom: 5px;

  color: #999;
  font-size: 12px;
}

.footer-contact a {
  color: white;

  font-family: "Oswald", sans-serif;
  font-size: 22px;

  text-decoration: none;
}

.footer-bottom {
  max-width: 1200px;
  margin: 40px auto 0;
  padding-top: 20px;

  border-top: 1px solid #333;

  text-align: center;
}

.footer-bottom p {
  margin: 0;

  color: #777;
  font-size: 11px;
}

/* =========================
   VERSION MOBILE
========================= */

@media (max-width: 750px) {
  /* HEADER */

  header {
    height: 120px;
    padding: 15px 20px;
    justify-content: center;
  }

  .logo-link {
    justify-content: center;
  }

  .logo-img {
    width: 150px;
    height: auto;
  }

  nav {
    display: none;
  }

  /* ACCUEIL */

  .hero {
    min-height: auto;
    padding: 40px 20px 60px;
  }

  h1 {
    font-size: 52px;
  }

  .description {
    font-size: 16px;
  }

  .buttons {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  /* CARTE */

  .menu-section {
    padding: 45px 20px;
  }

  .menu-header {
    margin-bottom: 25px;
  }

  .menu-header h2 {
    font-size: 42px;
  }

  .menu-tabs {
    gap: 7px;
    margin-bottom: 25px;
  }

  .menu-tab {
    padding: 10px 16px;
    font-size: 12px;
  }

  .pizza-menu {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .pizza-card {
    padding: 10px 0;

    background: transparent;

    border: none;
    border-bottom: 1px solid #d8d0c7;
    border-radius: 0;
  }

  .pizza-card:hover {
    transform: none;
  }

  .pizza-top {
    margin-bottom: 2px;
    gap: 10px;
  }

  .pizza-top h3 {
    font-size: 16px;
    line-height: 1.1;
  }

  .pizza-top span {
    font-size: 16px;
  }

  .pizza-card p {
    margin: 0;

    font-size: 10px;
    line-height: 1.3;
  }

  /* EMPLACEMENTS */

  .emplacements {
    padding: 70px 20px;
  }

  .locations-container > h2 {
    font-size: 36px;
  }

  .locations-grid {
    grid-template-columns: 1fr;
  }

  .location-card:last-child:nth-child(odd) {
    grid-column: auto;
    width: 100%;
  }

  /* CONTACT */

  .contact h2 {
    font-size: 36px;
  }

  /* FOOTER */

  .footer-content {
    flex-direction: column;
    text-align: center;
  }

  .footer-links {
    flex-direction: column;
    gap: 12px;
  }

  .footer-contact {
    text-align: center;
  }
}
