/* Anasayfa hizmetler — Adgrey */
.home-services {
    --hs-bg: #1a1230;
    --hs-deep: #30205a;
    --hs-accent: var(--pembe, #b91f8e);
    --hs-text: rgba(255, 255, 255, 0.94);
    --hs-muted: rgba(255, 255, 255, 0.62);
    --hs-line: rgba(255, 255, 255, 0.1);
    --hs-surface: rgba(255, 255, 255, 0.05);
    position: relative;
    padding: 3.5rem 0 3.75rem;
    color: var(--hs-text);
    background:
        radial-gradient(ellipse 55% 60% at 0% 0%, rgba(185, 31, 142, 0.22), transparent 55%),
        radial-gradient(ellipse 45% 50% at 100% 100%, rgba(48, 32, 90, 0.65), transparent 50%),
        linear-gradient(180deg, #24183d 0%, var(--hs-bg) 100%);
    overflow: hidden;
}

.home-services::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(185, 31, 142, 0.5), transparent);
    pointer-events: none;
}

.home-services-head-wrap {
    position: relative;
    z-index: 2;
}

.home-services-head {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 42rem;
    margin: 0 auto 2.25rem;
}

.home-services-track {
    width: 100% !important;
    max-width: 100% !important;
    position: relative;
    z-index: 1;
    padding-left: 1.25rem;
    padding-right: 1.25rem;
}

@media (min-width: 1200px) {
    .home-services-track {
        padding-left: 2rem;
        padding-right: 2rem;
    }
}

.home-services-eyebrow {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--hs-accent);
    margin-bottom: 0.55rem;
}

.home-services-title {
    margin: 0 0 0.75rem;
    font-size: clamp(1.75rem, 3.5vw, 2.35rem);
    font-weight: 700;
    color: #fff;
    letter-spacing: -0.03em;
    line-height: 1.15;
}

.home-services-lead {
    margin: 0;
    font-size: 1.02rem;
    line-height: 1.55;
    color: var(--hs-muted);
}

.home-services-carousel {
    position: relative;
    z-index: 1;
    width: 100%;
}

.home-services-carousel .owl-stage {
    display: flex;
    align-items: stretch;
}

.home-services-carousel .owl-item {
    display: flex;
    height: auto;
}

.home-services-card {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    width: 100%;
    height: 100%;
    min-height: 100%;
    margin: 0.35rem 0.2rem 1rem;
    padding: 1.5rem 1.35rem 1.35rem;
    background: var(--hs-surface);
    border: 1px solid var(--hs-line);
    border-radius: 18px;
    text-decoration: none !important;
    color: inherit;
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
                background 0.25s ease,
                border-color 0.25s ease,
                box-shadow 0.35s ease;
}

.home-services-card:hover {
    transform: translateY(-6px);
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(185, 31, 142, 0.45);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
    text-decoration: none !important;
    color: inherit;
}

.home-services-icon {
    width: 3.25rem;
    height: 3.25rem;
    margin-bottom: 1.15rem;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(185, 31, 142, 0.14);
    border: 1px solid rgba(185, 31, 142, 0.28);
}

.home-services-icon img {
    width: 1.85rem;
    height: 1.85rem;
    object-fit: contain;
    display: block;
    filter: brightness(0) invert(1);
    opacity: 0.95;
}

.home-services-card-title {
    margin: 0 0 0.7rem;
    font-size: 1.15rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: -0.02em;
    line-height: 1.25;
}

.home-services-card-text {
    margin: 0;
    flex: 1 1 auto;
    font-size: 0.92rem;
    line-height: 1.55;
    color: var(--hs-muted);
}

.home-services-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    margin-top: auto;
    padding-top: 1.25rem;
    font-size: 0.85rem;
    font-weight: 700;
    color: #fff;
    transition: gap 0.25s ease, color 0.2s ease;
}

.home-services-card:hover .home-services-cta {
    color: var(--hs-accent);
    gap: 0.65rem;
}

.home-services-cta-icon {
    width: 1.85rem;
    height: 1.85rem;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.16);
    transition: background 0.2s ease, border-color 0.2s ease;
}

.home-services-card:hover .home-services-cta-icon {
    background: var(--hs-accent);
    border-color: var(--hs-accent);
}

.home-services-cta-icon svg {
    width: 12px;
    height: 12px;
}

.home-services-carousel .owl-nav {
    margin: 0;
}

.home-services-carousel .owl-nav button.owl-prev,
.home-services-carousel .owl-nav button.owl-next {
    position: absolute;
    top: 42%;
    transform: translateY(-50%);
    margin: 0;
    padding: 0 !important;
    background: transparent !important;
    border: 0 !important;
    outline: none !important;
    box-shadow: none !important;
    z-index: 3;
}

.home-services-carousel .owl-nav button.owl-prev { left: -6px; }
.home-services-carousel .owl-nav button.owl-next { right: -6px; }

.home-services-nav-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(6px);
    transition: background 0.2s ease, border-color 0.2s ease;
}

.home-services-carousel .owl-nav button:hover .home-services-nav-btn {
    background: var(--hs-accent);
    border-color: var(--hs-accent);
}

.home-services-carousel .owl-dots {
    margin-top: 0.35rem;
    text-align: center;
}

.home-services-carousel .owl-dots .owl-dot span {
    width: 8px;
    height: 8px;
    margin: 4px;
    background: rgba(255, 255, 255, 0.25);
    transition: background 0.2s ease, width 0.2s ease;
}

.home-services-carousel .owl-dots .owl-dot.active span,
.home-services-carousel .owl-dots .owl-dot:hover span {
    background: var(--hs-accent);
    width: 18px;
    border-radius: 999px;
}

.home-services-carousel .owl-stage-outer {
    overflow: hidden;
}

@media (max-width: 991.98px) {
    .home-services-carousel .owl-nav button.owl-prev { left: 2px; }
    .home-services-carousel .owl-nav button.owl-next { right: 2px; }
}

@media (max-width: 575.98px) {
    .home-services {
        padding: 2.75rem 0 3rem;
    }

    .home-services-carousel .owl-nav {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .home-services-card,
    .home-services-cta {
        transition: none;
    }
}
