/**
 * EventHub Hero Slider Styles
 * Cinematic full-screen slider with parallax effects
 */

/* ============================================
   HERO CONTAINER
   ============================================ */
.ehm-hero-slider {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    background: #000;
}

.ehm-hero-slides {
    position: relative;
    width: 100%;
    height: 100%;
}

/* ============================================
   INDIVIDUAL SLIDE
   ============================================ */
.ehm-hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1s ease-in-out, visibility 1s ease-in-out;
}

.ehm-hero-slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 1;
}

/* ============================================
   BACKGROUND IMAGE WITH KEN BURNS EFFECT
   ============================================ */
.ehm-hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transform: scale(1.1);
    animation: kenBurns 20s ease-in-out infinite alternate;
}

@keyframes kenBurns {
    0% {
        transform: scale(1.1) translateX(0) translateY(0);
    }

    100% {
        transform: scale(1.2) translateX(-3%) translateY(-2%);
    }
}

/* ============================================
   GRADIENT OVERLAY
   ============================================ */
.ehm-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top,
            rgba(0, 0, 0, 0.95) 0%,
            rgba(0, 0, 0, 0.6) 40%,
            rgba(0, 0, 0, 0.3) 70%,
            rgba(0, 0, 0, 0.1) 100%);
    z-index: 1;
}

/* ============================================
   ANIMATED PARTICLES
   ============================================ */
.ehm-hero-particles {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(2px 2px at 20% 30%, rgba(255, 255, 255, 0.15), transparent),
        radial-gradient(2px 2px at 60% 70%, rgba(255, 255, 255, 0.1), transparent),
        radial-gradient(1px 1px at 50% 50%, rgba(255, 255, 255, 0.1), transparent),
        radial-gradient(1px 1px at 80% 10%, rgba(255, 255, 255, 0.15), transparent);
    background-size: 200% 200%;
    background-position: 0% 0%;
    animation: particleFloat 20s ease-in-out infinite;
    z-index: 1;
    pointer-events: none;
}

@keyframes particleFloat {

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

    50% {
        background-position: 100% 100%;
    }
}

/* ============================================
   CONTENT AREA
   ============================================ */
.ehm-hero-content {
    position: relative;
    z-index: 2;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 24px;
}

/* ============================================
   BADGES
   ============================================ */
.ehm-hero-badges {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.ehm-hero-badge {
    display: inline-block;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    backdrop-filter: blur(10px);
    animation: slideInUp 0.6s ease-out 0.2s both;
}

.ehm-hero-badge.featured {
    background: linear-gradient(135deg, #A39181 0%, #8c7a6b 100%);
    color: #fff;
    box-shadow: 0 4px 20px rgba(163, 145, 129, 0.4);
    animation: slideInUp 0.6s ease-out 0.2s both, pulse 2s ease-in-out infinite;
}

.ehm-hero-badge.category {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

@keyframes pulse {

    0%,
    100% {
        box-shadow: 0 4px 20px rgba(163, 145, 129, 0.4);
    }

    50% {
        box-shadow: 0 4px 30px rgba(163, 145, 129, 0.6);
    }
}

/* ============================================
   TITLE
   ============================================ */
.ehm-hero-title {
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: 900;
    line-height: 1.1;
    color: #fff;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    max-width: 900px;
    animation: slideInUp 0.8s ease-out 0.4s both;
}

/* ============================================
   META INFORMATION
   ============================================ */
.ehm-hero-meta {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
    animation: slideInUp 0.8s ease-out 0.6s both;
}

.ehm-hero-meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 16px;
    font-weight: 600;
}

.ehm-hero-meta-item svg {
    width: 20px;
    height: 20px;
    fill: #A39181;
}

.ehm-hero-meta-item.price {
    background: rgba(163, 145, 129, 0.2);
    padding: 8px 16px;
    border-radius: 50px;
    border: 1px solid rgba(163, 145, 129, 0.4);
}

/* ============================================
   ACTION BUTTONS
   ============================================ */
.ehm-hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 16px;
    animation: slideInUp 0.8s ease-out 0.8s both;
}

.ehm-hero-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 16px 32px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

.ehm-hero-btn svg {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}

.ehm-hero-btn.primary {
    background: linear-gradient(135deg, #A39181 0%, #8c7a6b 100%);
    color: #fff;
    box-shadow: 0 8px 30px rgba(163, 145, 129, 0.3);
}

.ehm-hero-btn.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(163, 145, 129, 0.5);
}

.ehm-hero-btn.primary:hover svg {
    transform: translateX(4px);
}

.ehm-hero-btn.secondary {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.ehm-hero-btn.secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
}

/* ============================================
   PROGRESS BAR
   ============================================ */
.ehm-hero-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    z-index: 10;
}

.ehm-hero-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #A39181 0%, #8c7a6b 100%);
    width: 0%;
    transition: width 0.1s linear;
}

/* ============================================
   NAVIGATION DOTS
   ============================================ */
.ehm-hero-dots {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

.ehm-hero-dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.ehm-hero-dots span:hover {
    background: rgba(255, 255, 255, 0.6);
    transform: scale(1.2);
}

.ehm-hero-dots span.active {
    background: #A39181;
    width: 32px;
    border-radius: 6px;
}

/* ============================================
   NAVIGATION ARROWS
   ============================================ */
.ehm-hero-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
}

.ehm-hero-arrow svg {
    width: 28px;
    height: 28px;
    fill: #fff;
}

.ehm-hero-arrow:hover {
    background: rgba(163, 145, 129, 0.9);
    border-color: #A39181;
    transform: translateY(-50%) scale(1.1);
}

.ehm-hero-arrow.prev {
    left: 40px;
}

.ehm-hero-arrow.next {
    right: 40px;
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 1024px) {
    .ehm-hero-slider {
        height: 80vh;
    }

    .ehm-hero-title {
        font-size: clamp(2rem, 5vw, 3.5rem);
    }

    .ehm-hero-content {
        padding: 0 30px;
    }

    .ehm-hero-arrow {
        width: 50px;
        height: 50px;
    }

    .ehm-hero-arrow.prev {
        left: 20px;
    }

    .ehm-hero-arrow.next {
        right: 20px;
    }
}

@media (max-width: 768px) {
    .ehm-hero-slider {
        height: 70vh;
    }

    .ehm-hero-title {
        font-size: clamp(1.75rem, 4vw, 2.5rem);
    }

    .ehm-hero-content {
        padding: 0 20px;
        gap: 16px;
    }

    .ehm-hero-meta {
        gap: 16px;
    }

    .ehm-hero-meta-item {
        font-size: 14px;
    }

    .ehm-hero-actions {
        flex-direction: column;
        width: 100%;
    }

    .ehm-hero-btn {
        width: 100%;
        justify-content: center;
        padding: 14px 24px;
    }

    .ehm-hero-arrow {
        display: none;
    }

    .ehm-hero-dots {
        bottom: 20px;
    }
}

@media (max-width: 480px) {
    .ehm-hero-badge {
        font-size: 10px;
        padding: 6px 14px;
    }

    .ehm-hero-meta {
        flex-direction: column;
        gap: 8px;
    }
}