/* NAVBAR */
.navbar {
  position: fixed;
  top: 15px;
  left: 50%;
  transform: translateX(-50%);
  width: 99%;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 40px;
  background: rgba(245, 215, 122, 0.75);
  border-radius: 50px;
  transition: padding 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
  animation: slideDown 0.5s ease forwards;
}

.navbar.scrolled {
  padding: 10px 40px;
  background: rgba(245, 215, 122, 0.95);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.nav-logo {
  font-family: 'JosefinSans', sans-serif;
  font-weight: 600;
  font-size: 22px;
  color: #2c2d30;
  letter-spacing: 3px;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 35px;
}

.nav-links a {
  font-family: 'JosefinSans', sans-serif;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 2px;
  color: #000000;
  text-decoration: none;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: #6b5a00;
}

/* BODY */
body {
  background: #2c2d30;
  animation: fadeIn 0.3s ease;
}

/* HERO 2 */
.hero2 {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
}

.hero2 img.hero2-bg {
  width: 100%;
  height: auto;
  display: block;
  animation: fadeIn 0.6s ease forwards;
}

.hero2 .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.20) 0%,
    rgba(0, 0, 0, 0.20) 55%,
    rgba(44, 45, 48, 0.50) 68%,
    rgba(44, 45, 48, 0.90) 80%,
    rgba(44, 45, 48, 1) 100%
  );
}

.hero2-content {
  position: absolute;
  bottom: 500px;
  left: 0;
  right: 0;
  z-index: 2;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  padding: 0 60px;
  gap: 200px;
}

.hero2-left h1 {
  font-family: 'JosefinSans', sans-serif;
  font-size: 64px;
  font-weight: 1000;
  letter-spacing: 4px;
  color: #fddb7c;
  white-space: nowrap;
  margin-bottom: 0;
}

.hero2-right p {
  font-family: 'JosefinSans', sans-serif;
  font-size: 20px;
  font-weight: 300;
  line-height: 1.6;
  color: white;
  max-width: 450px;
  text-align: center;
}

.hero2-shop {
  position: absolute;
  bottom: 300px;
  left: 0;
  right: 0;
  z-index: 10;
  text-align: center;
}

.btn-shop {
  font-family: 'JosefinSans', sans-serif;
  font-weight: 600;
  font-size: 16px;
  letter-spacing: 4px;
  text-transform: uppercase;
  padding: 14px 40px;
  border: 1px solid #f5d77a;
  border-radius: 50px;
  background: #f5d77a;
  color: #2c2d30;
  cursor: pointer;
  transition: 0.3s ease;
}

.btn-shop:hover {
  background: transparent;
  color: #f5d77a;
}

/* CAROUSEL */
 .carousel-section {
  position: relative;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 30px;
  margin-top: -180px;
  gap: 10px;
  z-index: 3;
  overflow-x: hidden;         /* ← cache uniquement à droite/gauche */
  overflow-y: visible;        /* ← permet le zoom vers le haut */
  perspective: 1000px;
}

.carousel-track {
  display: flex;
  gap: 10px;
  overflow: hidden;           /* ← cache ce qui dépasse */
  width: 100%;
  align-items: center;
}
.carousel-item {
  flex: 0 0 calc(20% - 8px);
  border-radius: 16px;
  border: 2px solid #fddb7c;
  overflow: hidden;
  transition: box-shadow 0.4s ease, border-color 0.4s ease;
  cursor: pointer;
}

.carousel-item:hover {
  box-shadow:
    0 0 0 3px #fff9c4,
    0 0 25px rgba(253, 219, 124, 0.7),
    0 0 50px rgba(253, 219, 124, 0.4);
  border-color: #fff9c4;
  z-index: 10;
}

.carousel-item img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  display: block;
  border: none;
  border-radius: 0;
  transition: filter 0.4s ease;
}

.carousel-item:hover img {
  filter: brightness(1.1) saturate(1.2);
}

.carousel-item:active {
  transform: scale(0.97);
}
.arrow {
  background: none;
  border: 2px solid #fddb7c;
  color: #fddb7c;
  font-size: 22px;
  width: 55px;
  height: 38px;
  border-radius: 50px;
  cursor: pointer;
  flex-shrink: 0;
  transition: 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 4;
}

.arrow:hover {
  background: #fddb7c;
  color: #2c2d30;
}

/* SÉPARATEUR PATTERN */
.pattern2 {
  width: 100%;
  height: 100px;
  background-image: url("images/pattern2.png");
  background-size: 100% 200%;
  background-position: top;
  background-repeat: no-repeat;
  background-color: #2c2d30;
  opacity: 0.3;
}

/* ABOUT US */
.about {
  background: #2c2d30;
  display: flex;
  align-items: center;
  gap: 40px;
  padding: 40px 80px;
}

.about-image {
  flex: 1;
}

.about-image img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  border-radius: 12px;
}

.about-text {
  flex: 1;
}

.about-text h2 {
  font-family: 'JosefinSans', sans-serif;
  font-size: 48px;
  font-weight: 600;
  letter-spacing: 3px;
  color: #fddb7c;
  margin-bottom: 15px;
}

.about-text p {
  font-family: 'JosefinSans', sans-serif;
  font-size: 16px;
  font-weight: 300;
  line-height: 1.7;
  color: white;
  margin-bottom: 10px;
}

/* THE ARTISANS */
.artisans {
  background: #2c2d30;
  padding: 60px 80px;
  text-align: center;
}

.artisans h2 {
  font-family: 'JosefinSans', sans-serif;
  font-size: 50px;
  font-weight: 600;
  letter-spacing: 4px;
  color: #fddb7c;
  margin-bottom: 35px;
}

.artisans-image {
  width: 100%;
  margin-bottom: 30px;
}

.artisans-image img {
  width: 90%;
  height: auto;
  object-fit: unset;
  border-radius: 12px;
}

.artisans-text {
  text-align: center;
  max-width: 100%;
  margin: 0 auto;
  padding: 0 80px;
}

.artisans-text p {
  font-family: 'JosefinSans', sans-serif;
  font-size: 17px;
  font-weight: 300;
  line-height: 1.9;
  color: white;
  margin-bottom: 15px;
}

/* SHOP SECTION */
.shop-section {
  background: linear-gradient(
    to bottom,
    #2c2d30 0%,
    #5a4e2a 40%,
    #c9a84c 75%,
    #f5d77a 100%
  );
  padding: 0 80px 60px;
}

.pattern2-bottom {
  width: 100%;
  height: 60px;
  background-image: url("images/pattern2.png");
  background-size: 100% 200%;
  background-position: center bottom;
  background-repeat: no-repeat;
  opacity: 0.35;
  margin-bottom: 40px;
}

.shop-grid {
  display: flex;
  gap: 30px;
  justify-content: center;
}

.shop-card {
  background: rgba(44, 45, 48, 0.75);
  border-radius: 16px;
  overflow: hidden;
  flex: 1;
  max-width: 320px;
  padding-bottom: 20px;
}

.shop-card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 12px;
  padding: 10px;
}

.shop-card-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
}

.shop-name {
  font-family: 'JosefinSans', sans-serif;
  font-size: 18px;
  font-weight: 400;
  color: #ffffff;
  letter-spacing: 1px;
}

.shop-price {
  font-family: 'JosefinSans', sans-serif;
  font-size: 18px;
  font-weight: 600;
  color: #fddb7c;
  letter-spacing: 1px;
}

.btn-details {
  display: block;
  margin: 10px 20px 0;
  width: calc(100% - 40px);
  padding: 12px 0;
  border: 1px solid #fddb7c;
  border-radius: 50px;
  background: transparent;
  color: #fddb7c;
  font-family: 'JosefinSans', sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 3px;
  cursor: pointer;
  transition: 0.3s ease;
}

.btn-details:hover {
  background: #fddb7c;
  color: #2c2d30;
}

.shop-viewall {
  text-align: center;
  margin-top: 40px;
  opacity: 0.7;
}

.btn-viewall {
  font-family: 'JosefinSans', sans-serif;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 4px;
  padding: 16px 50px;
  border: none;
  border-radius: 50px;
  background: #2c2d30;
  color: #fddb7c;
  cursor: pointer;
  transition: 0.3s ease;
}

.btn-viewall:hover {
  background: #fddb7c;
  color: #2c2d30;
}

/* GET THE APP */
.getapp {
  background: #2c2d30;
  padding: 0 80px 80px;
}

.pattern2-top {
  width: 100%;
  height: 100px;
  background-image: url("images/pattern2.png");
  background-size: 120% 230%;
  background-position: top;
  background-repeat: no-repeat;
  background-color: #2c2d30;
  opacity: 0.3;
  margin-top: 0;
}

.getapp-content {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 80px;
  margin-top: 40px;
}

.getapp-left {
  position: relative;
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.getapp-circle {
  position: absolute;
  width: 600px;
  height: 400px;
  background: #c9a84c;
  border-radius: 50%;
  z-index: 0;
}

.getapp-left img {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 600px;
  height: auto;
}

.getapp-right {
  flex: 1;
}

.getapp-right h2 {
  font-family: 'JosefinSans', sans-serif;
  font-size: 50px;
  font-weight: 600;
  letter-spacing: 3px;
  color: #fddb7c;
  margin-bottom: 25px;
}

.getapp-right p {
  font-family: 'JosefinSans', sans-serif;
  font-size: 15px;
  font-weight: 300;
  line-height: 1.8;
  color: white;
  margin-bottom: 15px;
}

.btn-download {
  margin-top: 20px;
  padding: 16px 50px;
  border: none;
  border-radius: 50px;
  background: #f5d77a;
  color: #2c2d30;
  font-family: 'JosefinSans', sans-serif;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 4px;
  cursor: pointer;
  transition: 0.3s ease;
}

.btn-download:hover {
  background: transparent;
  border: 1px solid #f5d77a;
  color: #f5d77a;
}

/* ANIMATIONS */
@keyframes slideDown {
  from {
    transform: translateX(-50%) translateY(-80px);
    opacity: 0;
  }
  to {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes revealLeft {
  from {
    opacity: 0;
    transform: translateX(-40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes revealRight {
  from {
    opacity: 0;
    transform: translateX(40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* WELCOME TITLE */
#welcome-title {
  animation: revealLeft 0.4s ease 0.5s forwards;
  opacity: 0;
}