body {
  background-image: url('../img/fondo.jpg');
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-position: center;
  background-color: #000; /* por si la imagen tarda */
  color: white;
   text-shadow: 3px 3px 8px rgba(218, 119, 43, 0.877);
  margin: 0;
  font-family: 'Montserrat', sans-serif;
  background: linear-gradient(135deg, #fff8f0 0%, #ffe5b4 50%, #ffcc80 100%);
  color: #333;
}
header {
  background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)),
              url('../img/head.jpg') center/cover no-repeat fixed;
  text-align: center;
  padding: 4rem 1rem;
  color: white;
}
header img.logo {
  height: 320px;
  max-width: 100%;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s ease;
}
header img.logo:hover {
  transform: scale(1.05);
}
nav {
  display: flex;
  justify-content: center;
  gap: 6rem;
  background-color: #ffc107;
  padding: 1rem;
  font-weight: bold;
  font-size: 25px;
}
nav a {
  color: #222;
  text-decoration: none;
}
nav a i {
  margin-right: 0.5rem;
}
section {
  section {
  background-color: rgba(255, 255, 255, 0.8); /* traslúcido */
}
  padding: 2rem;
}
h2 {
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
  font-size: 2rem;
  text-align: center;
  color: #e65100;
}
.destinos, .gastronomia, .cultura {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}
.card {
  background-color: white;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  overflow: hidden;
  transition: transform 0.3s ease;
}
.card:hover {
  transform: scale(1.02);
}
.card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}
.card h3 {
  margin: 0;
  padding: 1rem;
  background-color: #ff7043;
  color: white;
   text-shadow: 3px 3px 4px rgba(0, 0, 0, 0.877);
}
.card p {
  padding: 1rem;
}
footer {
  background-color: #4caf50;
  color: white;
  text-align: center;
  padding: 1rem;
}
#scrollTopBtn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #ff7043;
  color: white;
  border: none;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  font-size: 1.5rem;
  cursor: pointer;
  box-shadow: 0 4px 8px rgba(0,0,0,0.3);
  z-index: 1000;
}
#contacto {
  text-align: center;
  background-color: rgba(255, 255, 255, 0.364);
  padding: 2rem;
  border-radius: 40px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.826);
  margin: 2rem auto;
  max-width: 800px;
}

#contacto h2 {
  color: #d84315;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.377);
  margin-bottom: 1rem;
}

#contacto ul {
  list-style: none;
  padding: 0;
  font-size: 1.2rem;
}

#contacto ul li {
  margin: 1rem 0;
}

#contacto a {
  color: #1565c0;
  text-decoration: none;
  font-weight: bold;
}

#contacto a:hover {
  text-decoration: underline;
}


/* --- Estilos responsivos para móviles --- */
@media (max-width: 768px) {
  nav {
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem;
  }
  nav a {
    font-size: 1.2rem;
  }
  .destinos, .gastronomia, .cultura {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 1rem;
  }
  .card img {
    height: auto;
    max-height: 200px;
  }
  .card h3 {
    font-size: 1.2rem;
    text-align: center;
  }
  .card p {
    font-size: 1rem;
    text-align: center;
  }
  header img.logo {
    width: 100%;
    height: auto;
    max-width: 300px;
    margin: 0 auto;
  }
  .social-icons {
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 1rem;
  }
  body {
    padding: 0;
    margin: 0;
  }
}