/* VARIABLES */
:root {
  --g1: #0b3d20;
  --g2: #1b5e20;
  --g3: #2e7d32;
  --g4: #81c784;
  --g5: #f1f1d4;
  --white: #fff;
  --dark: #0e1a12;
  --accent: #c5f6d6;
  --glass: rgba(255, 255, 255, 0.1);
  --br: 14px;
}

/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: 'Poppins', sans-serif;
  background: linear-gradient(-45deg, var(--g1), var(--g2), var(--g3), var(--g4), var(--g5));
  background-size: 200% 200%;
  animation: bgMove 10s ease infinite;
  color: var(--white);
  min-height: 100vh;
}
@keyframes bgMove {
  0% { background-position: 0% 50% }
  50% { background-position: 100% 50% }
  100% { background-position: 0% 50% }
}

/* HEADER */
header {
  text-align: center;
  padding: 32px 16px 20px;
}
.topbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(6px);
}
.logo {
  height: 60px;
  border-radius: 12px;
  box-shadow: 0 6px 14px rgba(0,0,0,.35);
}
.nav-menu {
  display: flex;
  list-style: none;
  gap: 18px;
  font-weight: 600;
}
.nav-menu a {
  color: var(--white);
  text-decoration: none;
  padding: 8px 12px;
  border-radius: 10px;
}
.nav-menu a:hover {
  background: var(--glass);
}
.tagline {
  margin-top: 10px;
  font-size: 1.2rem;
  font-weight: 600;
}

/* GALERÍAS */
section.galeria {
  padding: 32px 16px;
  max-width: 1200px;
  margin: 0 auto;
}
section h2 {
  margin-bottom: 16px;
  font-size: 1.6rem;
  text-shadow: 1px 1px 3px rgba(0,0,0,.4);
}
.imagenes {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 14px;
}
.imagenes img {
  width: 100%;
  border-radius: var(--br);
  box-shadow: 0 8px 20px rgba(0,0,0,.3);
  transition: transform 0.3s ease;
}
.imagenes img:hover {
  transform: scale(1.03);
}

/* FORMULARIO DE CONTACTO */
.contacto {
  padding: 32px 16px;
  max-width: 600px;
  margin: 0 auto;
}
form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
input, textarea {
  padding: 10px 12px;
  border-radius: var(--br);
  border: none;
  outline: none;
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
}
button[type="submit"] {
  background: var(--g3);
  color: var(--white);
  padding: 12px;
  font-weight: bold;
  border: none;
  border-radius: var(--br);
  cursor: pointer;
  transition: background 0.3s ease;
}
button[type="submit"]:hover {
  background: var(--g2);
}

/* FOOTER */
footer {
  text-align: center;
  padding: 24px;
  font-size: 0.9rem;
  background: rgba(0,0,0,0.2);
  margin-top: 30px;
}