 /* ============================= */
 /*      GLOBAL STYLES            */
 /* ============================= */
body {
  margin: 0;
  font-family: Arial, sans-serif;
}

/* ============================= */
/*      HEADER                   */
/* ============================= */
header {
  display: flex;
  align-items: center;
  justify-content: flex-start; /* tout à gauche */
  padding: 15px 30px;
  background: orange; /* bannière orange */
  color: white;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  gap: 20px; /* espace entre logo et menu */
}

.header-left {
  display: flex;
  align-items: center;
  gap: 20px; /* espace entre logo et menu */
}

.logo {
  height: 80px; /* taille du logo */
}

.header-menu {
  display: flex;
  gap: 15px; /* espace entre les liens */
}

.header-menu a {
  text-decoration: none;
  color: white; /* liens en blanc */
  font-weight: bold;
}

/* ============================= */
/*      HERO SECTION             */
/* ============================= */
.hero {
  position: relative;
  height: 90vh;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  color: white;
  text-shadow: 2px 2px 5px black;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: url('../images/hero.jpg') center/cover no-repeat;
  z-index: 0;
}

/* SLIDER */
.slider {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0; left: 0;
}

.slide {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
}

.slide.active {
  opacity: 1;
}

/* HERO TEXT OVERLAY */
.overlay {
  position: relative;
  z-index: 2;
  text-align: center;
  background: rgba(0,0,0,0.4);
  padding: 40px;
  top: 50%;
  transform: translateY(-50%);
}

/* ============================= */
/*      BUTTON                   */
/* ============================= */
.btn {
  display: inline-block;
  background: orange;
  padding: 15px 30px;
  color: white;
  text-decoration: none;
  border-radius: 5px;
}

/* ============================= */
/*      GRID & CARDS             */
/* ============================= */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  padding: 40px;
}

.card {
  background: white;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  position: relative;
}

.card img {
  width: 100%;
}

.badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: orange;
  color: white;
  padding: 5px;
}

.vendu {
  position: absolute;
  top: 10px;
  right: 10px;
  background: black;
  color: white;
  padding: 5px;
}

/* ============================= */
/*      CTA SECTION              */
/* ============================= */
.cta {
  text-align: center;
  padding: 60px;
  background: black;
  color: white;
}

/* ============================= */
/*      RESPONSIVE ADJUSTMENTS   */
/* ============================= */
@media (max-width: 768px) {
  header {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }

  .header-left {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }

  .logo {
    height: 60px;
  }

  .header-menu {
    flex-wrap: wrap;
    justify-content: center;
  }
}