﻿
body {
    font-family: 'Inter', sans-serif;
    background-color: #f9f9f9;
}

.page-header {
    background-color: var(--primary-color) !important;
}

.navbar {
    background-color: #fff;
    box-shadow: 0 1px 10px rgba(0,0,0,0.05);
}

.nav-link {
    position: relative;
    font-weight: 500;
    padding: 0.5rem 1rem;
    transition: color 0.3s ease;
}

    .nav-link::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 50%;
        width: 0%;
        height: 2px;
        background-color: var(--primary-color) !important;
        transition: width 0.3s ease, left 0.3s ease;
    }

    .nav-link:hover {
        color: #fff;
        background-color: var(--primary-color) !important;
        border-radius: 5px;
    }

        .nav-link:hover::after {
            width: 100%;
            left: 0;
        }

/* Bootstrap dropdown menüsünün hover ile açılması için */
.nav-item.dropdown:hover .dropdown-menu {
    display: block;
}

/* Dropdown menüsünün gizli olması için başlangıçta display: none; kullanıyoruz */
.nav-item.dropdown .dropdown-menu {
    display: none;
    position: absolute;
    z-index: 1000;
}

/* Mobil görünüm */
@media (max-width: 991.98px) {
    .navbar-nav .nav-item {
        border-bottom: 1px solid #e0e0e0; /* ✅ Alt çizgi efekti */
    }

    .nav-link {
        color: #333;
    }

        .nav-link:active,
        .nav-link:focus {
            background-color: rgba(13, 110, 253, 0.05); /* hafif mavi */
            color: #0d6efd;
        }

    .navbar-collapse {
        background-color: #f9f9f9;
        border-radius: 0 0 10px 10px;
        padding-bottom: 1rem;
    }
}

/* Yön oklarını slider'ın içine ve düzgün yerleştirme */
#heroSlider .carousel-control-prev,
#heroSlider .carousel-control-next {
    position: absolute;
    top: 50%; /* Yatayda ortalamak */
    transform: translateY(-50%); /* Dikeyde ortalamak */
    width: 5%; /* Yön oklarının genişliği */
    height: 100%; /* Yön oklarının yüksekliği */
    border: none;
    margin: 0 2em 0 2em;
}

#heroSlider .carousel-control-prev-icon,
#heroSlider .carousel-control-next-icon {
    border-radius: 50%; /* Ok ikonlarını yuvarlak yapıyoruz */
}

/* Yön oklarının daha büyük olmasını sağlamak için */
#heroSlider .carousel-control-prev-icon,
#heroSlider .carousel-control-next-icon {
    width: 40px;
    height: 40px;
    background-size: 100%;
}

#heroSlider .carousel button > span {
    padding: 5px;
    color: white;
}

    #heroSlider .carousel button > span:hover {
        background-color: rgba(0,0,0,0.8);
    }

#heroSlider .carousel-item {
    display: flex;
    justify-content: center; /* Yatayda ortalama */
    align-items: center; /* Dikeyde ortalama */
}


    /*.slider-image {
    height: 100vh; 
    background-size: cover;
    background-position: top;
    background-repeat: no-repeat;
}*/

    #heroSlider .carousel-item img {
        height: 500px;
        object-fit: cover;
        cursor: pointer;
        transition: transform 0.3s ease;
    }

        #heroSlider .carousel-item img:hover {
            transform: scale(1.01);
        }
/* Mobilde kırpmadan tam oturt, ama boşluk oluşmasını engelle */
@media (max-width: 768px) {
    #heroSlider .carousel-item img {
        height: 60vh; /* Mobilde daha az yükseklik */
        background-size: contain;
        background-position: top center;
    }

    #heroSlider .carousel-control-prev-icon,
    #heroSlider .carousel-control-next-icon {
        height: 30px;
    }
}

@media (max-width: 480px) {
    #heroSlider .carousel-item img {
        height: 32vh;
    }

    #heroSlider .carousel-control-prev-icon,
    #heroSlider .carousel-control-next-icon {
        height: 30px;
    }
}

@media (max-width: 390px) and (min-width: 376px) {
    #heroSlider .carousel-item img {
        height: 20vh;
    }

    #heroSlider .carousel-control-prev-icon,
    #heroSlider .carousel-control-next-icon {
        height: 30px;
    }
}

@media (max-width: 320px) {
    #heroSlider .carousel-item img {
        height: 24vh;
    }

    #heroSlider .carousel-control-prev-icon,
    #heroSlider .carousel-control-next-icon {
        height: 30px;
    }
}

.category-card {
    border: none;
    transition: 0.3s;
}

    .category-card:hover {
        transform: scale(1.03);
    }

.intro-section {
    background-color: #fff;
    padding: 60px 0;
}

.footer {
    background-color: #111;
    color: #ccc;
    padding: 40px 0;
}

    .footer a {
        color: #ccc;
        text-decoration: none;
    }

        .footer a:hover {
            text-decoration: underline;
        }

.language-select {
    font-size: 0.9rem;
}

.product-card {
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    border-radius: 10px;
    overflow: hidden;
    background-color: #fff;
    transition: all 0.3s ease;
}

    .product-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    }

.page-header {
    background-color: #0d6efd;
    color: white;
    padding: 60px 0;
    text-align: center;
}

.product-card img {
    border-radius: 10px 10px 0 0;
}

.product-card .card-body {
    padding: 1rem;
}


.list-group-item {
    background-color: #f9f9f9;
    border: none;
    font-size: 0.95rem;
}

h2, h4 {
    font-weight: 600;
}

.text-muted {
    font-size: 0.95rem;
}

[data-lightbox] img {
    cursor: zoom-in;
    transition: transform 0.3s ease;
}

    [data-lightbox] img:hover {
        transform: scale(1.03);
    }

.thumb-img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    cursor: pointer;
    border: 2px solid transparent;
    border-radius: 5px;
    transition: 0.3s;
}

    .thumb-img:hover,
    .thumb-img.active {
        border-color: #0d6efd;
        transform: scale(1.05);
    }



.scroll-products {
    overflow-x: auto;
    scroll-behavior: smooth;
    gap: 1rem;
    padding-bottom: 10px;
    scrollbar-width: none; /* Firefox */
}

    .scroll-products::-webkit-scrollbar {
        display: none; /* Chrome */
    }

.product-card-wrap {
    flex: 0 0 auto;
    scroll-snap-align: start;
    width: 100%;
}

@media (min-width: 576px) {
    .product-card-wrap {
        width: 50%;
    }
}

@media (min-width: 768px) {
    .product-card-wrap {
        width: 33.33%;
    }
}

@media (min-width: 1200px) {
    .product-card-wrap {
        width: 25%;
    }
}

.scroll-wrapper {
    position: relative;
}

/* Scroll butonlar */
.scroll-btn {
    position: absolute;
    z-index: 9999;
    top: 50%; /* Artık doğrudan kaydırma alanının ortasına */
    transform: translateY(-50%);
    z-index: 10;
    width: 40px;
    height: 40px;
    border: none;
    background-color: rgba(0,0,0,0.4);
    border-radius: 50%;
    color: #333;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .scroll-btn:hover {
        background-color: rgba(0,0,0,0.8);
    }

    .scroll-btn.left {
        left: 10px;
        color: #f9f9f9;
    }

    .scroll-btn.right {
        right: 10px;
        color: #f9f9f9;
    }


.product-card-wrap {
    flex: 0 0 auto;
    padding: 5px;
    width: 100%;
    min-height: 100%;
    cursor: pointer;
}

@media (min-width: 576px) {
    .product-card-wrap {
        width: 50%;
    }
}

@media (min-width: 768px) {
    .product-card-wrap {
        width: 33.33%;
    }
}

@media (min-width: 1200px) {
    .product-card-wrap {
        width: 25%;
    }
}
/* Kartlar dikeyde eşitlenip düzgün görünür */
.product-card {
    height: 100%;
    display: flex;
    flex-direction: column;
}

    /* Kart içeriği esnek büyüsün */
    .product-card .card-body {
        flex-grow: 1;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }

    /* Görseller daha dengeli görünür */
    .product-card img {
        height: 200px;
        object-fit: cover;
    }

.card-yco {
    border: 0.5px solid #ddd;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    padding: 2em 1em;
    background-color: white !important;
}

.Whatsapp {
    background-color: #21c741;
    border-radius: 50%;
    bottom: 25px;
    color: #ffffff;
    font-size: 22px;
    height: 50px;
    line-height: 54px;
    right: 20px;
    text-align: center;
    width: 50px;
    -webkit-box-shadow: 0 10px 20px 0 rgba(23, 22, 49, 0.1);
    box-shadow: 0 10px 20px 0 rgba(23, 22, 49, 0.1);
    font-weight: 400;
        }
    
    .Instagram {
    background-color: #e56969;
    border-radius: 50%;
    bottom: 85px;
    color: #ffffff;
    font-size: 22px;
    height: 50px;
    line-height: 54px;
    right: 20px;
    text-align: center;
    width: 50px;
    -webkit-box-shadow: 0 10px 20px 0 rgba(23, 22, 49, 0.1);
    box-shadow: 0 10px 20px 0 rgba(23, 22, 49, 0.1);
    font-weight: 400;
        }