/**
 * Section: Carousel (Offers + Services)
 * Base component, light/dark themes, service/offer card variants.
 * Structural layout (slider track, slide widths) is in bc-carousel-core.css.
 */

/* ===========================================
   BASE CAROUSEL COMPONENT
   =========================================== */
.bc-carousel {
    padding: 120px 0;
}

.bc-carousel__top {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 48px;
    gap: 24px;
}

.bc-carousel__header {
    flex: 1;
}

.bc-carousel__subtitle {
    font-family: var(--bc-font-body);
    font-size: 16px;
    font-weight: 700;
    color: var(--bc-pink);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin: 0 0 16px 0;
}

.bc-carousel__title {
    font-family: var(--bc-font-heading);
    font-size: 60px;
    font-weight: 400;
    margin: 0 0 24px 0;
    line-height: 1.2;
}

.bc-carousel__desc {
    font-family: var(--bc-font-body);
    font-size: 24px;
    font-weight: 400;
    margin: 0;
    line-height: 1.67;
}

/* Right side with CTA and arrows */
.bc-carousel__right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 12px;
    flex-shrink: 0;
}

.bc-carousel__cta-link {
    font-family: var(--bc-font-body);
    font-size: 18px;
    font-weight: 700;
    text-decoration: none;
    border-bottom: 1px solid currentColor;
    padding-bottom: 4px;
    transition: opacity 0.3s ease;
}

.bc-carousel__cta-link:hover {
    opacity: 0.8;
}

/* Navigation arrows */
.bc-carousel__nav {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
}

.bc-carousel__nav-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: transparent;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 !important;
    transition: all 0.3s ease;
    border: none;
}

.bc-carousel__nav-btn svg {
    width: 24px;
    height: 24px;
}

/* ===========================================
   LIGHT THEME (Services)
   =========================================== */
.bc-carousel--light {
    background: var(--bc-white);
}

.bc-carousel--light .bc-carousel__title {
    color: var(--bc-black);
}

.bc-carousel--light .bc-carousel__desc {
    color: #3b3336;
}

.bc-carousel--light .bc-carousel__cta-link {
    color: var(--bc-pink);
}

.bc-carousel--light .bc-carousel__nav-btn {
    background: var(--bc-soft-grey);
    color: var(--bc-black);
}

.bc-carousel--light .bc-carousel__nav-btn:hover {
    background: var(--bc-black);
    color: var(--bc-white);
}

.bc-carousel--light .bc-slider__dot {
    background: var(--bc-black);
    opacity: 0.3;
    padding: 0;
    height: 2px;
}

.bc-carousel--light .bc-slider__dot--active {
    opacity: 1;
}

/* ===========================================
   DARK THEME (Offers)
   =========================================== */
.bc-carousel--dark {
    background: var(--bc-black);
}

.bc-carousel--dark .bc-carousel__title {
    color: var(--bc-white);
}

.bc-carousel--dark .bc-carousel__desc {
    color: var(--bc-white);
}

.bc-carousel--dark .bc-carousel__cta-link {
    color: var(--bc-pink);
}

.bc-carousel--dark .bc-carousel__nav-btn {
    background: var(--bc-soft-grey);
    color: var(--bc-black);
}

.bc-carousel--dark .bc-carousel__nav-btn:hover {
    background: var(--bc-pink);
    color: var(--bc-white);
}

.bc-carousel--dark .bc-slider__dot {
    background: var(--bc-white);
    opacity: 0.5;
    padding: 0;
    height: 2px;
}

.bc-carousel--dark .bc-slider__dot--active {
    opacity: 1;
}

/* ===========================================
   SERVICE CARD (Light theme cards)
   =========================================== */
.bc-card--service {
    position: relative;
    overflow: hidden;
}

.bc-card--service .bc-card__link {
    display: block;
    position: relative;
    text-decoration: none;
}

.bc-card--service .bc-card__img {
    width: 100%;
    height: 450px;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.bc-card--service:hover .bc-card__img {
    transform: scale(1.05);
}

.bc-card--service .bc-card__overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0) 50%);
    pointer-events: none;
}

.bc-card--service .bc-card__content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px;
    z-index: 2;
}

.bc-card--service .bc-card__title {
    font-family: var(--bc-font-heading);
    font-size: 28px;
    font-weight: 400;
    color: var(--bc-white);
    margin: 0 0 16px 0;
    line-height: 1.3;
}

.bc-card--service .bc-card__btn {
    display: inline-block;
    padding: 10px 24px;
    background-color: var(--bc-white);
    border: none;
    border-radius: 100px;
    color: var(--bc-black);
    font-family: var(--bc-font-body);
    font-size: 16px;
    font-weight: 700;
    line-height: 22px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.bc-card--service:hover .bc-card__btn {
    background: var(--bc-pink);
    color: var(--bc-white);
}

/* ===========================================
   OFFER CARD (Dark theme cards)
   =========================================== */
.bc-card--offer {
    position: relative;
    height: 600px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.bc-card--offer .bc-card__bg-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.bc-card--offer .bc-card__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    pointer-events: none;
    z-index: 1;
}

.bc-card--offer .bc-card__inner {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    padding: 24px 48px 36px;
}

.bc-card--offer .bc-card__label {
    display: inline-block;
    align-self: flex-start;
    background: var(--bc-black);
    color: var(--bc-white);
    font-family: var(--bc-font-body);
    font-size: 14px;
    font-weight: 500;
    padding: 2px 10px;
    border-radius: 100px;
    line-height: 20px;
}

.bc-card--offer .bc-card__label--promo {
    background: var(--bc-hot-pink);
}

.bc-card--offer .bc-card__content {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: auto;
}

.bc-card--offer .bc-card__text {
    color: var(--bc-white);
}

.bc-card--offer .bc-card__category {
    font-family: 'Lato', sans-serif;
    font-size: 20px;
    font-weight: 500;
    margin: 0;
    line-height: 1.8;
}

.bc-card--offer .bc-card__title {
    font-family: var(--bc-font-heading);
    font-size: 48px;
    font-weight: 400;
    margin: 0;
    line-height: 1.25;
    color: var(--bc-white);
}

.bc-card--offer .bc-card__bottom {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.bc-card--offer .bc-card__price {
    color: var(--bc-white);
}

.bc-card--offer .bc-card__price-label {
    display: block;
    font-family: var(--bc-font-body);
    font-size: 16px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.bc-card--offer .bc-card__price-value {
    display: flex;
    align-items: flex-end;
    font-family: var(--bc-font-heading);
}

.bc-card--offer .bc-card__price-main {
    font-size: 48px;
    line-height: 1.1;
}

.bc-card--offer .bc-card__price-cents {
    font-size: 24px;
    line-height: 1.25;
}

.bc-card--offer .bc-card__cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    align-self: flex-start;
    background: var(--bc-pink);
    color: var(--bc-white);
    font-family: var(--bc-font-body);
    font-size: 16px;
    font-weight: 700;
    padding: 10px 24px;
    border-radius: 100px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.bc-card--offer .bc-card__cta:hover {
    background: var(--bc-black);
    color: var(--bc-white);
}

.bc-card--offer .bc-card__cta svg {
    width: 24px;
    height: 24px;
}

/* ===========================================
   RESPONSIVE
   =========================================== */
@media (max-width: 991px) {
    .bc-carousel {
        padding: 80px 0;
    }

    .bc-carousel__title {
        font-size: 36px;
    }

    .bc-card--service .bc-card__img {
        height: 380px;
    }

    .bc-card--service .bc-card__title {
        font-size: 24px;
    }

    .bc-card--offer {
        height: 450px;
    }

    .bc-card--offer .bc-card__inner {
        padding: 20px 30px 30px;
    }

    .bc-card--offer .bc-card__title {
        font-size: 28px;
    }

    .bc-card--offer .bc-card__price-main {
        font-size: 36px;
    }

    .bc-card--offer .bc-card__category {
        font-size: 16px;
    }
}

@media (max-width: 767px) {
    .bc-carousel {
        padding: 50px 0;
    }

    .bc-carousel__top {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .bc-carousel__right {
        align-items: flex-start;
        flex-direction: row;
        justify-content: space-between;
        width: 100%;
    }

    .bc-carousel__nav {
        display: none;
    }

    .bc-carousel__title {
        font-size: 28px;
    }

    .bc-carousel__desc {
        font-size: 16px;
    }

    .bc-card--service .bc-card__img {
        height: 350px;
    }

    .bc-card--service .bc-card__title {
        font-size: 22px;
    }

    .bc-card--offer {
        height: 400px;
    }

    .bc-card--offer .bc-card__inner {
        padding: 16px 20px 24px;
    }

    .bc-card--offer .bc-card__title {
        font-size: 24px;
    }

    .bc-card--offer .bc-card__price-main {
        font-size: 32px;
    }

    .bc-card--offer .bc-card__price-cents {
        font-size: 18px;
    }
}
