@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Playfair+Display:wght@400;500;600;700&display=swap');

:root {
  --primary: 255 182 193; /* Light Pink */
  --primary-foreground: 15 23 42;
  --secondary: 240 244 248;
  --secondary-foreground: 15 23 42;
  --muted: 248 250 252;
  --muted-foreground: 100 116 139;
  --accent: 240 244 248;
  --accent-foreground: 15 23 42;
  --destructive: 239 68 68;
  --destructive-foreground: 255 255 255;
  --border: 226 232 240;
  --input: 226 232 240;
  --ring: 255 182 193; /* Light Pink */
  --background: 255 255 255;
  --foreground: 15 23 42;
  --card: 255 255 255;
  --card-foreground: 15 23 42;
  --popover: 255 255 255;
  --popover-foreground: 15 23 42;
  --radius: 0.5rem;
}

* {
  border-color: hsl(var(--border));
}

body {
  background: #D2E0C6;
  font-family: 'Inter', sans-serif;
  color: hsl(var(--foreground));
  min-height: 100vh;
}

.font-display {
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  letter-spacing: -0.02em;
}

.glass-effect {
  background: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.gradient-text {
  background: linear-gradient(135deg, #e3bca6 0%, #d4a574 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Fix pour Leaflet z-index */
.leaflet-container {
  z-index: 1 !important;
}

.leaflet-control-container {
  z-index: 2 !important;
}

.leaflet-popup {
  z-index: 3 !important;
}

.floating-animation {
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-20px); }
}

.pulse-glow {
  animation: pulse-glow 2s ease-in-out infinite alternate;
}

@keyframes pulse-glow {
  from { box-shadow: 0 0 20px rgba(255, 160, 122, 0.4); }
  to { box-shadow: 0 0 40px rgba(255, 160, 122, 0.8); }
}

/* Updated Text and component colors for better contrast on pastel background */
.text-white {
  color: #333; /* Darker text for readability */
}
.text-white\/90 {
  color: rgba(51, 51, 51, 0.9);
}
.text-white\/80 {
  color: rgba(51, 51, 51, 0.8);
}
.text-white\/60 {
  color: rgba(51, 51, 51, 0.6);
}
.text-white\/50 {
    color: rgba(51, 51, 51, 0.5);
}
.text-white\/30 {
    color: rgba(51, 51, 51, 0.3);
}
.border-white {
  border-color: #333;
}
.hover\:bg-white\/10:hover {
  background-color: rgba(0, 0, 0, 0.05);
}
.hover\:bg-white\/20:hover {
  background-color: rgba(0, 0, 0, 0.1);
}
.text-purple-200 {
  color: #ff8a80; /* A nice coral color */
}
.hover\:text-purple-200:hover {
  color: #ff8a80;
}
.bg-white {
  background-color: hsl(var(--background));
}
.text-purple-700 {
    color: #ff8c00;
}
.hover\:bg-white\/90:hover {
    background-color: rgba(255, 255, 255, 0.9);
}

/* Animations personnalisées */
.fade-in {
  animation: fadeIn 0.8s ease-in-out;
}

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

.slide-in-left {
  animation: slideInLeft 0.8s ease-out;
}

@keyframes slideInLeft {
  from { opacity: 0; transform: translateX(-30px); }
  to { opacity: 1; transform: translateX(0); }
}

.slide-in-right {
  animation: slideInRight 0.8s ease-out;
}

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

/* Styles pour les boutons */
.btn-primary {
  background-color: #e3bca6;
  color: white;
  padding: 0.75rem 2rem;
  border-radius: 0.5rem;
  border: 1px solid #e3bca6;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
  font-weight: 500;
}

.btn-primary:hover {
  background-color: #d4a574;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(227, 188, 166, 0.4);
}

.btn-outline {
  background-color: transparent;
  color: #333;
  padding: 0.75rem 2rem;
  border-radius: 0.5rem;
  border: 1px solid #333;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
  font-weight: 500;
}

.btn-outline:hover {
  background-color: rgba(0, 0, 0, 0.05);
  transform: translateY(-2px);
}

/* Styles pour les cartes */
.card {
  background: white;
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

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

/* Styles pour les formulaires */
.form-input {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid #e5e7eb;
  border-radius: 0.5rem;
  background-color: #f9fafb;
  color: #333;
  transition: all 0.3s ease;
}

.form-input:focus {
  outline: none;
  border-color: #e3bca6;
  box-shadow: 0 0 0 3px rgba(227, 188, 166, 0.1);
}

.form-textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid #e5e7eb;
  border-radius: 0.5rem;
  background-color: #f9fafb;
  color: #333;
  transition: all 0.3s ease;
  resize: vertical;
  min-height: 120px;
}

.form-textarea:focus {
  outline: none;
  border-color: #e3bca6;
  box-shadow: 0 0 0 3px rgba(227, 188, 166, 0.1);
}

.form-label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: #333;
}

/* Responsive */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-subtitle {
    font-size: 1.125rem;
  }
  
  .card {
    padding: 1.5rem;
  }
}
