/* base.css */

/* Variables CSS pour une maintenance facilitée */
:root {
  --primary-color: #ff7d62;
  --secondary-color: #ff325d;
  --accent-color: #ffb200;
  --accent-color-dark: #eb5b00;
  --bg-color: #f5f5f5;
  --text-color: #333;
  --box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  --border-radius: 10px;
  --font-family: Arial, sans-serif;
  --transition-duration: 0.3s;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-family);
  background-color: var(--bg-color);
  color: var(--text-color);
  overflow-x: hidden;
  /* Empêche le défilement horizontal */
}

/* Styles généraux */
ul {
  list-style-type: none;
  padding: 0;
  margin: 0;
}

li {
  position: relative;
  margin-bottom: 1rem;
}

a {
  text-decoration: none;
  color: var(--text-color);
}

h2 {
  font-style: italic;
  font-size: 2rem;
  font-weight: bold;
  text-align: center;
  margin: 1rem 0;
  letter-spacing: 2px;
}


/* header.css */

header {
  background-color: #fff;
  padding: 1rem;
  text-align: center;
  box-shadow: var(--box-shadow);
  position: sticky;
  top: 0;
  z-index: 1000;
}

header h1 {
  background: linear-gradient(
    20deg,
    var(--primary-color),
    var(--secondary-color)
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: 2.5rem;
}

nav {
  display: flex;
  justify-content: center;
  align-items: center;
}

.burger-menu {
  display: none;
  font-size: 2rem;
  cursor: pointer;
}

#menuList {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

#menuList li {
  display: inline;
}

#menuList a {
  color: #fff;
  padding: 0.5rem 1rem;
  background: linear-gradient(
    20deg,
    var(--primary-color),
    var(--secondary-color)
  );
  border-radius: 15px;
  display: inline-block;
  width: 140px;
  text-align: center;
}

#codes_promos_header {
  cursor: pointer;
}




/* carousel.css */

.carousel {
  position: relative;
  overflow: hidden;
  width: 100%;
  height: calc(100vh - 142px);
}

.carousel-inner {
  display: flex;
  transition: transform 0.5s ease-in-out;
  height: 100%;
}

.carousel-item {
  min-width: 100%;
  overflow-y: auto;
}

.carousel-control {
  border: none;
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  color: #fff;
  font-size: 2rem;
  padding: 0.5rem;
  cursor: pointer;
  z-index: 2000;
  background: linear-gradient(
    20deg,
    var(--primary-color),
    var(--secondary-color)
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  transition:
    transform 0.5s ease-out,
    -webkit-text-fill-color 0.5s ease-out;
}

.carousel-control::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: transparent;
  z-index: -1;
  border-radius: 5px;
  transition: background-color 0.5s ease-out;
}

.carousel-control:hover {
  -webkit-text-fill-color: white;
  transform: translateY(-50%) scale(1.05);
}

.carousel-control:hover::before {
  background-color: rgba(255, 50, 93, 1);
}

.carousel-control.prev {
  left: 10px;
}

.carousel-control.next {
  right: 10px;
}

/* Styles spécifiques aux items du carousel */
#item1,
#item2,
#item3 {
  border-radius: var(--border-radius);
}

#item1 {
  background-color: #bfd8af;
}

#item2 {
  background-color: #93bfcf;
}

#item3 {
  background-color: var(--accent-color);
}

