﻿/* =====================================================================
   Anasayfa (özellik şeridi, video, hakkımızda)
   Ürün kartı, bölüm başlığı, banner ve butonlar pages.css içinde
   ===================================================================== */

.bm-home,
.bm-features {
    font-family: var(--bm-font);
    font-weight: 400;
    color: var(--bm-text);
}

    .bm-home a {
        text-decoration: none;
    }

/* ---------- Anasayfa özellik şeridi ---------- */

.bm-features {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    padding: 24px 0;
}

.bm-feature {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
    padding: 16px 18px;
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 16px;
    background: rgba(0, 0, 0, .2);
    color: var(--bm-text);
    transition: transform .2s ease, border-color .2s ease, background .2s ease;
}

a.bm-feature:hover {
    transform: translateY(-2px);
    border-color: var(--bm-gold-line);
    background: rgba(0, 0, 0, .3);
    color: var(--bm-text);
}

.bm-feature-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: none;
    width: 56px;
    height: 56px;
    border: 1px solid rgba(236, 157, 23, .35);
    border-radius: 16px;
    background: linear-gradient(145deg, rgba(245, 193, 90, .22), rgba(236, 157, 23, .06));
    color: var(--bm-gold);
}

    .bm-feature-icon i {
        line-height: 1;
    }

        .bm-feature-icon i::before {
            margin: 0 !important;
            font-size: 30px !important;
        }

.bm-feature-text {
    min-width: 0;
}

.bm-feature-title,
.bg-grey .bm-feature-title {
    display: block;
    margin: 0 0 3px;
    color: #fff;
    font-family: var(--bm-font);
    font-size: 16px;
    font-weight: 500;
    line-height: 1.3;
}

.bm-feature-desc {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--bm-muted);
    font-size: 13.5px;
    line-height: 1.4;
}

a.bm-feature .bm-feature-desc {
    color: #3ddc84;
}

@media (max-width: 991.98px) {
    .bm-features {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 575.98px) {
    .bm-features {
        gap: 10px;
        padding: 16px 0;
    }

    .bm-feature {
        flex-direction: column;
        justify-content: center;
        gap: 10px;
        padding: 14px 10px;
        text-align: center;
    }

    .bm-feature-icon {
        width: 46px;
        height: 46px;
        border-radius: 14px;
    }

        .bm-feature-icon i::before {
            font-size: 25px !important;
        }

    .bm-feature-title,
    .bg-grey .bm-feature-title {
        font-size: 14.5px;
    }

    .bm-feature-desc {
        justify-content: center;
        font-size: 12.5px;
    }
}

/* ---------- Video + yan banner ---------- */

.bm-media {
    padding: 0 0 32px;
}

    .bm-media:not(:has(.lazy-video, .bm-banner)) {
        display: none;
    }

.bm-media-grid {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
    align-items: center;
    gap: 20px;
}

.bm-media .lazy-video {
    position: relative;
    width: 100%;
    margin: 0;
    overflow: hidden;
    border: 1px solid var(--bm-line);
    border-radius: 20px;
    background: #000;
}

    .bm-media .lazy-video img,
    .bm-media .lazy-video video {
        display: block;
        width: 100%;
        object-fit: cover;
        border-radius: 0 !important;
    }

    .bm-media .lazy-video img {
        transition: transform .6s ease, filter .3s ease;
    }

    .bm-media .lazy-video:hover img {
        transform: scale(1.03);
        filter: brightness(.85);
    }

.bm-media .play-video-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 84px;
    height: 84px;
    margin: -42px 0 0 -42px;
    padding: 0 0 0 5px;
    border: 0;
    border-radius: 50%;
    background: var(--bm-gold);
    box-shadow: 0 0 0 10px rgba(236, 157, 23, .25), 0 12px 30px rgba(0, 0, 0, .45);
    color: var(--bm-on-gold);
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    animation: bmPulse 2.4s ease-in-out infinite;
    transition: transform .2s ease;
}

    .bm-media .play-video-btn:hover {
        transform: scale(1.08);
    }

@keyframes bmPulse {
    0%, 100% {
        box-shadow: 0 0 0 10px rgba(236, 157, 23, .25), 0 12px 30px rgba(0, 0, 0, .45);
    }

    50% {
        box-shadow: 0 0 0 18px rgba(236, 157, 23, .08), 0 12px 30px rgba(0, 0, 0, .45);
    }
}

@media (prefers-reduced-motion: reduce) {
    .bm-media .play-video-btn {
        animation: none;
    }
}

.bm-media-side .bm-banner img {
    object-fit: cover;
}

/* ---------- Hakkımızda ---------- */

.bm-about {
    padding: 56px 0 56px;
}

.bm-about-card {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    align-items: center;
    gap: 44px;
    padding: 28px;
    border: 1px solid var(--bm-line);
    border-radius: 24px;
    background: linear-gradient(135deg, #25201c 0%, #1d1916 100%);
}

.bm-about-media img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 18px;
}

.bm-about-title,
.bm-home .bm-about-title {
    margin: 0 0 18px;
    color: #fff;
    font-family: var(--bm-font);
    font-size: 34px;
    font-weight: 500;
    line-height: 1.2;
}

    .bm-about-title::before {
        content: "";
        display: block;
        width: 38px;
        height: 3px;
        margin-bottom: 14px;
        border-radius: 3px;
        background: linear-gradient(90deg, var(--bm-gold), #f5c15a);
    }

.bm-about-text,
.bm-about-text p {
    color: var(--bm-muted) !important;
    font-size: 15px;
    line-height: 1.75;
}

    .bm-about-text p {
        margin: 0 0 12px;
    }

    .bm-about-text strong,
    .bm-about-text b {
        color: var(--bm-text);
        font-weight: 500;
    }

.bm-about .bm-btn {
    margin-top: 10px;
}

/* ---------- Duyarlı düzen ---------- */

@media (max-width: 991.98px) {
    .bm-media-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .bm-about-card {
        grid-template-columns: minmax(0, 1fr);
        gap: 26px;
    }

    .bm-about-media {
        max-width: 420px;
    }
}

@media (max-width: 767.98px) {
    .bm-media {
        padding-bottom: 28px;
    }

    .bm-media-grid {
        gap: 14px;
    }

    /* Yöneticiden gelen sabit yükseklik mobilde görüntüyü kırpmasın */
    .bm-media .lazy-video img,
    .bm-media .lazy-video video {
        height: auto !important;
        aspect-ratio: 16 / 10;
    }

    .bm-media .lazy-video {
        border-radius: 16px;
    }

    .bm-media .play-video-btn {
        width: 64px;
        height: 64px;
        margin: -32px 0 0 -32px;
        font-size: 22px;
    }

    .bm-media-side .bm-banner img {
        height: auto !important;
    }

    .bm-about {
        padding: 36px 0;
    }

    .bm-about-card {
        padding: 16px 16px 22px;
        border-radius: 18px;
    }

    .bm-about-media {
        max-width: none;
    }

    .bm-about-title,
    .bm-home .bm-about-title {
        font-size: 26px;
    }

    .bm-about-text,
    .bm-about-text p {
        font-size: 14px;
    }

    /* Uzun metin mobilde kısaltılır; tamamı "Devamını Oku" sayfasında */
    .bm-about-text {
        max-height: 12.5em;
        overflow: hidden;
        -webkit-mask-image: linear-gradient(to bottom, #000 65%, transparent);
        mask-image: linear-gradient(to bottom, #000 65%, transparent);
    }

    .bm-about-media img {
        max-width: 300px;
        margin: 0 auto;
    }
}
