/* ==========================================================
   Floating Card Carousel — fcc.css
   ========================================================== */

.fcc-outer *,
.fcc-outer *::before,
.fcc-outer *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* ── Outer wrapper — full width, flex row: arrow | track | arrow ── */
.fcc-outer {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 40px 0 56px;
    font-family: inherit;
}

/* ── Track — holds all slides, only active shown ── */
.fcc-track {
    flex: 1 1 0%;
    min-width: 0;
    position: relative;
}

/* ── Individual slide ── */
.fcc-slide {
    display: none;
}

.fcc-slide.is-active {
    display: flex;
    justify-content: center;
    animation: fccFadeIn 400ms ease forwards;
}

@keyframes fccFadeIn {
    from { opacity: 0; transform: translateY(6px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ── Card — the white floating box ── */
.fcc-card {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    width: 100%;
    max-width: 1100px;
    background: #ffffff;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.18);
    overflow: hidden;
}

/* ── Left: image col (55%) ── */
.fcc-card-image {
    flex: 0 0 55%;
    overflow: hidden;
    position: relative;
}

.fcc-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
    transition: transform 600ms ease;
}

.fcc-slide.is-active .fcc-image {
    transform: scale(1);
}

.fcc-image--empty {
    background: linear-gradient(135deg, #e8ddd5 0%, #d5c8bc 100%);
    height: 400px;
}

/* ── Right: content col (45%) ── */
.fcc-card-content {
    flex: 0 0 45%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 48px 52px;
}

/* Heading */
.fcc-heading {
    font-size: clamp(18px, 2vw, 26px);
    font-weight: 600;
    letter-spacing: 0.06em;
    line-height: 1.25;
    color: #2c1f1a;
    margin-bottom: 22px;
    text-transform: uppercase;
}

/* Description */
.fcc-desc {
    font-size: 15px;
    line-height: 1.8;
    color: #555555;
    margin-bottom: 24px;
}

/* Link */
.fcc-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #a07840;
    text-decoration: none;
    border-bottom: 1px solid #a07840;
    padding-bottom: 2px;
    align-self: flex-start;
    transition: opacity 200ms ease;
}

.fcc-link:hover { opacity: 0.7; }

/* ==========================================================
   ARROWS — circular, floating on outer edges
   ========================================================== */
.fcc-arrow {
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.85);
    border: 1.5px solid rgba(107, 92, 78, 0.4);
    color: #6b5c4e;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 250ms ease, color 250ms ease, border-color 250ms ease, box-shadow 250ms ease;
    padding: 0;
    font-family: inherit;
    /* Keep arrows outside the card, not overlapping */
    margin: 0 16px;
    z-index: 2;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.12);
}

.fcc-arrow:hover {
    background: rgba(255, 255, 255, 1);
    border-color: rgba(107, 92, 78, 0.7);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.18);
    color: #3d2e26;
}

.fcc-arrow:disabled {
    opacity: 0.35;
    cursor: default;
    box-shadow: none;
}

/* ==========================================================
   DOT INDICATORS
   ========================================================== */
.fcc-dots {
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 3;
}

.fcc-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: rgba(107, 92, 78, 0.3);
    border: none;
    cursor: pointer;
    padding: 0;
    transition: background 250ms ease, transform 250ms ease;
}

.fcc-dot.is-active {
    background: #a07840;
    transform: scale(1.4);
}

/* ==========================================================
   MOBILE  ≤ 767px — stack vertically, arrows beside card
   ========================================================== */
@media (max-width: 767px) {

    .fcc-outer {
        padding: 24px 0 48px;
    }

    .fcc-arrow {
        width: 40px;
        height: 40px;
        font-size: 22px;
        margin: 0 8px;
        /* On mobile, position arrows vertically centred on the image */
        align-self: flex-start;
        margin-top: 100px; /* ~half image height */
    }

    .fcc-card {
        flex-direction: column;
    }

    .fcc-card-image {
        flex: none;
        width: 100%;
    }

    .fcc-image,
    .fcc-image--empty {
        height: 240px !important;
    }

    .fcc-card-content {
        flex: none;
        width: 100%;
        padding: 28px 24px 32px;
    }

    .fcc-heading {
        font-size: 16px;
    }

    .fcc-desc {
        font-size: 14px;
    }
}

/* ==========================================================
   TABLET  768px – 1024px
   ========================================================== */
@media (min-width: 768px) and (max-width: 1024px) {

    .fcc-arrow { margin: 0 10px; }

    .fcc-image,
    .fcc-image--empty { height: 320px !important; }

    .fcc-card-content { padding: 36px 36px; }

    .fcc-heading { font-size: 20px; }
}
