/* Reset básico */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

@font-face {
    font-family: 'Milonga';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('../fonts/Milonga.ttf') format('truetype');
}

/* Header */
header {
     background: #000000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 30px 100px 30px;
}

.contenedor {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header img {
    height: 50px;
    width: auto;
    max-width: 200px;
}

/* Navegación */
nav ul {
    list-style: none;
    display: flex;
    gap: 1.5rem;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
}

nav ul li a:hover {
    color: #000;
    background-color: #fff;
    margin: 5px;
    padding: 5px;
}


/* Main content */
main {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 20px;
}

section {
    margin-bottom: 3rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: transform 0.3s ease;
}

section:hover {
    transform: translateY(-5px);
}

/* Imágenes */
.abc {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* Títulos de sección */
section h2 {
    color: #2c3e50;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    text-align: center;
    font-family: 'Milonga', serif;
    font-weight: 400;
    position: relative;
}

section h2::after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, #3498db, #2ecc71);
    margin: 0.5rem auto;
    border-radius: 2px;
}

/* Estilos para imágenes de diagrama */
section:first-child {
    padding: 2rem;
    text-align: center;
}

section:first-child .abc {
    max-width: 800px;
    margin: 0 auto;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

/* Estilos para imagen de persona */
section:last-child {
    padding: 2rem;
    text-align: center;
}

section:last-child .abc {
    max-width: 600px;
    margin: 0 auto;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

/* Footer */
footer {
    background-color: #34495e;
    color: white;
    padding: 2rem 0;
    margin-top: 4rem;
}

.footerp {
    text-align: center;
    font-size: 0.9rem;
    line-height: 1.5;
    opacity: 0.9;
}

/* Estilos específicos para páginas */
.galeria-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin: 20px 0;
}

.galeria-item {
    text-align: center;
    background: rgba(255, 255, 255, 0.05);
    padding: 15px;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.galeria-item:hover {
    transform: translateY(-5px);
}

.galeria-item h3 {
    color: #e8b931;
    margin-top: 10px;
    font-size: 1.1em;
}

.concurso-info, .bases-concurso, .mapa-info, .puntos-interes, 
.fotografia-info, .registro-visual, .documentacion, 
.asamblea-info, .participacion, .actividades {
    background: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 10px;
    margin: 15px 0;
    border-left: 4px solid #e8b931;
}

.bases-concurso ul, .puntos-interes ul, .participacion ul, .actividades ul {
    list-style: none;
    padding: 0;
}

.bases-concurso ul li, .puntos-interes ul li, .participacion ul li, .actividades ul li {
    padding: 8px 0;
    border-bottom: 1px solid rgba(232, 185, 49, 0.3);
    position: relative;
    padding-left: 20px;
}

.bases-concurso ul li:before, .puntos-interes ul li:before, 
.participacion ul li:before, .actividades ul li:before {
    content: "▶";
    color: #e8b931;
    position: absolute;
    left: 0;
}

/* Responsive design */
@media (max-width: 768px) {
    .contenedor {
        flex-direction: column;
        gap: 1rem;
        padding: 0 10px;
    }
    
    nav ul {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }
    
    nav ul li a {
        padding: 8px 12px;
        font-size: 14px;
    }
    
    main {
        padding: 20px 10px;
    }
    
    section {
        padding: 1rem;
    }
    
    .abc {
        max-width: 100%;
        margin: 15px 0;
    }
    
    h2 {
        font-size: 1.5em;
    }
    
    .galeria-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
}

@media (max-width: 480px) {
    nav ul {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.5rem;
    }
    
    nav ul li a {
        padding: 0.3rem 0.8rem;
        font-size: 0.9rem;
    }
}

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

section {
    animation: fadeIn 0.6s ease-out;
}

section:nth-child(2) {
    animation-delay: 0.2s;
}

/* Mejoras visuales adicionales */
section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #3498db, #2ecc71, #e74c3c, #f39c12);
}

section {
    position: relative;
}