/* Fuente y base */

body {
  font-family: 'Poppins', sans-serif;
  background-color: #f8f9fa;
  color: #333;
  scroll-behavior: smooth;
}

/* Colores personalizados */
:root {
  --azul: #0054a6;
  --naranja: #009df4;
  --gris: #f5f5f5;
  --azul-oscuro: #023147;
}

/* Top bar */
.top-bar {
  background-color: var(--azul-oscuro);
  font-size: 0.85rem;
}

/* Navbar */
.navbar-brand strong {
  color: var(--azul);
}
.navbar-nav .nav-link {
  color: var(--azul);
  font-weight: 500;
}
.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: var(--naranja);
}
.btn-primary {
  background-color: var(--naranja);
  border: none;
}
.btn-primary:hover {
  background-color: #023147;;
}
.btn-outline-primary {
  border-color: var(--azul);
  color: var(--azul);
}
.btn-outline-primary:hover {
  background-color: var(--azul);
  color: #fff;
}

/* Hero */
.hero {
  background: linear-gradient(rgba(0, 0, 0, 0.658), rgba(0,0,0,0.6)), url('../img/fondo-minimarket.jpg') center/cover no-repeat;
  min-height: 100vh;
  padding-top: 80px;
  padding-bottom: 80px;
}
.text-orange {
  color: var(--naranja);
}
.bg-orange-soft {
  background-color: rgba(255, 102, 0, 0.1);
}
.badge.text-orange {
  color: var(--naranja);
  font-size: 0.85rem;
}

/* Formulario */
.card {
  border: none;
  border-radius: 1rem;
}
.form-floating .form-control {
  border-radius: 0.75rem;
  border: 1px solid #ddd;
}
.was-validated .form-control:invalid {
  border-color: #023147;
}
.was-validated .form-control:valid {
  border-color: #28a745;
}

/* WhatsApp botón flotante */
.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1000;
}
.whatsapp-float img {
  width: 60px;
  transition: transform 0.3s ease;
}
.whatsapp-float img:hover {
  transform: scale(1.1);
}

/* Footer */
footer {
  font-size: 0.9rem;
  background-color: #222;
}

/* Responsive */
@media (max-width: 768px) {
  .hero {
    padding-top: 60px;
    padding-bottom: 60px;
    text-align: center;
  }
  .navbar .btn {
    margin-top: 10px;
  }
}

/* ====== Mejoras añadidas ====== */

/* Transiciones suaves globales */
* {
  transition: all 0.3s ease-in-out;
}

/* Animación fadeInDown */
@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.fadeInDown {
  animation: fadeInDown 0.6s ease-out;
}

/* Estilos responsive adicionales para pantallas pequeñas */
@media (max-width: 576px) {
  .navbar-brand img {
    width: 100px;
  }
  .hero h1 {
    font-size: 1.8rem;
  }
  .btn {
    font-size: 0.9rem;
    padding: 10px 16px;
  }
  footer {
    padding: 20px 10px;
    text-align: center;
  }
}
.form-card {
  background: #fff;
  border-radius: 1rem;
  max-width: 400px;
  width: 100%;
  animation: fadeInDown 0.5s ease;
}

.form-card h3 {
  color: var(--azul-oscuro);
}

.form-card input.form-control {
  border: none;
  border-bottom: 2px solid #ddd;
  border-radius: 0;
  padding: 12px 10px;
  font-size: 0.95rem;
}

.form-card input.form-control:focus {
  outline: none;
  border-bottom: 2px solid var(--azul);
  box-shadow: none;
}

.btn-form {
  background-color: var(--azul);
  color: white;
  font-weight: 600;
  border-radius: 30px;
  padding: 12px;
}

.btn-form:hover {
  background-color: #003366;
}

@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}
.animate-fadeIn {
  animation: fadeIn 0.3s ease-out forwards;
}
  @keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
  }

  .animate-scroll {
    animation: scroll 25s linear infinite;
  }

  body {
    overflow-x: hidden;
  }

.pulse {
    animation: pulse 2s infinite;
  }

  @keyframes pulse {
    0% {
      transform: scale(1);
      opacity: 1;
    }
    50% {
      transform: scale(1.1);
      opacity: 0.7;
    }
    100% {
      transform: scale(1);
      opacity: 1;
    }
  }

@keyframes fadeIn {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}
.animate-fadeIn {
  animation: fadeIn 1s ease-out forwards;
}
.startup-section {
  background: #f7f9fc;
  padding: 80px 20px;
  font-family: 'Poppins', sans-serif;
  text-align: center;
}

.startup-section .container {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
}

.text-content h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #1e2b4e;
  margin-bottom: 20px;
}

.text-content p {
  font-size: 1.1rem;
  color: #4f5d75;
  margin-bottom: 50px;
}

.mockup-container {
  position: relative;
  display: inline-block;
  max-width: 100%;
}

.mockup-container .mockup {
  width: 100%;
  max-width: 800px;
  height: auto;
  display: block;
  margin: 0 auto;
  filter: drop-shadow(0 10px 25px rgba(0,0,0,0.1));
}

.mockup-container .screen {
  position: absolute;
  top: 9.5%;
  left: 9.2%;
  width: 81.5%;
  height: 74%;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  background: transparent;
  border-radius: 10px;
}

.carousel {
  position: relative;
  width: 120%;
  height: 100%;
}

.carousel img {
  position: absolute;
  max-height: 150%;
  width: auto;
  left: 40%;
  transform: translateX(-50%);
  opacity: 0;
  animation: slideFade 8s infinite;
  border-radius: 6px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
}

/* Animaciones en cadena */
.carousel img:nth-child(1) {
  animation-delay: 0s;
}
.carousel img:nth-child(2) {
  animation-delay: 4s;
}
.carousel img:nth-child(3) {
  animation-delay: 8s;
}

/* Animación keyframes */
@keyframes slideFade {
  0% {
    opacity: 0;
    transform: translateX(50%);
  }
  10% {
    opacity: 1;
    transform: translateX(0);
  }
  30% {
    opacity: 1;
    transform: translateX(0);
  }
  40% {
    opacity: 0;
    transform: translateX(-50%);
  }
  100% {
    opacity: 0;
    transform: translateX(-50%);
  }
}


.mockup-container .screen img {
  height: 100%;
  width: auto;
  object-fit: contain;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.15);
  border-radius: 6px;
}
@media (max-width: 768px) {
  .text-content h2 {
    font-size: 2rem;
  }

  .text-content p {
    font-size: 1rem;
  }
}
.restaurant-system {
  background: #fff;
  padding: 5rem 1rem;
  text-align: center;
}

.screenshot-card img {
  width: 100%;
  height: auto;
  border-radius: 1rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.screenshot-card:hover img {
  transform: scale(1.03);
}

.screenshot-card h3 {
  margin-top: 1rem;
  font-weight: 600;
  color: #333;
}

.screenshot-card p {
  font-size: 0.9rem;
  color: #666;
}
  @keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
  }

  .infinite-scroll {
    display: flex;
    gap: 2rem;
    width: max-content;
    animation: scroll 30s linear infinite;
  }

  .logo-carousel-wrapper {
    overflow: hidden;
    width: 100%;
  }

  .logo-carousel-wrapper img {
    height: 2.5rem; /* Tamaño adaptable */
    width: auto;
  }

  @media (min-width: 768px) {
    .logo-carousel-wrapper img {
      height: 3rem;
    }
  }
  