/* RESET BÁSICO */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Candara, sans-serif;
  background: linear-gradient(120deg, #f9d423, #E4095D);
  color: #2b2b2b;
  padding: 20px;
}

/* ======= HEADER Y NAVEGACIÓN ======= */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: #FFD500; 
  z-index: 1000;
  padding:5px 20px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}


header img.logo-evento {
  max-width: 250px;
  height: auto;
}

.auth-buttons {
  position: absolute;
  top: 20px;
  right: 20px;
}

.auth-buttons a {
  margin-left: 10px;
  padding: 8px 15px;
  background-color: #472668;
  color: white;
  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
  transition: background-color 0.3s;
}

.auth-buttons a:hover {
  background-color: #c0392b;
}

.nav-container {
  background-color: #472668;
  padding: 10px 20px;
  border-radius: 10px;
  margin-top: 20px;
}

.nav {
  list-style: none;
  display: flex;
  gap: 20px;
}

.nav > li {
  position: relative;
}

.nav a {
  text-decoration: none;
  font-weight: bold;
  color: #fff;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.nav a:hover {
  color: #f9d423;
}

/* Submenú */
.nav li ul {
  display: none;
  position: absolute;
  top: 30px;
  left: 0;
  background-color: #d35400;
  padding: 10px;
  border-radius: 8px;
  z-index: 999;
}

.nav li:hover ul {
  display: block;
}

.nav li ul li {
  margin-bottom: 8px;
}
/* ======= SECCIONES GENERALES ======= */
section {
  margin: 60px 0;
  padding: 40px 20px;
  background-color: rgba(255, 255, 255, 0.9);
  border-radius: 15px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

section h1 {
  font-family: 'Playfair Display', serif;
  color: #472668;
  text-align: center;
  margin-bottom: 20px;
}

.descripcion-lugar,
#contacto p {
  text-align: center;
  font-size: 1.1rem;
  margin-bottom: 20px;
  color: #2b2b2b;
}

/* ======= EQUIPO ======= */
.equipo {
  padding: 60px 20px;
  background-color: rgba(255,255,255,0.9);
  border-radius: 15px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
  margin: 40px auto;
  max-width: 1000px;
  text-align: center;
}

.equipo h1 {
  color: #472668;
  font-family: 'Playfair Display', serif;
  margin-bottom: 30px;
  font-size: 2rem;
}

.miembros {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;
}

.persona {
  width: 220px;
  text-align: center;
}

.persona img {
  width: 180px;
  height: 180px;
  object-fit: cover;
  border-radius: 50%;
  box-shadow: 0 3px 8px rgba(0,0,0,0.3);
  margin-bottom: 10px;
}

.persona h3 {
  margin: 10px 0 5px;
  font-size: 1.2em;
  color: #E4095D;
}

.persona p {
  font-size: 0.95em;
}

/* ======= FORMULARIO DE CONTACTO ======= */
.form-contacto {
  display: flex;
  flex-direction: column;
  max-width: 500px;
  margin: 0 auto 30px auto;
}

.form-contacto label {
  margin-bottom: 5px;
  font-weight: bold;
  color: #472668;
}

.form-contacto input,
.form-contacto textarea {
  padding: 12px;
  margin-bottom: 15px;
  border: 2px solid #472668;
  border-radius: 8px;
  font-size: 1rem;
}

.form-contacto button {
  padding: 12px;
  background-color: #472668;
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: 0.3s ease;
}

.form-contacto button:hover {
  background-color: #c0392b;
}
/* Estilo base del botón (oculto en pantallas grandes) */
.menu-toggle {
  display: none;
  background-color: #472668;
  color: white;
  border: none;
  padding: 2px 2px;
  font-size:1.2rem;
  border-radius: 8px;
  cursor: pointer;
  margin-bottom: 10px;
}


/* ======= RESPONSIVE ======= */
@media (max-width: 768px) {
   .nav {
    display: none;
    flex-direction: column;
    gap: 15px;
    margin-top: 10px;
  }
  .nav.show {
    display: flex;
  }

  .miembros {
    flex-direction: column;
    align-items: center;
  }

  .persona {
    width: 80%;
  }
    .aura-card {
    flex-direction: column;
  }
  .aura-image {
    max-width: 100%;
  }
  .tarjeta-contenido,
.tarjeta-contenido.imagen-derecha {
  flex-direction: column !important;
  text-align: center;
}
.menu-toggle {
    display: block;
  }


}
.tarjeta-contenido {
  display: flex;
  align-items: center;
  gap: 40px;
  margin: 60px auto;
  background-color: rgba(255, 255, 255, 0.95);
  border-radius: 20px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
  overflow: hidden;
  padding: 30px;
  max-width: 1000px;
  flex-wrap: wrap;
}

.tarjeta-contenido.imagen-derecha {
  flex-direction: row-reverse;
}

.tarjeta-contenido img {
  width: 100%;
  max-width: 400px;
  height: auto;
  border-radius: 15px;
  object-fit: cover;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.tarjeta-texto {
  flex: 1;
  padding: 10px;
}

.tarjeta-texto h2 {
  font-family: 'Playfair Display', serif;
  color: #472668;
  margin-bottom: 15px;
}

.tarjeta-texto p {
  font-size: 1.05rem;
  line-height: 1.6;
  color: #2b2b2b;
}
html {
  scroll-behavior: smooth;
}
