/* Design moderne et soft pour la section PropertyListing avec couleur primaire */
.property-listing-hero {
  position: relative;
  background: linear-gradient(
    135deg,
    var(--primary-color, #00b140) 0%,
    #009935 100%
  );
  overflow: hidden;
  padding: 90px 0 90px 0;
}

/* Formes géométriques décoratives subtiles */
.property-listing-hero::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -10%;
  width: 400px;
  height: 400px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 50%;
  animation: float 8s ease-in-out infinite;
}
.property-listing-hero::after {
  content: "";
  position: absolute;
  bottom: -30%;
  left: -5%;
  width: 250px;
  height: 250px;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  animation: float 10s ease-in-out infinite reverse;
}

/* Animations flottantes douces */
@keyframes float {
  0%,
  100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-15px) rotate(3deg);
  }
}

/* Éléments décoratifs subtils */
.decorative-shapes {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.shape-1 {
  position: absolute;
  top: 20%;
  left: 15%;
  width: 60px;
  height: 60px;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 12px;
  transform: rotate(45deg);
  animation: pulse 6s ease-in-out infinite;
}
.shape-2 {
  position: absolute;
  top: 60%;
  right: 20%;
  width: 80px;
  height: 80px;
  border: 2px solid rgba(255, 255, 255, 0.06);
  border-radius: 50%;
  animation: pulse 8s ease-in-out infinite;
}
.shape-3 {
  position: absolute;
  bottom: 20%;
  left: 8%;
  width: 0;
  height: 0;
  border-left: 20px solid transparent;
  border-right: 20px solid transparent;
  border-bottom: 30px solid rgba(255, 255, 255, 0.04);
  animation: float 7s ease-in-out infinite;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 0.2;
    transform: scale(1);
  }
  50% {
    opacity: 0.5;
    transform: scale(1.05);
  }
}

/* Contenu principal */
.property-listing-content {
  position: relative;
  z-index: 2;
}

/* Badge d'en-tête soft */
.section-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.1);
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.95);
  padding: 8px 18px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 20px;
  animation: slideInUp 0.8s ease-out;
}

/* Titre amélioré et soft */
.enhanced-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  color: white;
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 0 2px 15px rgba(0, 0, 0, 0.2);
  animation: slideInUp 0.8s ease-out 0.2s both;
}

.enhanced-title .highlight {
  background: linear-gradient(45deg, #ffffff, #f1f5f9);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Sous-titre doux */
.enhanced-subtitle {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 40px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
  animation: slideInUp 0.8s ease-out 0.4s both;
}

/* Section statistiques soft */
.stats-section {
  display: flex;
  justify-content: center;
  gap: 50px;
  margin: 50px 0;
  animation: slideInUp 0.8s ease-out 0.6s both;
}

.stat-item {
  text-align: center;
  color: white;
}

.stat-number {
  display: block;
  font-size: 2.2rem;
  font-weight: 600;
  color: #f1f5f9;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.stat-label {
  font-size: 0.9rem;
  opacity: 0.8;
  margin-top: 5px;
}

/* Call-to-action buttons soft avec couleur primaire */
.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin: 40px 0;
  animation: slideInUp 0.8s ease-out 0.8s both;
}

.btn-primary-custom {
  background: linear-gradient(45deg, #ffffff, #f8fafc);
  border: none;
  padding: 12px 28px;
  border-radius: 25px;
  color: var(--primary-color, #00b140);
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.15);
}

.btn-primary-custom:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
  color: #009935;
  background: linear-gradient(45deg, #f1f5f9, #ffffff);
  text-decoration: none;
}

.btn-secondary-custom {
  background: rgba(255, 255, 255, 0.08);
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 11px 26px;
  border-radius: 25px;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-secondary-custom:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-1px);
  color: white;
  text-decoration: none;
}

/* Container des cartes avec effet doux */
.cards-container {
  position: relative;
  z-index: 2;
  margin-top: 60px;
  animation: slideInUp 0.8s ease-out 1s both;
}

/* Animation douce pour les cartes */
.cards-container .listing-style1 {
  animation: fadeInScale 0.6s ease-out both;
}

.cards-container .listing-style1:nth-child(1) {
  animation-delay: 0.1s;
}
.cards-container .listing-style1:nth-child(2) {
  animation-delay: 0.2s;
}
.cards-container .listing-style1:nth-child(3) {
  animation-delay: 0.3s;
}
.cards-container .listing-style1:nth-child(4) {
  animation-delay: 0.4s;
}

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

@keyframes fadeInScale {
  from {
    opacity: 0;
    transform: scale(0.95) translateY(15px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

/* Message vide stylisé et doux */
.empty-state {
  text-align: center;
  padding: 80px 20px;
  color: white;
  animation: slideInUp 0.8s ease-out;
}

.empty-state .icon {
  font-size: 3.5rem;
  margin-bottom: 20px;
  opacity: 0.6;
}

.empty-state h3 {
  color: white;
  margin-bottom: 15px;
  font-size: 1.4rem;
  font-weight: 600;
}

.empty-state p {
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 30px;
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
}

/* Message de chargement avec couleur primaire */
.loading-state {
  text-align: center;
  padding: 80px 20px;
  color: white;
  animation: slideInUp 0.8s ease-out;
}

.loading-spinner {
  width: 40px;
  height: 40px;
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: white;
  animation: spin 1s ease-in-out infinite;
  margin: 0 auto 20px;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Message d'erreur */
.error-state {
  text-align: center;
  padding: 80px 20px;
  color: white;
  animation: slideInUp 0.8s ease-out;
}

.error-state .icon {
  font-size: 3.5rem;
  margin-bottom: 20px;
  opacity: 0.6;
  color: #ff6b6b;
}

/* Responsive design */
@media (max-width: 768px) {
  .property-listing-hero {
    padding: 60px 0 40px 0;
  }

  .stats-section {
    gap: 30px;
    flex-wrap: wrap;
  }

  .stat-number {
    font-size: 1.8rem;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }

  .shape-1,
  .shape-2,
  .shape-3 {
    display: none; /* Masquer sur mobile pour simplifier */
  }

  .enhanced-title {
    font-size: 2.2rem;
  }

  .enhanced-subtitle {
    font-size: 1.1rem;
  }
}

@media (max-width: 480px) {
  .property-listing-hero {
    padding: 40px 0 40px 0;
  }

  .enhanced-title {
    font-size: 1.9rem;
  }

  .stats-section {
    gap: 20px;
  }

  .stat-number {
    font-size: 1.6rem;
  }
}

