﻿/* =========================================================
   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;
}
.pubhdr {
    position: relative;
    padding: clamp(2.25rem, 5vw, 4rem) 0;
    border-bottom: 1px solid rgba(0,0,0,.06);
    overflow: hidden;
    --pubhdr-accent: #0d6efd;
}

.pubhdr--soft {
    background: radial-gradient(800px 250px at 50% 0%, rgba(13,110,253,.10), rgba(13,110,253,0) 70%), linear-gradient(180deg, rgba(248,249,250,1), rgba(255,255,255,1));
}

    .pubhdr--soft::before {
        content: "";
        position: absolute;
        inset: 0;
        background-image: var(--pubhdr-bg);
        background-size: cover;
        background-position: center;
        opacity: .12;
        pointer-events: none;
    }

    .pubhdr--soft::after {
        content: "";
        position: absolute;
        left: 50%;
        bottom: 0;
        width: min(900px, 92vw);
        height: 3px;
        transform: translateX(-50%);
        background: linear-gradient(90deg, transparent, var(--pubhdr-accent), transparent);
        opacity: .75;
    }

.pubhdr__inner {
    position: relative;
    z-index: 1;
    max-width: 980px;
    margin: 0 auto;
}

.pubhdr--center .pubhdr__inner {
    text-align: center;
}

.pubhdr__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.pubhdr--center .pubhdr__top {
    justify-content: center;
}

.pubhdr__eyebrow {
    display: inline-flex;
    align-items: center;
    padding: .25rem .6rem;
    border-radius: 999px;
    font-size: .72rem;
    letter-spacing: .12em;
    text-transform: uppercase;
    background: rgba(255,255,255,.75);
    border: 1px solid rgba(0,0,0,.06);
    color: rgba(0,0,0,.65);
    backdrop-filter: blur(6px);
}

.pubhdr__right {
    margin-left: auto;
}

.pubhdr--center .pubhdr__right {
    margin-left: 0;
}

.pubhdr__title {
    margin: .65rem 0 .35rem;
    font-weight: 800;
    line-height: 1.05;
    font-size: clamp(1.9rem, 4vw, 3.1rem);
    color: #111827;
}

.pubhdr__subtitle {
    margin: 0 auto 1rem;
    max-width: 70ch;
    font-size: clamp(1rem, 1.4vw, 1.1rem);
    color: rgba(0,0,0,.62);
}

.pubhdr__crumb {
    margin-top: .25rem;
}

.pubhdr__crumbList {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: .95rem;
    color: rgba(0,0,0,.58);
}

.pubhdr__crumbLink {
    color: rgba(0,0,0,.62);
    text-decoration: none;
}

    .pubhdr__crumbLink:hover {
        text-decoration: underline;
    }

.pubhdr__crumbSep {
    opacity: .55;
}

.pubhdr__crumbItem--active {
    color: rgba(0,0,0,.72);
    font-weight: 600;
}

/* host (blok wrapper) */
.hb-ie__host {
    position: relative;
}

.hb-ie__content {
    position: relative;
}

/* edit button */
.hb-ie__editbtn {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 20;
    opacity: .92;
}

    .hb-ie__editbtn:hover {
        opacity: 1;
    }

/* ✅ block üstü toast (backdrop üstüne çıksın diye yüksek z-index) */
.hb-ie__toast {
    position: absolute;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1065; /* backdrop(1040) üstü */
    background: #111827;
    color: #fff;
    padding: 10px 14px;
    border-radius: 999px;
    font-size: 13px;
    box-shadow: 0 14px 30px rgba(0,0,0,.18);
    pointer-events: none;
    display: flex;
    align-items: center;
}

/* backdrop */
.hb-ie__backdrop {
    position: fixed;
    inset: 0;
    background: rgba(15,23,42,.55);
    z-index: 1040;
}

/* ✅ panel: header sabit + body scroll */
.hb-ie__panel {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: min(760px, 96vw);
    background: var(--bs-body-bg);
    z-index: 1045;
    transform: translateX(102%);
    transition: transform .18s ease;
    display: flex;
    flex-direction: column;
    border-left: 1px solid rgba(0,0,0,.08);
}

    .hb-ie__panel.is-open {
        transform: translateX(0);
    }

.hb-ie__panelhdr {
    flex: 0 0 auto;
    padding: 16px 16px 14px 16px;
    background: rgba(255,255,255,.92);
    backdrop-filter: saturate(1.3) blur(6px);
}

.hb-ie__panelbody {
    flex: 1 1 auto;
    overflow-y: auto; /* ✅ dikey kaydırma */
    padding: 16px;
}

    /* scrollbar görünümü (isteğe bağlı) */
    .hb-ie__panelbody::-webkit-scrollbar {
        width: 10px;
    }

    .hb-ie__panelbody::-webkit-scrollbar-thumb {
        background: rgba(15,23,42,.18);
        border-radius: 10px;
    }

    .hb-ie__panelbody::-webkit-scrollbar-track {
        background: transparent;
    }

.hb-inline-edit-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 9999;
}