/* Colores inspirados en agua y tecnología */
:root {
  --color-primary: #2a8fbd; /* azul turquesa */
  --color-secondary: #4caf50; /* verde */
  --color-accent: #e60000; /* rojo para llamadas a acción */
  --button-color: #0069d9; /* Azul para el botón */
  --button-hover-color: #0056b3; /* Hover azul más oscuro */
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: #f9fbfd;
  color: #333;
}

/* Navbar */
.navbar {
  background: rgba(255 255 255 / 0.9);
  backdrop-filter: saturate(180%) blur(15px);
  box-shadow: 0 2px 4px rgb(0 0 0 / 0.1);
}

.navbar-brand {
  font-weight: 700;
  color: var(--color-primary);
  font-size: 1.5rem;
}

.nav-link {
  color: #555;
  font-weight: 600;
}

.nav-link:hover, .nav-link.active {
  color: var(--color-primary);
}

/* Hero Section */
.hero {
  position: relative;
  background: linear-gradient(to right, rgba(42,143,189,0.8), rgba(42,143,189,0.3));
  color: white;
  min-height: 90vh;
  display: flex;
  align-items: center;
  padding: 2rem;
  opacity: 0;
  animation: fadeIn 2s ease-out forwards;
}

.hero-text {
  max-width: 600px;
  z-index: 2;
}

.hero-text h1 {
  font-weight: 800;
  font-size: 3.5rem;
  line-height: 1.1;
  opacity: 0;
  animation: slideUp 1.5s ease-out 0.5s forwards;
}

.hero-text p {
  font-size: 1.25rem;
  margin: 1.5rem 0;
  opacity: 0;
  animation: slideUp 1.5s ease-out 1s forwards;
}

.btn-primary {
  background-color: var(--button-color);
  border: none;
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  border-radius: 40px;
  transition: background-color 0.3s ease;
}

.btn-primary:hover {
  background-color: var(--button-hover-color);
}

.hero-image {
  flex: 1;
  text-align: center;
  opacity: 0;
  animation: fadeIn 2s ease-out 1s forwards;
}

.hero-image img {
  max-width: 90%;
  border-radius: 20px;
  box-shadow: 0 15px 35px rgb(0 0 0 / 0.2);
}

/* Secciones */
section {
  padding: 4rem 2rem;
}

section h2 {
  text-align: center;
  margin-bottom: 2rem;
  color: var(--color-primary);
  font-weight: 700;
  opacity: 0;
  animation: fadeIn 2s ease-out 1s forwards;
}

/* Animación para que el contenido de la sección aparezca */
@keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

/* Animación para el deslizamiento de texto */
@keyframes slideUp {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Footer */
footer {
  background: #2a8fbd;
  color: white;
  padding: 1rem 0;
  text-align: center;
  font-weight: 500;
}
