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

:root {
    --color-amarillo: #FCD116;
    --color-azul: #003893;
    --color-rojo: #CE1126;
    --color-claro: #f4f4f4;
    --color-oscuro: #333333;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background-color: #ffffff;
    color: var(--color-oscuro);
}

.hero {
    position: relative;
    color: white;
    padding: 120px 20px;
    text-align: center;
    background-image: url('../img/proceedings3.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.hero .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 56, 147, 0.7); /* Azul con opacidad */
    z-index: 1;
}

.hero-text {
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.proceedings-section {
    padding: 60px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.proceedings-group {
    margin-bottom: 60px;
}

.proceedings-group h2 {
    font-size: 2.5rem;
    color: var(--color-azul);
    margin-bottom: 40px;
    text-align: center;
    font-weight: 700;
    position: relative;
}

.proceedings-group h2::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background-color: var(--color-amarillo);
    margin: 10px auto 0;
    border-radius: 2px;
}

.proceedings-grid .proceeding-card:only-child {
    max-width: 250px;
    margin: 0 auto;
}

.proceedings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, 250px);
    gap: 30px;
    justify-content: center;
}

.proceeding-card {
    background-color: var(--color-claro);
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
    text-align: center;
}

.proceeding-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 25px rgba(0,0,0,0.1);
}

.proceeding-card img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.proceeding-card-content {
    padding: 20px;
}

.proceeding-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--color-oscuro);
    margin-bottom: 15px;
}

.proceeding-card a {
    display: inline-block;
    padding: 10px 20px;
    background-color: var(--color-amarillo);
    color: var(--color-oscuro);
    text-decoration: none;
    font-weight: 600;
    border-radius: 50px;
    transition: background-color 0.3s ease;
}

.proceeding-card a:hover {
    background-color: #FFDE59;
}
h2 {
    font-size: 24px;
    margin-bottom: 20px;
    text-align: center;
}
