/* MIXED CSS PACK */
/* Template: electromecanicasanchez.com/index.html */
/* Template mtime: 2025-07-29 14:52:56 */

/* external link (no embedded): https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/css/bootstrap.min.css */
/* external link (no embedded): https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css */
/* external link (no embedded): https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&family=Roboto+Condensed:wght@700&display=swap */

/* ===== INLINE <style> BLOCK #1 ===== */
:root {
      --ticker-size: 500px;
      --primary-color: #2a5ee8;
      --secondary-color: #ff6b35;
      --dark-color: #1a1a2e;
      --light-color: #f8f9fa;
      --accent-color: #00b4d8;
    }
    
    body {
      font-family: 'Poppins', sans-serif;
      scroll-behavior: smooth;
      overflow-x: hidden;
    }
    
    h1, h2, h3, h4, h5, h6 {
      font-family: 'Roboto Condensed', sans-serif;
      font-weight: 700;
    }
    
    .navbar {
      background-color: rgba(26, 26, 46, 0.95) !important;
      backdrop-filter: blur(10px);
      box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
      transition: all 0.3s ease;
    }
    
    .navbar.scrolled {
      padding-top: 5px;
      padding-bottom: 5px;
    }
    
    .navbar-brand {
      font-weight: 700;
      font-size: 1.5rem;
      color: white !important;
    }
    
    .nav-link {
      font-weight: 500;
      position: relative;
      margin: 0 5px;
    }
    
    .nav-link::after {
      content: '';
      position: absolute;
      width: 0;
      height: 2px;
      bottom: 0;
      left: 0;
      background-color: var(--secondary-color);
      transition: width 0.3s ease;
    }
    
    .nav-link:hover::after {
      width: 100%;
    }
    
    /* Hero Section */
    header {
      background: linear-gradient(135deg, var(--primary-color) 0%, var(--dark-color) 100%);
      padding: 120px 0 100px;
      position: relative;
      overflow: hidden;
      color: white;
    }
    
    header::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: url('https://images.unsplash.com/photo-1508514177221-188b1cf16e9d?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1472&q=80') no-repeat center center/cover;
      opacity: 0.15;
      z-index: 0;
    }
    
    header .container {
      position: relative;
      z-index: 1;
    }
    
    header h1 {
      font-size: 3.5rem;
      margin-bottom: 1.5rem;
      text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    }
    
    header .lead {
      font-size: 1.5rem;
      margin-bottom: 2.5rem;
      font-weight: 300;
    }
    
    .btn-primary {
      background-color: var(--secondary-color);
      border: none;
      padding: 12px 30px;
      font-weight: 400;
      border-radius: 50px;
      transition: all 0.3s ease;
      box-shadow: 0 4px 15px rgba(255, 107, 53, 0.4);
    }
    
    .btn-primary:hover {
      background-color: #e05a2b;
      transform: translateY(-3px);
      box-shadow: 0 6px 20px rgba(255, 107, 53, 0.6);
    }
    
    /* Sections */
    section {
      padding: 80px 0;
      position: relative;
    }
    
    .section-title {
      position: relative;
      display: inline-block;
      margin-bottom: 50px;
    }
    
    .section-title::after {
      content: '';
      position: absolute;
      width: 70%;
      height: 4px;
      bottom: -10px;
      left: 15%;
      background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
      border-radius: 2px;
    }
    
    /* About Section */
    #quienessomos {
      background-color: white;
    }
    
    #quienessomos p {
      font-size: 1.1rem;
      line-height: 1.8;
      max-width: 800px;
      margin: 0 auto;
    }
    
    /* Services Section */
    #servicios {
      background-color: var(--light-color);
    }
    
    .service-card {
      background: white;
      border-radius: 10px;
      padding: 30px;
      height: 100%;
      transition: all 0.3s ease;
      border: none;
      box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
      position: relative;
      overflow: hidden;
    }
    
    .service-card::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      width: 5px;
      height: 0;
      background: linear-gradient(to bottom, var(--primary-color), var(--secondary-color));
      transition: height 0.3s ease;
    }
    
    .service-card:hover {
      transform: translateY(-10px);
      box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    }
    
    .service-card:hover::before {
      height: 100%;
    }
    
    /* Why Choose Us */
    .list-group-item {
      border-left: none;
      border-right: none;
      padding: 20px;
      font-size: 1.1rem;
      position: relative;
      padding-left: 50px;
    }
    
    .list-group-item::before {
      content: '✓';
      position: absolute;
      left: 15px;
      top: 50%;
      transform: translateY(-50%);
      color: var(--secondary-color);
      font-weight: bold;
      font-size: 1.5rem;
    }
    .ticker-wrapper {
      position: relative;
      width: 100%;
      overflow: hidden;
      height: 520px;
    }
    
    .ticker-track {
      display: flex;
      min-width: 200%;
      gap: 2rem;
      align-items: center;
      animation: tickerScroll 60s linear infinite; /* velocidad razonable para 38 imágenes */
    }
    
    .ticker-track img {
      width: var(--ticker-size, 500px);
      height: auto;
      border-radius: 10px;
      flex-shrink: 0;
      box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
      transition: transform 0.3s ease;
    }
    
    .ticker-track img:hover {
      transform: scale(1.03);
    }
    
    @keyframes tickerScroll {
      0% {
        transform: translateX(0);
      }
      100% {
        transform: translateX(-50%);
      }
    }


    /* FAQ Section */
    .accordion-button {
      font-weight: 600;
      font-size: 1.1rem;
    }
    
    .accordion-button:not(.collapsed) {
      background-color: rgba(42, 94, 232, 0.1);
      color: var(--primary-color);
    }
    
    .accordion-button:focus {
      box-shadow: none;
      border-color: rgba(42, 94, 232, 0.2);
    }
    
    /* Contact Section */
    #contacto {
      background: linear-gradient(135deg, #f5f7fa 0%, #e4e8f0 100%);
    }
    
    .form-control {
      padding: 15px;
      border-radius: 8px;
      border: 1px solid #ddd;
      transition: all 0.3s ease;
    }
    
    .form-control:focus {
      border-color: var(--primary-color);
      box-shadow: 0 0 0 0.25rem rgba(42, 94, 232, 0.25);
    }
    
    textarea.form-control {
      min-height: 150px;
    }
    
    /* Footer */
    footer {
      background-color: var(--dark-color);
      padding: 40px 0 20px;
    }
    
    .social-icons a {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      width: 40px;
      height: 40px;
      background-color: rgba(255, 255, 255, 0.1);
      border-radius: 50%;
      margin: 0 10px;
      color: white;
      font-size: 1.2rem;
      transition: all 0.3s ease;
    }
    
    .social-icons a:hover {
      background-color: var(--secondary-color);
      transform: translateY(-3px);
    }
    
    /* Animations */
    @keyframes fadeIn {
      from { opacity: 0; transform: translateY(20px); }
      to { opacity: 1; transform: translateY(0); }
    }
    
    .fade-in {
      animation: fadeIn 1s ease forwards;
    }
    
    /* Responsive Adjustments */
    @media (max-width: 992px) {
      header h1 {
        font-size: 2.8rem;
      }
      
      header .lead {
        font-size: 1.2rem;
      }
      
      :root {
        --ticker-size: 400px;
      }
    }
    
    @media (max-width: 768px) {
      header {
        padding: 100px 0 80px;
      }
      
      header h1 {
        font-size: 2.2rem;
      }
      
      section {
        padding: 60px 0;
      }
      
      :root {
        --ticker-size: 300px;
      }
    }
    
    @media (max-width: 576px) {
      header h1 {
        font-size: 1.8rem;
      }
      
      header .lead {
        font-size: 1rem;
      }
      
      :root {
        --ticker-size: 250px;
      }
      
      .ticker-wrapper {
        height: 400px;
      }
    }

/* ===== INLINE <style> BLOCK #2 ===== */
.btn-ticker {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  font-size: 3rem;
  background: rgba(0, 0, 0, 0.3);
  border: none;
  color: white;
  padding: 10px 20px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.btn-ticker:hover {
  background: rgba(0, 0, 0, 0.6);
}

.btn-ticker.left {
  left: 0;
}

.btn-ticker.right {
  right: 0;
}

/* ===== INLINE <style> BLOCK #3 ===== */
/* WhatsApp Float - El más hermoso del mundo */
.whatsapp-float-container {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 9999;
  perspective: 1000px;
}

.whatsapp-float {
  position: relative;
  transition: all 0.3s ease;
  transform-style: preserve-3d;
}

.whatsapp-float:hover {
  transform: translateY(-5px) rotate(5deg) scale(1.1);
}

.whatsapp-button {
  display: block;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: #25D366;
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.3);
  position: relative;
  transition: all 0.3s ease;
  animation: float 3s ease-in-out infinite;
}

.whatsapp-button:hover {
  background: #128C7E;
  transform: scale(1.1);
  box-shadow: 0 15px 30px rgba(37, 211, 102, 0.4);
}

.whatsapp-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 40px;
  height: 40px;
  color: white;
}

.whatsapp-ico {
  width: 100%;
  height: 100%;
  fill: white;
}

.whatsapp-pulse {
  position: absolute;
  width: 100%;
  height: 100%;
  background: rgba(37, 211, 102, 0.6);
  border-radius: 50%;
  opacity: 0;
  animation: pulse 2s infinite;
}

.whatsapp-pulse-delayed {
  position: absolute;
  width: 100%;
  height: 100%;
  background: rgba(37, 211, 102, 0.4);
  border-radius: 50%;
  opacity: 0;
  animation: pulse 2s infinite 0.5s;
}

.whatsapp-tooltip {
  position: absolute;
  right: 90px;
  top: 50%;
  transform: translateY(-50%);
  background: white;
  color: #333;
  padding: 12px 15px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  width: 200px;
  text-align: center;
}

.whatsapp-tooltip small {
  display: block;
  font-size: 12px;
  color: #666;
  font-weight: normal;
  margin-top: 3px;
}

.tooltip-arrow {
  position: absolute;
  right: -10px;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 10px solid white;
}

.whatsapp-float:hover .whatsapp-tooltip {
  opacity: 1;
  visibility: visible;
  right: 80px;
}

@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
  100% { transform: translateY(0px); }
}

@keyframes pulse {
  0% { transform: scale(0.8); opacity: 0; }
  70% { transform: scale(1.3); opacity: 0.4; }
  100% { transform: scale(1.4); opacity: 0; }
}

/* Efecto de latido al cargar */
@keyframes heartbeat {
  0% { transform: scale(1); }
  25% { transform: scale(1.1); }
  50% { transform: scale(1); }
  75% { transform: scale(1.1); }
  100% { transform: scale(1); }
}

/* Animación inicial */
.whatsapp-button {
  animation: heartbeat 1.5s ease 2s 2, float 3s ease-in-out infinite 3s;
}

/* Responsive */
@media (max-width: 768px) {
  .whatsapp-float-container {
    bottom: 20px;
    right: 20px;
  }
  
  .whatsapp-button {
    width: 60px;
    height: 60px;
  }
  
  .whatsapp-tooltip {
    display: none;
  }
}

