body {
  scroll-behavior: smooth;
  padding-top: 70px; /* Compense la navbar fixed */
}

.navbar .nav-link {
  font-weight: 500;
  color: #333;
  margin-right: 1rem;
  transition: color 0.3s;
}

.navbar .nav-link:hover {
  color: #ff5e3a;
}

.navbar .nav-link.active {
  color: #ff5e3a !important;
  font-weight: bold;
}
.navbar-brand img {
  max-height: 100px;
  transition: max-height 0.3s ease;
}


/* ===================== */
/* 🔷 HERO SECTION       */
/* ===================== */
.hero-section {
  background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.7)), url('/images/hero.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #fff;
  padding: 120px 20px;
  text-align: center;
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  top: -50px;
  left: -50px;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.05) 10%, transparent 11%);
  background-size: 30px 30px;
  animation: moveBg 60s linear infinite;
  z-index: 0;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.04) 10%, transparent 10.01%);
  background-size: 40px 40px;
  animation: shimmerMove 90s linear infinite;
  z-index: 0;
  opacity: 0.4;
}

@keyframes moveBg {
  0%   { transform: translate(0, 0); }
  100% { transform: translate(-50%, -50%); }
}

@keyframes shimmerMove {
  0%   { transform: translate(0, 0); }
  100% { transform: translate(50px, 50px); }
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero-content h1 {
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 20px;
}

.hero-content p {
  font-size: 1.2rem;
  color: #f1f1f1;
  margin-bottom: 30px;
}

.hero-content .btn-danger {
  padding: 12px 30px;
  font-size: 1.2rem;
  border-radius: 50px;
  background-color: #ff5e3a;
  border: none;
  transition: all 0.3s ease-in-out;
}

.hero-content .btn-danger:hover {
  background-color: #ff784e;
  transform: scale(1.05);
}

/* Responsive Hero */
@media (min-width: 768px) {
  .hero-content h1 { font-size: 3rem; }
  .hero-content p  { font-size: 1.3rem; }
}

@media (min-width: 992px) {
  .hero-content h1 { font-size: 3.5rem; }
}

/* ===================== */
/* 🔷 FEATURES SECTION   */
/* ===================== */
.features-section {
  background-color: #f8f9fa;
}

.feature-card {
  border-radius: 18px;
  padding: 32px 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  background: #fff;
  position: relative;
  overflow: hidden;
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
}

.feature-card::before {
  content: '';
  position: absolute;
  top: -40%;
  left: -40%;
  width: 180%;
  height: 180%;
  background: radial-gradient(circle, rgba(255, 94, 58, 0.07) 0%, transparent 70%);
  transform: rotate(45deg);
  transition: all 0.4s ease;
  z-index: 0;
}

.feature-card:hover::before {
  top: -30%;
  left: -30%;
}

.feature-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  color: #ff5e3a;
  position: relative;
  z-index: 1;
}

.feature-card .card-body {
  position: relative;
  z-index: 1;
}

/* ===================== */
/* 🔷 PRICING SECTION    */
/* ===================== */
.nav-tabs .nav-link.active {
  font-weight: bold;
  background-color: #fff;
  border: 1px solid #dee2e6;
}

.pricing-card {
  border-radius: 1rem;
  padding: 2rem 1.5rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pricing-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

.price-tag {
  font-size: 2rem;
  font-weight: 600;
  color: #212529;
}

.badge {
  font-size: 0.75rem;
  padding: 0.4em 0.6em;
  border-radius: 0.5rem;
}

/* ===================== */
/* 🔷 FORMULAIRE (ORDER) */
/* ===================== */
#order input:focus,
#order select:focus {
  border-color: #ff5e3a;
  box-shadow: 0 0 0 0.2rem rgba(255, 94, 58, 0.25);
}

/* ===================== */
/* 🔷 THÈMES VISUELS     */
/* ===================== */
.theme-card {
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.3s ease, border 0.3s ease;
  border-radius: 10px;
}

.theme-card:hover {
  transform: scale(1.03);
}

.theme-card.selected {
  border: 2px solid #ff5e3a;
  background-color: #fff7f4;
}

.theme-preview {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}
/* src/components/Temoignages.css */

.temoignages-section {
  background: #f9f9f9;
  overflow: hidden;
}

.carousel-wrapper {
  overflow: hidden;
  position: relative;
  width: 100%;
}

.carousel-track {
  display: flex;
  animation: scrollInfinite 60s linear infinite;
  gap: 2rem;
}

.testimonial-card {
  flex: 0 0 auto;
  width: 280px;
  background: #fff;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.05);
}

.testimonial-card .text {
  font-style: italic;
  font-size: 0.95rem;
  color: #555;
}

.testimonial-card .name {
  font-weight: 600;
  font-size: 0.9rem;
  color: #222;
  margin-top: 10px;
}

@keyframes scrollInfinite {
  0% {
    transform: translateX(0%);
  }
  100% {
    transform: translateX(-50%);
  }
}

@media (max-width: 768px) {
  .carousel-track {
    animation-duration: 90s;
  }
}
/* ==== DARK MODE CLASSES ==== */
body.dark-mode {
  background-color: #121212;
  color: #f1f1f1;
}

body.dark-mode .bg-light {
  background-color: #1f1f1f !important;
}

body.dark-mode .navbar,
body.dark-mode .navbar-light {
  background-color: #1f1f1f !important;
  color: #fff;
}

body.dark-mode .nav-link {
  color: #ccc !important;
}

body.dark-mode .nav-link.active {
  color: #ff5e3a !important;
}

body.dark-mode .feature-card,
body.dark-mode .testimonial-card,
body.dark-mode .pricing-card {
  background-color: #222;
  color: #f1f1f1;
}

body.dark-mode .feature-card .card-text,
body.dark-mode .testimonial-card .text,
body.dark-mode .testimonial-card .name,
body.dark-mode .price-tag {
  color: #ccc;
}

body.dark-mode .badge {
  color: #fff;
}
.theme-gallery-card {
  height: 100%;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.theme-gallery-card:hover {
  transform: scale(1.02);
}

.theme-gallery-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
  transition: opacity 0.3s ease;
}

.theme-demo-btn {
  position: absolute;
  bottom: 15px;
  left: 50%;
  transform: translateX(-50%);
  background-color: rgba(255, 94, 58, 0.9);
  color: #fff;
  padding: 10px 20px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 500;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.theme-gallery-card:hover .theme-demo-btn {
  opacity: 1;
}
.theme-gallery-card {
  cursor: pointer;
  transition: transform 0.3s ease;
}

.theme-gallery-card:hover {
  transform: scale(1.02);
}

.theme-gallery-img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  transition: opacity 0.3s ease;
}

.theme-demo-btn {
  position: absolute;
  bottom: 15px;
  left: 50%;
  transform: translateX(-50%);
  background-color: rgba(255, 94, 58, 0.9);
  color: #fff;
  padding: 10px 20px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 500;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.theme-gallery-card:hover .theme-demo-btn {
  opacity: 1;
}

/* Modal plein écran */
.image-modal {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1050;
  cursor: zoom-out;
}

.image-modal img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 10px;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.4);
  animation: zoomIn 0.3s ease;
}

@keyframes zoomIn {
  from { transform: scale(0.8); opacity: 0; }
  to   { transform: scale(1); opacity: 1; }
}

.close-btn {
  position: fixed;
  top: 30px;
  right: 40px;
  font-size: 2.5rem;
  color: white;
  font-weight: bold;
  cursor: pointer;
  z-index: 1060;
}
.theme-gallery-image-wrapper {
  height: 400px;
  overflow: hidden;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.carousel-wrapper {
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 10px 0;
}

.carousel-track {
  display: flex;
  gap: 1rem;
  transition: transform 0.3s ease;
  width: max-content;
}

.testimonial-card {
  flex: 0 0 auto;
  width: 280px;
  background: #fff;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

.testimonial-card:hover {
  transform: scale(1.02);
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: #ff5e3a;
  color: white;
  border: none;
  font-size: 2rem;
  border-radius: 50%;
  padding: 6px 14px;
  cursor: pointer;
  z-index: 10;
  opacity: 0.8;
  transition: background 0.3s ease;
}

.carousel-btn:hover {
  background: #ff784e;
}

.carousel-btn.left {
  left: -10px;
}

.carousel-btn.right {
  right: -10px;
}

@media (max-width: 768px) {
  .carousel-btn {
    display: none;
  }
}
.animated-badge {
  animation: pulseBadge 1.2s infinite;
}

@keyframes pulseBadge {
  0%   { transform: scale(1); opacity: 1; }
  50%  { transform: scale(1.15); opacity: 0.7; }
  100% { transform: scale(1); opacity: 1; }
}
