/* =============================================
   POPÜLER HİZMETLER
   Kart stilleri: assets/css/dropdown.css (.service-card)
   ============================================= */

.popular-services {
    padding: 1rem 0 1.5rem;
    background-color: var(--color-background);
}

.popular-services__header {
    max-width: 52rem;
    margin: 0 auto 2.25rem;
    text-align: center;
}

.popular-services__title {
    font-size: clamp(1.375rem, 2.2vw, 1.75rem);
    font-weight: 800;
    line-height: 1.25;
    letter-spacing: -0.03em;
    color: #0f172a;
    margin-bottom: 0.875rem;
}

.popular-services__title-accent {
    color: #3566df;
}

.popular-services__desc {
    font-size: clamp(0.9375rem, 1.1vw, 1.0625rem);
    line-height: 1.7;
    color: #64748b;
    max-width: 55rem;
    margin: 0 auto;
}

.popular-services__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.75rem;
}

/* Tek tip kart ikonu: açık zemin + platform rengi (gradient override) */
.popular-services .service-card .service-card__icon {
    background: var(--brand-bg, color-mix(in srgb, var(--brand-color) 14%, #ffffff));
    color: var(--brand-color);
}

.popular-services .service-card:hover .service-card__icon {
    background: color-mix(in srgb, var(--brand-color) 20%, #ffffff);
    color: var(--brand-color);
}

.popular-services__empty {
    padding: 2.5rem 1rem;
    border-radius: 16px;
    border: 1px dashed rgba(15, 23, 42, 0.12);
    background: #fff;
    color: #64748b;
    text-align: center;
    font-size: 0.9375rem;
}

.popular-services__footer {
    display: flex;
    justify-content: center;
    margin-top: 2.25rem;
}

.popular-services__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    padding: 0.75rem 1.5rem;
    border-radius: 999px;
    background: linear-gradient(180deg, #3566df 0%, #6c8ceb 100%);
    color: #ffffff;
    font-size: 0.9375rem;
    font-weight: 600;
    box-shadow: 0 4px 14px rgba(53, 102, 223, 0.35);
    transition: transform 0.2s ease, filter 0.2s ease, box-shadow 0.2s ease;
}

.popular-services__cta svg {
    width: 15px;
    height: 15px;
}

.popular-services__cta:hover {
    transform: translateY(-1px);
    filter: brightness(1.08);
    box-shadow: 0 6px 18px rgba(53, 102, 223, 0.45);
}

@media (max-width: 767.98px) {
    .popular-services {
        padding: 0.75rem 0 1.25rem;
    }

    .popular-services .container {
        width: 100%;
        max-width: 100%;
        padding-inline: var(--container-padding);
    }

    .popular-services__header {
        margin-bottom: 1.35rem;
    }

    .popular-services__title {
        font-size: 1.2rem;
        margin-bottom: 0.65rem;
    }

    .popular-services__desc {
        font-size: 0.8125rem;
        line-height: 1.55;
    }

    .popular-services__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 0.6rem;
    }

    .popular-services .service-card {
        min-height: 6.75rem;
        padding: 0.65rem 0.4rem 0.55rem;
        gap: 0.4rem;
        border-radius: 14px;
    }

    .popular-services .service-card__icon {
        width: 2.35rem;
        height: 2.35rem;
        border-radius: 10px;
        font-size: 1.15rem;
    }

    .popular-services .service-card__icon i,
    .popular-services .service-card__icon svg,
    .popular-services .service-card__icon [class^="ri-"],
    .popular-services .service-card__icon [class*=" ri-"] {
        font-size: 1.15rem;
    }

    .popular-services .service-card__name {
        font-size: 0.6875rem;
    }

    .popular-services .service-card__label {
        font-size: 0.5625rem;
        padding: 0.1rem 0.35rem;
    }

    .popular-services__footer {
        margin-top: 1.35rem;
    }

    .popular-services__cta {
        padding: 0.65rem 1.15rem;
        font-size: 0.8125rem;
    }
}

@media (min-width: 576px) {
    .popular-services__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 1rem;
    }
}

@media (min-width: 768px) {
    .popular-services {
        padding: 1.25rem 0 2rem;
    }

    .popular-services__header {
        margin-bottom: 2.5rem;
    }

    .popular-services__grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 1rem;
    }
}

@media (min-width: 992px) {
    .popular-services__grid {
        grid-template-columns: repeat(6, minmax(0, 1fr));
        gap: 1.125rem;
    }
}
