/* =========================================================
   KOTI PRODUCT SHOWCASE
========================================================= */

.koti-showcase {
    width: 100%;
    /* min-height: 100vh; */

    background:
        linear-gradient(
            180deg,
            #ffffff 0%,
            #fff9f6 100%
        );

    padding: 20px 0 20px;

    overflow: hidden;

    font-family:
        Arial,
        Helvetica,
        sans-serif;
}


.koti-showcase *,
.koti-showcase *::before,
.koti-showcase *::after {
    box-sizing: border-box;
}


/* =========================================================
   CONTAINER
========================================================= */

.koti-showcase-container {
    width: 90%;
    max-width: 1180px;

    margin: 0 auto;
}


/* =========================================================
   HEADER
========================================================= */

.koti-showcase-header {
    max-width: 760px;

    margin: 0 auto 20px;

    text-align: center;
}


.koti-showcase-label {
    margin-bottom: 25px;

    color: #777;

    font-size: 11px;

    font-weight: 700;

    letter-spacing: 5px;
}


.koti-showcase-header h1 {
    margin: 0;

    color: #151515;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: clamp(48px, 6vw, 32px);

    line-height: .98;

    font-weight: 400;

    letter-spacing: -3px;
}


.koti-showcase-header h1 em {
    display: block;

    color: #637783;

    font-style: italic;
}


.koti-showcase-header p {
    max-width: 620px;

    margin: 30px auto 0;

    color: #777;

    font-size: 15px;

    line-height: 1.9;
}


/* =========================================================
   PRODUCT ITEM
========================================================= */

.koti-showcase-item {
    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        minmax(0, 1fr);

    align-items: center;

    gap: 100px;

    min-height: 350px;

    margin-bottom: 20px;
}


.koti-showcase-reverse {
    grid-template-columns:
        minmax(0, 1fr)
        minmax(0, 1fr);
}


/* =========================================================
   VISUAL
========================================================= */

.koti-showcase-visual {
    position: relative;

    width: 330px;
    height: 280px;

    margin: auto;

    display: flex;

    align-items: center;

    justify-content: center;

    perspective: 1200px;

    transition:
        transform .7s
        cubic-bezier(.2,.8,.2,1);
}


/* =========================================================
   BACKGROUND SHAPES
========================================================= */

.koti-shape-one {
    background: #f5d5c9;

    border-radius:
        0
        48%
        48%
        48%;
}


.koti-shape-two {
    background: #ddd5ee;

    border-radius:
        48%
        0
        48%
        48%;
}


.koti-shape-three {
    background: #d8e8ef;

    border-radius:
        48%
        48%
        48%
        0;
}


.koti-shape-four {
    background: #dce8dc;

    border-radius:
        48%
        48%
        0
        48%;
}


/* =========================================================
   IMAGE CARD
========================================================= */

.koti-showcase-image {
    position: relative;

    width: 75%;
    height: 75%;

    overflow: hidden;

    border-radius: 22px;

    background: #eee;

    transform:
        translateZ(60px);

    box-shadow:
        0 30px 70px
        rgba(0,0,0,.20);

    transition:
        transform .7s
        cubic-bezier(.2,.8,.2,1),
        box-shadow .7s ease;
}


.koti-showcase-image::after {
    content: "";

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            135deg,
            rgba(255,255,255,.35),
            transparent 40%
        );

    pointer-events: none;
}


.koti-showcase-image img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;

    transition:
        transform 1s
        cubic-bezier(.2,.8,.2,1);
}


/* =========================================================
   3D HOVER
========================================================= */

.koti-showcase-visual:hover {
    transform:
        translateY(-15px);
}


.koti-showcase-visual:hover
.koti-showcase-image {
    transform:
        translateZ(100px)
        rotateX(3deg)
        rotateY(-4deg);

    box-shadow:
        0 45px 90px
        rgba(0,0,0,.24);
}


.koti-showcase-visual:hover
.koti-showcase-image img {
    transform: scale(1.08);
}


/* =========================================================
   NUMBER
========================================================= */

.koti-showcase-number {
    position: absolute;

    right: 15px;
    bottom: 8px;

    color: rgba(0,0,0,.08);

    font-family:
        Georgia,
        serif;

    font-size: 82px;

    font-style: italic;

    pointer-events: none;
}


/* =========================================================
   CONTENT
========================================================= */

.koti-showcase-content {
    max-width: 470px;
    background: #daecf6;
    padding: 20px;
    border-radius: 20px;
}


.koti-showcase-category {
    margin-bottom: 25px;

    color: #888;

    font-size: 10px;

    font-weight: 700;

    letter-spacing: 4px;
}


.koti-showcase-content h2 {
    margin: 0 0 28px;

    color: #151515;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: clamp(40px, 4.2vw, 32px);

    font-weight: 400;

    line-height: 1.02;

    letter-spacing: -1.5px;
}


.koti-showcase-content h2 em {
    display: block;

    color: #637783;

    font-style: italic;
}


.koti-showcase-content p {
    max-width: 450px;

    margin: 0;

    color: #000;

    font-size: 14px;

    line-height: 1.9;
}


/* =========================================================
   LINK
========================================================= */

.koti-showcase-link {
    display: inline-flex;

    align-items: center;

    gap: 12px;

    margin-top: 30px;

    padding-bottom: 9px;

    border-bottom: 1px solid #222;

    color: #111;

    text-decoration: none;

    font-size: 10px;

    font-weight: 700;

    letter-spacing: 2px;

    transition:
        gap .3s ease;
}


.koti-showcase-link span {
    font-size: 18px;

    transition:
        transform .3s ease;
}


.koti-showcase-link:hover {
    gap: 20px;
}


.koti-showcase-link:hover span {
    transform:
        translate(4px,-2px);
}


/* =========================================================
   FOOTER
========================================================= */

.koti-showcase-footer {
    display: flex;

    align-items: center;

    gap: 25px;

    width: 90%;

    margin: 0 auto;
}


.koti-showcase-footer span {
    height: 1px;

    flex: 1;

    background: #ddd;
}


.koti-showcase-footer p {
    margin: 0;

    color: #999;

    white-space: nowrap;

    font-size: 9px;

    letter-spacing: 3px;
}


.koti-showcase-footer a {
    color: #111;

    text-decoration: none;

    white-space: nowrap;

    font-size: 10px;

    font-weight: 700;

    letter-spacing: 2px;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 950px) {

    .koti-showcase-item {
        gap: 50px;
    }

    .koti-showcase-visual {
        width: 370px;
        height: 370px;
    }

    .koti-showcase-content h2 {
        font-size: 44px;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 750px) {

    .koti-showcase {
        padding: 0px 0;
    }


    .koti-showcase-header {
        margin-bottom: 70px;
    }


    .koti-showcase-header h1 {
        font-size: 46px;

        letter-spacing: -1.5px;
    }


    .koti-showcase-item,
    .koti-showcase-reverse {

        display: flex;

        flex-direction: column;

        gap: 45px;

        margin-bottom: 50px;

        text-align: center;
    }


    .koti-showcase-visual {

        width: min(85vw, 360px);

        height: min(85vw, 360px);

        flex-shrink: 0;
    }


    .koti-showcase-content {

        max-width: 100%;
    }


    .koti-showcase-content p {

        margin-left: auto;
        margin-right: auto;
    }


    .koti-showcase-link {

        margin-top: 25px;
    }


    .koti-showcase-footer {

        flex-direction: column;

        text-align: center;
    }


    .koti-showcase-footer span {

        display: none;
    }

}


/* =========================================================
   VERY SMALL MOBILE
========================================================= */

@media (max-width: 400px) {

    .koti-showcase-header h1 {
        font-size: 39px;
    }


    .koti-showcase-content h2 {
        font-size: 30px;
    }


    .koti-showcase-visual {
        width: 290px;
        height: 290px;
    }

}