/* ==============================================
   VITROPHANIE.NET - CSS PERSONNALISÉ
   Version: 1.0
   ============================================== */

/* Variables CSS */
:root {
  --primary-color: #6366F1;
  --secondary-color: #F97316;
  --accent-color: #8B5CF6;
  --dark-color: #2D3748;
  --light-color: #F7FAFC;
  --gradient-primary: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  --gradient-secondary: linear-gradient(135deg, var(--accent-color), var(--primary-color));
  --shadow-soft: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-medium: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-large: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

/* Animations personnalisées */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

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

/* Classes utilitaires */
.fade-in-up {
  animation: fadeInUp 0.6s ease-out;
}

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

.pulse-hover:hover {
  animation: pulse 0.3s ease-in-out;
}

/* Styles pour les cartes de services */
.service-card {
  background: var(--gradient-primary);
  border-radius: 16px;
  padding: 2rem;
  box-shadow: var(--shadow-medium);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--gradient-secondary);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.service-card:hover::before {
  opacity: 1;
}

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

/* Boutons personnalisés */
.btn-primary-custom {
  background: var(--gradient-primary);
  border: none;
  border-radius: 12px;
  padding: 12px 24px;
  color: white;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-soft);
}

.btn-primary-custom:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-medium);
  filter: brightness(1.1);
}

/* Header avec effet de verre */
.glass-header {
  backdrop-filter: blur(10px);
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

/* Sections avec arrière-plans dégradés */
.hero-section {
  background: #ffffff;
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
}

.hero-section::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('../images/hero-vitrophanie.jpg') center/cover;
  opacity: 0.1;
  z-index: -1;
}

/* Formulaires stylisés */
.form-control-custom {
  border: 2px solid #E2E8F0;
  border-radius: 8px;
  padding: 12px 16px;
  transition: all 0.3s ease;
}

.form-control-custom:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
  outline: none;
}

/* Button mobile optimizations */
@media (max-width: 768px) {
  .btn-primary-custom {
    min-height: 44px;
    padding: 10px 16px;
    font-size: 14px; /* Prevent zoom on iOS */
    touch-action: manipulation;
  }
}

/* Responsive */
@media (max-width: 768px) {
  .service-card {
    padding: 1.5rem;
  }
  
  .hero-section {
    min-height: 70vh;
  }
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
  :root {
    --dark-color: #F7FAFC;
    --light-color: #2D3748;
  }

  .glass-header {
    background: rgba(45, 55, 72, 0.95);
  }
}

/* ==============================================
   OPTIMISATIONS ADDITIONNELLES
   ============================================== */

/* Suppression des anciens styles - Le nouveau système minimaliste
   est géré dans content-visual.css */
