/* ===== HERO VIDEO START ===== */
.hero-video {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    opacity: 0.5;
}

.hero-video video {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Üst gradient — navbar ile uyum */
.hero-video::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 30%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.6), transparent);
    z-index: 1;
    pointer-events: none;
}

/* Alt gradient — sonraki section ile geçiş */
.hero-video::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 30%;
    background: linear-gradient(to top, #000, transparent);
    z-index: 1;
    pointer-events: none;
}

/* İçerik overlay */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 2;
    text-align: center;
    padding: 0 20px;
}
    .hero-overlay h6 {
        font-size: clamp(1rem, 3vw, 1.5rem);
        font-weight: 100;
        letter-spacing: 4px;
        text-transform: uppercase;
        color: rgba(255, 255, 255, 0.85);
    }
/* ===== HERO VIDEO END ===== */










/* ===== REFERENCE START ===== */
.brandCarousel {
    position: relative;
    max-width: 1120px;
    padding-block: 5rem;
    overflow: hidden;
}

.brandCarouselCard {
    width: 320px;
    height: 250px;
    /*box-shadow: 0 12px 24px rgba(220, 220, 220, .1);*/
    box-shadow: 0 12px 24px #232323;
    padding: 1.5rem 1rem 2.5rem;
    margin-inline: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.brandCarouselImage {
    width: 50%;
}

    .brandCarouselImage img {
        display: block;
        max-width: 100%;
        height: auto;
    }

.brandCarouselImg {
    transition: transform .4s;
}

.brandCarouselCard:hover .brandCarouselImg {
    transform: scale(1.2);
}

.brandCarouselContent {
    width: max-content;
    display: flex;
    animation: scroll 18s linear infinite;
}
    .brandCarouselContent:hover {
        animation-play-state: paused;
    }
@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}
@media screen and (max-width: 320px) {
    .brandCarouselCard {
        width: 250px;
        padding-bottom: 2rem;
    }
}
@media screen and (min-width: 1150px) {
    .brandCarousel {
        margin-inline: auto;
        row-gap: 3rem;
    }

    .brandCarousel::before,
    .brandCarousel::after {
        content: "";
        position: absolute;
        top: 0;
        width: 20%;
        height: 100%;
        z-index: 1;
    }

    .brandCarousel::before {
        right: 0;
        background: linear-gradient(90deg, rgba(0, 0, 0, 0) 0%, #000 100%);
    }

    .brandCarousel::after {
        left: 0;
        background: linear-gradient(90deg, #000 0%, rgba(0, 0, 0, 0) 100%);
    }

    .brandCarouselCard {
        width: 370px;
        padding: 3rem 2rem;
        border-radius: 4rem;
    }
}
/* ===== REFERENCE END ===== */










/*--- COMMENT START ---*/
.carousel {
    position: relative;
    max-width: 1220px;
    height: 100vh;
    padding-block: 5rem;
    display: grid;
    align-content: center;
    row-gap: 2rem;
    overflow: hidden;
}

.carousel__card {
    width: 300px;
    height: 250px;
    background-color: var(--white);
    box-shadow: 0 12px 24px rgba(114, 211, 128, 0.3);
    padding: 1.5rem 1rem 2.5rem;
    margin-inline: 1rem;
    border-radius: 3rem;
    text-align: center;
}

    .carousel__card p {
        color: var(--dark);
    }
    .carousel__image {
    width: 80px;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 4px 12px hsla(220, 100%, 20%, .3);
    margin: 0 auto .5rem;
}

.carousel__img {
    transition: transform .4s;
}

.carousel__name,
.carousel__number {
    font: 500 1rem;
    color: var(--dark);
}

.carousel__name {
    margin-bottom: 1.5rem;
}

.carousel__rating {
    display: flex;
    justify-content: center;
    align-items: center;
    column-gap: .5rem;
    margin-bottom: .5rem;
}

.carousel__stars {
    display: flex;
    column-gap: .25rem;
}

    .carousel__stars svg {
        font-size: 1rem;
        color: var(--green);
        transition: transform .2s;
        cursor: pointer;
    }

.carousel__card:hover .carousel__img {
    transform: scale(1.2);
}

.carousel__stars i:hover {
    transform: scale(1.3);
}

.carousel__content {
    width: max-content;
    display: flex;
    animation: scroll 18s linear infinite;
}

.carousel__reverse {
    flex-direction: row-reverse;
    animation-direction: reverse;
    animation-delay: -1s;
}

.carousel__content:hover {
    animation-play-state: paused;
}

/* Infinite scroll animation */
@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/*=============== BREAKPOINTS ===============*/
/* For small devices */
@media screen and (max-width: 320px) {
    .carousel__card {
        width: 250px;
        padding-bottom: 2rem;
    }
}

/* For large devices */
@media screen and (min-width: 1150px) {
    .carousel {
        margin-inline: auto;
        row-gap: 3rem;
    }

        .carousel::before,
        .carousel::after {
            content: "";
            position: absolute;
            top: 0;
            width: 20%;
            height: 100%;
            z-index: 1;
        }

        .carousel::before {
            right: 0;
            background: linear-gradient(90deg, hsla(220, 24%, 94%, 0) 0%, #000 100%);
        }

        .carousel::after {
            left: 0;
            background: linear-gradient(90deg, #000 0%, hsla(220, 24%, 94%, 0) 100%);
        }

    .carousel__card {
        width: 370px;
        padding: 3rem 2rem;
        border-radius: 4rem;
    }
}
/*--- COMMENT END ---*/










/* ===== TEXT 1 START ===== */
.textOne{
    margin: 200px 0 200px 0;
    padding: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}
.textOne h1{
    font-size: 57px;
    color: var(--green);
}
.textOne p{
    margin: 57px;
    text-align: center;
    font-weight: 100;
    font-size: 22px;
    line-height: 33px;
}
.subTextOne{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    text-align: center;
}
/* ===== TEXT 1 END ===== */
