﻿/* =========================================================
   SITE BUILDER - FINAL CSS
   (LogoCarousel + CTA + Testimonials + Pricing + FAQ)
   ========================================================= */

/* ---------- Logo Carousel (Referanslar) ---------- */
.logo-carousel-wrapper {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.logo-carousel-track {
    display: flex;
    flex-wrap: nowrap; /* alt alta düşmeyi engeller */
    align-items: center;
    gap: 40px;
    white-space: nowrap; /* satır kırılmasın */
    animation: logo-scroll 30s linear infinite;
    will-change: transform;
}

.logo-carousel-item {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .logo-carousel-item a {
        display: inline-flex;
        align-items: center;
    }

    .logo-carousel-item img {
        display: block;
        max-height: 60px;
        max-width: 160px;
        height: auto;
        width: auto;
        object-fit: contain;
        filter: grayscale(100%);
        opacity: .85;
        transition: filter .25s ease, opacity .25s ease, transform .25s ease;
    }

        .logo-carousel-item img:hover {
            filter: grayscale(0%);
            opacity: 1;
            transform: translateY(-1px);
        }

@keyframes logo-scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
    /* logos.Concat(logos) ile uyumlu */
}

/* Hover olunca durdur (JS'siz) */
.logo-carousel-wrapper:hover .logo-carousel-track {
    animation-play-state: paused;
}

@media (max-width:576px) {
    .logo-carousel-track {
        gap: 22px;
    }

    .logo-carousel-item img {
        max-height: 44px;
        max-width: 130px;
    }
}


/* ---------- CTA Banner (Image + Overlay + Buttons + Stats) ---------- */
.cta-banner {
    position: relative;
    overflow: hidden;
}

    .cta-banner .cta-overlay-layer {
        position: absolute;
        inset: 0;
        z-index: 0;
        pointer-events: none;
    }

    .cta-banner .cta-content {
        position: relative;
        z-index: 2; /* içerik overlay üstünde */
    }

.cta-overlay-dark .cta-overlay-layer {
    background: linear-gradient(90deg, rgba(0,0,0,.70), rgba(0,0,0,.35));
}

.cta-overlay-primary .cta-overlay-layer {
    background: linear-gradient(90deg, rgba(13,110,253,.85), rgba(13,110,253,.40));
}

.cta-overlay-soft .cta-overlay-layer {
    background: linear-gradient(90deg, rgba(255,255,255,.75), rgba(255,255,255,.35));
}

.cta-has-image {
    border: 0 !important;
}

/* CTA Buttons hover */
.cta-btn {
    transition: transform .2s ease, box-shadow .2s ease, opacity .2s ease;
}

    .cta-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 10px 24px rgba(0,0,0,.18);
    }

/* CTA Stats */
.cta-stat {
    padding-right: 14px;
}

.cta-stat-solid {
    border-right: 1px solid rgba(255,255,255,.25);
}

.cta-stat-outline {
    border-right: 1px solid rgba(0,0,0,.12);
}

.cta-stat:last-child {
    border-right: 0;
    padding-right: 0;
}

.cta-stat-icon {
    margin-top: 2px;
    opacity: .9;
}


/* ---------- Testimonials ---------- */
.testimonial-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(13,110,253,.12);
    color: #0d6efd;
    font-weight: 700;
}


/* ---------- Pricing Plans ---------- */
.pricing-card {
    border: 1px solid rgba(0,0,0,.06);
}

.pricing-popular {
    border: 2px solid rgba(13,110,253,.35);
    transform: translateY(-2px);
}

.pricing-btn {
    transition: transform .2s ease, box-shadow .2s ease;
}

    .pricing-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 10px 24px rgba(0,0,0,.12);
    }


/* ---------- FAQ Accordion ---------- */
.faq-accordion .accordion-item {
    border: 1px solid rgba(0,0,0,.06);
    border-radius: 14px;
    overflow: hidden;
    margin-bottom: 10px;
}

.faq-accordion .accordion-button {
    font-weight: 600;
}
