/*//////////////////////////////////////////////////////////////*/
/* EVENT INTRO */
/*//////////////////////////////////////////////////////////////*/

#event_intro{
    width: 100%;
    position: relative;
    z-index: 2;
    background-color: var(--white);
}

#event_intro .site_card_content{
    text-align: center;
    padding-top: 50px;
}

#event_intro .site_card_content h1{
    color: var(--pink);
    text-transform: uppercase;
    font-size: 2.5rem;
    font-weight: 700;
    margin: 0; padding: 0;
    margin-bottom: 20px;
}

#event_intro .event_details{
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 30px;
}

#event_intro .event_details .event_date,
#event_intro .event_details .event_time,
#event_intro .event_details .event_location,
#event_intro .event_details .event_price{
    font-size: 1rem;
    font-weight: 600;
    color: var(--purple);
    display: flex;
    align-items: center;
    gap: 10px;
}

#event_intro .event_details .event_date [data-lucide],
#event_intro .event_details .event_time [data-lucide],
#event_intro .event_details .event_location [data-lucide],
#event_intro .event_details .event_price [data-lucide]{
    font-size: 1.5rem;
    color: var(--pink);
}

#event_intro .second_row{
    margin-top: 20px;
}

#event_intro .buttons{
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 50px;
}


/*//////////////////////////////////////////////////////////////*/
/* EVENT DESCRIPTION */
/*//////////////////////////////////////////////////////////////*/

#event_description{
    width: 100%;
    position: relative;
    z-index: 2;
    background-color: var(--purple);
}

#event_description .event_info{
    display: flex;
    flex-direction: row;
    gap: 30px;
}

#event_description .event_info .info{
    width: 65%;
    color: var(--white);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Wanneer er geen foto is, centreer de info */
#event_description .event_info:not(:has(.foto)) .info{
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

#event_description .event_info .foto{
    width: 35%;
    display: flex;
    justify-content: center;
    align-items: center;
}

#event_description .event_info .foto img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}

/*//////////////////////////////////////////////////////////////*/
/* EVENT LOCATION */
/*//////////////////////////////////////////////////////////////*/

#event_location{
    width: 100%;
    position: relative;
    z-index: 2;
    background-color: var(--greys_5);
    min-height: calc(500px + 100px);
    overflow: hidden;
}

#event_location .location_map{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    border-radius: 100px 100px 0px 0px;
    overflow: hidden;
}

#event_location .location_map .leaflet-map{
    height: 100% !important;
    border-radius: 100px 100px 0px 0px;
}

#event_location .location_map .leaflet-container{
    border-radius: 100px 100px 0px 0px;
}

#event_location .location_map .leaflet-top{
    top: inherit;
    bottom: calc(100px + 20px);
}

#event_location .location_map .leaflet-left{
    left:10px;
}

#event_location .location_info_container{
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    width: 100%;
    max-width: 1200px;
    height: calc(100% - 100px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    pointer-events: none;
}

#event_location .location_info_container .location_info{
    width: 35%;
    height: auto;
    background-color: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0px 0px 1px 0px var(--greys_60), 0px 4px 24px -15px var(--greys_60);
    display: flex;
    flex-direction: column;
    justify-content: center;
    pointer-events: auto;
}

#event_location .location_info_container .location_info h2{
    color: var(--purple);
    font-size: 1.3rem;
    font-weight: 700;
    margin: 0;
    padding: 0;
}

#event_location .location_info_container .location_info .address{
    display: flex;
    align-items: center;
    gap: 10px;
}

#event_location .location_info_container .location_info .address [data-lucide]{
    font-size: 1.5rem;
    color: var(--pink);
}

#event_location .location_info_container .location_info .address span{
    font-size: 1rem;
    font-weight: 600;
    color: var(--pink);
    margin-top: 15px;
    margin-bottom: 20px;
}

#event_location .location_info_container .location_info .maps_button{
    display: flex;
    align-items: center;
    gap: 10px;
    background-color: var(--purple);
    color: var(--white);
    padding: 15px 20px;
    border-radius: 10px;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    justify-content: space-between;
    width: 100%;
}



/*//////////////////////////////////////////////////////////////*/
/* Other events */
/*//////////////////////////////////////////////////////////////*/

#other_events{
    width: 100%;
    position: relative;
    z-index: 2;
    background-color: var(--greys_5);
}

#other_events .centered{
    text-align: center;
}

#other_events .centered h1{
    color: var(--purple);
    font-size: 1.75rem;
}

#other_events .other_events_container{
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}


.event_card{
    width: 100%;
    background-color: var(--white);
    border-radius: 20px;
    box-shadow: 0px 0px 1px 0px var(--greys_60), 0px 4px 24px -15px var(--greys_60);
    overflow: hidden;
    transition: all 0.3s ease;
    will-change: opacity, transform;
}


.event_card .event_thumbnail{
    width: 100%;
    height: auto;
    aspect-ratio: 16/9;
    overflow: hidden;
}

.event_card .event_thumbnail img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.event_card .event_thumbnail:hover img{
    transform: scale(1.1);
}

.event_card .event_info{
    padding: 18px;
}

.event_card.is-hiding { opacity: 0; transform: scale(.98); pointer-events: none; }
.event_card.is-hidden { display: none; }
.event_card.is-entering { opacity: 0; transform: scale(.98); }
.event_card:not(.is-hidden):not(.is-hiding) { opacity: 1; transform: none; }

#event_description .event_info h1{
    font-size: 1.5rem;
}

#event_description .event_info h2{
    font-size: 1.5rem;
}

.event_card .event_info .title{
    color: var(--greys_80);
    font-weight: 700;
    font-size: 1rem;
    margin: 0; padding: 0;
    margin-bottom: 20px;
    transition: color 0.3s ease;
}

.event_card .event_info .title:hover{
    color: var(--pink);
}

.event_card .event_info .details{
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.event_card .event_info .details .date,
.event_card .event_info .details .time,
.event_card .event_info .details .location{
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.75rem;
    color: var(--greys_60);
}

.event_card .event_info .details [data-lucide]{
    width: 12px;
    height: auto;
    color: var(--pink);
}

.event_card .event_info .categories{
    display: flex;
    flex-direction: row;
    gap: 10px;
    margin-top: 20px;
}

.event_card .event_info .categories .category{
    background-color: var(--greys_5);
    border: 0.5px solid #DDDDDD;
    padding: 5px 8px;
    border-radius: 3px;
    text-transform: uppercase;
    font-size: 0.65rem;
    font-weight: 700;
    color: var(--purple);
    transition: background-color 0.3s ease;
}

.event_card .event_info .categories .category:hover{
    background-color: var(--greys_20);
    color: var(--purple);
}

/*//////////////////////////////////////////////////////////////*/
/* RESPONSIVE DESIGN */
/*//////////////////////////////////////////////////////////////*/

/* Iets smaller - 1200px */
@media (max-width: 1200px) {
    #event_intro .site_card_content h1 {
        font-size: 2.2rem;
    }
    
    #event_intro .event_details {
        gap: 25px;
    }
    
    #event_description .event_info {
        gap: 25px;
    }
    
    #event_location .location_info_container .location_info {
        width: 40%;
    }
    
    #other_events .other_events_container {
        gap: 18px;
    }
}

/* Tablet - 1024px */
@media (max-width: 1024px) {
    #event_intro .site_card_content h1 {
        font-size: 2rem;
    }
    
    #event_intro .event_details {
        flex-direction: column;
        gap: 15px;
        align-items: center;
    }
    
    #event_description .event_info {
        flex-direction: column;
        gap: 30px;
    }
    
    #event_description .event_info .info,
    #event_description .event_info .foto {
        width: 100%;
    }
    
    #event_location {
        min-height: calc(400px + 100px);
    }
    
    #event_location .location_info_container .location_info {
        width: 50%;
    }
    
    #other_events .other_events_container {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    #event_location .location_map {
        border-radius: 50px 50px 0px 0px;
    }
    
    #event_location .location_map .leaflet-map,
    #event_location .location_map .leaflet-container {
        border-radius: 50px 50px 0px 0px;
    }
}

/* Mobile - 768px */
@media (max-width: 768px) {

    header.header_l{
        height: 40vh;
        min-height: 300px;
    }

    #event_intro .site_card_content {
        padding-top: 80px;
    }
    
    #event_intro .site_card_content h1 {
        font-size: 1.8rem;
        margin-bottom: 15px;
    }
    
    #event_intro .event_details .event_date,
    #event_intro .event_details .event_time,
    #event_intro .event_details .event_location {
        font-size: 0.9rem;
    }
    
    #event_intro .event_details .event_date [data-lucide],
    #event_intro .event_details .event_time [data-lucide],
    #event_intro .event_details .event_location [data-lucide] {
        font-size: 1.3rem;
    }
    
    #event_intro .buttons {
        flex-direction: column;
        gap: 15px;
        margin-top: 30px;
        align-items: center;
    }
    
    #event_description .event_info {
        gap: 20px;
    }
    
    #event_location {
        height: 550px;
    }
    
    #event_location .location_info_container {
        position: relative;
        z-index: 1000;
        justify-content: flex-start;
        align-items: center;
        margin-top: -50px;
    }
    
    #event_location .location_info_container .location_info {
        width: 80%;
        padding: 15px;
    }
    
    #event_location .location_info_container .location_info h2 {
        font-size: 1.1rem;
    }
    
    #event_location .location_info_container .location_info .address span {
        font-size: 0.9rem;
    }
    
    #event_location .location_info_container .location_info .maps_button {
        padding: 12px 15px;
        font-size: 0.8rem;
    }
    
    #other_events .centered h1 {
        font-size: 1.5rem;
    }
    
    #other_events .other_events_container {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .event_card .event_info {
        padding: 15px;
    }
    
    .event_card .event_info .title {
        font-size: 0.9rem;
        margin-bottom: 15px;
    }
    
    .event_card .event_info .categories {
        flex-wrap: wrap;
        gap: 8px;
        margin-top: 15px;
    }
    
    #event_location .location_map {
        border-radius: 30px 30px 0px 0px;
    }
    
    #event_location .location_map .leaflet-map,
    #event_location .location_map .leaflet-container {
        border-radius: 30px 30px 0px 0px;
    }
}

/* Small Mobile - 480px */
@media (max-width: 480px) {
    #event_intro .site_card_content {
        padding-top: 20px;
    }
    
    #event_intro .site_card_content h1 {
        font-size: 1.5rem;
        margin-bottom: 10px;
    }
    
    #event_intro .event_details {
        gap: 12px;
    }
    
    #event_intro .event_details .event_date,
    #event_intro .event_details .event_time,
    #event_intro .event_details .event_location {
        font-size: 0.8rem;
        gap: 8px;
    }
    
    #event_intro .event_details .event_date [data-lucide],
    #event_intro .event_details .event_time [data-lucide],
    #event_intro .event_details .event_location [data-lucide] {
        font-size: 1.1rem;
    }
    
    #event_intro .buttons {
        margin-top: 20px;
        gap: 12px;
    }
    
    #event_description .event_info {
        gap: 15px;
    }
    
    #event_location {
        min-height: calc(300px + 60px);
    }
    
    #event_location .location_info_container {
        height: calc(100% - 60px);
    }
    
    #event_location .location_info_container .location_info {
        width: 90%;
        padding: 12px;
    }
    
    #event_location .location_info_container .location_info h2 {
        font-size: 1rem;
    }
    
    #event_location .location_info_container .location_info .address span {
        font-size: 0.8rem;
        margin-top: 10px;
        margin-bottom: 15px;
    }
    
    #event_location .location_info_container .location_info .maps_button {
        padding: 10px 12px;
        font-size: 0.75rem;
    }
    
    #other_events .centered h1 {
        font-size: 1.3rem;
    }
    
    .event_card .event_info {
        padding: 12px;
    }
    
    .event_card .event_info .title {
        font-size: 0.85rem;
        margin-bottom: 12px;
    }
    
    .event_card .event_info .details .date,
    .event_card .event_info .details .time,
    .event_card .event_info .details .location {
        font-size: 0.7rem;
        gap: 8px;
    }
    
    .event_card .event_info .details [data-lucide] {
        width: 10px;
    }
    
    .event_card .event_info .categories {
        margin-top: 12px;
    }
    
    .event_card .event_info .categories .category {
        padding: 4px 6px;
        font-size: 0.6rem;
    }
    
    #event_location .location_map {
        border-radius: 20px 20px 0px 0px;
    }
    
    #event_location .location_map .leaflet-map,
    #event_location .location_map .leaflet-container {
        border-radius: 20px 20px 0px 0px;
    }
}