/* =====================
   ESTILOS GENERALES
===================== */
* {
  box-sizing: border-box;

}

html, body {
  overflow-x: hidden !important;
  width: 100%;
  scroll-behavior: smooth;
}

body {
  padding-top: 70px;
  font-family: 'Segoe UI', sans-serif;
  background-color: #f8f9fa;
}

/* =====================
   HERO
===================== */
.hero-section {
  height: 100vh;
  background: linear-gradient(to right, #0f172a, #1e293b);
  color: white;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow-x: hidden;
}

.hero-section h1 {
  font-size: 3rem;
}

.hero-section .lead {
  font-size: 1.5rem;
  margin-top: 1rem;
}

/* =====================
   TITULOS Y SECCIONES
===================== */
.section-title {
  font-weight: bold;
  color: #0f172a;
}

.section-bg {
  background: linear-gradient(135deg, #ffffff, #f1f5f9);
}

/* =====================
   CARDS
===================== */
.service-card,
.project-card {
  border: none;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover,
.project-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.3);
}

/* =====================
   WHATSAPP FLOTANTE
===================== */
.whatsapp-btn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #25D366;
  color: white;
  font-size: 28px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  animation: pulse 2s infinite;
  transition: all 0.3s ease;
}

.whatsapp-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 18px rgba(37, 211, 102, 0.6);
}

.tooltip-whatsapp {
  position: fixed;
  bottom: 90px;
  right: 20px;
  background: #1e293b;
  color: #fff;
  padding: 8px 12px;
  border-radius: 10px;
  font-size: 0.9rem;
  white-space: nowrap;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.3s ease;
  pointer-events: none;
  z-index: 9999;
}

.tooltip-whatsapp.show {
  opacity: 1;
  transform: translateY(0);
}

/* =====================
   ICONOS SOCIALES
===================== */
.social-scroll {
  position: fixed;
  top: 50%;
  left: 10px;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 9999;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.social-scroll.show {
  opacity: 1;
}

.social-icon {
  font-size: 16px;
  width: 32px;
  height: 32px;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.3s ease;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

.social-icon.ig { background: #d62976; }
.social-icon.tt { background: #1c1c1c; }
.social-icon.gh { background: #444; }

.social-icon:hover {
  transform: scale(1.08);
  filter: brightness(1.1);
}

/* =====================
   DECORACIONES HERO
===================== */
.decor-icon {
  position: absolute;
  opacity: 0.08;
  pointer-events: none;
  animation: float 6s ease-in-out infinite;
  color: #fff;
  z-index: 0;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* Ajustes para que no se desborde */
.decor-1 { top: 10%; left: 5%; font-size: 32px; }
.decor-2 { top: 22%; right: 5%; font-size: 32px; }
.decor-3 { bottom: 25%; left: 6%; font-size: 30px; }
.decor-4 { bottom: 16%; right: 6%; font-size: 32px; }
.decor-5 { top: 10%; right: 6%; font-size: 34px; }
.decor-6 { top: 20%; left: 10%; font-size: 32px; }
.decor-7 { bottom: 18%; left: 12%; font-size: 30px; }
.decor-8 { top: 30%; right: 10%; font-size: 30px; }
.decor-9 { bottom: 20%; right: 12%; font-size: 32px; }
.decor-10 { top: 10%; left: 40%; font-size: 34px; }

/* =====================
   LOGO NAVBAR
===================== */
.logo {
  height: 50px;
}

/* =====================
   MODAL
===================== */
.modal-content {
  border-radius: 16px;
}

/* =====================
   RESPONSIVE
===================== */
@media (max-width: 768px) {
  .hero-section h1 {
    font-size: 2.4rem;
  }

  .hero-section .lead {
    font-size: 1.2rem;
  }

  .tooltip-whatsapp {
    font-size: 0.8rem;
    bottom: 80px;
    right: 15px;
  }

  .container {
    padding-left: 15px;
    padding-right: 15px;
    overflow-x: hidden;
  }
}

/* =====================
   ANIMACIONES
===================== */
@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.08); }
  100% { transform: scale(1); }
}


