/* Title section */

.page-title-section {
    text-align: center;
    padding: 50px 20px;
    position: relative;
    overflow: hidden;
    margin-top: 100px;
}

.page-title {
    font-size: 36px;
    font-family: 'Poppins', sans-serif;
    font-weight: bold;
    background: linear-gradient(90deg, #0056b3, #d9534f);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
    display: inline-block;
    margin: 0;
    padding-bottom: 10px;
    border-bottom: 3px solid #d9534f;
    overflow: hidden;
}

.page-title::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(120deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.8) 50%, rgba(255, 255, 255, 0) 100%);
    transform: skewX(-20deg);
    transition: all 0.3s ease;
}

.page-title:hover::before {
    animation: shine 1.5s forwards;
}

@keyframes shine {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

@media (max-width: 768px) {
    .page-title-section {
        margin-top: 140px;
    }
}

/* Section 1 */
.events-section {
    padding: 0px 20px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.events-table {
    display: flex;
    flex-direction: column;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    margin-top: 10px;
}

.events-row {
    display: flex;
    justify-content: space-between;
    padding: 20px 20px;
    background-color: #ffffff;
    border-bottom: 1px solid #d0d7de;
    transition: background-color 0.3s;
}

.events-header {
    background-color: #2c4a72; 
    color: #ffffff !important; 
    font-weight: bold;
    text-transform: uppercase;
}

.events-cell {
    flex: 1;
    text-align: center;
    font-size: 16px;
    /* color: #333; */
    vertical-align: middle;
}

.events-row:nth-child(odd):not(.events-header) {
    background-color: #f0f4f8;
}

.events-row:nth-child(even):not(.events-header) {
    background-color: #e8eef3;
}

.events-row:hover:not(.events-header) {
    background-color: #dce4eb;
}

/* Stiluri Responsive */
@media (max-width: 768px) {
    .events-cell {
        font-size: 14px;
        padding: 15px;
    }
}

/*Eveniment 1 */


body {
    font-family: Arial, sans-serif;
    text-align: center;
    margin: 0;
    padding: 0;
}

.event-title {
    font-size: 28px;
    color: #2c4a72;
    text-align: center;
    margin: 20px 0;
}

.gallery {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px; /* Mărește distanța pe orizontală între imagini */
    margin-bottom:20px;
}

.thumbnail {
    width: calc(50% - 20px); /* Ajustez dimensiunea imaginilor */
    max-width: 300px;
    cursor: pointer;
    border-radius: 8px;
    transition: transform 0.3s;
}

.thumbnail:hover {
    transform: scale(1.05);
}

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    justify-content: center;
    align-items: center;
}

.modal-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
}

.modal-image {
    max-width: 100%;
    max-height: 80vh;
    border-radius: 10px;
    margin-top: 90px;
}

.close {
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 30px;
    color: white;
    cursor: pointer;
}

@media (max-width: 768px) {
    .gallery {
        flex-direction: column;
        align-items: center;
    }

    .thumbnail {
        width: 90%;
    }
}








