﻿/* ------------------------------
               HERO / GENERAL UI
            ------------------------------ */
.hero-logo {
    width: clamp(220px, 40vw, 450px);
    height: auto;
}

.hero-title {
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    letter-spacing: -0.2px;
}

.hero-sub {
    max-width: 820px;
    margin: 0 auto;
}

.fade-up {
    opacity: 0;
    transform: translateY(10px);
    animation: fadeUp .55s ease forwards;
}

    .fade-up.d2 {
        animation-delay: .08s;
    }

    .fade-up.d3 {
        animation-delay: .16s;
    }

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.card-hover {
    transition: transform .18s ease, box-shadow .18s ease;
}

    .card-hover:hover {
        transform: translateY(-3px);
        box-shadow: 0 10px 28px rgba(0,0,0,.10);
    }

/* ------------------------------
               SEARCH HERO
            ------------------------------ */
.search-hero {
    margin-top: 10px;
}

.search-hero-card {
    background: #fff;
    border: 1px solid rgba(13,110,253,.22) !important;
    border-radius: 20px;
    box-shadow: 0 18px 60px rgba(13,110,253,.18), 0 10px 30px rgba(0,0,0,.08) !important;
    padding: 16px;
    position: relative;
    overflow: hidden;
    animation: searchPulse 650ms ease-out 1;
}

    .search-hero-card::before {
        content: "";
        position: absolute;
        inset: -40px;
        background: radial-gradient(circle at 30% 20%, rgba(13,110,253,.18), transparent 55%);
        pointer-events: none;
    }

@keyframes searchPulse {
    0% {
        transform: translateY(6px);
        opacity: .90;
    }

    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

.search-input-wrap {
    position: relative;
}

.search-input-icon {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 18px;
    opacity: .75;
    pointer-events: none;
}

#searchBox.search-hero-input {
    height: 66px;
    border-radius: 999px;
    padding-left: 52px;
    padding-right: 118px;
    font-size: 1.15rem;
    border: 2px solid rgba(13,110,253,.20);
    box-shadow: 0 10px 26px rgba(13,110,253,.10);
}

    #searchBox.search-hero-input:focus {
        border-color: rgba(13,110,253,.55);
        box-shadow: 0 0 0 .25rem rgba(13,110,253,.16);
    }

.search-btn {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    height: 52px;
    padding: 0 18px;
    border-radius: 999px;
    border: 0;
    font-weight: 800;
    box-shadow: 0 10px 22px rgba(13,110,253,.20);
    background: linear-gradient(135deg, #0d6efd, #0b5ed7);
}

    .search-btn:active {
        transform: translateY(-50%) scale(.98);
    }

    .search-btn:hover {
        filter: brightness(1.03);
    }

#searchResults {
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(0,0,0,.08);
    box-shadow: 0 18px 44px rgba(0,0,0,.14);
}

.ac-item {
    transition: background .12s ease;
}

    .ac-item:hover {
        background: #f8f9fa;
    }

    .ac-item.active, .ac-item[aria-selected="true"] {
        background: rgba(13,110,253,.08);
    }

/* Chip görünümünü sadeleştir */
.bb-chip {
    border: 1px solid rgba(13,110,253,.18);
    background: rgba(13,110,253,.06);
    color: rgba(13,110,253,.95);
    padding: 6px 10px;
    border-radius: 999px;
    font-size: .85rem;
    line-height: 1;
    box-shadow: none;
    text-decoration: none;
    font-weight: 800;
    display: inline-block;
}

    .bb-chip:hover {
        background: rgba(13,110,253,.10);
    }

    .bb-chip.muted {
        border-color: rgba(0,0,0,.08);
        background: rgba(0,0,0,.03);
        color: rgba(0,0,0,.62);
    }

.bb-pop-row {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 4px;
    -webkit-overflow-scrolling: touch;
}

    .bb-pop-row::-webkit-scrollbar {
        height: 6px;
    }

    .bb-pop-row::-webkit-scrollbar-thumb {
        border-radius: 999px;
    }

.bb-pop-ico {
    width: 34px;
    height: 34px;
    border-radius: 999px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(0,0,0,.06);
    background: rgba(0,0,0,.03);
    flex: 0 0 auto;
}

/* ------------------------------
               STATS
            ------------------------------ */
.bb-stats {
    margin-top: 12px;
}

.bb-stats-wrap {
    background: #fff;
    border: 1px solid rgba(0,0,0,.06);
    box-shadow: 0 10px 24px rgba(0,0,0,.06);
    border-radius: 16px;
}

.bb-stat-card {
    height: 72px;
    border-radius: 16px;
    background: #fff;
    border: 1px solid rgba(0,0,0,.06);
    box-shadow: 0 10px 26px rgba(0,0,0,.06);
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 9px 11px;
}

.bb-stat-ico {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    font-size: 22px;
    background: rgba(13,110,253,.10);
    border: 1px solid rgba(13,110,253,.18);
}

    .bb-stat-ico.city {
        background: rgba(25,135,84,.10);
        border-color: rgba(25,135,84,.18);
    }

    .bb-stat-ico.sector {
        background: rgba(255,193,7,.14);
        border-color: rgba(255,193,7,.22);
    }

.bb-stat-num {
    font-weight: 900;
    letter-spacing: -.2px;
    line-height: 1;
    font-size: 26px;
}

.bb-stat-label {
    font-size: 12.5px;
    color: rgba(0,0,0,.60);
    margin-top: 4px;
}

/* ------------------------------
               BUSINESS STRIP (NEW)
            ------------------------------ */
.bb-biz-hero {
    border-radius: 22px;
    background: linear-gradient(135deg, rgba(13,110,253,.14), rgba(13,110,253,.04));
    border: 1px solid rgba(13,110,253,.14);
    box-shadow: 0 18px 44px rgba(0,0,0,.08);
    position: relative;
    overflow: hidden;
}

    .bb-biz-hero::before {
        content: "";
        position: absolute;
        inset: -80px;
        background: radial-gradient(circle at 15% 30%, rgba(13,110,253,.22), transparent 60%);
        pointer-events: none;
    }

.bb-biz-title {
    font-weight: 900;
    letter-spacing: -.3px;
    font-size: clamp(1.25rem, 2.2vw, 1.8rem);
    margin: 0;
}

.bb-biz-sub {
    color: rgba(0,0,0,.62);
    max-width: 900px;
    margin: 0;
}

.bb-biz-pills {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 10px;
}

.bb-pill {
    border-radius: 999px;
    padding: 7px 10px;
    font-weight: 900;
    font-size: .82rem;
    border: 1px solid rgba(0,0,0,.08);
    background: rgba(255,255,255,.70);
    backdrop-filter: blur(6px);
    display: inline-flex;
    gap: 8px;
    align-items: center;
}

.bb-steps .step {
    border-radius: 16px;
    border: 1px solid rgba(0,0,0,.06);
    background: rgba(255,255,255,.78);
    box-shadow: 0 10px 24px rgba(0,0,0,.06);
    padding: 14px;
    height: 100%;
}

.bb-steps .step-no {
    width: 34px;
    height: 34px;
    border-radius: 999px;
    display: grid;
    place-items: center;
    font-weight: 900;
    background: rgba(13,110,253,.12);
    border: 1px solid rgba(13,110,253,.18);
    flex: 0 0 auto;
}

.bb-steps .step-title {
    font-weight: 900;
    margin: 0;
}

.bb-steps .step-sub {
    color: rgba(0,0,0,.62);
    margin: 4px 0 0 0;
    font-size: .92rem;
}

/* ------------------------------
               DISCOVER CHIPS
            ------------------------------ */
.chip-btn {
    border: 1px solid #dee2e6;
    background: #f8f9fa;
    padding: 7px 14px;
    border-radius: 999px;
    font-size: .92rem;
    cursor: pointer;
    transition: transform .12s ease, background .12s ease, border-color .12s ease, color .12s ease;
    user-select: none;
}

    .chip-btn:hover {
        transform: translateY(-1px);
    }

    .chip-btn.active {
        background: #0d6efd;
        color: #fff;
        border-color: #0d6efd;
        font-weight: 700;
    }

#discoverCarousel .carousel-indicators {
    display: none !important;
}

/* ------------------------------
               ADS
            ------------------------------ */
.ad-slot {
    border: 1px solid #eef0f3;
    border-radius: 16px;
    background: #fff;
}

.ad-badge {
    font-size: .72rem;
    padding: 4px 10px;
    border-radius: 999px;
    border: 1px solid #dee2e6;
    background: #f8f9fa;
}

    .ad-badge.sponsor {
        border-color: rgba(13,110,253,.25);
        background: rgba(13,110,253,.08);
        color: #0d6efd;
        font-weight: 800;
    }

.ad-link {
    text-decoration: none;
}

    .ad-link:hover .ad-slot {
        box-shadow: 0 10px 28px rgba(0,0,0,.10);
        transform: translateY(-2px);
        transition: transform .15s ease, box-shadow .15s ease;
    }

/* ------------------------------
               RESPONSIVE
            ------------------------------ */
@media (prefers-reduced-motion: reduce) {
    .fade-up {
        animation: none;
        opacity: 1;
        transform: none;
    }

    .card-hover, .chip-btn {
        transition: none;
    }
}

@media (max-width: 767.98px) {
    .container.mb-5 {
        padding-bottom: 90px;
    }

    #searchResults {
        position: absolute;
        left: 0;
        right: 0;
        max-height: 55vh;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    .search-hero-card {
        padding: 14px;
        border-radius: 18px;
    }

    #searchBox.search-hero-input {
        height: 62px;
        font-size: 1.05rem;
    }

    .search-hero {
        position: sticky;
        top: 10px;
        z-index: 1100;
    }

    .search-sticky {
        position: sticky;
        top: 10px;
        z-index: 1100;
    }

    .bb-stats-scroll {
        display: flex;
        gap: 12px;
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-bottom: 6px;
        -webkit-overflow-scrolling: touch;
    }

        .bb-stats-scroll::-webkit-scrollbar {
            display: none;
        }

        .bb-stats-scroll .bb-stat-card {
            min-width: 240px;
            flex: 0 0 auto;
            height: auto;
        }

    .bb-stats-hint {
        font-size: 11.5px;
        color: rgba(0,0,0,.55);
        text-align: center;
        margin-top: 6px;
    }
}

/* ===============================
           FLOATING ACTION BUTTONS (Pro+)
        =================================*/
.bb-fab {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 3000;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.bb-fab-item {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.bb-fab-btn {
    width: 52px;
    height: 52px;
    border-radius: 999px;
    display: grid;
    place-items: center;
    border: 0;
    color: #fff;
    font-size: 20px;
    font-weight: 900;
    cursor: pointer;
    box-shadow: 0 14px 34px rgba(0,0,0,.28);
    transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
    position: relative;
    outline: none;
}

    .bb-fab-btn:hover {
        transform: translateY(-3px) scale(1.05);
        box-shadow: 0 20px 48px rgba(0,0,0,.35);
        filter: brightness(1.05);
    }

    .bb-fab-btn:active {
        transform: translateY(0) scale(.98);
    }

.bb-fab-label {
    position: absolute;
    right: 66px;
    background: #111;
    color: #fff;
    padding: 8px 14px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 800;
    white-space: nowrap;
    opacity: 0;
    transform: translateX(10px);
    transition: all .18s ease;
    pointer-events: none;
    box-shadow: 0 10px 24px rgba(0,0,0,.25);
}

.bb-fab-item:hover .bb-fab-label {
    opacity: 1;
    transform: translateX(0);
}

.bb-fab-badge {
    position: absolute;
    top: -7px;
    right: -8px;
    background: #ff3b30;
    color: #fff;
    font-size: 10.5px;
    font-weight: 900;
    padding: 5px 8px;
    border-radius: 999px;
    border: 2px solid #fff;
    box-shadow: 0 10px 20px rgba(0,0,0,.25);
    line-height: 1;
}

.fab-wa {
    background: linear-gradient(135deg, #25D366, #1FA855);
}

.fab-mail {
    background: linear-gradient(135deg, #0d6efd, #0b5ed7);
}

.fab-ig {
    background: radial-gradient(circle at 30% 30%, #ffd776 0%, #f56040 28%, #fd1d1d 55%, #c13584 78%, #5851db 100%);
}

.fab-top {
    background: linear-gradient(135deg, #0d6efd, #0b5ed7);
}

.bb-fab-hide {
    display: none;
}

@keyframes bbPulse {
    0% {
        box-shadow: 0 14px 34px rgba(0,0,0,.28), 0 0 0 0 rgba(37,211,102,.40);
    }

    70% {
        box-shadow: 0 14px 34px rgba(0,0,0,.28), 0 0 0 14px rgba(37,211,102,0);
    }

    100% {
        box-shadow: 0 14px 34px rgba(0,0,0,.28), 0 0 0 0 rgba(37,211,102,0);
    }
}

.bb-pulse {
    animation: bbPulse 2.2s ease-out infinite;
}

@keyframes bbGlow {
    0% {
        filter: drop-shadow(0 0 0 rgba(193,53,132,0));
    }

    50% {
        filter: drop-shadow(0 10px 18px rgba(193,53,132,.25));
    }

    100% {
        filter: drop-shadow(0 0 0 rgba(193,53,132,0));
    }
}

.bb-glow {
    animation: bbGlow 2.8s ease-in-out infinite;
}

@keyframes bbNudge {
    0% {
        transform: translateX(0);
    }

    15% {
        transform: translateX(-3px);
    }

    30% {
        transform: translateX(3px);
    }

    45% {
        transform: translateX(-2px);
    }

    60% {
        transform: translateX(2px);
    }

    75% {
        transform: translateX(-1px);
    }

    100% {
        transform: translateX(0);
    }
}

.bb-fab.bb-attn {
    animation: bbNudge .65s ease-in-out 1;
}

    .bb-fab.bb-attn .bb-fab-btn {
        animation: bbPulse 1.6s ease-out 2;
    }

@media (prefers-reduced-motion: reduce) {
    .bb-pulse, .bb-glow, .bb-fab.bb-attn, .bb-fab.bb-attn .bb-fab-btn {
        animation: none !important;
    }
}

@media (max-width: 768px) {
    .bb-fab-label {
        display: none;
    }

    .bb-fab-btn {
        width: 42px;
        height: 42px;
        font-size: 16px;
        box-shadow: 0 10px 22px rgba(0,0,0,.22);
    }

    .bb-fab-badge {
        font-size: 9px;
        padding: 3px 6px;
        top: -5px;
        right: -6px;
    }
}

@media (max-width: 767.98px) {
    .bb-fab {
        right: 12px;
        bottom: 12px;
        gap: 8px;
    }

        .bb-fab a, .bb-fab button {
            width: 38px;
            height: 38px;
            font-size: 18px;
        }
}

.bb-contact-card {
    border-radius: 18px;
    border: 1px solid rgba(13,110,253,.14);
    box-shadow: 0 18px 44px rgba(0,0,0,.10);
    overflow: hidden;
}

.bb-contact-head {
    background: linear-gradient(135deg, rgba(13,110,253,.14), rgba(13,110,253,.04));
    border-bottom: 1px solid rgba(13,110,253,.14);
}

.bb-contact-title {
    font-weight: 900;
    letter-spacing: -.2px;
}

.bb-contact-actions .btn {
    border-radius: 999px;
    font-weight: 800;
}

