/* ======== GLOBAL RESET ======== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

body {
  background: #292234;
  color: #c6947a;
  line-height: 1.6;
  overflow-x: hidden;
}

/* ======== HEADER & NAVIGATION ======== */
header {
  background: #292234;
  color: #c6947a;
  padding: 20px 0;
  position: sticky;
  top: 0;
  z-index: 9999;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

nav {
  width: 90%;
  margin: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 30px;
  color: #c6947a;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.4rem;
}

.logo-container img {
  height: 50px;
}

.logo-text {
  white-space: nowrap;
}

.nav-links {
  display: flex;
  gap: 30px;
  list-style: none;
}

.nav-links a {
  color: #c6947a;
  text-decoration: none;
  font-weight: 500;
  padding: 8px 12px;
  transition: 0.3s;
}

.nav-links a:hover {
  background: #c6947a;
  color: #292234;
  border-radius: 4px;
}

.nav-toggle {
  display: none;
  font-size: 2rem;
  background: none;
  border: none;
  color: #c6947a;
  cursor: pointer;
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    flex-direction: column;
    background: #292234;
    position: absolute;
    top: 60px;
    right: 10%;
    width: 200px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    padding: 10px 0;
  }

  .nav-links li {
    text-align: center;
  }

  .nav-links.active {
    display: flex;
  }

  .nav-toggle {
    display: block;
  }
}

/* ======== HERO SECTION ======== */
.hero-section {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 40px;
  padding: 60px 10% 0;
}

.hero-left {
  flex: 1 1 500px;
  max-width: 600px;
  color: #fff;
  opacity: 0;
  animation: slideInLeft 1.2s ease-out forwards;
}

.hero-left h1 {
  font-size: 2rem;
  margin-bottom: 20px;
  color: #c6947a;
}

.hero-left ul {
  padding-left: 20px;
  margin-bottom: 20px;
}

.hero-left li {
  margin-bottom: 8px;
}

.hero-right {
  flex: 1 1 400px;
  text-align: center;
  opacity: 0;
  animation: slideInRight 1.2s ease-out forwards;
  animation-delay: 0.3s;
  animation-fill-mode: both;
}

.hero-right img {
  max-width: 77%;
  border-radius: 8px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}

/* ======== TEXT HIGHLIGHTS ======== */
.highlighted,
.highlight-link {
  color: #c6947a;
  font-weight: bold;
  text-decoration: none;
}

.highlight-link:hover {
  text-decoration: underline;
}

/* ======== SECTIONS ======== */
.section {
  width: 90%;
  margin: 60px auto;
}

.section h2 {
  text-align: center;
  margin-bottom: 40px;
  font-size: 2rem;
  color: #c6947a;
}

/* ======== CATEGORIES ======== */
.categories {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(50px, 1fr));
}

.categorie-item {
  padding: 15px;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.categorie-item img {
  width: 100%;
  object-fit: cover;
  border-radius: 8px;
}

/* ======== CAROUSEL ======== */
.carousel {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding-bottom: 20px;
  cursor: grab;
}

.carousel.dragging {
  cursor: grabbing;
  scroll-behavior: auto;
}

.carousel-item {
  scroll-snap-align: center;
  flex: 0 0 auto;
  width: 80%;
  max-width: 600px;
  border-radius: 10px;
  overflow: hidden;
  background: transparent;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
}

.carousel-item img {
  width: 100%;
  height: 350px;
  object-fit: cover;
  border-radius: 10px;
}

/* ======== CONTACT ======== */
.contact-info {
  background: #1f1b2a;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
  color: #c6947a;
  max-width: 600px;
  margin: auto;
}

.contact-info p {
  margin-bottom: 15px;
  font-size: 1rem;
}

.contact-info a {
  color: #fff;
  text-decoration: none;
  border-bottom: 1px dashed #c6947a;
  transition: 0.3s;
}

.contact-info a:hover {
  color: #c6947a;
  border-bottom: 1px solid #fff;
}

/* ======== FOOTER ======== */
footer {
  background: #1f1b2a;
  color: #c6947a;
  text-align: center;
  padding: 20px;
  font-size: 14px;
  border-top: 1px solid #ddd;
  margin-top: 50px;
}

/* ======== ANIMATIONS ======== */
@keyframes slideInLeft {
  from {
    transform: translateX(-50px);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes slideInRight {
  from {
    transform: translateX(50px);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

/* ======== SCROLL ANIMATIONS ======== */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 1s ease, transform 1s ease;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ======== RESPONSIVE TWEAKS ======== */
@media (max-width: 768px) {
  .hero-section {
    flex-direction: column;
  }

  .hero-right {
    margin-top: 30px;
  }

  .carousel-item {
    width: 90%;
  }

  .carousel-item img {
    height: 250px;
  }

  header {
    position: sticky;
  }
}

@media (min-width: 769px) {
  header {
    position: fixed;
    width: 100%;
    transition: transform 0.3s ease;
  }

  header.hide {
    transform: translateY(-100%);
  }

  .hero-section {
    padding-top: 120px;
  }
}
