/* MK Featured Productions — Carousel of production images with name overlay. */

.mk-fp-section {
    padding: 80px 30px;
    background-color: var(--mk-dark-2, #111);
    text-align: center;
}

.mk-fp-section h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--mk-white, #fff);
    margin-bottom: 10px;
    text-align: center;
}

.mk-fp-subtitle {
    font-family: 'Open Sans', sans-serif;
    font-size: 1.1rem;
    color: var(--mk-light-gray, #999);
    margin-bottom: 50px;
    text-align: center;
}

/* ── Carousel Layout ─────────────────────────────────── */

.mk-fp-carousel {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.mk-fp-carousel .mk-carousel-container {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
}

.mk-fp-carousel .mk-carousel-track {
    position: relative;
    width: 100%;
}

/* ── Card ─────────────────────────────────────────────── */

.mk-fp-card {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 350px;
    overflow: hidden;
    border-radius: 8px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.6s ease, visibility 0.6s ease;
    z-index: 0;
}

.mk-fp-card.is-active {
    position: relative;
    opacity: 1;
    visibility: visible;
    z-index: 1;
}

.mk-fp-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 50%;
}

/* ── Overlay Styles ──────────────────────────────────── */

.mk-fp-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px 25px 20px;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 6px 12px;
    z-index: 2;
    pointer-events: none;
}

.mk-fp-overlay--gradient-bottom {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.4) 50%, transparent 100%);
    padding-top: 60px;
}

.mk-fp-overlay--solid-bar {
    background: rgba(0, 0, 0, 0.7);
    padding: 16px 25px;
}

.mk-fp-overlay--transparent {
    background: transparent;
}

.mk-fp-name {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.3;
}

.mk-fp-year {
    font-family: 'Open Sans', sans-serif;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.3;
}

.mk-fp-type {
    font-family: 'Open Sans', sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.7);
    background: rgba(255, 255, 255, 0.15);
    padding: 3px 10px;
    border-radius: 3px;
    line-height: 1.3;
}

/* ── Full-card link ──────────────────────────────────── */

.mk-fp-link {
    position: absolute;
    inset: 0;
    z-index: 3;
    text-decoration: none;
}

.mk-fp-card:hover .mk-fp-image {
    transform: scale(1.04);
    transition: transform 0.5s ease;
}

/* ── Carousel Buttons ────────────────────────────────── */

.mk-fp-carousel .mk-carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    transition: background 0.3s ease, opacity 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.7;
}

.mk-fp-carousel .mk-carousel-btn:hover {
    background: rgba(0, 0, 0, 0.8);
    opacity: 1;
}

.mk-fp-carousel .mk-carousel-prev {
    left: -22px;
}

.mk-fp-carousel .mk-carousel-next {
    right: -22px;
}

/* ── Dots ─────────────────────────────────────────────── */

.mk-fp-carousel .mk-carousel-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
}

.mk-fp-carousel .mk-carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: background 0.3s ease, transform 0.3s ease;
}

.mk-fp-carousel .mk-carousel-dot.is-active {
    background: var(--mk-white, #fff);
    transform: scale(1.2);
}

.mk-fp-carousel .mk-carousel-dot:hover {
    background: rgba(255, 255, 255, 0.6);
}

/* ── Responsive ──────────────────────────────────────── */

@media (max-width: 1024px) {
    .mk-fp-section h2 {
        font-size: 2rem;
    }

    .mk-fp-carousel .mk-carousel-prev {
        left: 10px;
    }

    .mk-fp-carousel .mk-carousel-next {
        right: 10px;
    }
}

@media (max-width: 768px) {
    .mk-fp-section {
        padding: 50px 20px;
    }

    .mk-fp-section h2 {
        font-size: 1.8rem;
    }

    .mk-fp-subtitle {
        font-size: 1rem;
        margin-bottom: 30px;
    }

    .mk-fp-card {
        height: 280px;
    }

    .mk-fp-name {
        font-size: 1.2rem;
    }

    .mk-fp-carousel .mk-carousel-btn {
        width: 36px;
        height: 36px;
        font-size: 1rem;
    }

    .mk-fp-carousel .mk-carousel-prev {
        left: 8px;
    }

    .mk-fp-carousel .mk-carousel-next {
        right: 8px;
    }
}

@media (max-width: 480px) {
    .mk-fp-card {
        height: 240px;
    }

    .mk-fp-name {
        font-size: 1.1rem;
    }

    .mk-fp-overlay {
        padding: 20px 15px 15px;
    }
}
