/* ESTILOS RESPONSIVOS */
/* Para pantallas pequeñas (móviles) */
@media (max-width: 767px) {
  .hero h1 {
    font-size: 2.5rem;
  }
  
  .timeline-container {
    overflow-x: hidden;
    width: 100%;
  }
  
  .timeline-item {
    width: 100%;
    padding-left: 70px;
    padding-right: 25px;
    box-sizing: border-box;
  }
  
  .timeline-item.right {
    left: 0;
  }
  
  .timeline-line {
    left: 40px;
  }
  
  .timeline-dot {
    left: 32px;
    right: auto;
  }
  
  .whatsapp-chat {
    width: 300px;
    right: 10px;
  }
  
  footer {
    padding-bottom: 70px !important;
  }
  
  .whatsapp-chat, .whatsapp-button {
    bottom: 100px !important;
  }
  
  /* Hacer que el contenido se ajuste correctamente */
  .timeline-content {
    max-width: 100%;
    word-wrap: break-word;
  }
}

/* Estilos para la barra de navegación inferior */
.mobile-tab-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: white;
  display: flex;
  justify-content: space-around;
  padding: 8px 0;
  box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
  z-index: 1000;
  backdrop-filter: blur(10px);
  background-color: rgba(255, 255, 255, 0.95);
  border-top: 1px solid rgba(236, 72, 153, 0.1);
}

/* Ocultar en pantallas medianas y grandes */
@media (min-width: 768px) {
  .mobile-tab-bar {
    display: none !important;
  }
}

/* Mostrar solo en móviles */
@media (max-width: 767px) {
  .mobile-tab-bar {
    display: flex !important;
  }
}

.tab-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #666;
  font-size: 0.75rem;
  padding: 8px 5px;
  transition: all 0.3s ease;
  position: relative;
  width: 20%;
}

.tab-item:hover, .tab-item.active {
  color: #ec4899; /* Color rosa de Tailwind */
}

.tab-item.active::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 5px;
  height: 5px;
  background-color: #ec4899;
  border-radius: 50%;
  opacity: 1;
}

.tab-item .icon-container {
  margin-bottom: 4px;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.tab-item:hover .icon-container::before,
.tab-item.active .icon-container::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  background-color: rgba(236, 72, 153, 0.1);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    transform: scale(0.95);
    opacity: 0.7;
  }
  70% {
    transform: scale(1.1);
    opacity: 0.2;
  }
  100% {
    transform: scale(0.95);
    opacity: 0.7;
  }
}

/* Menú adicional */
.additional-menu {
  position: fixed;
  bottom: 70px;
  left: 0;
  right: 0;
  background: white;
  border-radius: 20px 20px 0 0;
  box-shadow: 0 -5px 25px rgba(0,0,0,0.15);
  display: none;
  flex-direction: column;
  z-index: 999;
  padding: 20px 15px;
  transform: translateY(100%);
  transition: transform 0.3s ease-in-out, opacity 0.3s ease;
  opacity: 0;
  max-height: 70vh;
  overflow-y: auto;
}

.additional-menu.show {
  transform: translateY(0);
  opacity: 1;
}

.menu-item {
  padding: 12px 15px;
  color: #333;
  text-decoration: none;
  display: flex;
  align-items: center;
  border-radius: 12px;
  margin-bottom: 5px;
  transition: all 0.2s ease;
}

.menu-item:hover {
  background-color: rgba(236, 72, 153, 0.1);
  color: #ec4899;
} 