/**
 * All of the CSS for your public-facing functionality should be
 * included in this file.
 */

/* Container Elementor Theme Blocksy */
.container-adc {
    margin-left: auto;
    margin-right: auto;
    width: var(--theme-container-width);
    max-width: var(--theme-normal-container-max-width);
}

/* ===============================================
   Skeleton Loading
   =============================================== */
.ev-skeleton-wrapper {
    height: calc(100vh - 100px);
    background: #f5f5f5;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.ev-skeleton-wrapper.loaded {
    display: none;
}

.ev-skeleton-content {
    width: 50%;
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding-left: calc((100% - var(--theme-normal-container-max-width)) / 2);
}

.ev-skeleton-item {
    background: linear-gradient(90deg, #ffffff 0%, #f5f5f5 50%, #ffffff 100%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: 8px;
}

.ev-skeleton-badge {
    width: 180px;
    height: 32px;
    border-radius: 20px;
}

.ev-skeleton-title {
    width: 80%;
    height: 55px;
}

.ev-skeleton-title-2 {
    width: 60%;
    height: 55px;
}

.ev-skeleton-desc {
    width: 70%;
    height: 20px;
}

.ev-skeleton-buttons {
    display: flex;
    gap: 12px;
    margin-top: 10px;
}

.ev-skeleton-btn {
    width: 150px;
    height: 40px;
    border-radius: 10px;
}

.ev-skeleton-event {
    width: 450px;
    height: 90px;
    border-radius: 10px;
    margin-top: 10px;
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }

    100% {
        background-position: 200% 0;
    }
}

/* ===============================================
   Hero Slider
   =============================================== */
.eventku-hero-slider {
    height: calc(100vh - 100px);
    display: none;
}

.eventku-hero-slider.loaded {
    display: block;
}

.eventku-hero-slider .swiper-slide {
    overflow: hidden;
}

.ev-slider-bg {
    object-fit: cover;
    width: 100%;
    height: 100% !important;
    object-position: center;
    transition: transform 0.3s ease-out;
    position: absolute;
    top: 0;
    left: 0;
}

.ev-slider-item {
    position: relative !important;
    display: flex !important;
    align-items: center;
}

.ev-slider-content {
    z-index: 1;
    width: 50%;
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: start;
}

.ev-sc-subtitle {
    color: #fff;
    line-height: 1em;
    background: #068b2329;
    padding: 6px 16px;
    border: 1px solid #068b2342;
    border-radius: 20px;
    backdrop-filter: blur(4px);
    font-size: 14px;
}

.ev-sc-title {
    color: #fff;
    font-size: 55px;
    margin: 0;
    line-height: 1.1em;
}

.ev-sc-description>p {
    margin: 0;
    color: #fff;
}

.ev-slider-item>div {
    display: flex;
}

.ev-sc-btn-primary {
    background: #068B23;
    color: #fff;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border-radius: 10px;
    padding: 0px 25px;
}

.ev-sc-btn-secondary {
    display: flex;
    height: 40px;
    align-items: center;
    justify-content: center;
    color: #fff;
    border: 1px solid #ffffff21;
    background: #ffffff14;
    backdrop-filter: blur(7px);
    border-radius: 10px;
    padding: 0px 25px;
}

.ev-sc-buttons {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 30px;
}

.ev-sc-btn-secondary:hover {
    color: #fff;
}

.ev-sc-btn-primary:hover {
    color: #fff;
    background: #027b1d;
}

.ev-sc-event {
    background: #ffffff14;
    backdrop-filter: blur(7px);
    border: 1px solid #ffffff21;
    border-radius: 10px;
    padding: 20px;
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 20px;
}

.ev-sc-event-title {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
}

.ev-sc-event-date {
    background: #068b23;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    width: 70px;
    padding: 10px;
    border-radius: 10px;
    gap: 5px;
}

.ev-sc-event-date-month {
    color: #fff;
    font-size: 14px;
    line-height: 1em;
    text-transform: uppercase;
}

.ev-sc-event-date-day {
    color: #fff;
    font-weight: 800;
    font-size: 30px;
    line-height: 1em;
}

.ev-sc-event-title-text {
    color: #fff;
    font-weight: 700;
    font-size: 18px;
    line-height: 1.2em;
}

.ev-sc-event-title-location {
    color: #bdbdbd;
    display: flex;
    align-items: center;
    gap: 6px;
}

.ev-sc-event-title-location>svg {
    width: 18px;
    height: 18px;
}

.ev-sc-event-register {
    display: flex;
    align-items: center;
}

.ev-sc-event-register>a {
    background: #fff;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0px 25px;
    border-radius: 10px;
    color: #000;
}

.swiper-pagination-bullet.swiper-pagination-bullet-active {
    background: #ffffff !important;
    width: 58px;
    border-radius: 10px;
}

.swiper-pagination-bullet {
    background: #fff !important;
}

.swiper-horizontal>.swiper-pagination-bullets,
.swiper-pagination-bullets.swiper-pagination-horizontal {
    bottom: 60px !important;
    right: 100px !important;
    width: unset !important;
    left: unset !important;
}

/* Ken Burns Effect - zoom in saat slide aktif */
.eventku-hero-slider .swiper-slide-active .ev-slider-bg {
    animation: kenburns 8s ease-out forwards;
}

@keyframes kenburns {
    0% {
        transform: scale(1);
    }

    100% {
        transform: scale(1.15);
    }
}

/* ===============================================
   News Cards
   =============================================== */
.eventku-news-cards {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 20px;
}

.eventku-nc-item {
    overflow: hidden;
    border: 1px solid #f1f1f1;
    border-radius: 15px;
}

.eventku-nc-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.eventku-nc-thumbnail {
    position: relative;
}

.eventku-nct-category {
    position: absolute;
    top: 15px;
    left: 15px;
    background: #1E8549;
    display: flex;
    align-items: center;
    padding: 2px 10px;
    border-radius: 20px;
}

.eventku-nct-category>a {
    color: #fff;
    font-size: 14px;
}

.eventku-nc-thumbnail>img {
    aspect-ratio: 6 / 4;
    object-fit: cover;
    object-position: center;
}

.eventku-ncc-date {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #5C6370;
    font-size: 14px;
}

.eventku-ncc-date>svg {
    width: 16px;
    height: 16px;
}

.eventku-ncc-title {
    font-size: 18px;
    margin: 0px;
}

.eventku-ncc-excerpt {
    color: #5C6370;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin: 0px;
}

.eventku-ncc-read-more {
    margin-top: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.eventku-nct-category>a:not(:last-child)::after {
    content: ",";
    margin-right: 5px;
}

/* ===============================================
   Single Event
   =============================================== */
.ev-se-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
}

.ev-single-event {
    display: flex;
    flex-direction: column;
    gap: 45px;
}

.ev-se-featured-image img {
    width: 100%;
    max-height: 400px;
    object-fit: cover;
    border-radius: 15px !important;
    aspect-ratio: 6 / 3;
}

.ev-sec-details {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.ev-sd-title h2 {
    margin: 0 0 5px 0;
    font-size: 28px;
}

.ev-sd-title span {
    color: #5C6370;
    font-size: 14px;
}

/* Tabs Navigation */
.ev-tabs-nav {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
    gap: 30px;
    border-bottom: 1px solid #e5e5e5;
}

.ev-tab-item {
    padding: 10px 0;
    cursor: pointer;
    font-size: 14px;
    text-transform: uppercase;
    color: #5C6370;
    position: relative;
    transition: color 0.3s ease;
    letter-spacing: 0.5px;
    font-weight: 700 !important
}

.ev-tab-item:hover {
    color: #000;
}

.ev-tab-item.active {
    color: var(--theme-palette-color-1);
    font-weight: 600;
}

.ev-tab-item.active::after {
    content: "";
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--theme-palette-color-1);
}

/* Tabs Content */
.ev-sd-tabs-content {
    padding-top: 20px;
}

.ev-tab-pane {
    display: none;
}

.ev-tab-pane.active {
    display: block;
}

.ev-sco-content {
    line-height: 1.8;
    color: #333;
}

.ev-sco-content p {
    margin: 0 0 15px 0;
}

.ev-sg-wrapp {
    border: 1px solid #ebebeb;
    padding: 20px;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    gap: 30px;
    position: sticky;
    top: 150px;
}

.ev-sg-date {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 10px;
    align-items: center;
}

.ev-sg-date-save {
    display: flex;
    flex-direction: column;
}

.ev-sds-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 4px 13px;
    font-size: 12px;
    background: #363C4F;
    color: #fff;
    cursor: pointer;
    border-radius: 11px;
}

.ev-sg-date-day {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-right: 24px;
    border-right: 1px solid #ebebeb;
    gap: 6px;
}

.ev-sgdd-month {
    font-size: 12px;
    color: #000;
    line-height: 1em;
}

.ev-sgdd-day {
    font-size: 18px;
    font-weight: 700;
    color: #000;
    line-height: 1em;
}

.ev-sg-date-time {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 6px;
}

.ev-sgdt-day {
    font-size: 16px;
    font-weight: 600;
    color: #000;
    line-height: 1em;
}

.ev-sgdt-time {
    font-size: 14px;
    line-height: 1em;
}

.ev-sg-btn {
    background: var(--theme-palette-color-1);
    color: #fff;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 40px;
    border-radius: 6px;
}

.ev-sg-btn:hover {
    color: #fff;
    background: var(--theme-palette-color-2);
}