﻿html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
    position: relative;
    min-height: 100%;
}

body {
    margin-bottom: 60px;
}



.product-items-container {
    overflow-y: auto;
    max-height: 900px !important;
}


.product-card {
    background: #fff;
    border: 1px solid #eee;
    padding: 15px;
    text-align: center;
    border-radius: 10px;
    transition: .3s;
}

    .product-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    }

    .product-card img {
        width: 100%;
        height: 160px;
        object-fit: contain;
        margin-bottom: 30px;
    }





.banner-slide__img {
    position: relative;
}


    .banner-slide__img::after {
        content: "";
        position: absolute;
        inset: 0; /* top:0; left:0; width:100%; height:100%; yerine */
        background: rgba(0, 0, 0, 0.3); /* siyah perde */
        z-index: 1;
    }



.banner_slide_img_absolute {
    position: absolute;
    top: 50%;
    transform: translate(0, -50%);
    text-align: center;
    /* background-color: rgba(22, 60, 110, 0.7); */
    width: 100%;
    color: white;
    padding: 10px;
    font-size: 30px;
    z-index: 10;
    font-weight: 900;
}

.banner_slide_img_test {
    text-align: center;
    width: 100%;
    color: Black;
    padding: 10px;
    font-size: 16px;
    margin-top: 10px;
    margin-bottom: 10px;
}


.urunleri_goster {
    background-color: black;
    padding: 10px 20px;
    color: white;
    opacity: 0;
    transform: translateY(20px);
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s ease;
}

.product:hover .urunleri_goster {
    opacity: 1;
    transform: translateY(0);
    max-height: 200px; /* İçeriğe göre ayarlayabilirsin */
}

.urunleri_goster_ug {
    padding: 10px 20px;
    color: black;
    opacity: 0;
    transform: translateY(20px);
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s ease;
    margin-top: 20px;
}

.service_ug:hover .urunleri_goster_ug {
    opacity: 1;
    transform: translateY(0);
    max-height: 200px; /* İçeriğe göre ayarlayabilirsin */
}




.ozellikler-section {
    background: #f7f7f7;
}

.ozellik-kutu {
    background: #fff;
    padding: 30px 20px;
    border-radius: 12px;
    text-align: center;
    transition: 0.3s ease;
    border: 1px solid #ececec;
    position: relative;
}

    .ozellik-kutu:hover {
        transform: translateY(-8px);
        box-shadow: 0px 10px 25px rgba(0,0,0,0.15);
    }

    .ozellik-kutu .ikon {
        width: 80px;
        height: 80px;
        border-radius: 50%;
        background: #163c6e;
        color: white;
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0 auto 15px;
        font-size: 32px;
        transition: 0.3s ease;
    }

    .ozellik-kutu:hover .ikon {
        transform: scale(1.15);
        background: #1e4d88;
    }

    .ozellik-kutu h4 {
        font-size: 18px;
        font-weight: 700;
        color: #163c6e;
        margin-bottom: 10px;
    }

    .ozellik-kutu p {
        font-size: 15px;
        color: #333;
        line-height: 1.5;
    }



.bxs {
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
}



.header_bg_black {
    background: #25248f none repeat center center;
    border-bottom: 3px solid #163c6e;
}

.bg_black {
    background: black none repeat center center;
}

.bg_gri {
    /*    background-color: #f8f7f5;
*/ padding: 50px;
}





.service-img-box {
    width: 100%;
    overflow: hidden;
}

    .service-img-box img {
        width: 100%;
        object-fit: cover;
    }





.img_news {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3; /* Tüm resimler aynı oran = aynı yükseklik */
    overflow: hidden;
}

    .img_news img {
        width: 100%;
        height: 100%;
        object-fit: contain;
    }



.news__item {
    box-shadow: rgba(0, 0, 0, 0.15) 0px 5px 15px;
}

.news__content {
    border: none !important;
    border-top: 0;
    padding: 20px;
}

.slick-slider .slick-list {
    padding: 20px !important;
}


.categories_li {
    border-bottom: 1px solid #163c6e;
    padding: 10px 0 0 0;
}

.categories_li_a {
    color: #163c6e;
    font-size: 14px;
}

    .categories_li_a:hover {
        font-size: 15px;
    }

.product img {
    width: 100%;
    height: 200px;
    /*        object-fit:cover;
*/
}

/*.shop-section {
    background: #f8f7f5;
}*/

.product img {
    transition: transform 0.4s ease, box-shadow 0.3s;
}

.product:hover img {
    transform: scale(1.051);
    cursor: pointer;
}





.product_file {
    font-size: 24px;
    color: red;
}





.shop_thumb_tab ul li .nav-link {
    padding: 0 !important;
    border: 1px solid var(--color-border);
    height: 100px !important;
    padding: 0 !important;
    width: 100px !important;
    display: flex;
    align-items: center;
    justify-content: center;
    object-fit: contain !important;
}

    .shop_thumb_tab ul li .nav-link img {
        object-fit: fill !important;
    }






.brand-card {
    position: relative;
    overflow: hidden;
    padding: 20px;
    background: #fff;
    border-radius: 6px;
    transition: 0.3s;
    cursor: default;
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
}

/* İç kutu */
.brand-inner {
    text-align: center;
}

    .brand-inner img {
        max-width: 100%;
        height: 200px;
        object-fit: contain;
    }

.brand-name {
    background: #f7f7f7;
    margin-top: 15px;
    padding: 12px;
    font-size: 16px;
    font-weight: 500;
    color: #444;
}

/* Hover Border Animasyonu */
.brand-card::before,
.brand-card::after {
    content: "";
    position: absolute;
    width: 0;
    height: 0;
    border: 2px solid #163c6e; /* turuncu çizgi */
    transition: 0.3s ease;
}

.brand-card::before {
    top: 0;
    left: 0;
    border-right: none;
    border-bottom: none;
}

.brand-card::after {
    bottom: 0;
    right: 0;
    border-left: none;
    border-top: none;
}

.brand-card:hover::before,
.brand-card:hover::after {
    width: 40px; /* ne kadar uzunluk olsun? */
    height: 40px;
}







#customSlider {
    position: relative;
    width: 100%;
}

.slide-item {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity .8s ease;
}

    .slide-item.active {
        opacity: 1;
    }



@media(max-width:568px) {
    .slide-video,
    .slide-image {
        width: 100% !important;
        height: 100% !important;
        object-fit: contain !important;
        display: block !important;
        object-position: bottom center !important; /* 👈 altı sabitler */
    }
}

@media(min-width:568px) {
    .slide-video,
    .slide-image {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        display: block !important;
        object-position: bottom center !important; /* 👈 altı sabitler */
    }
}

/* 🔥 Explosion efekti */
.explosion {
    animation: explode 0.8s ease-out forwards;
}

@keyframes explode {
    0% {
        transform: scale(1);
        filter: brightness(1);
    }

    40% {
        transform: scale(1.15);
        filter: brightness(1.5);
    }

    100% {
        transform: scale(1);
        filter: brightness(1);
    }
}








.nav_pos {
    position: fixed !important;
    top: 0;
    width: 100%;
    background-color: rgba(255,255,255,0.8);
}




a:not([href]):not([class]), a:not([href]):not([class]):hover {
    color: black !important;
    text-decoration: none;
}


.main-menu__nav ul li a {
    transition: transform 0.4s ease, box-shadow 0.3s;
}

    .main-menu__nav ul li a:hover {
        color: black !important;
        transform: scale(1.051);
        cursor: pointer;
    }


@media(max-width:992px) {
    .header_buyuk {
        display: none !important;
    }
}

@media(min-width:992px) {
    .header_buyuk {
        display: block !important;
    }
}

.header_bg_min {
    background-color: rgba(255,255,255,0.9) !important;
    position: fixed;
    top: 0 !important;
    z-index: 10;
    width: 100%;
    padding: 25px 10px !important;
}




.baslik_color {
    color: #163c6e;
    font-weight: 700;
    font-size: 28px;
    text-align: center;
}

.slick-slide img {
    height: 100% !important;
    transition: transform 0.4s ease, box-shadow 0.3s;
}

.slick-slide {
    transition: transform 0.4s ease, box-shadow 0.3s;
}

    .slick-slide:hover {
        transform: scale(1.05);
    }

        .slick-slide:hover img {
            transform: scale(1.05);
        }


@media(max-width:992px) {
    .product__nav {
        display: block !important;
    }
}









.highlight {
    color: #007bff;
    font-weight: 600;
}


.product_Name_u {
    font-weight: 900 !important;
}

.product_subName_u {
    font-size: 16px !important;
    color: rgba(22, 60, 110);
}





.img-magnifier-container {
    position: relative;
}

.img-magnifier-glass {
    position: absolute;
    border: 3px solid #000;
    border-radius: 50%;
    cursor: none;
    width: 120px;
    height: 120px;
    opacity: 0;
    pointer-events: none;
    background-repeat: no-repeat;
    background-size: 200%;
    transition: opacity .2s;
}





.Service_container img {
    width: 100%;
    max-height: 500px;
    object-fit: contain;
}

.service_name {
    font-size: 36px;
    font-weight: 900;
    margin-top: 30px;
    margin-bottom: 25px;
    color: black;
}


.servise_li_a {
    color: black;
}



/* Başlangıç: yarı saydam */
.header.nav_pos {
    transition: all 0.9s ease;
    background-color: rgba(255, 255, 255, 0.5);
    border-bottom: 1px solid #25248f;
}

/* Scroll sonrası: tam beyaz */
.header.scrolled {
    background-color: #ffffff !important;
}

/* Header_TOP gizleme */
.header__top {
    transition: all 0.9s ease;
}

    .header__top.hide {
        height: 0;
        opacity: 0;
        overflow: hidden;
        padding: 0;
        margin: 0;
    }




.underline-half {
    position: relative;
    display: inline-block; /* çizginin yazıya göre konumlanması için */
    text-align: center;
}

    .underline-half::after {
        content: "";
        position: absolute;
        left: 50%;
        bottom: 0; /* yazıya uzaklık - ayarlayabilirsin */
        width: 60%; /* yazının yarısı kadar alt çizgi */
        height: 2px; /* çizgi kalınlığı */
        background-color: #000; /* çizgi rengi */
        transform: translateX(-50%); /* tam ortaya hizalama */
    }



.table-scroll {
    width: 100%;
    overflow-x: auto; /* YATAY SCROLL */
    overflow-y: hidden; /* Dikey taşmayı kapatır */
    white-space: nowrap; /* Tablonun alt satıra kaymasını engeller */
}

    .table-scroll table {
        width: auto !important; /* Genişliği sabitlemez, içeriğe göre genişler */
        display: inline-block; /* Scroll çalışması için */
    }


.category__icon {
    width: 100% !important;
    padding: 0 10px !important;
}

    .category__icon img {
        object-fit: contain;
    }


.index_about_h2 {
    font-weight: 900;
    font-size: 48px;
}

.index_about_p {
    font-size: 20px;
}


@media(max-width:992px) {
    .index_about {
        margin: 25px;
    }

    .index_slider {
        height: 40vh;
        overflow: hidden;
    }
}

@media(min-width:992px) {
    .index_about {
        margin: 0;
    }

    .index_slider {
        height: 100vh;
        overflow: hidden;
    }
}

.header__logo {
    max-width: 300px !important;
}




@media(max-width:1280px) {
    .header__top-info > ul > li {
        font-size: 14px !important;
    }

    .header__top-info > ul > li {
        font-size: 12px !important;
    }
}


@media(min-width:1280px) {
    .header__top-info > ul > li {
        font-size: 16px !important;
    }

    .header__top-info > ul > li {
        font-size: 16px !important;
    }
}


.shop-section .products.three-column > li {
    width: calc(24% - 30px) !important;
}

.shop-area .product-holder img {
    object-fit: contain !important;
}




    .products.three-column .product {
        display: inline-block;
        width: 100%;
        margin: 0 0 30px;
        break-inside: avoid;
        background: #fff;
    }

