/* Zeki Mensucat — Anasayfa Ek Bölümleri
   1) Hakkımızda tanıtımı (sağda görsel, solda özet + buton)
   2) Sertifikalarımız
   Tüm sınıflar "zm-home-" ön ekiyle, tema ile çakışmaz. */

/* ================== BÖLÜM AYRAÇLARI ================== */

/* Ortada yoğunlaşıp kenarlara silinen zarif altın çizgi.
   Ürünler → Hakkımızda ve Hakkımızda → Sertifikalar geçişlerinde. */
.zm-home-about::before,
.zm-home-certs::before {
    content: '';
    display: block;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: min(80%, 900px);
    height: 1px;
    background: linear-gradient(90deg,
            transparent 0%,
            rgba(196, 154, 56, .45) 50%,
            transparent 100%);
}

/* Çizginin ortasında küçük bir baklava/elmas vurgu */
.zm-home-about::after,
.zm-home-certs::after {
    content: '';
    position: absolute;
    top: -3px;
    left: 50%;
    transform: translateX(-50%) rotate(45deg);
    width: 7px;
    height: 7px;
    background: var(--theme-color);
    border-radius: 1px;
    box-shadow: 0 0 0 4px var(--bg-color);
}

/* ================== HAKKIMIZDA TANITIMI ================== */

/* Tema konteyneri (.dsn-container + .container) hizasını kullanır;
   kendi max-width/margin'i yoktur, ürünler bölümüyle aynı hizada durur. */
.zm-home-about {
    position: relative;
    padding-top: clamp(50px, 7vw, 90px);
    padding-bottom: clamp(50px, 7vw, 90px);
}

.zm-home-about-inner {
    display: grid;
    grid-template-columns: 1fr 0.9fr;
    align-items: center;
    gap: clamp(30px, 5vw, 70px);
}

.zm-home-about-text {
    min-width: 0;
}

.zm-home-eyebrow {
    display: inline-block;
    font-family: var(--heading-font);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 4px;
    color: var(--theme-color);
    text-transform: uppercase;
    margin-bottom: 14px;
}

.zm-home-about-text h2 {
    font-family: var(--heading-font);
    font-size: clamp(28px, 3.4vw, 42px);
    font-weight: 800;
    letter-spacing: .5px;
    color: var(--heading-color);
    text-transform: uppercase;
    line-height: 1.1;
    margin: 0 0 20px;
}

.zm-home-about-text h2::after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background: var(--theme-color);
    border-radius: 2px;
    margin-top: 18px;
}

.zm-home-about-text p {
    font-family: var(--body-font);
    font-size: 16px;
    line-height: 1.78;
    color: var(--font-color);
    margin: 0 0 30px;
    max-width: 52ch;
}

/* Sağdaki görsel — kare, gazete manşeti hissi */
.zm-home-about-image {
    justify-self: end;
    width: 100%;
    max-width: 440px;
}

.zm-home-about-image img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    display: block;
    border-radius: 6px;
    box-shadow: 0 24px 55px rgba(90, 65, 25, .18);
}

/* ================== SERTİFİKALARIMIZ ================== */

.zm-home-certs {
    position: relative;
    padding-top: clamp(30px, 4vw, 50px);
    padding-bottom: clamp(50px, 7vw, 90px);
}

.zm-home-certs-head {
    text-align: center;
    margin-bottom: clamp(30px, 4vw, 50px);
}

.zm-home-certs-head h2 {
    font-family: var(--heading-font);
    font-size: clamp(26px, 3.2vw, 40px);
    font-weight: 800;
    letter-spacing: .5px;
    color: var(--heading-color);
    text-transform: uppercase;
    margin: 8px 0 0;
    line-height: 1.1;
}

.zm-home-certs-head p {
    max-width: 60ch;
    margin: 14px auto 0;
    font-size: 15px;
    line-height: 1.65;
    color: var(--font-color);
    opacity: .8;
}

.zm-home-certs-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: clamp(18px, 2.5vw, 30px);
}

.zm-home-cert {
    background: var(--assistant-color);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 28px 22px;
    text-align: center;
    transition: transform .3s cubic-bezier(.25, .8, .25, 1), box-shadow .3s ease;
}

.zm-home-cert:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 40px rgba(90, 65, 25, .14);
}

.zm-home-cert-logo {
    width: 100%;
    height: 90px;
    object-fit: contain;
    display: block;
    margin: 0 auto 16px;
}

.zm-home-cert h3 {
    font-family: var(--heading-font);
    font-size: 15px;
    font-weight: 700;
    letter-spacing: .5px;
    color: var(--heading-color);
    margin: 0 0 6px;
}

.zm-home-cert p {
    font-size: 13px;
    line-height: 1.5;
    color: var(--font-color);
    opacity: .75;
    margin: 0;
}

/* ================== RESPONSIVE ================== */

@media only screen and (max-width: 991px) {
    .zm-home-certs-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .zm-home-about-inner {
        grid-template-columns: 1fr;
        gap: clamp(24px, 4vw, 36px);
    }

    .zm-home-about-text {
        min-width: 0;
        width: 100%;
    }

    .zm-home-about-text p {
        max-width: 100%;
    }

    .zm-home-about-image {
        justify-self: stretch;
        width: 100%;
        max-width: 100%;
        order: -1;
        /* görsel üstte */
    }

    .zm-home-about-image img {
        width: 100%;
        aspect-ratio: 16 / 9;
        max-height: 420px;
        object-fit: cover;
    }
}

@media only screen and (max-width: 768px) {
    .zm-home-about {
        padding-top: clamp(40px, 6vw, 60px);
        padding-bottom: clamp(40px, 6vw, 60px);
    }

    .zm-home-about-inner {
        gap: 24px;
    }

    .zm-home-about-text h2 {
        font-size: clamp(24px, 5.5vw, 32px);
        margin: 0 0 16px;
    }

    .zm-home-about-text h2::after {
        margin-top: 14px;
    }

    .zm-home-about-text p {
        font-size: 15px;
        line-height: 1.68;
        margin: 0 0 24px;
    }

    .zm-home-about-image img {
        aspect-ratio: 16 / 10;
        max-height: 320px;
        box-shadow: 0 12px 30px rgba(90, 65, 25, .14);
    }
}

@media only screen and (max-width: 480px) {
    .zm-home-certs-grid {
        grid-template-columns: 1fr;
    }

    .zm-home-about-inner {
        gap: 20px;
    }

    .zm-home-about-image img {
        aspect-ratio: 16 / 10;
        max-height: 230px;
    }

    .zm-home-about-text h2 {
        font-size: 24px;
    }

    .zm-home-eyebrow {
        font-size: 10px;
        letter-spacing: 3px;
        margin-bottom: 10px;
    }
}