.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.container-fluid {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-in {
  animation: fadeInUp 0.8s ease-out forwards;
}

/* Hero Section */
.hero-section {
  position: relative;
  height: 93vh;
  min-height: 600px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid white;
  border-top: 1px solid white;
  padding-top: 75px;
}

.hero-carousel {
  position: absolute;
  top: 75px;
  left: 0;
  width: 100%;
  height: calc(100% - 75px);
  z-index: 0;
}

/* Styles spécifiques pour le carrousel Bootstrap */
#heroCarousel {
  height: 100%;
}

#heroCarousel .carousel-inner {
  height: 100%;
}

#heroCarousel .carousel-item {
  height: 100%;
  transition: transform 0.6s ease-in-out;
}

/* Amélioration des transitions du carrousel */
#heroCarousel .carousel-item.active,
#heroCarousel .carousel-item-next,
#heroCarousel .carousel-item-prev {
  display: block;
}

#heroCarousel .carousel-item-next:not(.carousel-item-start),
#heroCarousel .active.carousel-item-end {
  transform: translateX(100%);
}

#heroCarousel .carousel-item-prev:not(.carousel-item-end),
#heroCarousel .active.carousel-item-start {
  transform: translateX(-100%);
}

/* Indicateurs du carrousel */
#heroCarousel .carousel-indicators {
  display: none !important;
}

.hero-slide {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-gradient {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    45deg,
    rgba(0, 0, 0, 0.7) 0%,
    rgba(0, 0, 0, 0.3) 50%,
    rgba(231, 76, 60, 0.4) 100%
  );
}

/* Ligne de Produit */
.product-line-section {
  padding: 60px 0;
  color: white;
}

.section-title {
  font-size: 14px;
  font-weight: 600;
  color: white;
  margin-bottom: 20px;
  letter-spacing: 1px;
  position: relative;
  padding-left: 0;
}

.section-title::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: calc(100% - 250px);
  height: 1px;
  background: white;
}

.product-line-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: stretch;
  max-width: 1400px;
  margin: 0 auto;
}

.product-showcase {
  position: relative;
  background: #1a1a1a;
  overflow: hidden;
  min-height: 450px;
}

.product-image-container {
  position: relative;
  height: 400px;
  overflow: hidden;
}

.product-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.product-image-container:hover .product-image {
  transform: scale(1.5);
  transition: transform 0.2s ease;
}

.professional-badge {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: #1a1a1a;
  color: white;
  text-align: center;
  padding: 16px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 1px;
}

.product-showcase:hover .professional-badge {
  color: red;
  transition: color 0.3s ease;
}

.product-description {
  padding: 60px 40px;
  background: #1a1a1a;
  display: flex;
  align-items: center;
  height: 100%;
}

.product-description p {
  font-size: 16px;
  line-height: 1.9;
  color: #e0e0e0;
  margin: 0;
  text-align: justify;
}

/* Catégories */
.categories-modern {
  padding: 60px 0;
  background: #3a3a3a;
}

.categories-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}

.category-modern {
  position: relative;
  background: #222222;
  padding: 15px 20px;
  text-align: left;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 40px;
}

.category-modern:hover .category-content h3 {
  color: red;
  letter-spacing: 1px;
  transform: translateY(-2px) scale(1);
  transition: all 0.3s ease-in-out;
}

.category-image {
  width: 50px;
  height: 50px;
  flex-shrink: 0;
}

.category-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: brightness(0) saturate(100%) invert(100%);
}

.category-content {
  flex: 1;
  text-align: center;
}

.category-content h3 {
  font-size: 14px;
  font-weight: 500;
  margin: 0;
  color: white;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.3s ease-in-out;
}

.category-link {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
}

/* Section Inspiration */
.inspiration-section {
  padding: 60px 0;
  background: #3a3a3a;
}

.inspiration-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  height: 400px;
}

.inspiration-card {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.3s ease;
}

.inspiration-card.large {
  grid-column: 1;
}

.inspiration-card:nth-child(2) {
  grid-column: 2;
}

.inspiration-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.inspiration-card:hover img {
  transform: scale(1.05);
}

/* À propos Focus */
.about-focus {
  padding: 60px 0;
  background: #3a3a3a;
  position: relative;
}

.section-divider {
  height: 1px;
  background: white;
  position: absolute;
}

.section-divider.top {
  display: flex;
  align-items: center;
  width: 70%;
  top: 0;
  left: 15%;
}

.section-divider.bottom {
  width: 100%;
  bottom: 0;
  left: 0;
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-visual {
  position: relative;
}

.about-image-wrapper {
  position: relative;
  width: 100%;
  height: 250px;
  border-radius: 8px;
  overflow: hidden;
}

.about-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-text {
  color: white;
}

.about-text h2 {
  font-size: 32px;
  font-weight: 700;
  margin: 0 0 30px 0;
  color: white;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.about-description {
  font-size: 16px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
  text-align: justify;
}

/* Responsive Design */
@media (max-width: 1200px) {
  .categories-container {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 992px) {
  .hero-section {
    height: 80vh;
  }

  .product-line-content,
  .about-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .hero-section {
    height: 60vh;
    min-height: 400px;
  }

  .hero-slide {
    height: 60vh;
  }

  .product-line-content {
    gap: 30px;
  }

  .product-image-container {
    height: 300px;
  }

  .product-description {
    padding: 30px 20px;
  }

  .categories-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }

  .category-modern {
    padding: 20px 15px;
    gap: 15px;
  }

  .category-image {
    width: 40px;
    height: 40px;
  }

  .inspiration-gallery {
    grid-template-columns: 1fr;
    height: auto;
    gap: 15px;
  }

  .inspiration-card {
    height: 250px;
  }

  .about-image-wrapper {
    height: 200px;
  }

  .about-text h2 {
    font-size: 28px;
  }
}

@media (max-width: 576px) {
  .container,
  .container-fluid {
    padding: 0 10px;
  }

  .hero-section {
    height: 50vh;
    min-height: 350px;
  }

  .hero-slide {
    height: 50vh;
  }

  .section-title {
    font-size: 10px;
    font-weight: 500;
    color: white;
    margin-bottom: 20px;
    position: relative;
  }

  .section-title::after {
    content: "";
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: calc(100% - 180px);
    height: 1px;
    background: white;
  }

  .product-showcase {
    position: relative;
    background: #1a1a1a;
    overflow: hidden;
    min-height: 50px;
  }

  .product-line-section,
  .categories-modern,
  .inspiration-section,
  .about-focus {
    padding: 40px 0;
  }

  .categories-container {
    grid-template-columns: 1fr;
  }

  .category-modern {
    padding: 15px 10px;
  }

  .category-image {
    width: 35px;
    height: 35px;
  }

  .inspiration-card {
    height: 200px;
  }

  .about-image-wrapper {
    height: 180px;
  }

  .about-text h2 {
    font-size: 24px;
  }

  .about-description {
    font-size: 14px;
    text-align: left;
  }
}
