/* Estilos generales */
:root {
    --verde-brasil: #009739;
    --amarillo-brasil: #FEDD00;
    --azul-brasil: #012169;
    --azul-barcelona: #004D98;
    --granate-barcelona: #A50044;
    --azul-psg: #0C1E3E;
    --rojo-psg: #E30613;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f8f9fa;
    color: #333;
    line-height: 1.6;
}

/* Header */
header {
    background: linear-gradient(135deg, var(--verde-brasil) 0%, var(--amarillo-brasil) 100%);
    color: white;
    padding: 1.5rem 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

header::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../img/neymar-banner.jpg') center/cover;
    opacity: 0.3;
    z-index: 0;
}

header h1 {
    position: relative;
    z-index: 1;
    margin: 0;
    font-size: 2.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

/* Navegación */
nav {
    position: relative;
    z-index: 1;
    margin-top: 1rem;
}

nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: 600;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    transition: all 0.3s ease;
    background-color: rgba(0, 0, 0, 0.2);
}

nav ul li a:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

/* Main content */
main {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 2rem;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

h2 {
    color: var(--verde-brasil);
    border-bottom: 2px solid var(--amarillo-brasil);
    padding-bottom: 0.5rem;
    margin-top: 0;
}

/* Imágenes */
.img-container {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin: 2rem 0;
}

.img-container img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    transition: transform 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.img-container img:hover {
    transform: scale(1.03);
}

/* Logros */
.logros-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

.logro-card {
    background: linear-gradient(145deg, #ffffff 0%, #f1f1f1 100%);
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border-top: 4px solid var(--amarillo-brasil);
}

.logro-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.logro-card h3 {
    color: var(--verde-brasil);
    margin-top: 0;
}

.logro-card .equipo {
    font-weight: bold;
    color: var(--azul-brasil);
}

.logro-card .ano {
    color: #666;
    font-size: 0.9rem;
}

/* Footer */
footer {
    background: linear-gradient(135deg, var(--azul-brasil) 0%, #000 100%);
    color: white;
    text-align: center;
    padding: 1.5rem 0;
    margin-top: 2rem;
}

/* Responsive */
@media (max-width: 768px) {
    nav ul {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    main {
        padding: 1rem;
    }
    
    .logros-grid {
        grid-template-columns: 1fr;
    }
}