﻿.hero-banner {
    background-image: url('/images/arkaplan.png');
    height: 560px;
    background-size: cover;
    background-position: center;
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    margin-bottom: 40px;
}

.hero-overlay {
    background: rgba(0, 0, 0, 0.38);
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.hero-content {
    color: #fff;
    max-width: 760px;
}

    .hero-content h1 {
        font-size: 54px;
        font-weight: 800;
        line-height: 1.1;
        margin-bottom: 16px;
    }

    .hero-content p {
        font-size: 21px;
        margin-bottom: 22px;
        opacity: 0.95;
    }

.hero-btn {
    background: #22c7be;
    color: #fff;
    font-weight: 700;
    padding: 14px 34px;
    border-radius: 12px;
    border: none;
}

    .hero-btn:hover {
        background: #18afa7;
        color: #fff;
    }

.home-categories {
    margin-top: -110px;
    position: relative;
    z-index: 3;
    margin-bottom: 40px;
}

.category-card-link {
    text-decoration: none;
    color: inherit;
}


    .category-card img {
        width: 130px;
        height: 130px;
        object-fit: cover;
        border-radius: 50%;
        margin-bottom: 18px;
    }

    .category-card h4 {
        font-weight: 700;
        margin: 0;
    }

.section-head h2 {
    font-size: 36px;
}

.home-product-card {
    background: #fff;
    border-radius: 22px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
    overflow: hidden;
    transition: 0.25s ease;
    display: flex;
    flex-direction: column;
}

    .home-product-card:hover {
        transform: translateY(-5px);
    }

.home-product-image-wrap {
    height: 240px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.home-product-image {
    max-height: 200px;
    width: 100%;
    object-fit: contain;
}

.home-product-body {
    padding: 0 18px 18px 18px;
}

.home-product-info {
    color: #198754;
    min-height: 24px;
    font-weight: 600;
    margin-bottom: 10px;
}

.home-product-price {
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 10px;
}

.why-us-box {
    background: #fff;
    border-radius: 24px;
    padding: 34px 28px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
}

.why-us-item i {
    font-size: 36px;
    margin-bottom: 14px;
    display: inline-block;
}

.why-us-item h5 {
    font-weight: 700;
    margin-bottom: 10px;
}

.why-us-item p {
    color: #666;
    margin: 0;
}

.about-section {
    padding: 90px 0;
}

.about-wrapper {
    background: linear-gradient(135deg, #ffffff 0%, #f5fbff 100%);
    border-radius: 32px;
    padding: 60px;
    box-shadow: 0 18px 45px rgba(19, 42, 76, 0.08);
    border: 1px solid rgba(37, 140, 251, 0.08);
}

.about-badge {
    display: inline-block;
    background: rgba(37, 140, 251, 0.10);
    color: #1e5fae;
    font-weight: 700;
    font-size: 0.95rem;
    padding: 10px 18px;
    border-radius: 999px;
    margin-bottom: 18px;
}

.about-title {
    font-size: 2.4rem;
    font-weight: 800;
    line-height: 1.25;
    color: #1e2a38;
    margin-bottom: 22px;
}

.about-text {
    font-size: 1.08rem;
    line-height: 1.9;
    color: #5b6b7c;
    margin-bottom: 18px;
}

.about-features {
    margin-top: 28px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.about-feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.03rem;
    font-weight: 600;
    color: #1e2a38;
}

    .about-feature-item i {
        color: #28a745;
        font-size: 1.1rem;
    }

.about-cards {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.about-info-card {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    background: #ffffff;
    border-radius: 22px;
    padding: 24px 22px;
    box-shadow: 0 10px 30px rgba(30, 42, 56, 0.07);
    border: 1px solid rgba(30, 42, 56, 0.05);
    transition: all 0.3s ease;
}

    .about-info-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 16px 36px rgba(30, 42, 56, 0.12);
    }

.about-card-icon {
    width: 58px;
    height: 58px;
    min-width: 58px;
    border-radius: 18px;
    background: linear-gradient(135deg, #258cfb 0%, #4fb3ff 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 1.45rem;
}

.about-info-card h4 {
    font-size: 1.2rem;
    font-weight: 800;
    color: #1e2a38;
    margin-bottom: 8px;
}

.about-info-card p {
    margin: 0;
    color: #667789;
    line-height: 1.7;
    font-size: 1rem;
}

.about-link-card {
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

    .about-link-card:hover {
        text-decoration: none;
        color: inherit;
        transform: translateY(-6px);
        box-shadow: 0 18px 40px rgba(30, 42, 56, 0.14);
    }

@media (max-width: 991px) {
    .hero-banner {
        height: 460px;
    }

    .hero-content h1 {
        font-size: 40px;
    }

    .hero-content p {
        font-size: 18px;
    }

    .home-categories {
        margin-top: -60px;
    }

    .about-wrapper {
        padding: 35px 25px;
    }

    .about-title {
        font-size: 2rem;
    }
}

@media (max-width: 576px) {
    .hero-banner {
        height: 390px;
        border-radius: 18px;
    }

    .hero-content h1 {
        font-size: 30px;
    }

    .hero-content p {
        font-size: 16px;
    }

    .hero-btn {
        padding: 12px 24px;
    }

    .home-categories {
        margin-top: 20px;
    }

    .about-section {
        padding: 60px 0;
    }

    .about-wrapper {
        border-radius: 22px;
        padding: 28px 18px;
    }

    .about-title {
        font-size: 1.65rem;
    }

    .about-text {
        font-size: 1rem;
    }

    .about-info-card {
        padding: 18px 16px;
        border-radius: 18px;
    }

    .about-card-icon {
        width: 50px;
        height: 50px;
        min-width: 50px;
        font-size: 1.2rem;
        border-radius: 14px;
    }
}

.showcase-mini-products {
    display: flex;
    flex-direction: column;
    gap: 18px;
    padding: 0 28px;
}

.mini-product-card-link {
    text-decoration: none;
    display: block;
}

.mini-product-card {
    background: #fff;
    border-radius: 20px;
    padding: 22px 18px 24px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    transition: 0.25s ease;
    text-align: center;
    min-height: 250px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

    .mini-product-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
    }

.mini-product-image {
    width: 100%;
    height: 130px;
    object-fit: contain;
    margin-bottom: 14px;
}

.mini-product-card h6 {
    color: #1f2937;
    font-weight: 700;
    margin-bottom: 0;
    font-size: 1rem;
    line-height: 1.4;
}

.mini-info-btn {
    width: 100%;
    border-radius: 12px;
    font-weight: 600;
    padding: 10px 12px;
}

.category-card {
    background: #fff;
    border-radius: 30px;
    padding: 40px 20px;
    min-height: 260px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    transition: 0.25s ease;
}

    /* hover efekti */
    .category-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
    }


.showcase-mini-products {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 40px;
}

.mini-product-card {
    background: #fff;
    border-radius: 16px;
    padding: 18px 16px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 230px;
}

.mini-product-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.mini-product-image {
    width: 100%;
    max-width: 110px;
    height: 110px;
    object-fit: contain;
    margin: 0 auto 12px auto;
    display: block;
}

.mini-product-title {
    font-size: 15px;
    font-weight: 600;
    margin: 0;
    min-height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mini-info-btn {
    width: 100%;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    padding: 10px 0;
}

@media (max-width: 991.98px) {
    .showcase-mini-products {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 575.98px) {
    .showcase-mini-products {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {

    .home-categories {
        margin-top: -55px;
        margin-bottom: 25px;
        padding: 0 8px;
    }

        .home-categories .row {
            display: flex;
            flex-wrap: nowrap;
            gap: 8px;
            margin: 0;
        }

            .home-categories .row > div {
                width: 33.333%;
                flex: 0 0 33.333%;
                padding: 0;
            }

    .category-card {
        min-height: 120px;
        padding: 14px 6px;
        border-radius: 18px;
    }

        .category-card img {
            width: 55px;
            height: 55px;
            margin-bottom: 10px;
        }

        .category-card h4 {
            font-size: 11px;
            line-height: 1.2;
            text-align: center;
            white-space: normal;
        }
}



/* 🔥 MASAÜSTÜ: 4'LÜ GRID */
@media (min-width: 992px) {

    .best-seller-mobile-scroll {
        overflow: visible !important;
    }

    .best-seller-row {
        display: flex !important;
        flex-wrap: wrap !important;
        width: 100% !important;
        gap: 0 !important;
    }

    .best-seller-col {
        flex: 0 0 25% !important;
        max-width: 25% !important;
        width: 25% !important;
        padding: 12px !important;
    }
}

@media (max-width: 576px) {
    .best-seller-mobile-scroll {
        width: 100%;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 14px;
    }

        .best-seller-mobile-scroll::-webkit-scrollbar {
            display: none;
        }

    .best-seller-row {
        display: flex !important;
        flex-wrap: nowrap !important;
        gap: 14px;
        width: max-content;
    }

    .best-seller-col {
        flex: 0 0 46vw;
        width: 46vw;
        max-width: 46vw;
    }

        .best-seller-col .home-product-card {
            width: 100%;
            min-height: 430px;
        }

        .best-seller-col .home-product-info {
            display: none;
        }

        .best-seller-col .home-product-price {
            white-space: nowrap;
            text-align: center;
        }
}

/* ANASAYFA MİNİ ÜRÜNLER - GÖRSEL BÜYÜT */
.showcase-mini-products {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.mini-product-card {
    padding: 18px 14px;
    border-radius: 18px;
}

/* 🔥 RESİM ALANI */
.mini-product-image {
    width: 100% !important;
    max-width: 140px !important;
    height: 140px !important;
    object-fit: contain;
    display: block;
    margin: 0 auto 10px auto;
    transition: 0.3s;
}

/* basınca hafif büyüme efekti */
.mini-product-card:active .mini-product-image {
    transform: scale(1.08);
}

/* ürün adı */
.mini-product-title {
    font-size: 14px;
    text-align: center;
    min-height: 36px;
}

/* buton */
.mini-info-btn {
    font-size: 13px;
    padding: 8px 0;
    border-radius: 10px;
}


/* MOBİL */
@media (max-width: 576px) {
    .home-photo-slider-img {
        height: 190px;
    }
}



/* 🔥 MASAÜSTÜ MİNİ ÜRÜNLERİ ESKİ HALİNE GETİR */
@media (min-width: 768px) {

    .showcase-mini-products {
        display: grid !important;
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 20px;
    }

    .mini-product-card {
        padding: 16px;
    }

    .mini-product-image {
        max-width: 90px !important;
        height: 90px !important;
    }
}

/* 🔥 MASAÜSTÜ MİNİ ÜRÜNLER - GÖRSEL BÜYÜT */
@media (min-width: 768px) {

    .mini-product-image {
        max-width: 200px !important;
        height: 200px !important;
        object-fit: contain;
        margin: 0 auto 14px auto;
        display: block;
        transition: 0.3s;
    }

    /* hover efekti (premium görünüm) */
    .mini-product-card:hover .mini-product-image {
        transform: scale(1.12);
    }
}

/* ANASAYFA ÇOK SATANLAR - MOBİL SLIDERI GERİ AKTİF ET */
@media (max-width: 576px) {

    .best-seller-mobile-scroll {
        width: 100% !important;
        overflow-x: auto !important;
        overflow-y: hidden !important;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 14px !important;
    }

        .best-seller-mobile-scroll::-webkit-scrollbar {
            display: none !important;
        }

    .best-seller-row {
        display: flex !important;
        flex-wrap: nowrap !important;
        width: max-content !important;
        gap: 14px !important;
        margin: 0 !important;
    }

    .best-seller-col {
        flex: 0 0 46vw !important;
        width: 46vw !important;
        max-width: 46vw !important;
        padding: 0 !important;
    }
}

.about-main-image {
    max-height: 420px;
    width: 100%;
    object-fit: cover;
}

.about-info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

    .about-info-grid .about-info-card {
        height: 100%;
    }

@media (max-width: 991px) {
    .about-info-grid {
        grid-template-columns: 1fr;
    }

    .about-main-image {
        max-height: 300px;
    }
}

/* HAKKIMIZDA HEADER (BADGE + FOTO) */
.about-header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

/* FOTOĞRAF */
.about-badge-image {
    width: 80px;
    height: 80px;
    object-fit: contain;
    border-radius: 16px;
    background: #fff;
    padding: 6px;
    box-shadow: 0 8px 18px rgba(0,0,0,0.12);
}

/* MOBİL AYAR */
@media (max-width: 576px) {
    .about-badge-image {
        width: 60px;
        height: 60px;
    }
}

/* HAKKIMIZDA FOTOĞRAF MOBİL/MASAÜSTÜ AYARI */

.about-header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.about-badge-image {
    width: 110px; /* daha geniş */
    height: 70px; /* yüksekliği dengede tut */

    object-fit: contain;
    border-radius: 10px;
    background: #fff;
    padding: 4px;
    margin-top: -6px;
    margin-left: auto; /* sağa yasla */

    box-shadow: 0 10px 22px rgba(0,0,0,0.14);
}

/* Masaüstünde üstteki küçük fotoğraf gizli */
.mobile-about-image {
    display: none;
}

/* Masaüstünde sağdaki büyük fotoğraf görünür */
.desktop-about-image {
    display: block;
}

/* Mobil */
@media (max-width: 576px) {

    .mobile-about-image {
        display: block;
        width: 64px;
        height: 64px;
    }

    .desktop-about-image {
        display: none !important;
    }
}

@media (max-width: 576px) {
    .about-badge-image {
        width: 100px;
        height: 65px;
        margin-top: -8px;
        margin-left: auto; /* sağa iyice yaslar */
    }
}

.about-dynamic-cards-section {
    padding: 0 0 70px 0;
}

.about-dynamic-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.about-dynamic-card {
    border: none;
    background: #fff;
    border-radius: 24px;
    padding: 22px;
    text-align: left;
    box-shadow: 0 12px 35px rgba(0,0,0,0.08);
    display: flex;
    gap: 18px;
    align-items: center;
    transition: 0.25s;
    cursor: pointer;
}

    .about-dynamic-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 18px 45px rgba(0,0,0,0.12);
    }

.about-dynamic-card-img {
    width: 90px;
    height: 90px;
    object-fit: cover;
    border-radius: 18px;
    background: #f2f8ff;
    flex-shrink: 0;
}

.about-dynamic-card-body h4 {
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 8px;
    color: #1e2a38;
}

.about-dynamic-card-body p {
    margin-bottom: 0;
    color: #64748b;
    line-height: 1.6;
}

.about-modal-img {
    max-height: 360px;
    width: 100%;
    object-fit: cover;
}

.about-modal-text {
    font-size: 17px;
    line-height: 1.8;
    color: #475569;
}

@media (max-width: 991px) {
    .about-dynamic-cards-grid {
        grid-template-columns: 1fr;
    }

    .about-dynamic-card {
        padding: 18px;
    }

    .about-dynamic-card-img {
        width: 76px;
        height: 76px;
    }
}

/* ANASAYFA HAKKIMIZDA HARİTA */
.about-map-box {
    width: 100%;
    height: 420px;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 14px 40px rgba(0,0,0,0.12);
    background: #fff;
}

    .about-map-box iframe {
        width: 100%;
        height: 100%;
        display: block;
    }

@media (max-width: 576px) {
    .about-map-box {
        height: 300px;
        border-radius: 20px;
    }
}

/* MOBİL HARİTA + KART ORANTI */
@media (max-width: 576px) {

    .about-map-box {
        height: 180px; /* ÖNCE 300-420 idi → küçülttük */
        border-radius: 16px;
        margin-bottom: 14px;
    }

        .about-map-box iframe {
            height: 100%;
        }

    /* Kartları da biraz daha kompakt yapalım */
    .about-feature-box {
        padding: 12px;
        margin-bottom: 10px;
        border-radius: 14px;
    }
}
/* ANASAYFA HAKKIMIZDA KARTLARI - MOBİL YATAY/KOMPAKT */
@media (max-width: 576px) {

    .about-cards {
        gap: 10px;
    }

    .about-info-card {
        display: flex;
        align-items: center;
        gap: 10px;
        min-height: 70px; /* 86 → 70 */
        padding: 10px 12px; /* küçüldü */

        border-radius: 16px;
    }

    .about-card-icon {
        width: 42px;
        height: 42px;
        min-width: 42px;
        border-radius: 12px;
    }

        .about-card-icon i {
            font-size: 18px;
        }

    .about-info-card h4 {
        font-size: 14px; /* 16 → 14 */
        margin-bottom: 2px;
    }

    .about-info-card p {
        font-size: 12px; /* 13 → 12 */
        line-height: 1.3;
    }
}
/* MOBİL ÇOK SATANLAR - TEK KART ORTALI SLIDER */
@media (max-width: 576px) {

    .best-seller-mobile-scroll,
    .home-best-seller-mobile-scroll {
        overflow-x: auto !important;
        overflow-y: hidden !important;
        padding-bottom: 16px !important;
        scroll-snap-type: x mandatory;
    }

    .best-seller-row,
    .best-seller-products-row,
    .home-best-seller-row {
        display: flex !important;
        flex-wrap: nowrap !important;
        gap: 18px !important;
        width: max-content !important;
        margin: 0 !important;
    }

        .best-seller-col,
        .best-seller-products-row > .product-col,
        .home-best-seller-col {
            flex: 0 0 82vw !important;
            width: 82vw !important;
            max-width: 82vw !important;
            padding: 0 !important;
            scroll-snap-align: center;
        }

            .best-seller-col:first-child,
            .best-seller-products-row > .product-col:first-child,
            .home-best-seller-col:first-child {
                margin-left: 7vw !important;
            }

            .best-seller-col .home-product-card,
            .best-seller-products-row .product-card,
            .home-best-seller-col .home-product-card {
                width: 100% !important;
            }
}





/* ORTA SLIDER - FOTOĞRAF BOYUTUNA GÖRE KESİN */
.home-photo-mobile-scroll {
    width: 88% !important;
    max-width: 1350px !important;
    height: auto !important;
    margin: 30px auto !important;
    border-radius: 24px !important;
    overflow: hidden !important;
    background: transparent !important;
    box-shadow: none !important;
}

.home-photo-slider-row {
    width: 100% !important;
    height: auto !important;
    display: flex !important;
    flex-wrap: nowrap !important;
}

.home-photo-slide {
    width: 100% !important;
    height: auto !important;
    flex: 0 0 100% !important;
}

.home-photo-slider-img {
    width: 100% !important;
    height: 420px !important;
    object-fit: cover !important;
    object-position: center !important;
    max-height: none !important;
    object-fit: contain !important;
    display: block !important;
    border-radius: 24px !important;
}

/* Bootstrap slider kullanıyorsa bunu da ez */
#homeSlider,
#homeSlider .carousel-inner,
#homeSlider .carousel-item {
    height: auto !important;
}

    #homeSlider .carousel-item img {
        width: 100% !important;
        height: auto !important;
        object-fit: contain !important;
        display: block !important;
    }

@media (max-width: 576px) {
    .home-photo-mobile-scroll {
        width: 94% !important;
        margin: 0px auto 10px auto !important;
        border-radius: 18px !important;
    }

    .home-photo-slider-img {
        border-radius: 18px !important;
    }
}

/* MOBİLDE VİTRİN İLE SLIDER ARASI BOŞLUK TAM AZALT */
@media (max-width: 576px) {

    .home-categories,
    .showcase-mini-products,
    .slider-container,
    .container.my-5,
    .home-photo-mobile-scroll,
    .home-photo-slider-row,
    .home-photo-slide {
        margin-top: 0 !important;
        margin-bottom: 0 !important;
        padding-top: 0 !important;
        padding-bottom: 0 !important;
    }

    .home-photo-mobile-scroll {
        width: 94% !important;
    }

    .home-photo-slider-img {
        margin: 0 !important;
        display: block !important;
    }

    /* ÜSTTEKİ KARTLARIN ALTTAN BOŞLUĞUNU SIFIRLA */
    .category-card,
    .home-category-card,
    .showcase-card {
        margin-bottom: 2px !important;
    }

    /* SLIDERI ÜSTE ÇEK */
    .slider-container {
        transform: translateY(-80px);
        margin-bottom: -140px !important;
    }
}

/* ANASAYFA ORTA SLIDER OK BUTONLARI */
.home-slider-control-wrapper {
    position: relative;
    width: 100%;
}

.home-slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    width: 46px;
    height: 46px;
    border: none;
    border-radius: 50%;
    background: #ffffff;
    color: #111827;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 25px rgba(0,0,0,0.18);
    cursor: pointer;
}

    .home-slider-btn i {
        font-size: 22px;
        font-weight: bold;
    }

.home-slider-prev {
    left: 20px;
}

.home-slider-next {
    right: 20px;
}

.home-slider-btn:hover {
    background: #198754;
    color: #fff;
}

@media (max-width: 576px) {
    .home-slider-btn {
        width: 34px;
        height: 34px;
    }

        .home-slider-btn i {
            font-size: 16px;
        }

    .home-slider-prev {
        left: 8px;
    }

    .home-slider-next {
        right: 8px;
    }
}