/**
 * Ana sayfa — Platformdaki Veterinerler altı: veteriner bul promo + harita
 */

.vet-bul-promo {
    padding-top: 48px;
    padding-bottom: 48px;
}

.vet-bul-promo-container {
    max-width: 1200px;
    margin: 0 auto;
}

.vet-bul-promo-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    align-items: stretch;
}

/* İki ayrı kart: sol daha dar, sağ geniş */
.vet-bul-promo-kutu {
    background-image: linear-gradient(180deg, #F919420D 0%, #F8FAFC 100%);
    border-radius: 6px;
    padding: 28px 24px 32px;
    border: 1px solid var(--neutral-150, #e8e8ec);
}

.vet-bul-promo-kutu--sol {
    max-width: 100%;
}

.vet-bul-promo-kutu--sag {
    min-width: 0;
}

.vet-bul-promo-baslik {
    font-size: 26px;
    font-weight: 400;
    color: var(--primary-500);
    margin: 0 0 12px;
    line-height: 1.25;
    text-align: center;
}

.vet-bul-promo-metin {
    font-size: 15px;
    line-height: 1.6;
    color: var(--neutral-700);
    margin: 0 0 24px;
    text-align: center;
}

/* Dikey adımlar: çizgi ortada arkada, kutular hafif çapraz */
.vet-bul-adimlar {
    list-style: none;
    margin: 0 auto 28px;
    padding: 12px 20px 16px;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 100%;
}

.vet-bul-adimlar::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 32px;
    bottom: 32px;
    z-index: 0;
    width: 0;
    border-left: 2px dashed var(--neutral-300, #d4d4d8);
}

.vet-bul-adim {
    position: relative;
    z-index: 1;
    padding: 0 0 20px;
    margin: 0;
    display: flex;
    justify-content: center;
    width: 100%;
}

.vet-bul-adim:last-child {
    padding-bottom: 0;
}

.vet-bul-adim-rozet {
    position: relative;
    z-index: 1;
    display: inline-block;
    padding: 12px 20px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.3;
    box-sizing: border-box;
    transition: transform 0.2s ease;
}

.vet-bul-adim--1 .vet-bul-adim-rozet {
    background: #fff9e6;
    color: #6b5a1e;
    border: 1px solid #e6cf7a;
    transform: rotate(-3deg);
}

.vet-bul-adim--2 .vet-bul-adim-rozet {
    background: #fce8f0;
    color: #8b2d5c;
    border: 1px solid #e8a8c4;
    transform: rotate(2.5deg);
}

.vet-bul-adim--3 .vet-bul-adim-rozet {
    background: #e6f7ef;
    color: #1d6b45;
    border: 1px solid #8fd4ae;
    transform: rotate(-2deg);
}

.vet-bul-adim--4 .vet-bul-adim-rozet {
    background: #e8f2fc;
    color: #1e5a8c;
    border: 1px solid #9cc4eb;
    transform: rotate(2.8deg);
}

.vet-bul-promo-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
    padding: 8px 24px;
    background: var(--primary-500);
    color: #fff;
    font-weight: 700;
    font-size: 13px;
    border-radius: 999px;
    text-decoration: none;
    transition: var(--transition, transform 0.2s ease, box-shadow 0.2s ease);

}

.vet-bul-promo-cta:hover {
    background: var(--primary-600);
    transform: translateY(-2px);
    box-shadow: 0 6px 22px rgba(243, 18, 61, 0.4);
}

/* Harita (sağ kutunun içinde) */

.vet-bul-harita {
    position: relative;
    width: 100%;
    min-height: 335px;
    max-height: 480px;
    background-image: url('../../img/veteriner-bul-harita-bg.webp');
    background-repeat: no-repeat;
    background-size: contain;
    overflow: visible;
}

.vet-bul-pin {
    position: absolute;
    z-index: 2;
    width: 40px;
    height: 40px;
    margin: 0;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: var(--primary-500);
    color: #fff;
    cursor: default;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translate(-50%, -50%);
    box-shadow: 0 2px 14px rgba(243, 18, 61, 0.45);
    animation: vetBulPinPulse 2.6s ease-in-out infinite;
}

.vet-bul-pin-sayi {
    font-size: 14px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.02em;
}

.vet-bul-pin:nth-child(1) {
    animation-delay: 0s;
}

.vet-bul-pin:nth-child(2) {
    animation-delay: 0.35s;
}

.vet-bul-pin:nth-child(3) {
    animation-delay: 0.7s;
}

.vet-bul-pin:nth-child(4) {
    animation-delay: 1.05s;
}

.vet-bul-pin:nth-child(5) {
    animation-delay: 1.4s;
}

.vet-bul-pin:nth-child(6) {
    animation-delay: 1.75s;
}

.vet-bul-pin:hover {
    animation-play-state: paused;
    transform: translate(-50%, -50%) scale(1.12);
    box-shadow: 0 4px 22px rgba(243, 18, 61, 0.55);
}

@keyframes vetBulPinPulse {
    0%,
    100% {
        transform: translate(-50%, -50%) scale(1);
        box-shadow: 0 2px 14px rgba(243, 18, 61, 0.42);
    }

    50% {
        transform: translate(-50%, -50%) scale(1.1);
        box-shadow: 0 5px 22px rgba(243, 18, 61, 0.55);
    }
}

@media (min-width: 961px) {
    .vet-bul-promo-grid {
        grid-template-columns: minmax(260px, 32%) minmax(0, 1fr);
        gap: 24px 28px;
    }
}

@media (max-width: 960px) {
    .vet-bul-harita {
        max-height: 380px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .vet-bul-pin {
        animation: none;
    }

    .vet-bul-adim--1 .vet-bul-adim-rozet,
    .vet-bul-adim--2 .vet-bul-adim-rozet,
    .vet-bul-adim--3 .vet-bul-adim-rozet,
    .vet-bul-adim--4 .vet-bul-adim-rozet {
        transform: none;
    }
}

@media (max-width: 520px) {
    .vet-bul-promo {
        padding: 40px 16px 56px;
    }

    .vet-bul-promo-baslik {
        font-size: 22px;
    }

    .vet-bul-pin {
        width: 34px;
        height: 34px;
    }

    .vet-bul-pin-sayi {
        font-size: 12px;
    }
}


.populer-vet-bolum {
    padding: 48px 24px 72px;
}

.populer-vet-container {
    max-width: 1200px;
    margin: 0 auto;
}

.populer-vet-baslik-wrap {
    text-align: center;
    margin-bottom: 28px;
}

.populer-vet-baslik {
    margin: 0 0 6px;
    font-size: 28px;
    font-weight: 700;
    color: var(--neutral-900, #1a1a1a);
    line-height: 1.2;
}

.populer-vet-alt {
    margin: 0;
    font-size: 15px;
    color: var(--neutral-600, #64748b);
}

.populer-vet-satir {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 16px;
    align-items: stretch;
}

.populer-vet-kart {
    min-width: 0;
    border-radius: 6px;
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--neutral-150, #e8e8ec);
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        border-color 0.2s ease;
}

.populer-vet-kart:hover {
    transform: translateY(-3px);
    border-color: var(--primary-500, #f3123d);
}

.populer-vet-kart-link {
    display: flex;
    flex-direction: column;
    height: 100%;
    text-decoration: none;
    color: inherit;
}

.populer-vet-kart-gorsel {
    position: relative;
    aspect-ratio: 4 / 3;
    background: var(--neutral-100, #f1f5f9);
    overflow: hidden;
    flex-shrink: 0;
}

.populer-vet-kart-gorsel img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.populer-vet-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--neutral-300, #cbd5e1);
    font-size: 2rem;
}

.populer-vet-rozet {
    position: absolute;
    top: 8px;
    left: 8px;
    z-index: 2;
    font-size: 9px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 4px 7px;
    border-radius: 999px;
    pointer-events: none;
}

.populer-vet-rozet--sponsor {
    background: var(--primary-500, #f3123d);
    color: #fff;
}

.populer-vet-dogrulandi {
    position: absolute;
    bottom: 8px;
    left: 8px;
    z-index: 2;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    color: #0abb75;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
    pointer-events: none;
}

.populer-vet-kart-govde {
    padding: 12px 14px 14px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1;
    min-height: 0;
}

.populer-vet-kart-ust {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 8px;
}

.populer-vet-kart-baslik {
    margin: 0;
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.3;
    color: var(--neutral-900, #1a1a1a);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-width: 0;
}

.populer-vet-durum {
    flex-shrink: 0;
    font-size: 10px;
    font-weight: 800;
    padding: 3px 7px;
    border-radius: 6px;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.populer-vet-durum.acik {
    background: #e9f8e7;
    color: #1b5e20;
}

.populer-vet-durum.kapali {
    background: #fff3f5;
    color: #c62828;
}

.populer-vet-hekim {
    margin: 0;
    font-size: 0.8rem;
    color: var(--neutral-600, #64748b);
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.populer-vet-puan {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 4px;
    font-size: 0.82rem;
}

.populer-vet-yildiz {
    color: #f5a623;
    line-height: 1;
}

.populer-vet-yildiz i {
    font-size: 0.85rem;
}

.populer-vet-puan-deger {
    font-weight: 700;
    color: var(--neutral-900, #1a1a1a);
}

.populer-vet-puan-adet {
    color: var(--neutral-500, #94a3b8);
}

.populer-vet-puan-yok {
    color: var(--neutral-500, #94a3b8);
    font-size: 0.8rem;
}

.populer-vet-konum {
    margin: 4px 0 0;
    font-size: 0.78rem;
    color: var(--neutral-600, #64748b);
    display: flex;
    align-items: flex-start;
    gap: 4px;
    line-height: 1.35;
}

.populer-vet-konum i {
    flex-shrink: 0;
    margin-top: 2px;
    color: var(--primary-500, #f3123d);
    font-size: 0.85rem;
}

@media (max-width: 1024px) {
    .populer-vet-satir {
        display: flex;
        flex-wrap: nowrap;
        gap: 14px;
        overflow-x: auto;
        padding: 4px 2px 12px;
        margin: 0 -6px;
        padding-left: 6px;
        padding-right: 6px;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
    }

    .populer-vet-kart {
        flex: 0 0 min(220px, 78vw);
        max-width: min(220px, 78vw);
        scroll-snap-align: start;
    }
}

@media (max-width: 520px) {
    .populer-vet-bolum {
        padding: 36px 16px 56px;
    }

    .populer-vet-baslik {
        font-size: 22px;
    }

    .populer-vet-alt {
        font-size: 14px;
    }
}
