/**
 * Smooffee Carousel Styles
 * Styles for smooffee_carousel_upcoming and smooffee_carousel_sponsor shortcodes
 */

/* ============================================
   UPCOMING EVENTS CAROUSEL (Splide)
   ============================================ */

.smooffee-upcoming-carousel {
    width: 100%;
    margin: 2em 0;
    padding: 15px 0 25px 0;
}

.smooffee-upcoming-carousel .splide__slide {
    display: flex;
    padding: 10px 5px 20px 5px;
}

.smooffee-upcoming-carousel .smooffee-event-card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
    padding: 0;
    width: 100%;
    display: flex;
    flex-direction: column;
    transition: transform 0.2s, box-shadow 0.2s;
    overflow: hidden;
}

.smooffee-upcoming-carousel .smooffee-event-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 0px 14px rgba(0, 0, 0, 0.25);
}

.smooffee-upcoming-carousel .smooffee-card-content {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 0;
}

.smooffee-upcoming-carousel .smooffee-card-image {
    width: 100%;
    overflow: hidden;
    border-radius: 8px 8px 0 0;
    background: #f5f5f5;
}

.smooffee-upcoming-carousel .smooffee-card-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s;
}

.smooffee-upcoming-carousel .smooffee-card-image:hover img {
    transform: scale(1.05);
}

.smooffee-upcoming-carousel .smooffee-card-date {
    color: #0c6980;
    font-weight: bold;
    font-size: 1.1em;
    margin: auto 20px 8px;
}

.smooffee-upcoming-carousel .smooffee-card-location {
    color: #666;
    font-size: 0.9em;
    margin: 0 20px 12px;
    display: flex;
    align-items: center;
}

.smooffee-upcoming-carousel .smooffee-card-location::before {
    content: "\1F4CD";
    margin-right: 5px;
}

.smooffee-upcoming-carousel .smooffee-card-title {
    font-size: 1.1em;
    margin: 15px 20px 15px;
    flex-grow: 0;
    line-height: 1.4;
    font-weight: 600;
}

.smooffee-upcoming-carousel .smooffee-card-title a {
    color: #333;
    text-decoration: none;
}

.smooffee-upcoming-carousel .smooffee-card-title a:hover {
    color: #0c6980;
}

.smooffee-upcoming-carousel .smooffee-card-button {
    display: inline-block;
    background-color: #0c6980;
    color: #fff;
    text-align: center;
    padding: 12px 20px;
    text-decoration: none;
    margin: 0 20px 20px;
    border-radius: 4px;
    transition: background-color 0.2s;
    font-weight: 500;
}

.smooffee-upcoming-carousel .smooffee-card-button:hover {
    background-color: #094d5e;
}

/* ============================================
   SPONSOR CAROUSEL
   ============================================ */

.smooffee-sponsor-carousel {
    width: 100%;
    margin: 2em 0;
    padding: 10px 0;
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 768px) {
    .smooffee-upcoming-carousel .smooffee-event-card {
        padding: 0;
    }

    .smooffee-upcoming-carousel .smooffee-card-date {
        font-size: 1em;
        margin: 12px 15px 6px;
    }

    .smooffee-upcoming-carousel .smooffee-card-location {
        margin: 0 15px 10px;
        font-size: 0.85em;
    }

    .smooffee-upcoming-carousel .smooffee-card-title {
        font-size: 1em;
        margin: 0 15px 12px;
    }

    .smooffee-upcoming-carousel .smooffee-card-button {
        padding: 10px 15px;
        margin: 0 15px 15px;
        font-size: 0.9em;
    }

    .smooffee-upcoming-carousel .smooffee-card-location::before {
        display: none;
    }
}
