* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

body {
  background: linear-gradient(135deg, #111827, #1e293b);
  color: #f1f5f9;
  line-height: 1.6;
  overflow-x: hidden;
}

/* ---------- Header ---------- */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 10%;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 10;
}

header h1 {
  font-size: 1.8rem;
  color: #38bdf8;
  letter-spacing: 1px;
}

nav a {
  margin-left: 20px;
  text-decoration: none;
  color: #e2e8f0;
  transition: color 0.3s;
}

nav a:hover {
  color: #38bdf8;
}

/* ---------- Hero ---------- */
.hero {
  text-align: center;
  padding: 120px 10%;
  background: linear-gradient(120deg, #1e293b, #0f172a);
}

.hero h2 {
  font-size: 3rem;
  color: #f8fafc;
  margin-bottom: 20px;
}

.hero p {
  color: #94a3b8;
  max-width: 600px;
  margin: 0 auto 40px;
  font-size: 1.1rem;
}

.hero button {
  padding: 12px 30px;
  background-color: #38bdf8;
  border: none;
  border-radius: 30px;
  color: #0f172a;
  font-weight: bold;
  font-size: 1rem;
  cursor: pointer;
  transition: 0.3s;
}

.hero button:hover {
  background-color: #7dd3fc;
  transform: translateY(-2px);
}

/* ---------- Galería ---------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  padding: 80px 10%;
  background: #0f172a;
}

.card {
  background: #1e293b;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s;
}

.card:hover {
  transform: translateY(-5px);
}

.card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.card h3 {
  margin: 15px;
  color: #38bdf8;
}

.card p {
  margin: 0 15px 20px;
  color: #cbd5e1;
  font-size: 0.95rem;
}

/* ---------- Footer ---------- */
footer {
  text-align: center;
  padding: 30px;
  background: #111827;
  color: #94a3b8;
  font-size: 0.9rem;
}

footer a {
  color: #38bdf8;
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}