/* Configuración General */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #0b0b0b;
    color: white;
}

/* 1. Cabecera con background-image */
.hero {
    height: 80vh;
    background-image: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), 
                      url('../../Tema5/Ejercicio6/SantiagoBernabeu.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* Efecto Parallax */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero h1 {
    font-size: 4rem;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.7);
}

/* 2. Galería Principal */
.gallery-section {
    padding: 50px 20px;
    text-align: center;
}

.gallery-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 30px;
}

.img-card img {
    width: 300px;
    height: 400px;
    object-fit: cover; /* Mantiene proporción */
    border-radius: 15px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.5);
    transition: transform 0.4s ease, filter 0.4s ease;
}

/* Efectos al pasar el cursor (Hover) */
.img-card img:hover {
    transform: scale(1.05);
    filter: brightness(1.2) contrast(1.1);
    cursor: pointer;
}

/* 3. Sección Adaptativa */
.event-info {
    display: flex;
    align-items: center;
    padding: 80px 10%;
    gap: 40px;
    background-color: #1a1a1a;
}

.info-text { flex: 1; }
.info-image { flex: 1; }

.responsive-img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    border: 2px solid #ffd700;
}

/* 4. Pie de Página */
footer {
    padding: 40px;
    text-align: center;
    background: #000;
}

.footer-btn {
    padding: 15px 30px;
    background: url('https://www.transparenttextures.com/patterns/carbon-fibre.png'), #ffd700;
    border: none;
    border-radius: 50px;
    font-weight: bold;
    text-transform: uppercase;
    cursor: pointer;
    transition: 0.3s;
}

.footer-btn:hover {
    background-color: #fff;
    box-shadow: 0 0 15px #ffd700;
}

/* Reto Extra: Media Queries para Móvil */
@media (max-width: 768px) {
    .event-info {
        flex-direction: column;
        text-align: center;
    }
    
    .hero h1 { font-size: 2.5rem; }
}