/* style.css mejorado y atractivo */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&display=swap');

body {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  background-color: #f0f4f8;
  color: #333;
  line-height: 1.6;
}

header {
  background: #003366;
  padding: 15px 30px;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

header img {
  height: 50px;
}

nav a {
  color: #fff;
  margin-left: 20px;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

nav a:hover {
  color: #66b2ff;
}

#hero {
  background: linear-gradient(to right, #0052cc, #003366);
  color: #fff;
  text-align: center;
  padding: 80px 20px;
}

#hero h1 {
  font-size: 2.5em;
  margin-bottom: 10px;
}

#hero p {
  font-size: 1.2em;
  margin-bottom: 20px;
}

.btn {
  background: #0073e6;
  color: #fff;
  padding: 12px 24px;
  border: none;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.3s ease;
  display: inline-block;
}

.btn:hover {
  background: #005bb5;
}

#destacados {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  padding: 40px 20px;
  background: #ffffff;
}

.card {
  background: #ffffff;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0,0,0,0.2);
}

.card h2 {
  color: #003366;
  margin-top: 0;
}

footer {
  background: #003366;
  color: #fff;
  text-align: center;
  padding: 20px;
  margin-top: 30px;
}

main {
  padding: 40px 20px;
  max-width: 1000px;
  margin: auto;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

form input, form textarea {
  width: 100%;
  padding: 10px;
  border-radius: 5px;
  border: 1px solid #ccc;
  font-size: 1em;
}

form button {
  margin-top: 10px;
}

@media (max-width: 768px) {
  nav a {
    margin-left: 10px;
  }
  #hero h1 {
    font-size: 2em;
  }
  .btn {
    padding: 10px 20px;
  }
}
