﻿#tab-gallery {
    width: 400px;
    height: 390px;
    padding: 0px 0;
    margin: 0 18px;
}

    #tab-gallery .columns .column {
        float: left;
        width: 84px;
        border: 3px solid #F6F6F6;
    }

        #tab-gallery .columns .column img {
            opacity: 0.8;
            cursor: pointer;
            width: 90px;
            height: 70px;
            padding-left: 5px;
            padding-right: 5px;
            object-fit: contain;
        }

            #tab-gallery .columns .column img:hover {
                opacity: 1;
            }

    #tab-gallery .columns::after {
        content: "";
        display: table;
        clear: both;
    }

    #tab-gallery .tab-container {
        position: relative;
        margin-bottom: 20px;
    
        margin-top: 7%;
    }

        #tab-gallery .tab-container #expanded-img {
            max-width: 400px;
            height: 500px;
        }

.product-detail-container {
    /*    display: flex !important;
*/ flex-wrap: wrap;
}

.esitleme {
    display: flex;
    flex-wrap: wrap;
}

.card-title {
    color: #00869A;
    font-weight: bold;
    margin-top: 4.5%;
}

.p-card-title {
    color: #595959;
}

.tab {
    overflow: hidden;
    background-color: white;
    box-shadow: rgba(0, 0, 0, 0.07) 0px 1px 2px, rgba(0, 0, 0, 0.07) 0px 2px 4px, rgba(0, 0, 0, 0.07) 0px 4px 8px, rgba(0, 0, 0, 0.07) 0px 8px 16px, rgba(0, 0, 0, 0.07) 0px 16px 32px, rgba(0, 0, 0, 0.07) 0px 32px 64px !important;
}

    .tab button {
        background-color: inherit;
        float: left;
        border: none;
        outline: none;
        cursor: pointer;
        padding: 14px 16px;
        transition: 0.3s;
        font-size: 1rem;
        width: 25%;
        height: 57px;
        color: #595959;
    }

        .tab button:hover {
            background-color: #00869A;
            color: white;
        }

        .tab button.active {
            background-color: #00869A;
            color: white;
        }


.topright {
    float: right;
    cursor: pointer;
    font-size: 28px;
}

    .topright:hover {
        color: red;
    }

.article_tab {
    /*margin: 0 155px;
    max-width: 1600px;
    margin: auto;*/
    max-width: 100%;
}

.tab-hr {
    margin-top: 0rem;
    margin-bottom: 1rem;
    border: 0;
    border-top: 10px solid rgba(0,0,0,.1) !important;
    color: #00869A;
    opacity: .9 !important;
}

.carousel {
    display: flex;
}

#tab-gallery {
    display: table;
    width: 40%;
}

.sag {
    width: 60%;
}

.hr {
    width: 85%;
}

#carouselExampleSlidesOnly {
    width: 100%;
}

.product-title {
    text-align:center;
    font-weight: bold !important;
}

.sag {
    position: relative; 
}

.pdf-btn {
    background-color: #00869A;
    color: white;
    padding: 9px;
    border: none;
    border-radius: 5px;
    font-size: 15px;
    cursor: pointer;
    width: 110px;
    position: absolute; 
    top: 19px;
    right: 59px; 
    margin: 10px;
}


.article_tab_wrapper {
    position: sticky;
    top: 0;
    background: white; 
    z-index: 1000; 
}

.article_tab_items {
    display: flex;
    justify-content: center;
    gap: 20px;
    padding: 10px 0;
    margin: 0;
    list-style: none;
}

.article_tab_items {
    display: flex;
    padding: 0; 
    margin: 0; 
    list-style: none; 
}

.article_tab_item {
    padding: 10px 20px;
    cursor: pointer;
    transition: background 0.3s ease;
    text-align: center;
    position: relative;
    font-size: 20px;
}


    .article_tab_item.active::after,
    .article_tab_item:hover::after {
        content: "";
        position: absolute;
        left: 0;
        bottom: 0;
        width: 100%;
        height: 3px;
        background-color: #2A2A2A;
        transition: width 0.3s ease-in-out;
    }


.tab_title {
    background: #747473 !important;
    padding: 21px 25px 21px;
    text-align: center;
    z-index: 2;
    position: relative;
    word-break: break-word;
    color: white;
    font-size: 35px;
}

.tab_content {
    max-width: 100%;
    margin: 0 auto;
    text-align: left;
    box-sizing: border-box;
    line-height: 1.6;
}
.title-Detail {
    padding: 30px 15%;
    font-weight: normal;
}
.tab-content-logos {
    width: 100%;
    background: white;
    float: left;
    box-shadow: 0 3px 20px #d3d3d3;
    padding: 10px 0;
    position: relative;
}
.product-logos-item-image {
    display: flex;
    justify-content: center; 
    align-items: center; 
    width: 120px; 
    height: 63px;
    margin: 0 auto; 
}

    .product-logos-item-image img {
        max-width: 138px; 
        object-fit: contain; 
    }

/* Ürün açıklama başlıklarır panelden girilen değerlerin hep kırmızı gözükmesini sağlar */
.red-title {
    color: #1F839F;
}

#tab-gallery .tab-container #expanded-img {
    transition: transform 0.3s ease;
    image-rendering: auto;
}

    #tab-gallery .tab-container #expanded-img:hover {
        transform: scale(1.6);
    }

.tab-container {
    z-index: 2;
}

.tab-container {
    position: relative;
}


.product-icons-wrapper {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* Büyük ekranlar için 3 sütun */
    justify-items: left;
}

.product-icon-card {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #ffffff;
    border-radius: 8px;
    min-width: 200px;
    width: 100%;
    max-width: 300px;
    height: 50px;
    transition: all 0.3s ease;
}


.product-icon-image {
    width: 32px;
    height: 32px;
    object-fit: contain;
    flex-shrink: 0;
}

.product-icon-label {
    padding: 5px;
    font-size: 16px;
    font-weight: normal;
}
.custom-link {
    text-decoration: none; /* Varsayılan alt çizgiyi kaldır */
    position: relative;
    display: inline-block; /* İçeriğe göre genişlik almasını sağlar */
    color: inherit; /* Metin rengini değiştirme */
}

    .custom-link::after {
        content: "";
        position: absolute;
        left: 0;
        bottom: -5px; /* Çizgiyi biraz daha aşağı kaydırdık */
        width: 100%;
        height: 2px;
        background-color: #00869A;
        transform: scaleX(0); /* Başlangıçta çizgiyi gizler */
        transition: transform 0.3s ease-in-out;
    }

    .custom-link:hover::after {
        transform: scaleX(1); /* Hover olduğunda çizgiyi gösterir */
    }


@media(max-width: 991px) {
    #tab-gallery .tab-container #expanded-img {
        width: 200px;
        height: 250px;
    }

    #tab-gallery {
        margin-top: 5%;
    }

    #carouselExampleSlidesOnly {
        display: block;
    }

    .sag {
        position: relative; /* İçindeki absolute öğeler için referans noktası */
    }

    .pdf-btn {
        background-color: #00869A;
        color: white;
        padding: 5px;
        border: none;
        border-radius: 5px;
        font-size: 15px;
        cursor: pointer;
        width: 110px;
        position: absolute; 
        top: -14px; 
        left: 34px; 
        margin: 10px; 
    }


   .article_tab_wrapper {
        position: sticky;
        top: 0;
        background: white;
        z-index: 10003;
        margin-top: 50px; 
    }

    .article_tab_items {
        display: block; 
        padding: 10px 0;
        margin: 0;
        list-style: none;
    }

    .article_tab_item {
        display: inline-block;
        padding: 10px 15px;
        cursor: pointer;
        transition: background 0.3s ease;
        text-align: center;
        width: calc(25% - 20px); 
        box-sizing: border-box;
    }
    .article_tab_item.active,
    .article_tab_item:hover {
        background-color: transparent; /* Mobilde arka plan değişmesin */
        color: inherit; /* Renk değişimini engelle */
    }

    .article_tab_item.active::after,
    .article_tab_item:hover::after {
        height: 2px; /* Mobilde çizgi biraz daha ince olabilir */
    }

    .product-icons-wrapper {
        grid-template-columns: repeat(2, 1fr); /* 2 sütun */
    }
}


@media(max-width: 800px) {
    .tab button {
        margin: 0px 0px;
        transition: 0.3s;
        font-size: 0.8rem;
    }

    .sag {
        width: 100%;
    }

    .card-title {
        display: none;
    }

    .p-card-title {
        display: none;
    }

    .card-titlePhone {
        color: #00869A;
        font-weight: bold;
        margin-top: 3%;
    }

    .p-card-titlePhone {
        color: #595959;
    }

    .sagPhone {
        margin-top: 1%;
    }

    #tab-gallery {
        width: 89%;
    }
    .pdf-btn {
        width: 50px;
        font-size: 12px;
        padding: 6px;
        margin-top: 15px;
        display: block;
        margin-left: auto;
        margin-right: -3px; /* Butonu sağa yaslar */
        top: -56px;
    }


    .article_tab_wrapper {
        position: sticky;
        top: 0;
        background: white;
        z-index: 10003;
        margin-top: 20px;
    }

    .article_tab_items {
        display: flex;
        flex-wrap: nowrap;
        padding: 10px 0;
        margin: 0;
        list-style: none;
        justify-content: space-between;
    }

    .article_tab_item {
        width: auto; /* Mobilde sekmeler genişleyebilsin */
        flex: 1; /* Tüm sekmeler eşit genişlik alsın */
        padding: 10px;
    }

        .article_tab_item.active,
        .article_tab_item:hover {
            background-color: transparent !important; /* Mobilde arka plan değişmesin */
            color: inherit !important; /* Renk değişimini engelle */
        }

            .article_tab_item.active::after,
            .article_tab_item:hover::after {
                height: 2px; /* Mobilde çizgi biraz daha ince olabilir */
            }

    .product-icons-wrapper {
        grid-template-columns: repeat(1, 1fr); /* 1 sütun, alt alta dizilme */
    }
}

@media(min-width: 800px) {

    .card-titlePhone {
        display: none;
    }

    .p-card-titlePhone {
        display: none;
    }

    .sagPhone {
        display: none;
    }

    #tab-gallery .tab-container #expanded-img {
        transition: transform 0.3s ease;
        image-rendering: auto;
    }

        #tab-gallery .tab-container #expanded-img:hover {
            transform: scale(1.8);
        }
}
