/**
 * Estilos personalizados para Espai Terapèutic
 * Basados en la página de alquiler de despachos
 */

/* Importar fuente Inter de Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700&display=swap');

/* Variables de color */
:root {
  --primary: #056677;
  --secondary: #1a7c8a;
  --light-teal: #e6f4f1;
  --text-gray: #4b5563;
  --text-dark: #111827;
}

/* Aplicar fuente Inter globalmente */
body, .entry-content, .elementor-widget-text-editor {
  font-family: 'Inter', sans-serif !important;
}

/* Estilos para títulos */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Inter', sans-serif !important;
  font-weight: 700;
  color: var(--text-dark);
}

/* Gradientes de fondo */
.bg-gradient-primary {
  background: linear-gradient(to right, var(--primary), var(--secondary));
}

.bg-gradient-soft {
  background: linear-gradient(to bottom right, #f0fdfa, #cffafe);
}

/* Botones principales */
.btn-primary, .elementor-button {
  background-color: var(--primary) !important;
  color: white !important;
  border-radius: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  transition: all 0.3s ease;
  border: none;
}

.btn-primary:hover, .elementor-button:hover {
  background-color: var(--secondary) !important;
  transform: translateY(-2px);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

/* Cards y tarjetas */
.card, .elementor-widget-container {
  background: white;
  border-radius: 0.75rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.card:hover {
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  transform: translateY(-4px);
}

/* Secciones con padding consistente */
section, .elementor-section {
  padding: 4rem 1rem;
}

@media (min-width: 768px) {
  section, .elementor-section {
    padding: 5rem 2rem;
  }
}

/* Contenedores centrados */
.container, .elementor-container {
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
}

/* Iconos con color primario */
.fa, .fas, .far, .fab {
  color: var(--primary);
}

/* Links con color primario */
a {
  color: var(--primary);
  transition: color 0.2s ease;
}

a:hover {
  color: var(--secondary);
}

/* Backgrounds alternativos */
.bg-white {
  background-color: white;
}

.bg-gray-50 {
  background-color: #f9fafb;
}

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

/* Texto */
.text-primary {
  color: var(--primary) !important;
}

.text-gray-600 {
  color: var(--text-gray);
}

.text-gray-900 {
  color: var(--text-dark);
}

/* Espaciado */
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-12 { margin-bottom: 3rem; }

.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }

.py-8 { padding-top: 2rem; padding-bottom: 2rem; }
.py-12 { padding-top: 3rem; padding-bottom: 3rem; }
.py-16 { padding-top: 4rem; padding-bottom: 4rem; }

/* Grid responsive */
.grid {
  display: grid;
  gap: 1.5rem;
}

.grid-cols-2 {
  grid-template-columns: repeat(2, 1fr);
}

@media (min-width: 768px) {
  .grid-cols-md-3 {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .grid-cols-md-4 {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Efectos de transición suaves */
* {
  transition: background-color 0.2s ease, color 0.2s ease;
}

/* Hero sections */
.hero-section {
  background: linear-gradient(to right, var(--primary), var(--secondary));
  color: white;
  padding: 5rem 1rem;
  text-align: center;
}

.hero-section h1 {
  color: white;
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
  .hero-section h1 {
    font-size: 3rem;
  }
}

/* Imágenes responsivas */
img {
  max-width: 100%;
  height: auto;
  border-radius: 0.5rem;
}

/* Sombras suaves */
.shadow-sm {
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.shadow {
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.shadow-lg {
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

/* Hover effects para imágenes */
img.hover-zoom {
  transition: transform 0.3s ease;
}

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

/* Pricing cards específicos */
.pricing-card {
  background: white;
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  border: 1px solid #e5e7eb;
  transition: all 0.3s ease;
}

.pricing-card:hover {
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  transform: translateY(-8px);
}

.pricing-card .price {
  font-size: 2.5rem;
  font-weight: bold;
  color: var(--primary);
}

/* Feature icons */
.feature-icon {
  width: 4rem;
  height: 4rem;
  background-color: var(--light-teal);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}

.feature-icon i {
  font-size: 1.5rem;
  color: var(--primary);
}

/* Responsiveness mejorado */
@media (max-width: 768px) {
  .hero-section {
    padding: 3rem 1rem;
  }
  
  .hero-section h1 {
    font-size: 1.875rem;
  }
  
  section, .elementor-section {
    padding: 2rem 1rem;
  }
}

/* Footer styling */
footer {
  background-color: #1f2937;
  color: white;
  padding: 2rem 1rem;
  text-align: center;
}

footer a {
  color: white;
}

footer a:hover {
  color: var(--light-teal);
}

