/* home page styles */
.trust-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    align-items: stretch;
}

.service-card {
    min-width: 0;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.service-image {
    position: relative;
    width: 100%;
}

.service-image > a {
    display: block;
    width: 100%;
    height: 100%;
}

.service-content {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.service-content h3 {
    width: 100%;
    margin: 0 0 14px;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-top: auto;
    text-decoration: none;
}

.service-link svg {
    flex: 0 0 15px;
    width: 15px;
    height: 15px;
}

#hizmetler {
    padding-block: clamp(56px, 6vw, 88px);
}

@media (max-width: 980px) {
    .services-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    .trust-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .trust-item:nth-child(2) {
        border-right: 0 !important;
    }

    .trust-item:nth-child(-n + 2) {
        border-bottom: 1px solid #e5e6e9 !important;
    }
}

@media (max-width: 560px) {
    .services-grid {
        grid-template-columns: 1fr;
        gap: 16px !important;
    }

    .service-card {
        display: grid;
        grid-template-columns: minmax(132px, 42%) 1fr;
    }

    .service-image {
        height: 100%;
        min-height: 154px;
        aspect-ratio: auto;
    }

    .service-content {
        justify-content: center;
        padding: 18px 16px !important;
    }

    .service-content h3 {
        min-height: 0;
        font-size: 13px !important;
        line-height: 1.35;
    }
}

.hero-slider .slide {
        z-index: 0 !important;
        opacity: 0 !important;
        visibility: hidden !important;
        pointer-events: none !important;
        will-change: opacity;
        transition: opacity .68s cubic-bezier(.22, .61, .36, 1), visibility 0s linear .68s !important;
    }
    .hero-slider .slide.active {
        z-index: 2 !important;
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
        transition: opacity .68s cubic-bezier(.22, .61, .36, 1), visibility 0s linear 0s !important;
    }
    .hero-slider .slide img,
    .hero-slider .slide.active img {
        transform: none !important;
        backface-visibility: hidden;
    }
    .hero-slider {
        width: 100% !important;
        height: auto !important;
        min-height: 0 !important;
        max-height: none !important;
        aspect-ratio: 2172 / 724;
        background: #0d0e11;
        contain: layout paint;
    }
    .hero-slider .slider-wrapper,
    .hero-slider .slide,
    .hero-slider .slide a {
        width: 100% !important;
        height: 100% !important;
    }
    .hero-slider .slide img {
        width: 100% !important;
        height: 100% !important;
        object-fit: contain !important;
        object-position: center center !important;
    }
    .hero-slider .slider-arrow {
        position: absolute !important;
        top: 50% !important;
        z-index: 12 !important;
        display: grid !important;
        place-items: center;
        width: 56px !important;
        height: 56px !important;
        padding: 0 !important;
        color: #fff !important;
        border-radius: 50% !important;
        background: radial-gradient(circle at 34% 24%, rgba(255,255,255,.22), transparent 38%), rgba(12,13,16,.72) !important;
        border: 1px solid rgba(255,255,255,.62) !important;
        box-shadow: 0 15px 38px rgba(0,0,0,.28), inset 0 0 0 1px rgba(226,29,47,.56), 0 0 0 5px rgba(12,13,16,.14) !important;
        transform: translateY(-50%) !important;
        cursor: pointer;
        appearance: none;
        -webkit-appearance: none;
    }
    .hero-slider .slider-arrow.prev {
        right: auto !important;
        left: clamp(14px, 2vw, 32px) !important;
    }
    .hero-slider .slider-arrow.next {
        right: clamp(14px, 2vw, 32px) !important;
        left: auto !important;
    }
    .hero-slider .slider-arrow:hover {
        transform: translateY(-50%) scale(1.06) !important;
    }
    .hero-slider .slider-arrow::after {
        inset: 6px !important;
        border-radius: 50% !important;
    }
    .hero-slider .slider-arrow svg {
        width: 25px !important;
        height: 25px !important;
        fill: none !important;
        stroke: currentColor !important;
        stroke-width: 1.75;
        stroke-linecap: round;
        stroke-linejoin: round;
    }
    .mobile-slider-nav {
        display: none;
    }
    @media (max-width: 700px) {
        .hero-slider > .slider-arrow {
            display: none !important;
        }
        .mobile-slider-nav {
            position: relative;
            z-index: 8;
            display: grid;
            grid-template-columns: 48px 1fr 48px;
            align-items: center;
            gap: 12px;
            min-height: 62px;
            padding: 7px 16px;
            background: rgba(255, 255, 255, .98);
            border-top: 1px solid rgba(226, 29, 47, .18);
            border-bottom: 1px solid #e9eaed;
            box-shadow: 0 10px 28px rgba(16, 17, 20, .07);
        }
        .mobile-slider-button {
            width: 44px;
            height: 44px;
            display: grid;
            place-items: center;
            padding: 0;
            color: #17181b;
            background: #f6f7f8;
            border: 1px solid #dfe1e5;
            border-radius: 50%;
            box-shadow: 0 5px 14px rgba(16, 17, 20, .08);
        }
        .mobile-slider-button:active {
            color: #fff;
            background: #e21d2f;
            border-color: #e21d2f;
            transform: scale(.96);
        }
        .mobile-slider-button:disabled {
            opacity: .56;
            cursor: wait;
        }
        .mobile-slider-button svg {
            width: 21px;
            height: 21px;
            fill: none;
            stroke: currentColor;
            stroke-width: 1.8;
            stroke-linecap: round;
            stroke-linejoin: round;
        }
        .mobile-slider-status {
            color: #777a81;
            font-size: 10px;
            font-weight: 800;
            letter-spacing: .18em;
            text-align: center;
        }
    }

/* Hakkımızda Bölümü - Zenginleştirilmiş Stiller */

.info-content .main-title {
    font-size: 36px;
    font-weight: 800;
    text-align: left;
    margin-bottom: 30px;
    color: var(--secondary-color);
    display: flex;
    align-items: center;
    gap: 15px;
    line-height: 1.3;
}

.info-content .title-icon {
    font-size: 40px;
    flex-shrink: 0;
}

.info-content .intro-text {
    font-size: 19px;
    line-height: 1.9;
    color: var(--gray);
    margin-bottom: 40px;
    padding-left: 20px;
    border-left: 4px solid var(--primary-color);
    background: linear-gradient(90deg, rgba(204, 0, 0, 0.03), transparent);
    padding: 20px;
    border-radius: 8px;
}

.info-content .sub-title {
    font-size: 26px;
    font-weight: 700;
    color: #2d2d2d;
    margin: 40px 0 20px 0;
    display: flex;
    align-items: center;
    gap: 12px;
    text-align: left;
}

.info-content .subtitle-decorator {
    color: var(--primary-color);
    font-size: 28px;
    font-weight: 900;
}

.info-content .highlight-quote {
    color: var(--primary-color);
    font-weight: 700;
    font-style: italic;
    position: relative;
    padding: 2px 8px; /* ← BURAYI AZALTTIK (4px 12px → 2px 8px) */
    background: rgba(204, 0, 0, 0.1);
    border-radius: 20px;
    display: inline-block;
}

.info-content .text-emphasis {
    color: #444;
    font-weight: 600;
    font-style: italic;
}

.info-content .quote-box {
    background: linear-gradient(135deg, rgba(204, 0, 0, 0.05), rgba(204, 0, 0, 0.02));
    border-left: 5px solid var(--primary-color);
    padding: 25px 30px;
    margin: 30px 0;
    border-radius: 0 12px 12px 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    font-size: 18px;
    line-height: 1.9;
}

.info-content p {
    font-size: 18px;
    line-height: 1.8;
    color: var(--gray);
    text-align: left;
    margin-bottom: 20px;
}

.info-content h3 {
    text-align: left;
}

/* Mobil Uyum */
@media (max-width: 768px) {
    .info-content .main-title {
        font-size: 24px;
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .info-content .title-icon {
        font-size: 30px;
    }
    
    .info-content .sub-title {
        font-size: 20px;
    }
    
    .info-content .intro-text,
    .info-content .quote-box {
        padding: 15px;
    }
}

/* Premium home metrics: one coherent dashboard, four distinct data cards. */
.trust-section {
    padding: 30px 0 !important;
    background:
        radial-gradient(circle at 8% 0, rgba(226, 29, 47, .055), transparent 24%),
        linear-gradient(180deg, #f7f7f9 0%, #f1f2f5 100%) !important;
}

.trust-grid {
    gap: 14px !important;
    overflow: visible !important;
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

.trust-grid::before {
    display: none !important;
}

.trust-item {
    min-height: 126px !important;
    padding: 22px 20px !important;
    grid-template-columns: 48px minmax(0, 1fr) !important;
    grid-template-rows: auto auto !important;
    column-gap: 15px !important;
    overflow: hidden;
    background:
        radial-gradient(circle at 100% 0, rgba(226, 29, 47, .075), transparent 35%),
        linear-gradient(145deg, rgba(255, 255, 255, .98), rgba(250, 250, 252, .94)) !important;
    border: 1px solid rgba(16, 17, 20, .09) !important;
    border-right: 1px solid rgba(16, 17, 20, .09) !important;
    border-radius: 22px !important;
    box-shadow:
        0 18px 48px rgba(16, 17, 20, .075),
        inset 0 1px 0 rgba(255, 255, 255, .95) !important;
}

.trust-item::before {
    content: "";
    position: absolute;
    top: 0;
    right: 24px;
    left: 24px;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(226, 29, 47, .72), transparent);
}

.trust-item::after {
    right: 16px !important;
    bottom: 14px !important;
    width: 6px !important;
    height: 6px !important;
    background: rgba(226, 29, 47, .2) !important;
}

.trust-item:hover {
    transform: translateY(-5px) !important;
    border-color: rgba(226, 29, 47, .2) !important;
    box-shadow:
        0 24px 62px rgba(16, 17, 20, .11),
        inset 0 1px 0 #fff !important;
}

.trust-icon {
    grid-row: 1 / 3 !important;
    width: 46px !important;
    height: 46px !important;
    display: grid !important;
    place-items: center;
    color: #fff !important;
    font-size: 17px !important;
    background:
        radial-gradient(circle at 32% 22%, rgba(255, 255, 255, .34), transparent 38%),
        linear-gradient(145deg, #f03648, #c91124) !important;
    border: 1px solid rgba(255, 255, 255, .48);
    border-radius: 15px !important;
    box-shadow:
        0 12px 26px rgba(226, 29, 47, .24),
        inset 0 0 0 1px rgba(255, 255, 255, .16) !important;
}

.trust-number {
    align-self: end !important;
    color: #111216 !important;
    font-size: clamp(25px, 2.15vw, 32px) !important;
    font-weight: 820 !important;
    line-height: 1 !important;
    letter-spacing: -.045em !important;
}

.trust-label {
    align-self: start !important;
    margin-top: 7px;
    color: #74777f !important;
    font-size: 9px !important;
    font-weight: 760 !important;
    line-height: 1.35 !important;
    letter-spacing: .12em !important;
}

@media (max-width: 760px) {
    .trust-section {
        padding: 20px 0 !important;
    }

    .trust-grid {
        gap: 10px !important;
        overflow: visible !important;
    }

    .trust-item,
    .trust-item:nth-child(2),
    .trust-item:nth-child(-n + 2) {
        min-height: 112px !important;
        padding: 16px 13px !important;
        grid-template-columns: 38px minmax(0, 1fr) !important;
        column-gap: 11px !important;
        border: 1px solid rgba(16, 17, 20, .085) !important;
        border-radius: 18px !important;
    }

    .trust-item::before {
        right: 15px;
        left: 15px;
    }

    .trust-icon {
        width: 38px !important;
        height: 38px !important;
        border-radius: 13px !important;
        font-size: 14px !important;
    }

    .trust-number {
        font-size: clamp(20px, 5.4vw, 24px) !important;
    }

    .trust-label {
        margin-top: 6px;
        font-size: 8px !important;
        letter-spacing: .08em !important;
    }
}

/* Mobile services behave like a native app list instead of cramped mini cards. */
@media (max-width: 560px) {
    #hizmetler {
        padding-block: 48px 54px !important;
    }

    #hizmetler .section-title {
        margin-bottom: 24px !important;
    }

    .services-grid {
        grid-template-columns: minmax(0, 1fr) !important;
        gap: 13px !important;
    }

    .service-card {
        min-height: 168px;
        grid-template-columns: minmax(132px, 41%) minmax(0, 1fr) !important;
        overflow: hidden;
        background:
            radial-gradient(circle at 100% 0, rgba(226, 29, 47, .055), transparent 35%),
            #fff !important;
        border: 1px solid rgba(16, 17, 20, .095) !important;
        border-radius: 22px !important;
        box-shadow:
            0 16px 42px rgba(16, 17, 20, .075),
            inset 0 1px 0 rgba(255, 255, 255, .9) !important;
        transform: translateZ(0);
        -webkit-tap-highlight-color: transparent;
    }

    .service-card:active {
        transform: scale(.986) !important;
        box-shadow: 0 8px 24px rgba(16, 17, 20, .09) !important;
    }

    .service-image {
        min-height: 168px !important;
        border-right: 1px solid rgba(16, 17, 20, .075);
    }

    .service-image img {
        object-position: center;
    }

    .service-content {
        min-width: 0;
        padding: 20px 17px 17px !important;
        justify-content: center;
    }

    .service-content h3 {
        min-height: 0 !important;
        margin-bottom: 17px !important;
        color: #17181c !important;
        font-size: 14px !important;
        font-weight: 820 !important;
        line-height: 1.3 !important;
        letter-spacing: -.015em !important;
    }

    .service-card .service-link,
    .service-card .service-link.is-external {
        min-height: 42px;
        padding: 10px 12px !important;
        gap: 6px;
        color: #bd1425 !important;
        background: #f7f7f9 !important;
        border: 1px solid #e7e8ec !important;
        border-radius: 999px !important;
        font-size: 9px !important;
        font-weight: 820 !important;
        line-height: 1 !important;
        letter-spacing: .07em !important;
    }

    .service-card::after {
        top: 12px !important;
        left: 12px !important;
        width: 34px !important;
        height: 25px !important;
        background: rgba(17, 18, 22, .82) !important;
        border: 1px solid rgba(255, 255, 255, .48) !important;
        box-shadow: 0 7px 18px rgba(0, 0, 0, .16);
    }
}
