/* ===== ESTILOS GENERALES ===== */
body {
  font-family: 'Segoe UI', Arial, sans-serif;
  margin: 0;
  background-color: #f6f2eb;
  color: #2c2c2c;
}

h1, h2 {
  font-weight: 700;
  color: #5c3d1a;
}

p {
  line-height: 1.6;
}

/* ===== HEADER Y MENÚ ===== */
header {
  background-color: #3b2a14;
  color: #fff;
  padding: 0.5rem 1rem;
  position: sticky;
  top: 0;
  z-index: 10;
  box-shadow: 0 2px 5px rgba(0,0,0,0.3);
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo-header {
  width: 45px;
  height: 45px;
  border-radius: 50%;
}

.menu-btn {
  background: none;
  border: none;
  color: #ffcc33;
  font-size: 1.8rem;
  cursor: pointer;
  display: none;
}

.evento {
  display: block;
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s, box-shadow 0.2s;
}

.evento:hover {
  transform: scale(1.02);
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}


nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  justify-content: center;
  gap: 1rem;
}

nav a {
  color: #ffcc33;
  text-decoration: none;
  font-weight: bold;
  padding: 0.3rem 0.6rem;
  transition: all 0.2s;
}

nav a:hover,
nav a.active {
  color: #fff;
  border-bottom: 2px solid #ffcc33;
}

/* ===== SECCIONES ===== */
section {
  display: none;
  max-width: 900px;
  margin: auto;
  padding: 2rem 1rem;
  animation: fadeIn 0.4s ease-in-out;
}

section.visible {
  display: block;
}

.logo-main {
  display: block;
  margin: 1rem auto;
  width: 180px;
}

.card {
  background: #fff7e1;
  border: 1px solid #d2b48c;
  border-radius: 10px;
  padding: 1rem;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.galeria {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.evento {
  flex: 1 1 250px;
  background: #fff7e1;
  border: 1px solid #d2b48c;
  border-radius: 8px;
  padding: 0.5rem;
}

.evento img {
  width: 100%;
  border-radius: 8px;
  margin-bottom: 0.5rem;
}

footer {
  background-color: #3b2a14;
  color: #fff;
  text-align: center;
  padding: 1rem;
  margin-top: 2rem;
  font-size: 0.9rem;
}

/* ===== ANIMACIÓN ===== */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .menu-btn {
    display: block;
  }

  nav {
    display: none;
    background-color: #3b2a14;
  }

  nav.open {
    display: block;
  }

  nav ul {
    flex-direction: column;
    align-items: center;
  }

  nav a {
    display: block;
    padding: 1rem;
    border-bottom: 1px solid #574125;
  }

  .galeria {
    flex-direction: column;
  }
}
