/*hero-section*/
.event-hero {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.eventHeroSwiper {
    width: 100%;
    height: calc(100vh - 210px);
    min-height: 600px;
}

.hero-slide { 
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.hero-slide > img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;

    transform: scale(1);
    transition: transform 6s ease;
}


/* Image zoom on active slide */
.swiper-slide-active .hero-slide > img {
    transform: scale(1);
}


/* Dark overlay */
.hero-overlay {
    position: absolute;
    inset: 0;

    background: linear-gradient(
        90deg,
        rgba(0, 0, 0, 0.78) 0%,
        rgba(0, 0, 0, 0.50) 40%,
        rgba(0, 0, 0, 0.12) 75%,
        rgba(0, 0, 0, 0.05) 100%
    );

    z-index: 1;
}


/* Caption */
.hero-slide .container {
    position: relative;
    height: 100%;
    z-index: 2;
}

.hero-caption {
    position: absolute;
    /* left: 12px;
    top: 50%; */

    left: 60px;
    top: 39%;

    width: 650px;
    max-width: calc(100% - 24px);

    transform: translateY(calc(-50% + 80px));
    opacity: 0;

    transition:
    opacity 0.6s ease,
    transform 0.7s cubic-bezier(.22, 1, .36, 1);

    /* background: rgba(0, 0, 0, 0.65);
    padding: 50px; */
    border-radius: 15px
}

.swiper-slide-active .hero-caption,
.swiper-slide-duplicate-active .hero-caption {
    opacity: 1;
    transform: translateY(calc(-50% + 80px)) scale(1.2);
    transition-delay: 0.15s;
}


/* Subtitle */
.hero-subtitle {
    font-size: 18px;
    font-weight: 600;
    /* letter-spacing: 1.5px; */
    /* text-transform: uppercase; */

    color: #ffffff;

    margin-bottom: 18px;

    opacity: 0;
    transform: translateY(35px);

    transition:
        opacity 0.7s ease 0.2s,
        transform 0.7s cubic-bezier(.22, 1, .36, 1) 0.2s;
}


.swiper-slide-active .hero-subtitle,
.swiper-slide-duplicate-active .hero-subtitle {
    opacity: 1;
    transform: translateY(0);
}


/* Heading */
.hero-caption h1,
.hero-caption .hero-slide-title {
    margin: 0 0 30px;

    color: #ffffff;

    font-size: clamp(36px, 5vw, 56px);
    font-weight: 800;

    opacity: 0;
    transform: translateY(50px);

    transition:
        opacity 0.8s ease 0.35s,
        transform 0.8s cubic-bezier(.22, 1, .36, 1) 0.35s;
}


.swiper-slide-active .hero-caption h1,
.swiper-slide-active .hero-caption .hero-slide-title,
.swiper-slide-duplicate-active .hero-caption h1,
.swiper-slide-duplicate-active .hero-caption .hero-slide-title {
    opacity: 1;
    transform: translateY(0);
}

.hero-title-sm {
    font-size: 65%;
    font-weight: 700;
}


/* Button */
.btn-event {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 13px 28px;

    border-radius: 4px;
    border: 1px solid #ffffff;

    background: #ffffff;
    color: #111111;

    font-size: 14px;
    font-weight: 600;

    opacity: 0;
    transform: translateY(35px);

    transition:
        opacity 0.7s ease 0.5s,
        transform 0.7s cubic-bezier(.22, 1, .36, 1) 0.5s,
        background 0.3s ease,
        color 0.3s ease;
}


.swiper-slide-active .btn-event {
    opacity: 1;
    transform: translateY(0);
}


.btn-event:hover {
    background: transparent;
    color: #ffffff;
}


/* Navigation */
.hero-navigation {
    position: absolute;

    right: 40px;
    bottom: 40px;

    z-index: 10;

    display: flex;
    gap: 10px;
}


.hero-navigation button {
    width: 48px;
    height: 48px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid rgba(255,255,255,0.5);
    background: rgba(0,0,0,0.25);

    color: #ffffff;

    border-radius: 50%;

    cursor: pointer;

    transition: all 0.3s ease;
}


.hero-navigation button:hover {
    background: #ffffff;
    color: #111111;
}


/* Pagination */
.eventHeroSwiper .swiper-pagination {
    left: auto;
    right: 40px;
    bottom: 105px;

    width: auto;
}


.eventHeroSwiper .swiper-pagination-bullet {
    width: 8px;
    height: 8px;

    background: #ffffff;
    opacity: 0.5;
}


.eventHeroSwiper .swiper-pagination-bullet-active {
    opacity: 1;
    width: 28px;
    border-radius: 10px;
}

.eventHeroSwiper .swiper-slide-active img {
    animation: heroZoomInOut 5.5s ease-in-out infinite;
}

@keyframes heroZoomInOut {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.06);
    }

    100% {
        transform: scale(1);
    }
}


/* Bootstrap container alignment */
/* @media (min-width: 1200px) {
    .event-hero .container {
        max-width: 1528px;
    }
} */


/* Tablet */
@media (max-width: 1600px) {
    .hero-caption h1 {
        margin: 0 0 30px;
        color: #ffffff;
        font-size: clamp(36px, 5vw, 48px);
    }

    .swiper-slide-active .hero-caption,
    .swiper-slide-duplicate-active .hero-caption {
        opacity: 1;
        transform: translateY(calc(-50% + 80px)) scale(0.85);
    }

    .hero-caption {
        top: 32%;
    }

    .event-countdown-wrap {
        max-width: 1050px;
    }

    .countdown-box strong {
        font-size: 24px;
    }

    .countdown-content {
        gap: 22px;
        padding: 28px 28px;
    }

    .countdown-box {
        width: 82px;
        height: 80px;
    }

    .eventHeroSwiper {
        width: 100%;
        height: calc(100vh - 200px);
        min-height: 520px;
    }

    .hero-navigation {
        bottom: 115px;
    }

}

@media (max-width: 991px) {

    .eventHeroSwiper {
        height: 620px;
    }

    .hero-caption {
        width: 70%;
    }

    .hero-caption h1 {
        font-size: 48px;
    }

    .eventHeroSwiper {
    height: 345px;
    min-height: inherit;
    margin: 75px 0 0 0;
    }

    .hero-caption {
        padding: 15px;
    }

}


/* Mobile */
@media (max-width: 767px) {

    .hero-overlay {
        background: linear-gradient(
            180deg,
            rgba(0,0,0,0.25) 0%,
            rgba(0,0,0,0.75) 100%
        );
    }

    .hero-caption {
        left: 15px;
        right: 15px;
        width: auto;

        top: 30px;
        bottom: auto;

        transform: translateY(60px);
    }

    .swiper-slide-active .hero-caption,
    .swiper-slide-duplicate-active .hero-caption {
        transform: translateY(0);
    }

    .hero-subtitle {
        font-size: 13px;
        margin-bottom: 12px;
    }

    .hero-caption h1 {
        font-size: 38px;
        line-height: 1.1;
        margin-bottom: 22px;
    }

        .hero-navigation {
        right: 15px;
        bottom: 20px;
    }

    .hero-navigation button {
        width: 42px;
        height: 42px;
    }

    .eventHeroSwiper .swiper-pagination {
        left: 15px;
        right: auto;
        bottom: 40px;
    }

        .countdown-box {
        width: 82px;
        height: 60px;
    }

    .hero-title-sm {
        margin: 7px 0 0 0;
    }

    .pi-btn {
        padding: 15px 24px;
    }

}

@media (max-width: 400px) {
    .hero-caption h1 {
        font-size: 32px !important;
    }
    
}

