:root {
  --primary-color: #1a4d2e;
  --secondary-color: #d4af37;
  --accent-color: #8b6f47;
  --bg-light: #f8f6f3;
  --bg-white: #ffffff;
  --text-dark: #2c2c2c;
  --text-light: #6b6b6b;
  --border-color: #e5e5e5;
  --shadow: 0 10px 30px rgba(0,0,0,0.1);
  --shadow-hover: 0 15px 40px rgba(0,0,0,0.15);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
}

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

h1, h2, h3, h4 {
  font-family: 'Playfair Display', serif;
  font-weight: 600;
}

.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: #1e3a5f;
  box-shadow: 0 2px 20px rgba(0,0,0,0.2);
  z-index: 1000;
  transition: all 0.3s ease;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 24px;
  font-weight: 700;
  color: #ffffff;
  font-family: 'Playfair Display', serif;
}

.logo i {
  font-size: 28px;
  color: var(--secondary-color);
}

.nav-list {
  display: flex;
  list-style: none;
  gap: 30px;
}

.nav-link {
  text-decoration: none;
  color: rgba(255,255,255,0.9);
  font-weight: 500;
  transition: color 0.3s;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--secondary-color);
  transition: width 0.3s;
}

.nav-link:hover, .nav-link.active {
  color: var(--secondary-color);
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
}

.mobile-toggle span {
  width: 25px;
  height: 3px;
  background: #ffffff;
  transition: all 0.3s;
}

.hero {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary-color) 0%, #2d5f3f 100%);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('https://images.unsplash.com/photo-1517677208171-0bc6725a3e60?w=1920&h=1080&fit=crop') center/cover;
  opacity: 0.15;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(26,77,46,0.9) 0%, rgba(45,95,63,0.85) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: white;
  animation: fadeInUp 1s ease;
}

.hero-title {
  font-size: 56px;
  margin-bottom: 20px;
  line-height: 1.2;
}

.hero-subtitle {
  font-size: 20px;
  margin-bottom: 40px;
  opacity: 0.9;
}

.hero-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-bottom: 60px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 35px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s;
  border: 2px solid transparent;
}

.btn-primary {
  background: var(--secondary-color);
  color: var(--text-dark);
}

.btn-primary:hover {
  background: #c29d2f;
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(212,175,55,0.3);
}

.btn-secondary {
  background: transparent;
  color: white;
  border-color: white;
}

.btn-secondary:hover {
  background: white;
  color: var(--primary-color);
}

.btn-full {
  width: 100%;
  justify-content: center;
}

.hero-features {
  display: flex;
  gap: 50px;
  justify-content: center;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.feature-item i {
  font-size: 32px;
  color: var(--secondary-color);
}

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

.hero-scroll a {
  color: white;
  font-size: 24px;
  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); }
}

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

section {
  padding: 100px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-subtitle {
  color: var(--secondary-color);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 14px;
}

.section-title {
  font-size: 42px;
  margin: 15px 0;
  color: var(--primary-color);
}

.section-divider {
  width: 80px;
  height: 4px;
  background: var(--secondary-color);
  margin: 20px auto;
  border-radius: 2px;
}

.about {
  background: var(--bg-light);
}

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

.about-image {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

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

.about-badge {
  position: absolute;
  bottom: 30px;
  right: 30px;
  background: var(--secondary-color);
  color: var(--text-dark);
  padding: 20px;
  border-radius: 15px;
  text-align: center;
  font-weight: 700;
  box-shadow: var(--shadow);
}

.about-badge i {
  font-size: 32px;
  display: block;
  margin-bottom: 10px;
}

.about-text h3 {
  font-size: 28px;
  margin-bottom: 20px;
  color: var(--primary-color);
}

.about-text p {
  color: var(--text-light);
  margin-bottom: 20px;
  line-height: 1.8;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 40px 0;
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 20px;
  background: white;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.stat-item i {
  font-size: 32px;
  color: var(--secondary-color);
}

.stat-number {
  font-size: 24px;
  font-weight: 700;
  color: var(--primary-color);
  display: block;
}

.stat-label {
  font-size: 12px;
  color: var(--text-light);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.service-card {
  background: white;
  padding: 40px 30px;
  border-radius: 20px;
  box-shadow: var(--shadow);
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: var(--secondary-color);
  transform: scaleX(0);
  transition: transform 0.3s;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-hover);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-card.featured {
  background: linear-gradient(135deg, var(--primary-color), #2d5f3f);
  color: white;
}

.featured-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background: var(--secondary-color);
  color: var(--text-dark);
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
}

.service-icon {
  width: 80px;
  height: 80px;
  background: var(--bg-light);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 25px;
  transition: all 0.3s;
}

.service-card.featured .service-icon {
  background: rgba(255,255,255,0.2);
}

.service-icon i {
  font-size: 36px;
  color: var(--primary-color);
}

.service-card.featured .service-icon i {
  color: white;
}

.service-card:hover .service-icon {
  transform: rotateY(360deg);
}

.service-card h3 {
  font-size: 24px;
  margin-bottom: 15px;
}

.service-card.featured h3 {
  color: white;
}

.service-card p {
  color: var(--text-light);
  margin-bottom: 20px;
}

.service-card.featured p {
  color: rgba(255,255,255,0.9);
}

.service-list {
  list-style: none;
}

.service-list li {
  padding: 8px 0;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-light);
}

.service-card.featured .service-list li {
  color: rgba(255,255,255,0.9);
}

.service-list i {
  color: var(--secondary-color);
  font-size: 14px;
}

.prices {
  background: var(--bg-light);
}

.price-tabs {
  display: flex;
  gap: 10px;
  margin-bottom: 40px;
  flex-wrap: wrap;
  justify-content: center;
}

.tab-btn {
  padding: 15px 30px;
  background: white;
  border: 2px solid var(--border-color);
  border-radius: 10px;
  font-size: 16px;
  font-weight: 600;
  color: var(--text-dark);
  cursor: pointer;
  transition: all 0.3s;
}

.tab-btn:hover {
  border-color: var(--primary-color);
  color: var(--primary-color);
}

.tab-btn.active {
  background: var(--primary-color);
  color: white;
  border-color: var(--primary-color);
}

.price-content {
  position: relative;
}

.tab-content {
  display: none;
  animation: fadeIn 0.5s;
}

.tab-content.active {
  display: block;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.price-items-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 30px;
}

.price-card {
  background: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all 0.3s;
  text-align: center;
}

.price-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-hover);
}

.price-card-image {
  width: 100%;
  height: 200px;
  overflow: hidden;
  background: var(--bg-light);
}

.price-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.price-card:hover .price-card-image img {
  transform: scale(1.1);
}

.price-card h4 {
  font-size: 18px;
  color: var(--text-dark);
  margin: 20px 15px 10px;
  font-weight: 600;
}

.price-card .price {
  font-size: 20px;
  font-weight: 700;
  color: var(--primary-color);
  margin: 0 15px 20px;
}

/* Style spécial pour Linge Maison (sans photos) */
#maison .price-items-grid {
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
}

#maison .price-card {
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-left: 4px solid var(--secondary-color);
  text-align: left;
}

#maison .price-card:hover {
  transform: translateX(5px);
  box-shadow: 0 4px 15px rgba(0,0,0,0.12);
}

#maison .price-card-image {
  display: none;
}

#maison .price-card h4 {
  font-size: 16px;
  margin: 0;
  font-weight: 500;
  text-align: left;
  flex: 1;
}

#maison .price-card .price {
  font-size: 18px;
  margin: 0;
  white-space: nowrap;
}

.price-note {
  margin-top: 40px;
  padding: 25px;
  background: white;
  border-radius: 15px;
  border-left: 5px solid var(--secondary-color);
  display: flex;
  gap: 15px;
  align-items: flex-start;
}

.price-note i {
  color: var(--secondary-color);
  font-size: 24px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 15px;
  aspect-ratio: 1;
  cursor: pointer;
}

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

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(26,77,46,0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s;
}

.gallery-overlay i {
  color: white;
  font-size: 32px;
}

.gallery-item:hover img {
  transform: scale(1.1);
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.testimonials {
  background: var(--bg-light);
}

.testimonials-slider {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  margin-bottom: 40px;
}

.testimonial-card {
  background: white;
  padding: 40px;
  border-radius: 20px;
  box-shadow: var(--shadow);
  transition: transform 0.3s;
}

.testimonial-card:hover {
  transform: translateY(-5px);
}

.testimonial-rating {
  margin-bottom: 20px;
}

.testimonial-rating i {
  color: var(--secondary-color);
  font-size: 18px;
}

.testimonial-text {
  color: var(--text-light);
  font-style: italic;
  margin-bottom: 25px;
  line-height: 1.8;
}

.testimonial-text[style*="rtl"] {
  font-family: 'Cairo', sans-serif;
  font-style: normal;
  line-height: 2;
  color: var(--text-dark);
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 15px;
}

.author-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--bg-light);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.author-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.author-avatar i {
  font-size: 24px;
  color: var(--primary-color);
}

.author-info h4 {
  font-size: 18px;
  font-family: 'Cairo', sans-serif;
  color: var(--primary-color);
}

.author-info span {
  font-size: 14px;
  color: var(--text-light);
}

.slider-controls {
  display: flex;
  justify-content: center;
  gap: 15px;
}

.slider-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 2px solid var(--primary-color);
  background: white;
  color: var(--primary-color);
  cursor: pointer;
  transition: all 0.3s;
}

.slider-btn:hover {
  background: var(--primary-color);
  color: white;
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 60px;
  margin-bottom: 60px;
}

.contact-info h3 {
  font-size: 28px;
  color: var(--primary-color);
  margin-bottom: 20px;
}

.contact-items {
  margin: 40px 0;
}

.contact-item {
  display: flex;
  gap: 20px;
  margin-bottom: 30px;
}

.contact-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--bg-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-icon i {
  color: var(--primary-color);
  font-size: 20px;
}

.contact-details h4 {
  font-size: 16px;
  color: var(--primary-color);
  margin-bottom: 5px;
}

.contact-details p {
  color: var(--text-light);
  font-size: 14px;
}

.contact-social {
  display: flex;
  gap: 15px;
}

.social-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 25px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s;
}

.social-btn.whatsapp {
  background: #25d366;
  color: white;
}

.social-btn.whatsapp:hover {
  background: #20ba5a;
  transform: translateY(-3px);
}

.social-btn.phone {
  background: var(--primary-color);
  color: white;
}

.social-btn.phone:hover {
  background: #2d5f3f;
  transform: translateY(-3px);
}

.contact-form-wrapper {
  background: white;
  padding: 40px;
  border-radius: 20px;
  box-shadow: var(--shadow);
}

.form-group {
  position: relative;
  margin-bottom: 30px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 15px;
  border: 2px solid var(--border-color);
  border-radius: 10px;
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary-color);
}

.form-group label {
  position: absolute;
  top: -10px;
  left: 15px;
  background: white;
  padding: 0 5px;
  font-size: 14px;
  color: var(--text-light);
  font-weight: 500;
}

.footer {
  background: var(--primary-color);
  color: white;
  padding: 60px 0 20px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  margin-bottom: 40px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 20px;
  font-family: 'Playfair Display', serif;
}

.footer-logo i {
  color: var(--secondary-color);
}

.footer-col p {
  color: rgba(255,255,255,0.8);
  margin-bottom: 20px;
}

.footer-col h4 {
  font-size: 18px;
  margin-bottom: 20px;
}

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

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  transition: color 0.3s;
}

.footer-col ul li a:hover {
  color: var(--secondary-color);
}

.footer-social {
  display: flex;
  gap: 15px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-decoration: none;
  transition: all 0.3s;
}

.footer-social a:hover {
  background: var(--secondary-color);
  color: var(--text-dark);
  transform: translateY(-3px);
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.6);
}

/* Bouton WhatsApp Flottant */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background: #25d366;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  z-index: 999;
  transition: all 0.3s ease;
  text-decoration: none;
  animation: pulse 2s infinite;
}

.whatsapp-float:hover {
  background: #20ba5a;
  transform: scale(1.1);
  box-shadow: 0 6px 30px rgba(37, 211, 102, 0.6);
}

@keyframes pulse {
  0%, 100% {
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  }
  50% {
    box-shadow: 0 4px 30px rgba(37, 211, 102, 0.7);
  }
}

@media (max-width: 768px) {
  .whatsapp-float {
    bottom: 20px;
    right: 20px;
    width: 55px;
    height: 55px;
    font-size: 28px;
  }
  
  .nav {
    position: fixed;
    top: 80px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 80px);
    background: #1e3a5f;
    transition: left 0.3s;
    padding: 40px 20px;
  }
  
  .nav.active {
    left: 0;
  }
  
  .nav-list {
    flex-direction: column;
    gap: 20px;
  }
  
  .mobile-toggle {
    display: flex;
  }
  
  .hero-title {
    font-size: 36px;
  }
  
  .hero-subtitle {
    font-size: 16px;
  }
  
  .hero-buttons {
    flex-direction: column;
  }
  
  .hero-features {
    flex-direction: column;
    gap: 20px;
  }
  
  .about-content {
    grid-template-columns: 1fr;
  }
  
  .about-stats {
    grid-template-columns: 1fr;
  }
  
  .services-grid {
    grid-template-columns: 1fr;
  }
  
  .price-tabs {
    flex-direction: column;
  }
  
  .tab-btn {
    width: 100%;
  }
  
  .price-items-grid {
    grid-template-columns: 1fr;
  }
  
  #maison .price-items-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  
  #maison .price-card {
    padding: 15px;
  }
  
  #maison .price-card h4 {
    font-size: 14px;
  }
  
  #maison .price-card .price {
    font-size: 16px;
  }
  
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .testimonials-slider {
    grid-template-columns: 1fr;
  }
  
  .contact-content {
    grid-template-columns: 1fr;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
  }
}
