/*
|--------------------------------------------------------------------------
| Alibeyköy Adıyaman Çiğ Köfte
| Öne Çıkan Lezzetler Bölümü
|--------------------------------------------------------------------------
*/

.home-products {
    --products-green: #063d2d;
    --products-green-dark: #03291f;
    --products-green-soft: #eaf3ee;
    --products-gold: #d8a928;
    --products-gold-light: #f3d574;
    --products-text: #10251e;
    --products-muted: #66766f;
    --products-border: rgba(6, 61, 45, 0.12);
    --products-white: #ffffff;

    position: relative;
    z-index: 1;
    padding: 112px 24px 106px;
    overflow: hidden;
    background:
        linear-gradient(
            180deg,
            #f7faf8 0%,
            #ffffff 28%,
            #ffffff 72%,
            #f5f9f7 100%
        );
    color: var(--products-text);
    isolation: isolate;
}

.home-products::before {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    z-index: -2;
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(6, 61, 45, 0.12),
        rgba(216, 169, 40, 0.36),
        rgba(6, 61, 45, 0.12),
        transparent
    );
    content: "";
}

.home-products::after {
    position: absolute;
    top: 185px;
    left: 50%;
    z-index: -2;
    width: 760px;
    height: 760px;
    border: 1px solid rgba(216, 169, 40, 0.11);
    border-radius: 50%;
    content: "";
    transform: translateX(-50%);
}

.home-products__decoration {
    position: absolute;
    inset: 0;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}

.home-products__decoration span:first-child {
    position: absolute;
    top: 115px;
    left: -155px;
    width: 350px;
    height: 350px;
    border-radius: 50%;
    background: radial-gradient(
        circle,
        rgba(216, 169, 40, 0.12),
        rgba(216, 169, 40, 0) 68%
    );
}

.home-products__decoration span:last-child {
    position: absolute;
    right: -180px;
    bottom: 70px;
    width: 430px;
    height: 430px;
    border-radius: 50%;
    background: radial-gradient(
        circle,
        rgba(6, 61, 45, 0.11),
        rgba(6, 61, 45, 0) 70%
    );
}

.home-products__inner {
    width: min(100%, 1380px);
    margin: 0 auto;
}

/*
|--------------------------------------------------------------------------
| Bölüm Başlığı
|--------------------------------------------------------------------------
*/

.home-products__header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(330px, 0.62fr);
    gap: clamp(45px, 7vw, 105px);
    align-items: end;
    margin-bottom: 78px;
}

.home-products__heading,
.home-products__intro {
    min-width: 0;
}

.home-products__eyebrow {
    display: inline-flex;
    gap: 11px;
    align-items: center;
    margin: 0 0 19px;
    color: var(--products-green);
    font-family: "Inter", Arial, sans-serif;
    font-size: 13px;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.home-products__eyebrow span {
    display: inline-grid;
    flex: 0 0 37px;
    width: 37px;
    height: 37px;
    place-items: center;
    border: 1px solid rgba(216, 169, 40, 0.36);
    border-radius: 50%;
    background: rgba(216, 169, 40, 0.12);
    color: #a97a00;
    font-size: 18px;
}

.home-products__title {
    max-width: 760px;
    margin: 0;
    color: var(--products-green-dark);
    font-family: "Bricolage Grotesque", "Inter", sans-serif;
    font-size: clamp(47px, 5.4vw, 78px);
    font-weight: 750;
    line-height: 0.95;
    letter-spacing: -0.058em;
}

.home-products__title span {
    display: block;
    margin-top: 8px;
    color: var(--products-green);
}

.home-products__intro {
    position: relative;
    max-width: 540px;
    margin-bottom: 4px;
    padding: 5px 0 5px 28px;
}

.home-products__intro::before {
    position: absolute;
    top: 5px;
    bottom: 5px;
    left: 0;
    width: 3px;
    border-radius: 99px;
    background: linear-gradient(
        to bottom,
        var(--products-gold),
        var(--products-green)
    );
    content: "";
}

.home-products__intro p {
    margin: 0 0 21px;
    color: var(--products-muted);
    font-size: 16px;
    font-weight: 500;
    line-height: 1.72;
}

.home-products__menu-link {
    display: inline-flex;
    gap: 9px;
    align-items: center;
    color: var(--products-green);
    font-size: 14px;
    font-weight: 800;
    line-height: 1.2;
    text-decoration: none;
}

.home-products__menu-link i {
    display: inline-grid;
    width: 31px;
    height: 31px;
    place-items: center;
    border-radius: 50%;
    background: var(--products-green);
    color: #ffffff;
    font-size: 15px;
    transition:
        background-color 250ms ease,
        color 250ms ease,
        transform 250ms ease;
}

.home-products__menu-link:hover i {
    background: var(--products-gold);
    color: var(--products-green-dark);
    transform: translate(3px, -3px);
}

/*
|--------------------------------------------------------------------------
| Ürün Kartları
|--------------------------------------------------------------------------
*/

.home-products__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(20px, 2.5vw, 34px);
    align-items: start;
}

.home-products__card {
    position: relative;
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--products-border);
    border-radius: 30px 8px 30px 8px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow:
        0 18px 50px rgba(3, 41, 31, 0.07),
        0 3px 12px rgba(3, 41, 31, 0.04);
    transition:
        border-color 350ms ease,
        box-shadow 350ms ease,
        transform 350ms cubic-bezier(0.2, 0.75, 0.25, 1);
}

.home-products__card:hover {
    border-color: rgba(216, 169, 40, 0.42);
    box-shadow:
        0 30px 65px rgba(3, 41, 31, 0.14),
        0 8px 18px rgba(3, 41, 31, 0.06);
    transform: translateY(-9px);
}

.home-products__card--featured {
    margin-top: -27px;
    border-color: rgba(216, 169, 40, 0.4);
    box-shadow:
        0 30px 70px rgba(3, 41, 31, 0.14),
        0 8px 22px rgba(3, 41, 31, 0.08);
}

.home-products__card--featured::before {
    position: absolute;
    top: 0;
    right: 28px;
    left: 28px;
    z-index: 3;
    height: 4px;
    border-radius: 0 0 99px 99px;
    background: var(--products-gold);
    content: "";
}

.home-products__figure {
    position: relative;
    height: clamp(390px, 35vw, 520px);
    margin: 0;
    overflow: hidden;
    background: var(--products-green-dark);
}

.home-products__card--featured .home-products__figure {
    height: clamp(420px, 38vw, 555px);
}

.home-products__image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition:
        transform 850ms cubic-bezier(0.2, 0.75, 0.25, 1),
        filter 450ms ease;
}

.home-products__card:hover .home-products__image {
    filter: saturate(1.07) contrast(1.03);
    transform: scale(1.055);
}

.home-products__image-shade {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            180deg,
            rgba(2, 29, 21, 0.11) 0%,
            transparent 38%,
            rgba(2, 29, 21, 0.82) 100%
        );
    pointer-events: none;
}

.home-products__number {
    position: absolute;
    top: 22px;
    left: 22px;
    z-index: 2;
    display: inline-grid;
    width: 45px;
    height: 45px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 14px 4px 14px 4px;
    background: rgba(3, 41, 31, 0.63);
    color: rgba(255, 255, 255, 0.88);
    font-family: "Bricolage Grotesque", "Inter", sans-serif;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.06em;
    backdrop-filter: blur(12px);
}

.home-products__badge {
    position: absolute;
    top: 22px;
    right: 20px;
    z-index: 2;
    display: inline-flex;
    min-height: 39px;
    gap: 7px;
    align-items: center;
    padding: 9px 14px;
    border: 3px solid rgba(255, 255, 255, 0.88);
    border-radius: 99px;
    background: var(--products-gold);
    color: var(--products-green-dark);
    font-size: 11px;
    font-weight: 850;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    box-shadow: 0 10px 25px rgba(3, 41, 31, 0.2);
    transform: rotate(2deg);
}

.home-products__badge i {
    font-size: 14px;
}

.home-products__caption {
    position: absolute;
    right: 24px;
    bottom: 24px;
    left: 24px;
    z-index: 2;
    display: flex;
    gap: 14px;
    align-items: center;
    color: #ffffff;
}

.home-products__product-icon {
    display: inline-grid;
    flex: 0 0 52px;
    width: 52px;
    height: 52px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.23);
    border-radius: 17px 5px 17px 5px;
    background: rgba(255, 255, 255, 0.14);
    color: var(--products-gold-light);
    font-size: 25px;
    backdrop-filter: blur(12px);
}

.home-products__caption > span:last-child {
    display: grid;
    min-width: 0;
    gap: 4px;
}

.home-products__caption small {
    color: rgba(255, 255, 255, 0.7);
    font-size: 10px;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.home-products__caption strong {
    overflow: hidden;
    color: #ffffff;
    font-family: "Bricolage Grotesque", "Inter", sans-serif;
    font-size: clamp(22px, 2vw, 28px);
    font-weight: 750;
    line-height: 1.05;
    letter-spacing: -0.025em;
    text-overflow: ellipsis;
}

.home-products__card-content {
    position: relative;
    padding: 24px 25px 26px;
}

.home-products__card-content::before {
    position: absolute;
    top: 0;
    left: 25px;
    width: 42px;
    height: 2px;
    border-radius: 99px;
    background: var(--products-gold);
    content: "";
}

.home-products__card-content p {
    min-height: 68px;
    margin: 0 0 19px;
    color: var(--products-muted);
    font-size: 13px;
    font-weight: 500;
    line-height: 1.62;
}

.home-products__card-content a {
    display: inline-flex;
    gap: 8px;
    align-items: center;
    color: var(--products-green);
    font-size: 13px;
    font-weight: 800;
    line-height: 1.2;
    text-decoration: none;
}

.home-products__card-content a i {
    font-size: 16px;
    transition: transform 250ms ease;
}

.home-products__card-content a:hover i {
    transform: translateX(5px);
}

/*
|--------------------------------------------------------------------------
| WhatsApp Alt Alanı
|--------------------------------------------------------------------------
*/

.home-products__footer {
    position: relative;
    display: flex;
    gap: 30px;
    align-items: center;
    justify-content: space-between;
    margin-top: 68px;
    padding: 28px 31px;
    overflow: hidden;
    border: 1px solid rgba(216, 169, 40, 0.23);
    border-radius: 26px 7px 26px 7px;
    background:
        linear-gradient(
            115deg,
            var(--products-green-dark),
            var(--products-green) 68%,
            #0a503b
        );
    box-shadow: 0 22px 55px rgba(3, 41, 31, 0.15);
}

.home-products__footer::after {
    position: absolute;
    top: -95px;
    right: 190px;
    width: 235px;
    height: 235px;
    border: 1px solid rgba(243, 213, 116, 0.13);
    border-radius: 50%;
    content: "";
    pointer-events: none;
}

.home-products__footer-content {
    position: relative;
    z-index: 1;
    display: flex;
    min-width: 0;
    gap: 16px;
    align-items: center;
}

.home-products__footer-icon {
    display: inline-grid;
    flex: 0 0 55px;
    width: 55px;
    height: 55px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 18px 5px 18px 5px;
    background: rgba(255, 255, 255, 0.11);
    color: var(--products-gold-light);
    font-size: 29px;
}

.home-products__footer-content > span:last-child {
    display: grid;
    min-width: 0;
    gap: 4px;
}

.home-products__footer-content small {
    color: rgba(255, 255, 255, 0.61);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.home-products__footer-content strong {
    color: #ffffff;
    font-family: "Bricolage Grotesque", "Inter", sans-serif;
    font-size: clamp(18px, 2vw, 23px);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.home-products__whatsapp {
    position: relative;
    z-index: 1;
    display: inline-flex;
    flex: 0 0 auto;
    min-height: 54px;
    gap: 9px;
    align-items: center;
    justify-content: center;
    padding: 13px 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px 5px 16px 5px;
    background: var(--products-gold);
    color: var(--products-green-dark);
    font-size: 13px;
    font-weight: 850;
    line-height: 1.2;
    text-decoration: none;
    box-shadow: 0 13px 28px rgba(2, 28, 20, 0.22);
    transition:
        background-color 250ms ease,
        box-shadow 250ms ease,
        transform 250ms ease;
}

.home-products__whatsapp:hover {
    background: var(--products-gold-light);
    box-shadow: 0 17px 34px rgba(2, 28, 20, 0.28);
    transform: translateY(-3px);
}

.home-products__whatsapp i {
    font-size: 17px;
}

/*
|--------------------------------------------------------------------------
| Giriş Animasyonları
|--------------------------------------------------------------------------
*/

.js .home-products [data-products-reveal] {
    opacity: 0;
    transform: translateY(30px);
    transition:
        opacity 700ms cubic-bezier(0.2, 0.75, 0.25, 1),
        transform 700ms cubic-bezier(0.2, 0.75, 0.25, 1);
}

.js .home-products [data-products-reveal].is-visible {
    opacity: 1;
    transform: translateY(0);
}

.js .home-products__grid .home-products__card:nth-child(2) {
    transition-delay: 90ms;
}

.js .home-products__grid .home-products__card:nth-child(3) {
    transition-delay: 180ms;
}

/*
|--------------------------------------------------------------------------
| Büyük Tablet
|--------------------------------------------------------------------------
*/

@media (max-width: 1180px) {
    .home-products {
        padding: 94px 24px 90px;
    }

    .home-products__header {
        gap: 48px;
        margin-bottom: 67px;
    }

    .home-products__grid {
        gap: 20px;
    }

    .home-products__figure {
        height: 430px;
    }

    .home-products__card--featured .home-products__figure {
        height: 460px;
    }

    .home-products__caption {
        right: 18px;
        bottom: 19px;
        left: 18px;
        gap: 11px;
    }

    .home-products__product-icon {
        flex-basis: 47px;
        width: 47px;
        height: 47px;
        font-size: 22px;
    }

    .home-products__card-content {
        padding-right: 20px;
        padding-left: 20px;
    }

    .home-products__card-content::before {
        left: 20px;
    }
}

/*
|--------------------------------------------------------------------------
| Tablet
|--------------------------------------------------------------------------
*/

@media (max-width: 960px) {
    .home-products {
        padding: 78px 22px 76px;
    }

    .home-products__header {
        grid-template-columns: 1fr;
        gap: 23px;
        margin-bottom: 51px;
    }

    .home-products__title {
        max-width: 720px;
    }

    .home-products__intro {
        max-width: 690px;
    }

    .home-products__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 24px;
    }

    .home-products__figure {
        height: 370px;
    }

    .home-products__card--featured {
        margin-top: 0;
    }

    .home-products__card--featured .home-products__figure {
        height: 390px;
    }

    .home-products__card:last-child {
        grid-column: 1 / -1;
        display: grid;
        grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.1fr);
    }

    .home-products__card:last-child .home-products__figure {
        height: 100%;
        min-height: 300px;
    }

    .home-products__card:last-child .home-products__card-content {
        display: flex;
        flex-direction: column;
        justify-content: center;
        padding: 32px;
    }

    .home-products__card:last-child .home-products__card-content::before {
        top: 28px;
        left: 32px;
    }

    .home-products__card:last-child .home-products__card-content p {
        min-height: 0;
        margin-top: 10px;
    }

    .home-products__footer {
        margin-top: 48px;
    }
}

/*
|--------------------------------------------------------------------------
| Mobil
|--------------------------------------------------------------------------
*/

@media (max-width: 680px) {
    .home-products {
        padding: 56px 16px 52px;
    }

    .home-products::after {
        top: 320px;
        width: 440px;
        height: 440px;
    }

    .home-products__decoration span:first-child {
        top: 60px;
        left: -170px;
        width: 290px;
        height: 290px;
    }

    .home-products__header {
        gap: 17px;
        margin-bottom: 31px;
    }

    .home-products__eyebrow {
        gap: 8px;
        margin-bottom: 12px;
        font-size: 9px;
        letter-spacing: 0.09em;
    }

    .home-products__eyebrow span {
        flex-basis: 30px;
        width: 30px;
        height: 30px;
        font-size: 15px;
    }

    .home-products__title {
        max-width: 500px;
        font-size: clamp(34px, 10.7vw, 46px);
        line-height: 0.99;
        letter-spacing: -0.049em;
    }

    .home-products__title span {
        margin-top: 4px;
    }

    .home-products__intro {
        padding: 3px 0 3px 16px;
    }

    .home-products__intro::before {
        top: 3px;
        bottom: 3px;
        width: 2px;
    }

    .home-products__intro p {
        margin-bottom: 14px;
        font-size: 13px;
        line-height: 1.55;
    }

    .home-products__menu-link {
        font-size: 12px;
    }

    .home-products__menu-link i {
        width: 27px;
        height: 27px;
        font-size: 13px;
    }

    .home-products__grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .home-products__card,
    .home-products__card:last-child {
        display: grid;
        grid-template-columns: minmax(124px, 36%) minmax(0, 64%);
        border-radius: 22px 6px 22px 6px;
    }

    .home-products__card--featured {
        order: initial;
    }

    .home-products__card--featured::before {
        right: 15px;
        left: 15px;
        height: 3px;
    }

    .home-products__figure,
    .home-products__card--featured .home-products__figure,
    .home-products__card:last-child .home-products__figure {
        height: 190px;
        min-height: 0;
    }

    .home-products__image {
        object-position: center;
    }

    .home-products__number {
        top: 11px;
        left: 10px;
        width: 30px;
        height: 30px;
        border-radius: 10px 3px 10px 3px;
        font-size: 9px;
    }

    .home-products__badge {
        top: 9px;
        right: 6px;
        min-height: 27px;
        gap: 3px;
        padding: 5px 6px;
        border-width: 2px;
        font-size: 6.5px;
        letter-spacing: 0.02em;
    }

    .home-products__badge i {
        font-size: 10px;
    }

    .home-products__caption {
        right: 10px;
        bottom: 12px;
        left: 10px;
        gap: 7px;
    }

    .home-products__product-icon {
        display: none;
    }

    .home-products__caption small {
        font-size: 7px;
        letter-spacing: 0.06em;
    }

    .home-products__caption strong {
        font-size: 15.5px;
        line-height: 1.06;
        white-space: normal;
    }

    .home-products__card-content,
    .home-products__card:last-child .home-products__card-content {
        display: flex;
        flex-direction: column;
        justify-content: center;
        padding: 17px 15px 16px;
    }

    .home-products__card-content::before,
    .home-products__card:last-child .home-products__card-content::before {
        top: 16px;
        left: 15px;
        width: 28px;
    }

    .home-products__card-content p,
    .home-products__card:last-child .home-products__card-content p {
        min-height: 0;
        margin: 10px 0 11px;
        font-size: 12.5px;
        line-height: 1.48;
    }

    .home-products__card-content a {
        width: fit-content;
        min-height: 40px;
        gap: 7px;
        justify-content: center;
        padding: 8px 10px;
        border: 1px solid rgba(6, 61, 45, 0.1);
        border-radius: 12px 4px 12px 4px;
        background: var(--products-green-soft);
        font-size: 11.5px;
        line-height: 1.2;
    }

    .home-products__card-content a i {
        flex: 0 0 auto;
        font-size: 14px;
    }

    .home-products__card:hover {
        transform: translateY(-3px);
    }

    .home-products__footer {
        display: grid;
        gap: 16px;
        margin-top: 32px;
        padding: 20px 17px;
        border-radius: 21px 6px 21px 6px;
    }

    .home-products__footer::after {
        right: -90px;
    }

    .home-products__footer-content {
        gap: 11px;
    }

    .home-products__footer-icon {
        flex-basis: 43px;
        width: 43px;
        height: 43px;
        border-radius: 14px 4px 14px 4px;
        font-size: 23px;
    }

    .home-products__footer-content small {
        font-size: 8px;
        letter-spacing: 0.08em;
    }

    .home-products__footer-content strong {
        font-size: 15px;
        line-height: 1.22;
    }

    .home-products__whatsapp {
        width: 100%;
        min-height: 49px;
        padding: 11px 15px;
        font-size: 12px;
    }
}

/*
|--------------------------------------------------------------------------
| Küçük Telefonlar
|--------------------------------------------------------------------------
*/

@media (max-width: 390px) {
    .home-products {
        padding: 50px 13px 47px;
    }

    .home-products__title {
        font-size: 33px;
    }

    .home-products__intro p {
        font-size: 12.5px;
    }

    .home-products__card,
    .home-products__card:last-child {
        grid-template-columns: minmax(110px, 35%) minmax(0, 65%);
    }

    .home-products__figure,
    .home-products__card--featured .home-products__figure,
    .home-products__card:last-child .home-products__figure {
        height: 184px;
    }

    .home-products__card-content,
    .home-products__card:last-child .home-products__card-content {
        padding-right: 12px;
        padding-left: 12px;
    }

    .home-products__card-content::before,
    .home-products__card:last-child .home-products__card-content::before {
        left: 12px;
    }

    .home-products__card-content p,
    .home-products__card:last-child .home-products__card-content p {
        font-size: 12px;
    }

    .home-products__card-content a {
        min-height: 38px;
        padding: 7px 8px;
        font-size: 10.75px;
    }
}

/*
|--------------------------------------------------------------------------
| Hareket Azaltma Tercihi
|--------------------------------------------------------------------------
*/

@media (prefers-reduced-motion: reduce) {
    .home-products *,
    .home-products *::before,
    .home-products *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }

    .js .home-products [data-products-reveal] {
        opacity: 1;
        transform: none;
    }

    .home-products__card:hover,
    .home-products__card:hover .home-products__image,
    .home-products__menu-link:hover i,
    .home-products__whatsapp:hover {
        transform: none;
    }
}