/* ==========================================================================
   Explore Events - Category Showcase Carousel
   ========================================================================== */

.deam-explore-section {
    padding: 50px 20px;
    max-width: 1300px;
    margin: 0 auto;
    font-family: 'Poppins', sans-serif;
}

.deam-explore-heading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    margin-bottom: 36px;
}

.deam-explore-heading h2 {
    font-size: 1.9rem;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0;
    white-space: nowrap;
}

.deam-explore-heading-line {
    flex: 1;
    max-width: 140px;
    height: 1px;
    background: linear-gradient(90deg, transparent, #f68511, transparent);
}

/* Carousel wrapper */
.deam-explore-carousel-wrapper {
    position: relative;
    overflow: hidden;
}

/* Track container with overflow hidden */
.deam-explore-track-wrap {
    overflow: hidden;
    margin: 0 40px; /* space for arrows */
}

.deam-explore-track {
    display: flex;
    gap: 22px;
    transition: transform 0.5s ease;
    will-change: transform;
}

/* Card - fixed width for 4 per row on large screens */
.deam-explore-card {
    flex: 0 0 calc(25% - 22px); /* 4 per row, minus gap */
    min-width: 0;
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #eef2f6;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    position: relative;
}

.deam-explore-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.deam-explore-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.14);
}

.deam-explore-slider {
    position: relative;
    width: 100%;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    background: #f1f4f8;
}

.deam-explore-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.deam-explore-slide.is-active {
    opacity: 1;
}

.deam-explore-slide-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #0048a5 0%, #f68511 100%);
}

.deam-explore-slide-placeholder span {
    color: #fff;
    font-weight: 600;
    font-size: 1.1rem;
    text-align: center;
    padding: 0 16px;
}

.deam-explore-dots {
    position: absolute;
    bottom: 12px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 6px;
    z-index: 1;
}

.deam-explore-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.55);
    transition: all 0.3s ease;
}

.deam-explore-dot.is-active {
    background: #ffffff;
    width: 18px;
    border-radius: 4px;
}

.deam-explore-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 12px;
    text-align: center;
}

.deam-explore-icon {
    width: 26px;
    height: 26px;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.deam-explore-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.deam-explore-name {
    font-size: 15px;
    font-weight: 600;
    color: #1a1a2e;
}

/* Navigation arrows */
.deam-explore-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1a1a2e;
}

.deam-explore-arrow:hover {
    background: #f68511;
    color: #fff;
    box-shadow: 0 4px 12px rgba(246,133,17,0.3);
}

.deam-explore-arrow-left {
    left: 0;
}

.deam-explore-arrow-right {
    right: 0;
}

/* ==========================================================================
   Responsive breakpoints
   - Desktop:  4 cards visible
   - Tablet:   3 cards visible
   - Mobile:   2 or 1 card visible
   ========================================================================== */

@media (max-width: 1200px) {
    .deam-explore-card {
        flex: 0 0 calc(33.333% - 22px); /* 3 per row */
    }
}

@media (max-width: 768px) {
    .deam-explore-section {
        padding: 36px 10px;
    }
    .deam-explore-heading h2 {
        font-size: 1.4rem;
    }
    .deam-explore-heading-line {
        max-width: 50px;
    }
    .deam-explore-track {
        gap: 16px;
    }
    .deam-explore-card {
        flex: 0 0 calc(50% - 16px); /* 2 per row */
        min-width: 0;
    }
    .deam-explore-track-wrap {
        margin: 0 30px;
    }
    .deam-explore-arrow {
        width: 32px;
        height: 32px;
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .deam-explore-card {
        flex: 0 0 calc(100% - 0px); /* 1 per row */
    }
    .deam-explore-track {
        gap: 14px;
    }
    .deam-explore-track-wrap {
        margin: 0 20px;
    }
    .deam-explore-name {
        font-size: 13px;
    }
    .deam-explore-icon {
        width: 20px;
        height: 20px;
    }
    .deam-explore-footer {
        padding: 12px 8px;
    }
}