
/* ================================================
   MURAT BISEN - LIGHT COLLECTION V5
   Modern / Corporate / Product Focused
================================================ */

.mbf-collection {
    --mbf-text: #252525;
    --mbf-muted: #777777;
    --mbf-border: #eaeaea;
    --mbf-accent: #74634f;

    position: relative;
    width: 100%;
    padding: 48px 0 58px;
    background: #ffffff;
    color: var(--mbf-text);
    overflow: hidden;
    font-family: Arial, Helvetica, sans-serif;
}

.mbf-collection *,
.mbf-collection *::before,
.mbf-collection *::after {
    box-sizing: border-box;
}

.mbf-container {
    width: min(1440px, calc(100% - 48px));
    margin: 0 auto;
}

/* HEADER */

.mbf-heading {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 25px;
    margin-bottom: 30px;
}

.mbf-eyebrow {
    display: block;
    margin-bottom: 9px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    color: #94806b;
}

.mbf-heading h2 {
    margin: 0 !important;
    font-family: Arial, Helvetica, sans-serif !important;
    font-size: clamp(27px, 3.3vw, 44px) !important;
    font-style: normal !important;
    font-weight: 600 !important;
    letter-spacing: -1.4px;
    line-height: 1.15;
    color: #252525 !important;
}

.mbf-heading p {
    margin: 12px 0 0;
    font-size: 15px;
    line-height: 1.6;
    color: var(--mbf-muted);
}

.mbf-all-products {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    flex-shrink: 0;
    padding-bottom: 6px;
    border-bottom: 1px solid #aaaaaa;
    font-size: 13px;
    font-weight: 600;
    color: #303030 !important;
    text-decoration: none !important;
}

.mbf-all-products span {
    font-size: 20px;
    font-weight: 400;
    transition: transform .25s ease;
}

.mbf-all-products:hover span {
    transform: translateX(5px);
}

/* 4 COLUMN GRID */

.mbf-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    perspective: 1400px;
}

/* CARD */

.mbf-card {
    --mbf-rotate-x: 0deg;
    --mbf-rotate-y: 0deg;
    --mbf-shift-x: 0px;
    --mbf-shift-y: 0px;
    --mbf-parallax: 0px;
    --mbf-blur: 0px;

    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid #eeeeee;
    border-radius: 12px;
    color: #252525 !important;
    text-decoration: none !important;

    transform:
        perspective(1000px)
        rotateX(var(--mbf-rotate-x))
        rotateY(var(--mbf-rotate-y));

    transition:
        transform .25s ease,
        box-shadow .25s ease,
        border-color .25s ease;

    -webkit-tap-highlight-color: transparent;
}

.mbf-card:hover {
    border-color: #d5d5d5;
    box-shadow: 0 20px 45px rgba(0,0,0,.075);
}

/* PRODUCT PHOTO */

.mbf-card-image {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 4 / 4.8;
    overflow: hidden;
    background: #f8f7f5;
}

.mbf-card-image img {
    display: block;
    width: 100%;
    height: 100%;
    max-width: none;
    max-height: none;

    object-fit: cover;
    object-position: center;

    opacity: 1;
    filter: blur(var(--mbf-blur));

    transform:
        translate3d(
            var(--mbf-shift-x),
            calc(var(--mbf-shift-y) + var(--mbf-parallax)),
            0
        )
        scale(1.055);

    transition: transform .25s ease-out, filter .2s ease;
}

/* CARD CONTENT */

.mbf-card-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;

    min-height: 88px;
    padding: 17px 18px;

    background: #ffffff;
    position: relative;
    z-index: 2;
}

.mbf-card-copy {
    display: flex;
    flex-direction: column;
    gap: 5px;
    min-width: 0;
}

.mbf-card-copy strong {
    display: block;
    color: #252525;
    font-size: clamp(17px, 1.5vw, 22px);
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -.4px;
}

.mbf-card-subtitle {
    display: block;
    font-size: 12px;
    line-height: 1.4;
    color: #888888;
}

/* ARROW */

.mbf-card-arrow {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;

    width: 37px;
    height: 37px;
    border-radius: 50%;
    background: #f5f5f5;
    color: #333333;

    transition:
        background .25s ease,
        color .25s ease,
        transform .25s ease;
}

.mbf-card:hover .mbf-card-arrow {
    background: #303030;
    color: #ffffff;
    transform: translateX(3px);
}

/* BOTTOM */

.mbf-bottom {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-top: 25px;
    padding-top: 17px;
    border-top: 1px solid #eeeeee;

    font-size: 10px;
    font-weight: 600;
    letter-spacing: 1.5px;
    color: #999999;
}

/* TABLET */

@media (max-width: 1024px) {
    .mbf-grid {
        gap: 12px;
    }

    .mbf-card-content {
        padding: 13px;
        min-height: 78px;
    }

    .mbf-card-copy strong {
        font-size: 17px;
    }

    .mbf-card-subtitle {
        font-size: 11px;
    }
}

/* MOBILE */

@media (max-width: 767px) {

    .mbf-collection {
        padding: 25px 0 35px;
    }

    .mbf-container {
        width: calc(100% - 22px);
    }

    .mbf-heading {
        display: block;
        margin-bottom: 21px;
    }

    .mbf-eyebrow {
        font-size: 9px;
        letter-spacing: 1.5px;
        margin-bottom: 8px;
    }

    .mbf-heading h2 {
        font-size: clamp(25px, 6.3vw, 32px) !important;
        letter-spacing: -.8px;
    }

    .mbf-heading p {
        margin-top: 8px;
        font-size: 12px;
        line-height: 1.5;
    }

    .mbf-all-products {
        margin-top: 13px;
        font-size: 12px;
    }

    /* 2 x 2 */

    .mbf-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .mbf-card {
        border-radius: 9px;
    }

    /* More prominent images */

    .mbf-card-image {
        aspect-ratio: 3 / 3.9;
    }

    .mbf-card-image img {
        transform:
            translate3d(0, var(--mbf-parallax), 0)
            scale(1.07);
    }

    .mbf-card-content {
        min-height: 65px;
        padding: 10px;
        gap: 5px;
    }

    .mbf-card-copy {
        gap: 3px;
    }

    .mbf-card-copy strong {
        font-size: clamp(14px, 4vw, 18px);
        letter-spacing: -.3px;
    }

    .mbf-card-subtitle {
        font-size: 10px;
        line-height: 1.35;
    }

    .mbf-card-arrow {
        width: 28px;
        height: 28px;
    }

    .mbf-card-arrow svg {
        width: 16px;
        height: 16px;
    }

    .mbf-bottom {
        margin-top: 18px;
        font-size: 8px;
        letter-spacing: .7px;
    }
}

/* SMALL MOBILE */

@media (max-width: 360px) {
    .mbf-grid {
        gap: 7px;
    }

    .mbf-card-content {
        padding: 8px;
    }

    .mbf-card-copy strong {
        font-size: 14px;
    }

    .mbf-card-subtitle {
        font-size: 9px;
    }

    .mbf-card-arrow {
        width: 24px;
        height: 24px;
    }
}

/* TOUCH */

@media (hover: none) {
    .mbf-card:hover {
        box-shadow: none;
        border-color: #eeeeee;
    }

    .mbf-card:hover .mbf-card-arrow {
        background: #f5f5f5;
        color: #333333;
        transform: none;
    }
}

/* REDUCED MOTION */

@media (prefers-reduced-motion: reduce) {
    .mbf-collection *,
    .mbf-collection *::before,
    .mbf-collection *::after {
        animation: none !important;
        transition: none !important;
    }

    .mbf-card {
        transform: none !important;
    }

    .mbf-card-image img {
        transform: none !important;
        filter: none !important;
    }
}
