/* Event Landing Page Styles */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

#eventApp {
    /*background: #F4F5FA;*/
}

.event-landing-page {
    width: 100%;
    overflow-x: hidden;
    scroll-behavior: smooth;
    scroll-snap-type: y mandatory;
    background-image: url("/images/event/banner.svg");
    background-size: contain;
    background-position: top;
    background-repeat: no-repeat;
}

/* ===== BANNER SECTION ===== */
.event-banner {
    position: relative;
    width: 100%;
    height: 100vh;
    /*background-image: url("/images/event/banner.svg");*/
    /*background-size: contain;*/
    /*background-position: top;*/
    /*background-repeat: no-repeat;*/
    align-items: center;
    justify-content: center;
    /*overflow: hidden;*/
}

.banner-content {
    position: relative;
    text-align: center;
    z-index: 10;
    margin-top: calc(200px);
}

.banner-title {
    font-size: 136px;
    font-weight: 800;
    color: #07403F;
    margin: 0;
    cursor: pointer;
    font-family: 'ZuumeSoft-Upper-SemiBold';
    letter-spacing: 2px;
    transition: all 0.3s ease;
    position: relative;
    z-index: 20;
}

.banner-title:hover {
    transform: scale(1.05);
    text-shadow: 0 0 30px rgba(255, 255, 255, 0.6), 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* ===== ICON CIRCLE ===== */
.icon-circle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 500px;
    height: 500px;
    margin-top: 0;
    z-index: 2;
}

.icon-item {
    position: absolute;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
    opacity: 0;
    transform: scale(0);
    width: 120px;
    height: 120px;
}

.icon-item:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

.icon-item svg {
    filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.5));
    transition: all 0.3s ease;
}

.icon-item:hover svg {
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.8));
    transform: scale(1.1);
}

/* Position icons in a circle - 5 icons arranged in a circle */
.icon-item:nth-child(1) {
    bottom: 23%;
    left: -38%;
}

.icon-item:nth-child(2) {
    top: 13%;
    left: -13%;
}

.icon-item:nth-child(3) {
    top: -12%;
    right: 36%;
}

.icon-item:nth-child(4) {
    top: 19%;
    right: -17%;
}

.icon-item:nth-child(5) {
    bottom: 18%;
    right: -30%;
}

/* Active state with animation */
.icon-item.active {
    opacity: 1;
}

.icon-item.active:nth-child(1) {
    animation: iconBurstToPosition1 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
    animation-delay: 0s;
}

.icon-item.active:nth-child(2) {
    animation: iconBurstToPosition2 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
    animation-delay: 0.08s;
}

.icon-item.active:nth-child(3) {
    animation: iconBurstToPosition3 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
    animation-delay: 0.16s;
}

.icon-item.active:nth-child(4) {
    animation: iconBurstToPosition4 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
    animation-delay: 0.24s;
}

.icon-item.active:nth-child(5) {
    animation: iconBurstToPosition5 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
    animation-delay: 0.32s;
}

/* Animation từ giữa text ra vị trí icon 1 (bottom left) */
@keyframes iconBurstToPosition1 {
    0% {
        opacity: 0.2;
        transform: translate(calc(22% + 250px), calc(-18% - 50px)) scale(0.3);
        filter: blur(8px);
    }
    50% {
        opacity: 0.6;
        filter: blur(4px);
    }
    100% {
        opacity: 1;
        transform: translate(0, 0) scale(1);
        /*transform: translate(calc(250px - (-22%)), calc(-250px - 18%)) scale(0.3);*/
        filter: blur(0);
    }
}

/* Animation từ giữa text ra vị trí icon 2 (middle left) */
@keyframes iconBurstToPosition2 {
    0% {
        opacity: 0.2;
        transform: translate(calc(8% + 250px), calc(-18% - -40px)) scale(0.3);
        filter: blur(8px);
    }
    50% {
        opacity: 0.6;
        filter: blur(4px);
    }
    100% {
        opacity: 1;
        transform: translate(0, 0) scale(1);
        filter: blur(0);
    }
}

/* Animation từ giữa text ra vị trí icon 3 (top center) */
@keyframes iconBurstToPosition3 {
    0% {
        opacity: 0.2;
        transform: translate(calc(-22%), calc(-4% + 150px)) scale(0.3);
        filter: blur(8px);
    }
    50% {
        opacity: 0.6;
        filter: blur(4px);
    }
    100% {
        opacity: 1;
        transform: translate(0, 0) scale(1);
        filter: blur(0);
    }
}

/* Animation từ giữa text ra vị trí icon 4 (middle right) */
@keyframes iconBurstToPosition4 {
    0% {
        opacity: 0.2;
        transform: translate(calc(-200%), calc(-30% + 50px)) scale(0.3);
        filter: blur(8px);
    }
    50% {
        opacity: 0.6;
        filter: blur(4px);
    }
    100% {
        opacity: 1;
        transform: translate(0, 0) scale(1);
        /*transform: translate(calc(250px - (-8%)), calc(-250px - 30%)) scale(0.3);*/
        filter: blur(0);
    }
}

/* Animation từ giữa text ra vị trí icon 5 (bottom right) */
@keyframes iconBurstToPosition5 {
    0% {
        opacity: 0.2;
        transform: translate(calc(-250%), calc(-103%)) scale(0.3);
        filter: blur(8px);
    }
    50% {
        opacity: 0.6;
        filter: blur(4px);
    }
    100% {
        opacity: 1;
        transform: translate(0, 0) scale(1);
        /*transform: translate(calc(250px - (-22%)), calc(-250px - 18%)) scale(0.3);*/
        filter: blur(0);
    }
}

/* ===== ARROW DOWN ===== */
.arrow-down {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
    cursor: pointer;
    z-index: 15;
}

.arrow-down svg {
    width: 24px;
    height: auto;
}

@keyframes bounce {
    0%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    50% {
        transform: translateX(-50%) translateY(20px);
    }
}

/* ===== EVENT SLIDES SECTION ===== */
.event-slides-section {
    scroll-snap-align: center;
    scroll-snap-stop: always;
}

.section-title {
    font-size: 48px;
    font-weight: 800;
    color: #293142;
    text-align: center;
    margin-bottom: 60px;
    font-family: 'Montserrat', sans-serif;
    letter-spacing: 1px;
}

.event-slider-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    padding: 40px 0;
}

/* ===== 2025 SLIDER CENTER MODE ===== */
.event-slider {
    position: relative;
    height: 500px;
    margin-bottom: 40px;
}

.event-slider .img-preview,
.event-slider .img-main,
.event-slider .img-next {
    position: absolute;
    /* No default transition - animations handle it */
}

.event-slider .img-preview {
    left: -750px;
    transform: scale(0.75);
    opacity: 0.5;
    z-index: 1;
}

.event-slider .img-main {
    left: 50%;
    transform: translateX(-50%) scale(1.5);
    opacity: 1;
    z-index: 10;
}

.event-slider .img-next {
    right: -750px;
    transform: scale(0.75);
    opacity: 0.5;
    z-index: 1;
}

.event-slider .img-preview:hover,
.event-slider .img-next:hover {
    opacity: 0.8;
    cursor: pointer;
}

/* Navigation Buttons */
.btn-img-prev,
.btn-img-next {
    position: absolute;
    top: 40%;
    transform: translateY(-50%);
    z-index: 20;
    transition: all 0.3s ease;
}

.btn-img-prev {
    left: 5%;
}

.btn-img-next {
    right: 5%;
}

.btn-img-prev:hover,
.btn-img-next:hover {
    transform: translateY(-50%) scale(1.1);
}

/* Thumbnails */
.btn-img-thumb {
    position: relative;
    z-index: 5;
}

.img-thumb {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background-size: cover;
    background-position: center;
    position: relative;
}

/*.img-thumb::before {*/
/*    content: '';*/
/*    position: absolute;*/
/*    top: 0;*/
/*    left: 0;*/
/*    right: 0;*/
/*    bottom: 0;*/
/*    background: rgba(0, 0, 0, 0.3);*/
/*    border-radius: 12px;*/
/*    transition: all 0.3s ease;*/
/*}*/

.img-thumb.active::before {
    background: rgba(0, 0, 0, 0);
}

.img-thumb.active {
    opacity: 1 !important;
    transform: scale(1.05);
    /*box-shadow: 0 8px 20px rgba(64, 120, 69, 0.4);*/
}

.img-thumb:hover {
    transform: scale(1.02);
}

/* ===== 2024 SLIDER ===== */
.event-slider-2025,
.event-slider-2024 {
    display: flex;
    gap: 20px;
}

.event-card {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
    flex: 0 0 calc(25% - 15px);
    min-height: 350px;
    display: flex;
    flex-direction: column;
}

.event-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.event-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.event-card:hover .event-image {
    transform: scale(1.05);
}

.event-info {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.event-title {
    font-size: 16px;
    font-weight: 700;
    color: #293142;
    margin-bottom: 15px;
    line-height: 1.4;
    font-family: 'Quicksand', sans-serif;
}

.event-date {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #667eea;
    font-size: 14px;
    font-weight: 600;
}

.event-date svg {
    width: 18px;
    height: 18px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .event-card {
        flex: 0 0 calc(33.333% - 15px);
    }

    .banner-title {
        font-size: 48px;
    }

    .event-slider {
        height: 400px;
    }

    .event-slider .img-preview {
        left: -20%;
        transform: scale(0.65);
    }

    .event-slider .img-next {
        right: -20%;
        transform: scale(0.65);
    }

    .btn-img-prev {
        left: 2%;
    }

    .btn-img-next {
        right: 2%;
    }
}

@media (max-width: 768px) {
    .icon-item:nth-child(1) {
        bottom: 18%;
        left: -22%;
    }

    .icon-item:nth-child(2) {
        top: 30%;
        left: -8%;
    }

    .icon-item:nth-child(3) {
        top: 4%;
        right: 36%;
    }

    .icon-item:nth-child(4) {
        top: 30%;
        right: -8%;
    }

    .icon-item:nth-child(5) {
        bottom: 18%;
        right: -22%;
    }


    .event-banner {
        height: 80vh;
    }

    .banner-title {
        font-size: 36px;
    }

    .icon-circle {
        width: 250px;
        height: 250px;
    }

    .icon-item {
        width: 60px;
        height: 60px;
    }

    .icon-item svg {
        width: 30px;
        height: 30px;
    }

    .banner-content {
        position: relative;
        text-align: center;
        z-index: 10;
        margin-top: calc(100px);
    }

    /* Điều chỉnh animation cho mobile - khoảng cách ngắn hơn */
    @keyframes iconBurstToPosition1 {
        0% {
            opacity: 0.2;
            transform: translate(150px, -120px) scale(0.3);
            filter: blur(6px);
        }
        50% {
            opacity: 0.6;
            filter: blur(3px);
        }
        100% {
            opacity: 1;
            transform: translate(0, 0) scale(1);
            filter: blur(0);
        }
    }

    @keyframes iconBurstToPosition2 {
        0% {
            opacity: 0.2;
            transform: translate(130px, -80px) scale(0.3);
            filter: blur(6px);
        }
        50% {
            opacity: 0.6;
            filter: blur(3px);
        }
        100% {
            opacity: 1;
            transform: translate(0, 0) scale(1);
            filter: blur(0);
        }
    }

    @keyframes iconBurstToPosition3 {
        0% {
            opacity: 0.2;
            transform: translate(0, -120px) scale(0.3);
            filter: blur(6px);
        }
        50% {
            opacity: 0.6;
            filter: blur(3px);
        }
        100% {
            opacity: 1;
            transform: translate(0, 0) scale(1);
            filter: blur(0);
        }
    }

    @keyframes iconBurstToPosition4 {
        0% {
            opacity: 0.2;
            transform: translate(-130px, -80px) scale(0.3);
            filter: blur(6px);
        }
        50% {
            opacity: 0.6;
            filter: blur(3px);
        }
        100% {
            opacity: 1;
            transform: translate(0, 0) scale(1);
            filter: blur(0);
        }
    }

    @keyframes iconBurstToPosition5 {
        0% {
            opacity: 0.2;
            transform: translate(-150px, -120px) scale(0.3);
            filter: blur(6px);
        }
        50% {
            opacity: 0.6;
            filter: blur(3px);
        }
        100% {
            opacity: 1;
            transform: translate(0, 0) scale(1);
            filter: blur(0);
        }
    }

    .event-card {
        flex: 0 0 calc(50% - 10px);
    }

    .section-title {
        font-size: 32px;
        margin-bottom: 40px;
    }

    .event-slider {
        height: 300px;
    }

    .event-slider .img-preview,
    .event-slider .img-next {
        display: none;
    }

    .event-slider .img-main {
        max-width: 90%;
    }

    .btn-img-prev,
    .btn-img-next {
        width: 50px;
        height: 50px;
    }

    .btn-img-prev svg,
    .btn-img-next svg {
        width: 20px;
        height: 36px;
    }

    .img-thumb {
        height: 40px !important;
    }

    .img-thumb.active {
        width: 80px !important;
    }

    .img-thumb:not(.active) {
        width: 60px !important;
    }
}

@media (max-width: 480px) {
    .banner-title {
        font-size: 24px;
    }

    .event-card {
        flex: 0 0 100%;
    }

    .section-title {
        font-size: 24px;
    }

    .event-slider {
        height: 250px;
    }

    .btn-img-prev {
        left: 1%;
    }

    .btn-img-next {
        right: 1%;
    }

    .btn-img-thumb {
        gap: 10px;
    }

    .img-thumb {
        height: 32px !important;
    }

    .img-thumb.active {
        width: 60px !important;
    }

    .img-thumb:not(.active) {
        width: 48px !important;
    }
}

/* ===== CAROUSEL SLIDE ANIMATIONS ===== */

/* Slide Out Animations */
@keyframes slideOutRight {
    0% {
        transform: translateX(0) scale(1);
        opacity: 1;
    }
    100% {
        transform: translateX(980px) scale(0.75);
        opacity: 0.5;
    }
}

@keyframes slideOutLeft {
    0% {
        transform: translateX(0) scale(1);
        opacity: 1;
    }
    100% {
        transform: translateX(-980px) scale(0.75);
        opacity: 0.5;
    }
}

/* Slide In Animations */
@keyframes slideInRight {
    0% {
        transform: translateX(-980px) scale(0.75);
        opacity: 0.5;
    }
    100% {
        transform: translateX(0) scale(1);
        opacity: 1;
    }
}

@keyframes slideInLeft {
    0% {
        transform: translateX(980px) scale(0.75);
        opacity: 0.5;
    }
    100% {
        transform: translateX(0) scale(1);
        opacity: 1;
    }
}

/* Animation Classes */
.animate-slide-out-right {
    animation: slideOutRight 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.animate-slide-out-left {
    animation: slideOutLeft 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.animate-slide-in-right {
    animation: slideInRight 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.animate-slide-in-left {
    animation: slideInLeft 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.slider-wrap {
    padding: 72px 0 0 0;
    margin: 0;
    width: 100%;
    height:100vh;
}

.slider-container {
    display: flex;
    position: relative;
    margin: 0 auto;
    width: 100%;
}

.clip img {
    object-fit: contain;
    margin: 30px 10px;
    width: 800px;
    max-height: 600px;
    transition: all 0.5s ease;

    position: relative;
    text-align: center;

    .top {
        height: 70%;
        margin: 0 auto;
    }

    .bottom {
        width: 70%;
        margin: 0 auto;
    }
}

.clip {
    overflow: hidden;
    bottom: 0;
}

.slide-center .slick-slide {
    padding: 0 40px;
}

.slick-current.slick-active {

}

.slide-center .slick-center img {
    transform: scale(1.0);
    opacity: 1;
    transition: all 0.5s ease;

    .top {
        width: 90%;
    }

    .bottom {
        width: 90%;
    }
}

.slide-center img {
    opacity: 0.8;
    transition: all 0.5s ease;
    bottom: 0;
    transform: scale(0.82);
}

@media (max-width: 768px) {
    .clip {
        width: calc(100vw - 80px);
    }
}

.btn-prev:hover,
.btn-next:hover {
    background-color: #95FF99;
}

.btn-prev:hover svg path,
.btn-next:hover svg path {
    stroke: #407845;
}
