/* RESET BÁSICO */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Candara, sans-serif;
  background: linear-gradient(120deg, #FFD500, #E4095D);
  color: #2b2b2b;
  padding: 20px;
  padding-top: 160px; /* <-- esto es nuevo, ajustá según la altura de tu header */
}

/* ======= 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: 50px;
  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: #E4095D;
}

.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: #FFD500;
}
.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;
}

/* ======= VIDEO WRAPPER REUTILIZABLE ======= */
.video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  height: 0;
  overflow: hidden;
  margin: 0 auto 20px auto;
  max-width: 800px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
/* ======= FORMULARIO DE galeria ======= */
.carrusel {
    margin-top: 50px;
    overflow: hidden;
    position: relative;
    width: 100%;
}

.slider {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.slide-track {
    display: flex;
    width: calc(250px * 14); /* 7 imágenes * 2 */
    animation: scroll 40s linear infinite;
}

.slide {
    width: 400px;
    height: 500px;
    margin: 0 15px;
    flex-shrink: 0;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.3);
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.slide img:hover {
    transform: scale(1.1);
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}
/* ======= 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: #E4095D;
}

/* ======= INFORMACIÓN DE CONTACTO ======= */
.info-contacto {
  text-align: center;
  font-size: 1rem;
  color: #2b2b2b;
  line-height: 1.6;
}

/* 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 DESIGN ======= */
@media (max-width: 768px) {
  .nav {
    display: none;
    flex-direction: column;
    gap: 15px;
    margin-top: 10px;
  }
  .nav.show {
    display: flex;
  }

  section {
    padding: 30px 10px;
  }

  .form-contacto {
    width: 100%;
    padding: 0 10px;
  }

  .video-wrapper {
    width: 100%;
  }

  .auth-buttons {
    position: static;
    text-align: center;
    margin-top: 10px;
  }
  .menu-toggle {
    display: block;
  }
}
html {
  scroll-behavior: smooth;
}
