@charset "utf-8";
/* CSS Document */

.carousel-slide-content {
    position: relative;
    height: 350px;
    background-size: cover;
    background-position: center;
    overflow: hidden;
    padding-top: 50px;
}
/* Alt çizgi */
.horizontal-line {
    height: 5px;
    width: 100%;
    background-color: #3c4043;
}


.btn-kullanim {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    text-decoration: none;
}

    .btn-kullanim:hover {
        background-color: #c59c1f;
        /* transform: translateX(-50%) scale(1.05);*/
        transition: transform 0.3s ease;
    }

.carousel-text {
    background: transparent;
    padding: 10px;
}

.carousel-slide-content h1 {
    font-family: "Lato", sans-serif;
    font-size: 2.2rem;
    margin-bottom: 20px;
}

.carousel-slide-content p {
    font-size: 1rem;
}

.carousel-slide-content h1,
.carousel-slide-content p {
    color: #2f3031 !important; /* Maksimum kontrast için koyu renk */
    font-weight: 700;
    /* 3 katmanlı beyaz gölge ile metnin arkasını temizliyoruz */
    text-shadow: 0 0 10px rgba(255, 255, 255, 1), 0 0 20px rgba(255, 255, 255, 1), 0 0 30px rgba(255, 255, 255, 0.9);
}

.carousel-slide-content .btn {
    background-color: #ae9019;
    font-size: 0.9em;
    line-height: 1;
    color: white;
    font-weight: 500;
    padding: 10px 20px 7px !important;
    border-radius: 100px;
    transform: translateX(-50%);
}

    .carousel-slide-content .btn:hover {
        background-color: #c59c1f;
        color: white;
        font-weight: 600;
        transition: transform 0.3s ease;
    }

/*hover {
  
}
*/
/* ---- DOTS ----  */
.dot-btn {
    width: 1.8em;
    height: 1.8em;
    background-color: white;
    border: 4px solid #3c4043;
    border-radius: 50%;
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
}

    .dot-btn .inner-dot {
        content: "";
        display: block;
        width: 10px;
        height: 10px;
        border-radius: 50%;
        background-color: #3c4043;
        margin-left: 0.3px;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        opacity: 0;
        transition: opacity 0.3s ease;
    }

    .dot-btn.active {
        border: 4px solid #b18c19;
    }

        .dot-btn.active .inner-dot {
            opacity: 1;
            background-color: #b18c19;
        }

.nav-dot-wrapper:has(.dot-btn.active) .dot-label {
    color: #b18c19 !important;
    transition: color 0.3s ease;
}

.dot-btn:hover {
    border: 4px solid #b18c19 !important;
}

    .dot-btn:hover .inner-dot {
        background-color: #b18c19 !important;
        transition: all 0.3s ease;
    }

/* Wrapper alanının üzerine gelince (kullanıcı noktaya yaklaşırken) label da hover rengini alsın */
.nav-dot-wrapper:hover .dot-label {
    color: #b18c19 !important;
    transition: color 0.3s ease;
}





.custom-carousel-nav .container {
    height: 80px;
    position: relative;
}

.custom-nav-dots {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 4px;
}

    .custom-nav-dots .nav-dot-wrapper {
        /* flex: 0 1 auto;*/
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
    }

.dot-label {
    font-size: clamp(0.7rem, 1.3vw, 0.9rem);
    color: #3c4043;
    line-height: 1.1;
    text-align: center;
    margin-bottom: 5px;
    width: 5.5em;
}

.custom-carousel-nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    width: 100%;
}

#dot-kapsa {
    width: 100%;
    max-width: 790px;
    height: auto;
    box-sizing: border-box;
}

#kullanimCarousel {
    width: 100%;
    max-width: 1200px;
    box-sizing: border-box;
}

@keyframes fadeInUpSoft {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up-soft {
    animation: fadeInUpSoft 0.8s ease-out forwards;
}



@media (min-width: 992px) {
    .custom-nav-dots .nav-dot-wrapper {
        gap: 1px; /* Butonlar arası boşluğu küçült */
        margin-top: -20px;
    }
}

@media (min-width: 768px) and (max-width: 991.98px) {
    .custom-nav-dots .nav-dot-wrapper {
        margin-top: -15px;
    }
}

@media (max-width: 575.98px) {
    .carousel-slide-content {
        height: 220px;
        padding-top: 50px;
    }

        .carousel-slide-content h1 {
            font-size: 1.3rem;
            letter-spacing: -1px;
            margin-bottom: 5px;
        }

        .carousel-slide-content .carousel-slide-content p {
            font-size: 0.8rem;
            font-weight: 500;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }

    .btn-kullanim {
        font-size: 0.8em;
        bottom: 15px;
        padding: 6px 14px;
    }

    #kullanimCarousel,
    #dot-kapsa,
    .custom-carousel-nav {
        width: 100%;
        max-width: 100%;
        min-width: auto;
    }

    .custom-carousel-nav {
        gap: 5px;
        margin: 0 auto;
        box-sizing: border-box;
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
    }
}
/* --------------- YENİ YAPI ----------------   */

@media (max-width: 768px) {
    .kategori-mobil-wrapper {
        display: flex;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        position: relative;
        width: 100%;
        padding: 10px 0;
    }

        .kategori-mobil-wrapper::-webkit-scrollbar {
            display: none;
        }

    .kategori-mobil-track {
        display: flex;
        align-items: center;
        gap: 12px;
        padding-left: calc(50vw - 65px);
        padding-right: calc(50vw - 65px);
        animation: swipeHint 1.2s ease-in-out 0.5s 1;
    }

    /* .kategori-chip {
        flex: 0 0 auto;
        padding: 5px 12px; 
        font-size: 11px;
        font-family: inherit;
		font-weight: 600;
        color: #242526;
        background-color: #fff;
        border: 1px solid #c5cbcf; 
        border-radius: 15px; 
        cursor: pointer;
        transition: background-color 0.3s ease, color 0.3s ease;
        white-space: nowrap; 
    }*/
    .kategori-chip {
        background-color: #ffffff;
        border: 1px solid #dadada;
        border-bottom: 2px solid #4e5153;
        border-radius: 5px;
        color: #333;
        padding: 5px 12px;
        font-family: 'Quicksand', sans-serif;
        font-size: 0.7rem;
        font-weight: 800;
        transition: all 0.3s ease;
        height: 30px;
        white-space: nowrap;
        width: fit-content;
        flex: 0 0 auto;
    }

        .kategori-chip.aktif {
            background-color: #4e5153;
            border: 1px solid #4e5153;
            color: #fff;
        }

    @keyframes swipeHint {
        0%, 100% {
            transform: translateX(0);
        }

        50% {
            transform: translateX(-40px);
        }
    }

    .carousel-slide-content .btn {
        font-size: 0.7em;
        font-weight: 500;
        padding: 7px 17px !important;
    }

    .carousel-slide-content p {
        font-size: 0.8rem;
        font-weight: 600;
    }
}
