/* Medical Custom CSS - Dr. Fernando Barboza Urologo */

/* Asegurar que las imágenes se adapten correctamente */
.img-fluid {
  max-width: 100%;
  height: auto;
  object-fit: cover;
}

/* Imágenes de testimonios */
.testimonial-img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #fff;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* Imágenes de valores */
.values .card img {
  height: 200px;
  object-fit: cover;
  border-radius: 8px 8px 0 0;
}

/* Imagen hero */
.hero-img img {
  max-height: 500px;
  object-fit: cover;
}

/* Imagen about */
.about img {
  max-height: 400px;
  object-fit: cover;
  border-radius: 8px;
}

/* Fallback para imágenes que no cargan */
img[src*="scontent.fbog10-1.fna.fbcdn.net"] {
  background-color: #f8f9fa;
  border: 1px solid #dee2e6;
}

/* Asegurar que las imágenes mantengan proporción */
img {
  max-width: 100%;
  height: auto;
}

/* Responsive para móviles */
@media (max-width: 768px) {
  .testimonial-img {
    width: 50px;
    height: 50px;
  }
  
  .values .card img {
    height: 150px;
  }
  
  .hero-img img {
    max-height: 300px;
  }
  
  .about img {
    max-height: 250px;
  }
}

/* Colores médicos profesionales */
:root {
  --medical-blue: #1e3a8a;
  --medical-light-blue: #3b82f6;
  --medical-green: #059669;
  --medical-white: #ffffff;
  --medical-gray: #6b7280;
}

/* Botones de WhatsApp */
.btn-whatsapp {
  background-color: #25d366;
  border-color: #25d366;
  color: white;
}

.btn-whatsapp:hover {
  background-color: #128c7e;
  border-color: #128c7e;
  color: white;
}

/* Estilos para secciones médicas */
.medical-section {
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

/* Animaciones suaves */
.fade-in {
  animation: fadeIn 0.6s ease-in;
}

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