/*
Theme Name: ALH Formación Child
Template: hello-elementor
Version: 1.0
Author: ALH Formación
Description: Child theme para Alhaurín Formación basado en Hello Elementor
*/

/* ===========================
   VARIABLES Y FUENTE BASE
   =========================== */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&display=swap');

:root {
  --color-pink:   #F0234A;
  --color-orange: #E8632B;
  --color-gold:   #C9A227;
  --color-dark:   #1a1a1a;
  --color-gray:   #f5f5f5;
  --color-white:  #ffffff;
  --grad-main: linear-gradient(135deg, #F0234A, #E8632B, #C9A227);
}

body, * {
  font-family: 'Poppins', sans-serif !important;
}

/* ===========================
   HEADER
   =========================== */
.elementor-location-header {
  box-shadow: 0 2px 20px rgba(0,0,0,0.08);
  border-bottom: 3px solid transparent;
  border-image: linear-gradient(90deg, #F0234A, #E8632B, #C9A227) 1;
}

/* ===========================
   BOTONES GLOBALES
   =========================== */
.elementor-button.btn-primary-alh,
.e-n-button-wrapper .btn-primary-alh {
  background: linear-gradient(135deg, #F0234A, #E8632B) !important;
  border-radius: 50px !important;
  font-weight: 700 !important;
  letter-spacing: 0.3px !important;
  box-shadow: 0 8px 25px rgba(240,35,74,0.3) !important;
  transition: all 0.25s ease !important;
}
.elementor-button.btn-primary-alh:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 12px 30px rgba(240,35,74,0.45) !important;
}

/* ===========================
   BOTÓN WHATSAPP
   =========================== */
.btn-whatsapp {
  background: #25D366 !important;
  border-radius: 50px !important;
  font-weight: 700 !important;
  color: #fff !important;
  transition: all 0.2s ease !important;
}
.btn-whatsapp:hover {
  background: #1ebe5d !important;
  transform: scale(1.03) !important;
}

/* ===========================
   FLOATING WHATSAPP
   =========================== */
.wa-float-btn {
  position: fixed !important;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  width: 60px;
  height: 60px;
  border-radius: 50% !important;
  background: #25D366 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-shadow: 0 8px 30px rgba(37,211,102,0.4) !important;
  animation: pulse-wa 2s infinite;
  text-decoration: none;
}
@keyframes pulse-wa {
  0%, 100% { box-shadow: 0 8px 30px rgba(37,211,102,0.4); }
  50%       { box-shadow: 0 8px 40px rgba(37,211,102,0.7); }
}

/* ===========================
   TARJETAS DE CURSOS (CPT)
   =========================== */
.curso-card {
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  transition: all 0.3s ease;
}
.curso-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.12);
}

.curso-cat-badge {
  background: var(--color-pink);
  color: #fff;
  border-radius: 50px;
  padding: 3px 12px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: inline-block;
}

.btn-wa-curso {
  background: #25D366 !important;
  color: #fff !important;
  border-radius: 50px !important;
  font-weight: 600 !important;
  transition: all 0.2s !important;
}
.btn-wa-curso:hover { background: #1ebe5d !important; }

/* ===========================
   SECCIÓN HERO
   =========================== */
.hero-section {
  background: linear-gradient(135deg, #fff 0%, #fef0f3 40%, #fff8ee 80%, #fffbe8 100%);
  position: relative;
  overflow: hidden;
}

.hero-badge-alh {
  display: inline-block;
  background: linear-gradient(135deg, #F0234A, #E8632B);
  color: #fff;
  border-radius: 50px;
  padding: 6px 16px;
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 16px;
  letter-spacing: 0.5px;
}

.hero-title-gradient {
  background: linear-gradient(135deg, #F0234A, #E8632B, #C9A227);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ===========================
   SECCIÓN NOSOTROS
   =========================== */
.about-section {
  background: #1a1a1a;
  color: #fff;
}

.feature-box-dark {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  padding: 20px;
  transition: all 0.2s ease;
}
.feature-box-dark:hover {
  background: rgba(240,35,74,0.15);
  border-color: #F0234A;
}

/* ===========================
   FORMULARIO DE CONTACTO
   =========================== */
.elementor-form .elementor-field-group input,
.elementor-form .elementor-field-group select,
.elementor-form .elementor-field-group textarea {
  border: 2px solid #e8e8e8 !important;
  border-radius: 12px !important;
  font-family: 'Poppins', sans-serif !important;
  transition: border-color 0.2s !important;
  padding: 12px 16px !important;
}
.elementor-form .elementor-field-group input:focus,
.elementor-form .elementor-field-group select:focus,
.elementor-form .elementor-field-group textarea:focus {
  border-color: #F0234A !important;
  outline: none !important;
}
.elementor-form .e-form__buttons .elementor-button {
  background: linear-gradient(135deg, #F0234A, #E8632B) !important;
  border-radius: 50px !important;
  font-weight: 700 !important;
  padding: 14px 32px !important;
  box-shadow: 0 8px 25px rgba(240,35,74,0.3) !important;
  width: 100% !important;
}

/* ===========================
   FOOTER
   =========================== */
.elementor-location-footer {
  background: #1a1a1a !important;
  color: rgba(255,255,255,0.7) !important;
}
.elementor-location-footer a {
  color: rgba(255,255,255,0.6) !important;
  transition: color 0.2s !important;
}
.elementor-location-footer a:hover {
  color: #F0234A !important;
}

/* ===========================
   INSTAGRAM FEED
   =========================== */
.sbi_photo_wrap img {
  border-radius: 16px !important;
  transition: transform 0.2s ease !important;
}
.sbi_photo_wrap:hover img {
  transform: scale(1.04) !important;
}

/* ===========================
   CATEGORÍAS FILTRO CURSOS
   =========================== */
.jet-filters-manager .jet-filter-item {
  background: #fff !important;
  border: 2px solid #e0e0e0 !important;
  border-radius: 50px !important;
  padding: 6px 16px !important;
  font-weight: 600 !important;
  font-size: 0.82rem !important;
  cursor: pointer !important;
  transition: all 0.2s !important;
}
.jet-filters-manager .jet-filter-item.active,
.jet-filters-manager .jet-filter-item:hover {
  background: #F0234A !important;
  border-color: #F0234A !important;
  color: #fff !important;
}

/* ===========================
   RESPONSIVE
   =========================== */
@media (max-width: 767px) {
  .hero-section { padding: 100px 20px 60px !important; }
  .wa-float-btn { bottom: 16px; right: 16px; width: 52px; height: 52px; }
}
