/* Fuente moderna */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;700&display=swap');

body {
    margin: 0;
    font-family: 'Montserrat', sans-serif;
    color: #fff;
    background: url('../imagenes/fondo.png') no-repeat center center fixed;
    background-size: cover;
    overflow-x: hidden;
}

/* Efecto de fondo oscuro para legibilidad */
body::before {
    content: "";
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(2px);
    z-index: -1;
}

/* Encabezados */
h1 {
  text-align: center;
  font-size: 3.5rem;
  margin-top: 40px;
  text-transform: uppercase;
  letter-spacing: 4px;
  font-weight: 800;
  background: linear-gradient(90deg, #ff4e50, #f9d423, #24c6dc, #ff4e50);
  background-size: 300%;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: fadeInDown 1.2s ease, 
            gradientMove 6s infinite linear,
            glowPulse 2s infinite ease-in-out;
}

/* Animación de entrada */
@keyframes fadeInDown {
  0% {
    opacity: 0;
    transform: translateY(-60px) scale(0.9);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Gradiente en movimiento */
@keyframes gradientMove {
  0% { background-position: 0% 50%; }
  100% { background-position: 100% 50%; }
}

/* Pulso de brillo */
@keyframes glowPulse {
  0%, 100% { text-shadow: 0 0 10px rgba(255,255,255,0.6); }
  50% { text-shadow: 0 0 25px rgba(255,255,255,0.9), 0 0 40px rgba(255,200,100,0.7); }
}

h2 {
    margin-top: 30px;    /* espacio arriba */
    margin-bottom: 30px; /* espacio abajo */
    font-size: 2rem;
}

h3, h4 {
    text-align: center;
    font-weight: 400;
    margin: 10px 0;
    animation: fadeIn 2s ease;
}

/* Secciones */
section {
    padding: 80px 15%;
    text-align: center;
    animation: fadeIn 2s ease;
}

/* Botón compra */
#botonCompra {
    background: linear-gradient(135deg, #ff5f6d, #ffc371);
    border: none;
    padding: 15px 40px;
    font-size: 1.2rem;
    border-radius: 50px;
    cursor: pointer;
    color: #fff;
    font-weight: bold;
    transition: all 0.4s ease;
    animation: pulse 2s infinite;
}

#botonCompra:hover {
    transform: scale(1.1);
    box-shadow: 0 0 25px rgba(255, 200, 120, 0.7);
}

/* Links -----------------*/
#contactanos {
  text-align: center;
  padding: 80px 20px;
}

#contactanos h2 {
  font-size: 2.5rem;
  margin-bottom: 50px; /* separa el título de los enlaces */
  color: #fff;
}

.contact-links {
  display: flex;
  justify-content: center;
  gap: 60px; /* espacio entre columnas */
  flex-wrap: wrap;
}

.contact-links a {
  display: flex;
  flex-direction: column; /* texto arriba, icono abajo */
  align-items: center;
  text-decoration: none;
  color: #ffc371;
  font-weight: 600;
  transition: all 0.3s ease;
}

.contact-links a span {
  margin-bottom: 15px; /* espacio entre texto y icono */
}

.contact-links a:hover {
  color: #ff5f6d;
}



/* Animaciones */
@keyframes fadeIn {
    from {opacity: 0; transform: translateY(20px);}
    to {opacity: 1; transform: translateY(0);}
}

@keyframes fadeInDown {
    from {opacity: 0; transform: translateY(-50px);}
    to {opacity: 1; transform: translateY(0);}
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

/* Galería fotos (aplica sobre lo que ya tenías) */
#containerFotos {
    margin: 100px auto;
    width: 100%; 
    height: 450px;
    display: flex;
    justify-content: center;
    gap: 15px;
    animation: fadeIn 2.5s ease;
}

#containerFotos img {
    width: 15%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
    border: 2px solid rgba(255, 255, 255, 0.6);
    transition: all 0.5s ease-in-out;
    filter: brightness(0.8);
}

#containerFotos img:hover {
    width: 25%;
    filter: brightness(1.1);
    box-shadow: 0 10px 25px rgba(0,0,0,0.6);
}

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

/* Más espacio entre el título y el botón */
#sobre-mi h2 {
  margin-bottom: 40px; /* separa el h2 de Comprar Entradas del botón */
}

#botonCompra {
  margin-top: 50px; /* espacio extra arriba del botón */
}

/* Más espacio entre "Contactanos" y los links */
#contactanos h2 {
  margin-bottom: 50px; /* distancia del título a los nombres de contacto */
}
p {
    line-height: 1.6; /* mejora la lectura del texto */
    font-size: 1.5rem;
}