* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Arial, sans-serif;

  /* Image de fond */
  background-image: url("images/local\ kitchen.jpg"); /* mets ton image ici */
  background-repeat: no-repeat; 
  background-attachment: fixed; 
  background-position: center; 
  background-size: cover; 
}



.header-img {
  width: 100%;
  height: auto;
  max-height: 800px;
  object-fit: cover;
  display: block;
}

/* -----------------------------------------------------MENU DE NAVIAGATION-------------------------------------------------------- */

.navbar {
  margin-top: 20px;
  background-color: #f6d163;
  text-align: center;
}

.navbar ul {
  list-style: none;
  display: flex;
  justify-content: center;
  padding: 0.5em 0;
}

.navbar li {
  margin: 0 1.5em;
}

.navbar a {
  color: rgb(0, 0, 0);
  text-decoration: none;
  font-weight: bold;
  padding: 0.5em;
}

.navbar a:hover {
  background-color: #ffffff;
  border-radius: 5px;
}

main {
  padding: 2em;
}

section {
  margin-bottom: 2em;
}

/* --------------------------------------------------------------------------------LES CONTACTS-------------------------------------------------- */
.contact-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 20px;
}

.contact-left,
.contact-right {
  display: flex;
  flex-direction: column;
}

.contact-right{
  gap: 15px;
  align-items: center;
}

.contact-left p {
  margin: 5px 0;
}

.icon {
  width: 30px;
  height: 30px;
  margin-bottom: 10px;
  transition: transform 0.3s ease;
}

.icon:hover {
  transform: scale(1.1);
}

.social-link:hover span {
    text-decoration: underline;
}


/* ----------------------------------------------------------------SLIDER------------------------------------------------------------- */

.slider-container {
    position: relative;
    width: 80%;
    margin: auto;
    overflow: hidden;
}

.slider {
  display: flex;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none;  /* IE 10+ */
}

.slider::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Opera */
}

.slider img {
  height: 200px;
  margin-right: 10px;
  border-radius: 10px;
}

.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 30px;
  background-color: rgba(0,0,0,0.5);
  color: white;
  border: none;
  cursor: pointer;
  padding: 10px;
  z-index: 1;
}

.slider-btn.left {
  left: 0;
}

.slider-btn.right {
  right: 0;
}

/* --------------------------------------------------PIED DE PAGES---------------------------------------------------------------------------------------------- */
.footer {
  background-color: #111; /* couleur de fond */
  color: white;
  text-align: center;
  padding: 20px;
  font-size: 0.9rem;
}

.footer a {
  color: #ccc;
  text-decoration: none;
}

.footer a:hover {
  text-decoration: underline;
}
/* ---------------------------------------------------CALENDRIER-------------------------------------------------------------------------------------------------------- */

.event-calendar {
  padding: 20px;
  border-radius: 10px;
  max-width: 600px;
  margin: 0 auto;
}

.event-calendar h2 {
  text-align: center;
  margin-bottom: 15px;
}

.event-calendar ul {
  list-style: none;
  padding: 0;
}

.event-calendar li {
  margin: 10px 0;
  font-size: 1.1rem;
}

.event-calendar .date {
  font-weight: bold;
  color: #707046;
}