* {
   margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body{ 
   font-family: Arial, sans-serif;
  background-color: rgb(245, 245, 245);
}
header {
  text-align: center;
  padding: 0rem;
  background-color: white;
  border-bottom: 0.0625rem solid rgb(221,221,221);
  margin-bottom: 1rem;
}
.hero {
  background-image: url('../img/avion5.jpg'); /* ajustá ruta */
  background-size: cover;
  background-position: center;
  height: 30vh;

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;

  color: rgb(255, 255, 255);
  text-align: center;
}

.mi-navbar {
  background-color: white;
  border-bottom: 1px solid #ddd;
}

.navbar-nav {
  gap: 1.5rem;
}

.nav-link {
  color: #333;
  font-weight: 500;
  text-align: center;
}


.carousel img {
  height: 300px;
  object-fit: cover;
  object-position: center;
}

.carousel-wrapper {
  margin: 0 2.5rem;
}

.buscador {
  margin-top: 2rem !important;
  position: static;
  padding-left: 2.5rem;
  padding-right: 2.5rem;
}

.form-busqueda {
   display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: flex-end;
}

.campo {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 150px;
}

.campo input,
.campo select {
  height: 38px;
}

.form-busqueda input,
.form-busqueda select {
  padding: 0.5rem;
  border: 1px solid #ccc;
  border-radius: 0.3rem;
  flex: 1;
  min-width: 150px;
}

.form-busqueda button {
  background-color: rgb(52,152,219);
  color: white;
  border: none;
  padding: 0.5rem 1.2rem;
  border-radius: 999px;
  cursor: pointer;
}

main {
    padding: 1.25rem;
}

.destinos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(20rem, 1fr));
  gap: 1rem; 
  padding: 1.25rem;
}

.destino {
  background-color: rgb(255, 255, 255);
  padding: 1.5rem;
  border: 1px solid rgb(221, 221, 221);
  border-radius: 0.5rem;
  position: relative;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  cursor: pointer;
}

.destino:hover {
  transform: translateY(-6px) scale(1.03);
  box-shadow: 0 12px 25px rgba(0,0,0,0.12);
}

.destino h2 {
  margin-top: 0;
}

.destino p {
  margin: 0.5rem 0;
}

.destino img {
  width: 100%;
  height: 12rem;
  object-fit: cover;
  border-radius: 0.4rem;
  display: block;
}

.badge {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  color: rgb(8, 0, 0);
  padding: 0.3rem 0.6rem;
  font-size: 0.8rem;
  border-radius: 0.3rem;
  font-weight: bold;
}
.popular {
 background-color: rgb(0, 255, 115);
}
.economico {
  background-color: rgb(234, 85, 30);
}

.premium {
  background-color: rgb(247, 243, 7);
 
}
.precio {
  font-size: 1.2rem;
  font-weight: bold;
  color: rgb(44,62,80);
  margin-top: 0.8rem;
}

.destino button {
  margin-top: 0.8rem;
  padding: 0.5rem 0.8rem;
  border: none;
  background-color: rgb(52,152,219);
  color: white;
  border-radius: 999px;
  cursor: pointer;
  font-weight: bold;
}

.destino button:hover {
  background-color: rgb(41,128,185);
}

.footer-contenido {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2rem;
  margin: 0 5rem;
}

.footer-seccion {
  min-width: 180px;
}

.footer-seccion h4 {
  margin-bottom: 0.8rem;
}

.footer-seccion a {
  display: block;
  color: rgb(41,128,185);
  text-decoration: none;
  margin-bottom: 0.4rem;
  font-size: 0.9rem;
}

.footer-seccion a:hover {
  color: rgb(8, 42, 152);
}

@media (max-width: 480px) {
  .destinos {
    grid-template-columns: 1fr;
  }
}