﻿/*slider*/

.slideshow {
    position: relative;
    width: 100%;
    height: 90vh;
    overflow: hidden;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    visibility: hidden;
    overflow: hidden;
    transform-origin: center;
}

    .slide.active {
        visibility: visible;
    }

.slide__img {
    position: absolute;
    top: -10%;
    left: -10%;
    width: 120%;
    height: 120%;
    background-size: cover;
    background-position: center;
    will-change: transform;
    transform-origin: center;
}

    .slide__img::after {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: linear-gradient( to bottom, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.4) 100% );
    }

.slide__text {
    position: absolute;
    bottom: 5rem;
    left: 5rem;
    max-width: 80%;
    overflow: hidden;
    z-index: 5;
}

.slide__text-line {
    display: block;
    font-size: 4.5rem;
    line-height: 1;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: -0.02em;
    transform: translateY(100%);
    opacity: 0;
}

/* Kontroller (scroll / drag) */
.controls {
    position: absolute;
    top: 2rem;
    right: 2rem;
    z-index: 10;
}
.controls-text {
    color: #fff;
    font-size: 0.8rem;
    font-weight: 400;
}

/* Slide sayacı (03 — 05) */
.slide-counter {
    position: absolute;
    bottom: 2rem;
    left: 85%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    z-index: 10;
}

.counter-container {
    position: relative;
    min-width: 2rem;
    height: 1.2rem;
    overflow: hidden;
    text-align: right;
}

.counter-strip {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    text-align: right;
}

.counter-number {
    height: 1.2rem;
    display: block;
}

.counter-separator {
    width: 40px;
    height: 1px;
    background-color: #fff;
    margin: 0 1rem;
}

.counter-total {
    min-width: 2rem;
    text-align: left;
}

/* Sol üstteki açıklama */
.slide-info {
    position: absolute;
    top: 2rem;
    left: 2rem;
    max-width: 15rem;
    z-index: 10;
}

.slide-info-title {
    margin-bottom: 0.5rem;
}


.cursor {
    position: fixed;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.3);
    margin-top: -30px;
    margin-left: -30px;
    z-index: 9999;
    pointer-events: none;
    transform: scale(0);
    transition: transform 0.3s ease;
    opacity: 0;
}

.cursor-arrow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 1.2rem;
    opacity: 0;
}

.cursor.active {
    transform: scale(1);
    opacity: 1;
}

.cursor.prev .cursor-arrow.prev,
.cursor.next .cursor-arrow.next {
    opacity: 1;
}






.populer-modeller .card-img-top {
    transition: transform 1.05s ease;
}

.populer-modeller .card:hover .card-img-top {
    transform: scale(1.05);
}



@media (max-width: 768px) {
    .slide__text {
        bottom: 3rem;
        left: 2rem;
        max-width: 90%;
    }

    .slide__text-line {
        font-size: 3rem;
    }
}

*,
*:before,
*:after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}body {
}

.h-50 {
    height: 45% !important;
}

 /*SCROLL DOWN*/
.scroll-down {
    position: absolute;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    font-size: 2rem;
    color: #fff;
    opacity: 0.7;
    text-decoration: none;
    animation: bounceDown 2s infinite;
}

    .scroll-down .arrow:hover {
        color: #fff !important;
    }

    .scroll-down:hover {
        color: #fff !important;
    }

@keyframes bounceDown {
    0%, 100% {
        transform: translateX(-50%) translateY(0);
    }

    50% {
        transform: translateX(-50%) translateY(8px);
    }
}


html {
    scroll-behavior: smooth;
}



/*ACCORDIONNN*/

.accordion-button:focus {
    box-shadow: none;
    border-color: transparent;
}

.accordion-button:not(.collapsed) {
    background-color: #343a40; /* açık koyu */
    color: #fff;
    font-weight: 600;
}

.accordion-button {
    background-color: #2c2c2c;
    color: #ccc;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.accordion-body {
    font-size: 0.95rem;
    color: #aaa;
    background-color: #262626;
}
.accordion-button::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='%23ccc' viewBox='0 0 16 16'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.accordion-button:not(.collapsed)::after {
    transform: rotate(180deg);
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='%23fff' viewBox='0 0 16 16'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

/*HERO BANNER*/
.hero-banner {
    position: relative;
    background-image: url('../images/sections/dc100-p-03.png');
    background-size: cover;
    background-position: center;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
    padding: 0 1rem;
}

    .hero-banner .overlay {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.6);
    }

.limited-width {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Başlık ve paragraf metni */
.hero-banner h1 {
    font-size: 3rem;
    font-weight: 700;
}

.hero-banner p {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
}

/* Responsive (mobil ve tablet) ayarlar */
@media (max-width: 768px) {
    .hero-banner {
        height: 70vh;
        padding: 0 1.2rem;
        text-align: center;
    }

        .hero-banner h1 {
            font-size: 2rem;
        }

        .hero-banner p {
            font-size: 1rem;
        }

        .hero-banner .btn {
            font-size: 0.9rem;
            padding: 0.6rem 1.2rem;
        }

    .slide__text {
        bottom: 5rem;
        left: 1rem;
        right: 1rem;
        text-align: center;
    }

    .slide__text-line {
        font-size: 2rem;
    }



    .populer-modeller .card-title {
        font-size: 2.3rem !important;
    }

    .populer-modeller img {
        max-height: 400px;
        object-fit: contain;
    }

    .populer-modeller .card {
        padding: 1rem;
    }

    .populer-modeller .row-cols-md-4 {
        --bs-columns: 2;
    }

    .h-50{
        height: 40% !important;
    }

    .neden-motrix {
        text-align: center;
    }

        .neden-motrix .img-fluid {
            margin-top: 2rem;
            max-width: 100%;
        }

    .sss-section .accordion-button {
        font-size: 1rem;
    }

    .sss-section h2 {
        font-size: 1.6rem;
    }

    .sss-section .accordion-body {
        font-size: 0.9rem;
    }

}

/*HERO END*/