body { font-family: Arial, sans-serif; margin: 0; padding: 0; background-color: white; }
.top-bar { background: #003366; color: white; font-size: 14px; padding: 5px 20px; text-align: right; }
.top-bar a { color: white; text-decoration: none; margin-left: 15px; }
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 20px;
  border-bottom: 4px solid #003366;
}
.logo-container { display: flex; align-items: center; }
.logo { height: 70px; max-width: 200px; }
nav {
  display: flex;
  align-items: center;
}
nav a {
  color: black;
  margin: 0 15px;
  text-decoration: none;
  font-size: 18px;
  font-weight: bold;
}
nav a:hover {
  border-bottom: 2px solid #003366;
  padding-bottom: 3px;
}
.container { width: 90%; margin: auto; overflow: hidden; }
section {
  padding: 30px 0;
  background: white;
  margin: 20px 0;
  border-radius: 5px;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
section.visible {
  opacity: 1;
  transform: translateY(0);
}
h2 { color: #003366; text-align: center; }
.imagenes { display: flex; flex-wrap: wrap; gap: 15px; justify-content: center; }
.imagenes img {
  width: 30%;
  border-radius: 5px;
  transition: transform 0.3s ease-in-out;
}
.imagenes img:hover {
  transform: scale(1.1);
}
button { background: #006633; color: white; border: none; padding: 10px 20px; border-radius: 5px; font-size: 16px; cursor: pointer; }
button:hover { background: #004422; }
.footer-dark { background: #003366; color: white; padding: 20px 0; }
.footer-content { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 20px; }
.footer-column { flex: 1; min-width: 200px; }
.footer-column h3 { border-bottom: 2px solid white; padding-bottom: 5px; margin-bottom: 10px; }
.footer-column ul { list-style: none; padding: 0; }
.footer-column ul li { margin-bottom: 10px; }
.footer-column ul li a { color: white; text-decoration: none; }
.footer-column ul li a:hover { text-decoration: underline; }
.footer-bottom { text-align: center; padding: 10px 0; border-top: 1px solid white; }
.hero-slider {
    position: relative;
    height: 400px;
    overflow: hidden;
}
.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}
.slide.active {
    opacity: 1;
}
.slide:nth-child(1) {
    background: url('../img/hero.png') no-repeat center center;
}
.slide:nth-child(2) {
    background: url('../img/hero2.png') no-repeat center center;
}
.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}
.hero-content {
    position: absolute;
    color: white;
    padding: 50px;
    text-align: left;
    top: 50%;
    left: 10%;
    transform: translateY(-50%);
}
.hero-content h1 {
    font-size: 36px;
    margin-bottom: 10px;
}
.hero-content p {
    font-size: 18px;
}
.menu-toggle {
    display: none; /* Oculto en escritorio */
    font-size: 28px;
    cursor: pointer;
}
@media screen and (max-width: 768px) {
  nav {
      display: none; /* Ocultar el menú en móviles por defecto */
      flex-direction: column;
      background: #003366;
      position: absolute;
      top: 60px;
      right: 0;
      width: 200px;
      text-align: center;
      padding: 20px;
      border-radius: 5px;
  }
  nav a {
      color: white;
      display: block;
      margin: 10px 0;
  }
  .menu-toggle {
      display: block; /* Mostrar el icono hamburguesa en móviles */
  }
  .menu-open {
      display: flex; /* Mostrar el menú cuando esté abierto */
  }
}