/* =========================================================
   EventCal Featured Slider — Frontend CSS
   ========================================================= */

/* Wrapper */
.ecfs-slider-wrap {
    position: relative;
    overflow: hidden;
    background-color: #0A0A0A;
    width: 100%;
}

/* Slide stack */
.ecfs-slides {
    position: relative;
    width: 100%;
    height: 100%;
}

/* Individual slide */
.ecfs-slide {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.7s ease;
    pointer-events: none;
}

.ecfs-slide--active {
    opacity: 1;
    pointer-events: auto;
    position: relative;
}

/* Background image */
.ecfs-slide__bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 0;
}

.ecfs-slide__bg--noimg {
    background: linear-gradient(135deg, #161616 0%, #1a0a2e 100%);
}

/* Gradient overlay — color/opacity set via inline style from block attributes */
.ecfs-slide__overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
}

/* Content */
.ecfs-slide__content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 860px;
    padding: 60px 24px 80px;
    width: 100%;
}

/* Eyebrow / category badge */
.ecfs-slide__eyebrow {
    display: inline-block;
    margin-bottom: 16px;
}

/* Slide title */
.ecfs-slide__title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(2.8rem, 8vw, 5.5rem);
    letter-spacing: 0.04em;
    line-height: 1;
    color: #F1F5F9;
    margin: 0 0 20px;
    text-shadow: 0 2px 20px rgba(0,0,0,0.5);
}

/* Meta line */
.ecfs-slide__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin: 0 0 32px;
}

.ecfs-slide__meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    color: #94A3B8;
}

.ecfs-slide__meta-item svg {
    flex-shrink: 0;
    color: #E8A020;
}

/* Action buttons */
.ecfs-slide__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    justify-content: center;
}

.ecfs-btn {
    display: inline-block;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 6px;
    padding: 14px 32px;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.15s ease;
    border: 2px solid transparent;
}

.ecfs-btn--tickets {
    background-color: #7C3AED;
    color: #F1F5F9 !important;
    border-color: #7C3AED;
    box-shadow: 0 0 18px rgba(124, 58, 237, 0.7), 0 4px 12px rgba(0,0,0,0.4);
}

.ecfs-btn--tickets:hover {
    background-color: #6D28D9;
    border-color: #6D28D9;
    box-shadow: 0 0 28px rgba(124, 58, 237, 0.9), 0 4px 16px rgba(0,0,0,0.5);
    transform: translateY(-2px);
}

.ecfs-btn--outline {
    background-color: #E8A020;
    color: #0A0A0A !important;
    border-color: #E8A020;
    box-shadow: 0 0 18px rgba(232, 160, 32, 0.6), 0 4px 12px rgba(0,0,0,0.4);
}

.ecfs-btn--outline:hover {
    background-color: #F5B533;
    border-color: #F5B533;
    color: #0A0A0A !important;
    box-shadow: 0 0 28px rgba(232, 160, 32, 0.9), 0 4px 16px rgba(0,0,0,0.5);
    transform: translateY(-2px);
}

/* =========================================================
   NAVIGATION ARROWS
   ========================================================= */
.ecfs-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background-color: rgba(10,10,10,0.6);
    border: 1px solid rgba(255,255,255,0.15);
    color: #F1F5F9;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.2s ease, border-color 0.2s ease;
    padding: 0;
}

.ecfs-arrow:hover {
    background-color: #E8A020;
    border-color: #E8A020;
    color: #0A0A0A;
}

.ecfs-arrow--prev { left: 20px; }
.ecfs-arrow--next { right: 20px; }

/* =========================================================
   DOTS
   ========================================================= */
.ecfs-dots {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    gap: 8px;
    align-items: center;
}

.ecfs-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: none;
    background-color: rgba(255,255,255,0.3);
    cursor: pointer;
    padding: 0;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.ecfs-dot--active {
    background-color: #E8A020;
    transform: scale(1.35);
}

.ecfs-dot:hover {
    background-color: rgba(255,255,255,0.7);
}

/* =========================================================
   EMPTY STATE (editor / no events)
   ========================================================= */
.ecfs-empty {
    padding: 40px;
    text-align: center;
    color: #94A3B8;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    background-color: #161616;
    border: 1px dashed #2A2A2A;
    border-radius: 6px;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 768px) {
    .ecfs-slider-wrap {
        min-height: 480px !important;
    }

    .ecfs-slide__content {
        padding: 40px 20px 70px;
    }

    .ecfs-slide__title {
        font-size: 2.4rem;
    }

    .ecfs-slide__meta {
        gap: 12px;
    }

    .ecfs-slide__meta-item {
        font-size: 0.85rem;
    }

    .ecfs-btn {
        padding: 12px 22px;
        font-size: 0.8rem;
    }

    .ecfs-arrow {
        width: 38px;
        height: 38px;
    }

    .ecfs-arrow--prev { left: 10px; }
    .ecfs-arrow--next { right: 10px; }
}
