@import url("https://fonts.googleapis.com/css2?family=Play:wght@400;700&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Rajdhani:wght@300;400;500;600;700&family=Space+Grotesk:wght@300..700&display=swap");

* {
    font-family: "poppins", "Space Grotesk", sans-serif;
    /* font-optical-sizing: auto; */
}

.carousel-container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: auto;
    gap: 30px;
    position: relative;
    overflow: hidden;
    
}

.image-card {
    position: relative;
    width: 300px;
    height: 400px;
    border-radius: 20px;
    overflow: hidden;
    /* transition: transform 0.3s ease; */
    transition: transform 0.5s, opacity 0.5s;
}
.blur {
    opacity: 0.5;
    transform: scale(0.9);
}

.main-event {
    opacity: 1;
    transform: scale(1);
}

.image-card img {
    width: 100%;
    height: 100%;
    display: block;
    border-radius: 20px;
    object-fit: cover;
}

.image-card.blur {
    filter: blur(4px);
    opacity: 0.4;
    transform: scale(0.95);
}

.image-card.blur:first-child {
    margin-right: 20px;
}
.image-card.blur:last-child {
    margin-left: 20px;
}

.image-card.main-event {
    width: 300px;
    z-index: 2;
    box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.2);
}

.event-info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 15px 20px;
    color: #fff;
    text-align: left;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    border-radius: 0 0 20px 20px;
}

@media (max-width: 992px) {
    .image-card.blur:first-child,
    .image-card.blur:last-child {
        margin: 0;
    }
}

@media (max-width: 768px) {
    .image-card.blur:first-child,
    .image-card.blur:last-child {
        margin: 0;
    }

    .image-card,
    .image-card.main-event {
        width: 100%;
        max-width: 400px;
    }
    .carousel-container {
        flex-wrap: wrap;
        gap: 0;
        position: relative;
    }
}

.event-img {
    border-radius: 30px;
    width: 100%;
    height: auto;
    border: 15px solid #ddd;
}

.btn-custom {
    border-radius: 25px;
    padding: 6px 20px;
    font-size: 15px;
    font-weight: 600;
}

.event-details p {
    color: #666;
    font-size: 14px;
}

.section-title {
    font-weight: 600;
    font-size: 2rem;
}

.event-card {
    max-width: 900px;
    margin: 2rem auto;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    background-color: #ffffff;
}

/* .event-image {
    max-width: 1180px;
    margin: 0 auto 2rem auto;
}

.event-image img {
    width: 100%;
    max-height: 450px;
    display: block;
    border-radius: 30px;
    object-fit: cover;
    overflow: hidden;
    position: top;
    object-position: top center;
} */

.event-image {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto 2rem auto;
    overflow: hidden;
}

.event-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    border-radius: 30px;

}

/* --- Desktop --- */
@media (min-width: 992px) {
    .event-image {
        height: 450px;
    }
}

/* --- Tablet --- */
@media (min-width: 768px) and (max-width: 991px) {
    .event-image {
        height: 350px;
    }
}

/* --- Mobile --- */
@media (max-width: 767px) {
    .event-image {
        height: 220px;
    }
}


.event-details {
    background: #f4f4f4;
    padding: 1.5rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid #eee;
    border-radius: 20px;
    max-width: 1180px;
    margin: 0 auto 2rem auto;
}

.event-meta i {
    margin-right: 6px;
    color: #000;
}

.event-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 15px;
    color: #333;
    flex-wrap: wrap;
}

.event-location {
    font-size: 15px;
    color: #555;
    margin-top: 0.5rem;
}

.share-section {
    text-align: right;
    font-size: 15px;
}

.share-icons a {
    background-color: #eaeaea;
    padding: 10px;
    border-radius: 70%;
    margin-left: 10px;
    display: inline-block;
    color: #000;
    text-decoration: none;
    font-size: 16px;
}

@media (max-width: 576px) {
    .event-details {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .share-section {
        text-align: left;
        margin-top: 1rem;
    }
}

.text-shadow {
    text-shadow: 1px 1px 3px rgba(255, 255, 255, 0.9);
}

.card {
    overflow: hidden;
}

.card img {
    border-radius: 30px;
    object-fit: cover;
}
