/* 🎨 Paleta de colores */
body {
  font-family: "Poppins", sans-serif;
  background-color: #FAF3E0;
  color: #333;
  margin: 0;
  padding: 0;
}

/* 🔝 Encabezado */
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #3B7A57;
  padding: 15px 40px;
  color: white;
  flex-wrap: wrap;
}

header img {
  border-radius: 10px;
  max-width: 120px;
  height: auto;
}

header .logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: #E6B325;
}

/* 📋 Navegación */
nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
  margin: 0;
  padding: 0;
}

nav ul li a {
  text-decoration: none;
  color: white;
  font-weight: 500;
  transition: 0.3s;
}

nav ul li a:hover {
  color: #E6B325;
}

/* 📸 Carrusel */
.carousel {
  position: relative;
  width: 100%;
  max-height: 500px;
  overflow: hidden;
}

.carousel img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  border-radius: 10px;
}

/* 🃏 Cartas */
.cartas {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin: 40px;
}

.card {
  background: white;
  border-radius: 15px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  overflow: hidden;
  transition: 0.3s;
  display: flex;
  flex-direction: column;
}

.card:hover {
  transform: translateY(-5px);
}

.card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.card-content {
  padding: 15px;
  flex-grow: 1;
}

.card h3 {
  color: #3B7A57;
}

button {
  background: #E6B325;
  border: none;
  padding: 10px 20px;
  margin: 15px;
  border-radius: 20px;
  cursor: pointer;
  transition: 0.3s;
}

button:hover {
  background: #d49a12;
  color: white;
}

/* 📍 Footer */
footer {
  background: #3B7A57;
  color: white;
  text-align: center;
  padding: 20px;
  margin-top: 40px;
}

footer .footer-links {
  list-style: none;
  padding: 0;
  margin: 10px 0;
}

footer .footer-links li {
  margin: 5px 0;
}

footer .footer-links a {
  text-decoration: none;
  color: #E6B325;
}

footer .social-icons a {
  margin: 0 10px;
  font-size: 1.2rem;
}

/* 📱 Responsive */
@media (max-width: 992px) {
  header {
    flex-direction: column;
    text-align: center;
  }
  nav ul {
    flex-direction: column;
    gap: 10px;
    margin-top: 15px;
  }
}

@media (max-width: 768px) {
  .carousel img {
    height: 300px;
  }
  .cartas {
    margin: 20px;
  }
}

@media (max-width: 576px) {
  header .logo {
    font-size: 1.2rem;
  }
  button {
    width: 100%;
    margin: 10px 0;
  }
  footer {
    font-size: 0.9rem;
  }
}
