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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", sans-serif;
  line-height: 1.6;
  color: #333;
}

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

/* Boutons */
.btn {
  display: inline-flex;
  align-items: center;
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 0.5rem;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 1rem;
}

.btn-primary {
  background-color: #991b1b;
  color: white;
}

.btn-primary:hover {
  background-color: #7f1d1d;
  transform: translateY(-2px);
}

.btn-outline {
  background-color: transparent;
  color: white;
  border: 2px solid white;
}

.btn-outline:hover {
  background-color: white;
  color: #991b1b;
}

.btn-full {
  width: 100%;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: all 0.3s ease;
  background-color: transparent;
}

.header.scrolled {
  background-color: white;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: inherit;
}

.logo-icon {
  width: 3rem;
  height: 3rem;
  background-color: #991b1b;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: bold;
  font-size: 1.25rem;
}

.logo-text h1 {
  font-size: 1.25rem;
  font-weight: bold;
  color: #991b1b;
  margin: 0;
}

.logo-text p {
  font-size: 0.75rem;
  color: #666;
  margin: 0;
}

.nav-desktop {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-desktop a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-desktop a:hover {
  color: #991b1b;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.menu-toggle span {
  width: 25px;
  height: 3px;
  background-color: #333;
  margin: 3px 0;
  transition: 0.3s;
}

.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: white;
  z-index: 999;
  display: none;
}

.mobile-menu-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  gap: 2rem;
  font-size: 1.25rem;
}

.mobile-menu a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  transition: color 0.3s ease;
}

.mobile-menu a:hover {
  color: #991b1b;
}

/* Hero Section */
.hero {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-align: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)),
    url("public/hero.jpg") center / cover;
  z-index: -1;
}

.hero-content {
  max-width: 48rem;
  margin: 0 auto;
  padding: 0 1rem;
}

.hero h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: bold;
  margin-bottom: 1rem;
}

.hero p {
  font-size: clamp(1.125rem, 2vw, 1.5rem);
  margin-bottom: 2rem;
}

.hero-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
}

.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  animation: bounce 2s infinite;
}

.scroll-indicator a {
  color: white;
  text-decoration: none;
}

@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateX(-50%) translateY(0);
  }
  40% {
    transform: translateX(-50%) translateY(-10px);
  }
  60% {
    transform: translateX(-50%) translateY(-5px);
  }
}

/* Sections communes */
section {
  padding: 5rem 0;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-header h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: bold;
  color: #1f2937;
  margin-bottom: 1rem;
}

.section-divider {
  width: 6rem;
  height: 4px;
  background-color: #991b1b;
  margin: 0 auto 1rem;
}

.section-header p {
  font-size: 1.125rem;
  color: #6b7280;
  max-width: 32rem;
  margin: 0 auto;
}

/* Section Produits */
.products {
  background-color: white;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.product-card {
  background-color: white;
  border-radius: 0.5rem;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.product-image {
  height: 16rem;
  overflow: hidden;
}

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

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

.product-content {
  padding: 1.5rem;
}

.product-content h3 {
  font-size: 1.25rem;
  font-weight: bold;
  color: #1f2937;
  margin-bottom: 0.5rem;
}

.product-content p {
  color: #6b7280;
  margin-bottom: 1rem;
}

.product-link {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  color: #991b1b;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.3s ease;
}

.product-link:hover {
  text-decoration: underline;
}

/* Section Traiteur */
.catering {
  background-color: #f9fafb;
}

.catering-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

.catering-image {
  position: relative;
}

.catering-image img {
  width: 100%;
  height: auto;
  border-radius: 0.5rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  position: relative;
  z-index: 10;
}

.image-decoration {
  position: absolute;
  background-color: rgba(153, 27, 27, 0.1);
  border-radius: 0.5rem;
  z-index: 0;
}

.image-decoration-1 {
  top: -1rem;
  left: -1rem;
  width: 16rem;
  height: 16rem;
}

.image-decoration-2 {
  bottom: -1.5rem;
  right: -1.5rem;
  width: 12rem;
  height: 12rem;
}

.catering-text h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: bold;
  color: #1f2937;
  margin-bottom: 1rem;
}

.catering-text p {
  font-size: 1.125rem;
  color: #6b7280;
  margin-bottom: 1.5rem;
}

.features-list {
  margin-bottom: 2rem;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.feature-icon {
  background-color: #991b1b;
  color: white;
  border-radius: 50%;
  width: 1.5rem;
  height: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  flex-shrink: 0;
  margin-top: 0.125rem;
}

/* Section Galerie */
.gallery {
  background-color: white;
}

.gallery-container {
  position: relative;
  height: 600px;
  margin: 0 auto;
}

.gallery-item {
  position: absolute;
  border-radius: 0.5rem;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
  cursor: pointer;
}

.gallery-item:hover {
  transform: scale(1.05);
  z-index: 100 !important;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-item-1 {
  top: 0;
  left: 10%;
  width: 300px;
  height: 250px;
  transform: rotate(-5deg);
  z-index: 10;
}

.gallery-item-2 {
  top: 15%;
  right: 15%;
  width: 280px;
  height: 220px;
  transform: rotate(3deg);
  z-index: 20;
}

.gallery-item-3 {
  top: 40%;
  left: 5%;
  width: 250px;
  height: 200px;
  transform: rotate(7deg);
  z-index: 30;
}

.gallery-item-4 {
  top: 35%;
  right: 25%;
  width: 270px;
  height: 220px;
  transform: rotate(-8deg);
  z-index: 10;
}

.gallery-item-5 {
  bottom: 10%;
  left: 20%;
  width: 300px;
  height: 240px;
  transform: rotate(4deg);
  z-index: 20;
}

.gallery-item-6 {
  bottom: 5%;
  right: 10%;
  width: 280px;
  height: 230px;
  transform: rotate(-6deg);
  z-index: 30;
}

/* Section Contact */
.contact {
  background-color: #1f2937;
  color: white;
}

.contact .section-header h2,
.contact .section-header p {
  color: white;
}

.contact .section-header p {
  color: #d1d5db;
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

.contact-info,
.contact-form {
  background-color: #374151;
  padding: 2rem;
  border-radius: 0.5rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.contact-info h3,
.contact-form h3 {
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 1.5rem;
}

.info-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.info-icon {
  font-size: 1.25rem;
  flex-shrink: 0;
  margin-top: 0.125rem;
}

.info-item h4 {
  font-weight: 500;
  margin-bottom: 0.25rem;
}

.info-item p {
  color: #d1d5db;
}

/* Formulaire */
.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.form-group {
  margin-bottom: 1rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  font-size: 0.875rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #6b7280;
  border-radius: 0.375rem;
  background-color: #4b5563;
  color: white;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #991b1b;
  box-shadow: 0 0 0 3px rgba(153, 27, 27, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #9ca3af;
}

/* Footer */
.footer {
  background-color: #111827;
  color: white;
  padding: 3rem 0 1rem;
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 3rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: white;
  margin-bottom: 1rem;
}

.footer-section h3 {
  font-size: 1.125rem;
  font-weight: bold;
  margin-bottom: 1rem;
}

.footer-section p {
  color: #d1d5db;
  margin-bottom: 1rem;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 0.5rem;
}

.footer-section ul li a {
  color: #d1d5db;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-section ul li a:hover {
  color: white;
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-links a {
  font-size: 1.5rem;
  text-decoration: none;
  transition: transform 0.3s ease;
}

.social-links a:hover {
  transform: scale(1.2);
}

.newsletter-form {
  display: flex;
  gap: 0.5rem;
}

.newsletter-form input {
  flex: 1;
  padding: 0.75rem;
  border: 1px solid #6b7280;
  border-radius: 0.375rem;
  background-color: #374151;
  color: white;
}

.newsletter-form input::placeholder {
  color: #9ca3af;
}

.newsletter-form .btn {
  border-radius: 0.375rem;
}

.footer-bottom {
  border-top: 1px solid #374151;
  padding-top: 2rem;
  text-align: center;
  color: #d1d5db;
  font-size: 0.875rem;
}

/* Animations */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.7s ease;
}

.animate-on-scroll.animate-in {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (min-width: 640px) {
  .hero-buttons {
    flex-direction: row;
    justify-content: center;
  }

  .form-row {
    grid-template-columns: 1fr 1fr;
  }

  .gallery-container {
    height: 800px;
  }

  .gallery-item-1 {
    width: 400px;
    height: 300px;
  }

  .gallery-item-2 {
    width: 350px;
    height: 280px;
  }

  .gallery-item-3 {
    width: 320px;
    height: 250px;
  }

  .gallery-item-4 {
    width: 380px;
    height: 300px;
  }

  .gallery-item-5 {
    width: 420px;
    height: 320px;
  }

  .gallery-item-6 {
    width: 380px;
    height: 280px;
  }
}

@media (min-width: 768px) {
  .logo-text {
    display: block;
  }

  .catering-content {
    grid-template-columns: 1fr 1fr;
  }

  .contact-content {
    grid-template-columns: 1fr 1fr;
  }

  .footer-content {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 767px) {
  .nav-desktop {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .logo-text {
    display: none;
  }

  .gallery-container {
    height: 400px;
  }

  .gallery-item {
    width: 200px !important;
    height: 150px !important;
  }

  .gallery-item-1 {
    top: 5%;
    left: 5%;
  }

  .gallery-item-2 {
    top: 10%;
    right: 5%;
  }

  .gallery-item-3 {
    top: 35%;
    left: 10%;
  }

  .gallery-item-4 {
    top: 40%;
    right: 10%;
  }

  .gallery-item-5 {
    bottom: 15%;
    left: 5%;
  }

  .gallery-item-6 {
    bottom: 10%;
    right: 5%;
  }
}
