body {
  margin: 0;
}

/* RESET DE BASE */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Raleway", sans-serif;
}
header {
  position: relative;
  z-index: 2;
}

.container {
  width: 100%;
  max-width: 1650px;
  margin: 100px auto;
}
h1 {
  font-family: "Oswald", sans-serif;
}

/* NAVBAR PRINCIPALE */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #00000087;
  padding: 1rem 2rem;
  position: fixed;
  width: 100%;
  backdrop-filter: blur(15px);
}
.navbar-brand a {
  font-size: 1.5rem;
  color: white;
  font-weight: bold;
  text-decoration: none;
  display: flex;
  align-items: center;
}
.navbar-brand img {
  width: 3rem;
}
.navbar-menu {
  font-family: "Oswald", sans-serif;
  text-transform: uppercase;
}

.navbar-menu a.active,
.mobile-menu a.active {
  color: #d0c5a9;
  font-weight: bold;
  position: relative;
}

.navbar-menu a.active::after,
.mobile-menu a.active::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 2px;
  background-color: #d0c5a9;
    transition: all 0.3s ease;
}

/* Icônes de droite (connexion, panier, burger) */
.navbar-icons {
  display: flex;
  align-items: center;
  gap: 30px;
}

.icon-link {
  font-size: 28px;
  position: relative;
  /* text-decoration: none;
    background: linear-gradient(to bottom, white, #d8cdba);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent; */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: white;
}

.cart-badge {
  position: absolute;
  top: -6px;
  right: -10px;
  background-color: red;
  font-size: 13px;
  font-weight: bold;
  padding: 4px 7px;
  border-radius: 999px;
  z-index: 10;
  line-height: 1;
  white-space: nowrap;
  text-align: center;
  min-width: 20px;
  border: solid 2px #fff;
}
.navbar-toggle {
  display: none;
  flex-direction: column;
  background: none;
  border: none;
  cursor: pointer;
}
.navbar-toggle .bar {
  width: 25px;
  height: 3px;
  margin: 3px 0;
  background-color: white;
  border-radius: 2px;
}

/* SIDEBAR MOBILE */
.mobile-menu {
  position: fixed;
  top: 0;
  right: -300px;
  height: 100%;
  width: 250px;
  background-color: #000000a1;
  box-shadow: -2px 0 10px rgba(0, 0, 0, 0.15);
  padding: 2rem 1.5rem;
  transition: right 0.3s ease-in-out;
  z-index: 1000;
  backdrop-filter: blur(15px);
}
.mobile-menu.open {
  right: 0;
}
.mobile-menu .close-btn {
  background: none;
  border: none;
  font-size: 2rem;
  color: #ffffff;
  position: absolute;
  top: 1rem;
  right: 1rem;
  cursor: pointer;
}
.mobile-menu ul {
  list-style: none;
  margin-top: 4rem;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}
.mobile-menu ul li a {
  text-decoration: none;
  font-size: 1.1rem;
  color: #ffffff;
  font-weight: 500;
  font-family: "Oswald", sans-serif;
}

/* Menu horizontal pour grand écran */
.navbar-menu {
  display: flex;
  gap: 1.2rem;
  list-style: none;
}
.navbar-menu li a {
  color: white;
  font-weight: 500;
  text-decoration: none;
  font-size: 1rem;
}

/* SECTION HEADER */
.header {
  position: relative;
  top: 0;
  left: 0;
  width: 100%;
  width: 100%;
  height: 100dvh;
  z-index: 1;
  overflow: hidden;
}

/* CAROUSEL */
.carousel {
  position: relative;
  width: 100vw;
  height: 100%;
  overflow: hidden;
}
.carousel-track {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.5s ease-in-out;
  user-select: none;
  -webkit-user-drag: none;
  cursor: grab;
}
.carousel-track:active {
  cursor: grabbing;
}
.carousel-item {
  position: relative;
  width: 100vw;
  height: 100dvh;
  flex: 0 0 100%;
}
.carousel-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.carousel-item::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgb(0 0 0 / 30%);
  z-index: 1;
}
.carousel-caption {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: white;
  padding: 1rem 2rem;
  max-width: 90%;
}
.carousel-caption h5 {
  font-size: 36px;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  font-family: "Oswald", sans-serif;
  color: #cfa670;
  text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.7);
}
.carousel-caption h2 {
  font-size: 85px;
  margin-bottom: 1rem;
  font-family: "Oswald", sans-serif;
  line-height: 1;
}
.carousel-caption p {
  font-size: 30px;
  line-height: 1;
  font-family: "Oswald", sans-serif;
}

.main-bg {
  position: relative;
  background: none;
}

.main-bg::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url(../images/vieux-fond-noir-texture-grunge-fond-d-ecran-sombre-tableau-noir-tableau-noir-betonBD.jpg);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  z-index: -1;
}

/* SECTION ACTIVITY */
.activity {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}
.activity-item {
  flex: 1 1 calc(33.333% - 1rem);
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  height: 300px;

  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.activity-item:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
}
.activity-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 8px;
  transition: transform 0.3s ease;
}
.activity-content {
  position: absolute;
  bottom: 0;
  width: 100%;
  background: rgba(0, 0, 0, 0.4);
  color: white;
  text-align: center;
  padding: 1rem;
  transition: background 0.3s ease;
}
.activity-item:hover .activity-content {
  background: rgba(0, 0, 0, 0.7);
}
.activity-content h3 {
  font-size: 31px;
  font-family: "Oswald", sans-serif;
  font-weight: 300;
}

/* SECTION ABOUT */
.about {
  font-family: "Oswald", sans-serif;
  font-weight: 300;
  text-align: justify;
}
.about h1 {
  font-size: 55px;
  justify-content: center;
  display: flex;
  font-weight: 200;
  text-transform: uppercase;
  color: white;
}
.about .about-content {
  display: grid;
  grid-template-columns: 35% 65%;
  align-items: center;
  gap: 2rem;
  padding: 50px 0;
  position: relative;
}
.about .about-text,
.about .about-image {
  flex: 1 1 100%;
}
.about .about-text {
  padding: 0 30px 0 0;
  font-size: 24px;
}
.about .absolut-text {
  top: 50%;
  left: 0;
  position: absolute;
  transform: translateY(-50%);
  width: 45%;
  padding: 2rem;
  z-index: 1;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
  font-size: 25px;
  border-radius: 10px;
  background: rgb(0, 0, 0, 35%);
  color: white;
  backdrop-filter: blur(4px);
  border: solid 1px white;
  text-shadow: 4px 4px 4px black;
}
.about-text p {
  margin-bottom: 1.2rem;
  line-height: 1.6;
}
.about .about-image {
  display: flex;
  gap: 1rem;
  width: 95%;
  box-sizing: border-box;
}
.about-image img {
  width: 50%;
  height: auto;
  object-fit: cover;
  display: block;
  border-radius: 10px;
}

/* PARALLAX */
.parallax-download {
  position: relative;
  z-index: 1;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  padding: 6rem 1rem;
  min-height: 400px;
}

.parallax-download::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url(../images/parallax/parallax.jpg);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;

  z-index: -2;
  pointer-events: none;
}

.parallax-download::after {
  content: "";
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.3);
  z-index: -1;
}

.parallax-content {
  z-index: 2;
  padding: 2rem;
  max-width: 800px;
}
.parallax-download .download-icon {
  margin: 50px 0 0 0;
}
.parallax-download .download-links {
  display: grid;
  grid-template-columns: repeat(2, auto);
  gap: 1.5rem;
  justify-content: center;
  align-items: center;
  margin-top: 2rem;
}
.parallax-download h2 {
  font-family: "Oswald", sans-serif;
  font-size: 48px;
  text-shadow: #101010 1px 0 10px;
}
.parallax-download .download-link img.android {
  width: 230px;
  height: auto;
  display: block;
}
.parallax-download .download-link img.apple {
  width: 255px;
  height: auto;
  display: block;
}

/* GALLERY */
.gallery {
  margin: 50px 0 0 0;
}
.gallery h1 {
  text-align: center;
  margin: 50px 0 50px 0;
  font-size: 55px;
  justify-content: center;
  display: flex;
  font-weight: 200;
  text-transform: uppercase;
  color: white;
}
.gallery .gallery-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 3px;
}
.gallery .gallery-img {
  width: 100%;
  height: 365px;
  cursor: pointer;
  transition: transform 0.3s ease;
  object-fit: cover;
}
.gallery .gallery-img:hover {
  transform: scale(1.03);
}

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.9);
  justify-content: center;
  align-items: center;
  z-index: 9999;
  flex-direction: column;
}
.lightbox-img {
  max-width: 90%;
  max-height: 80vh;
  border-radius: 8px;
  width: 60%;
}
.lightbox .close-btn,
.lightbox .prev,
.lightbox .next {
  position: absolute;
  color: white;
  font-size: 3rem;
  cursor: pointer;
  user-select: none;
}
.close-btn {
  top: 20px;
  right: 30px;
}
.prev {
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
}
.next {
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
}

/* FOOTER */
.footer {
  background-color: #f5f5f5;
  padding: 2rem 1rem;
  font-family: "Oswald", sans-serif;
  text-align: center;
  font-size: 16px;
  position: relative;
}

.footer-bottom {
  color: #000;
}

.footer-warning-img {
  max-width: 100%;
  height: auto;
  width: 50%;
  margin-bottom: 1rem;
}

.footer-warning {
  color: #333;
  font-weight: 500;
  margin-bottom: 2rem;
}

.footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
}

.footer-links a {
  text-decoration: none;
  color: #000;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: #cfa670;
}

.footer-bottom p {
  margin: 0.3rem 0;
}

.footer-bottom .credits {
  margin-top: 1rem;
  font-size: 0.9rem;
  color: #666;
}
.footer-bottom .copyright {
  font-size: 0.8rem;
  color: #999;
  margin-top: 0.5rem;
}

/* Responsive */
@media (max-width: 576px) {
  .footer-links ul {
    flex-direction: column;
    gap: 0.5rem;
  }
}

/* RESPONSIVE */
@media (max-width: 576px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
  .about h1 {
    font-size: 28px;
  }
  .about .absolut-text {
    font-size: 16px;
  }
  .about .about-text {
    font-size: 16px;
  }
}
@media (max-width: 768px) {
  .navbar-toggle {
    display: flex;
  }

  .navbar-menu {
    display: none;
  }
  .navbar-toggle {
    display: flex;
  }

  .carousel-caption h2 {
    font-size: 1.8rem;
  }
  .carousel-caption p {
    font-size: 0.95rem;
  }

  .parallax-download .download-links {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .parallax-download .download-links a {
    display: flex;
    justify-content: center;
  }
  .parallax-download .download-links img {
    max-width: 80%;
    height: auto;
  }

  .about .about-content {
    margin: 0 20px;
  }

  .gallery .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 991px) {
  .about .about-content {
    grid-template-columns: 1fr;
    padding: 2rem 0;
    margin: 0 30px;
  }

  .about .absolut-text {
    position: static;
    transform: none;
    width: 100%;
    margin-bottom: 2rem;
  }

  .about .about-image {
    flex-direction: column;
    width: 100%;
    gap: 1rem;
  }

  .about-image img {
    width: 100%;
  }

  .about h1 {
    font-size: 38px;
    text-align: center;
  }

  .about .about-text {
    padding: 0;
    font-size: 18px;
  }

  .about .absolut-text {
    font-size: 18px;
    padding: 1rem;
  }

  .activity {
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
    margin-top: 2rem;
    padding: 22px;
  }
  .activity-item {
    width: 100%;
    max-width: 495px;
  }
  .activity-item img {
    width: 100%;
    height: 300px;
  }

  .carousel-caption {
    width: 100%;
  }

  .gallery .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 769px) {
  .navbar-toggle {
    display: none;
  }

  .mobile-menu {
    display: none !important;
  }

  .about .absolut-text {
    font-size: 22px;
    margin: 0 0 0 20px;
  }
  .about .about-content {
    padding: 50px 30px;
  }
  .activity {
    padding: 10px 15px;
  }
}
@media (min-width: 992px) and (max-width: 1400px) {
  .about .absolut-text {
    font-size: 16px;
    margin: 0 0 0 20px;
  }
  .about .about-content {
    padding: 50px 30px;
  }
  .activity {
    padding: 10px 15px;
  }
  .carousel-caption {
    width: 100%;
  }
}
