﻿/* ==============================
   Petrovia Services (pvx-)
   ============================== */
.pvx-services {
    position: relative;
    padding: 92px 0;
    background: radial-gradient(900px 380px at 12% 8%, rgba(15, 23, 42, .08), transparent 55%), radial-gradient(820px 360px at 86% 10%, rgba(2, 132, 199, .10), transparent 58%), linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
    overflow: hidden;
}

    .pvx-services::before {
        content: "";
        position: absolute;
        inset: -2px;
        background: radial-gradient(520px 220px at 20% 80%, rgba(99, 102, 241, .10), transparent 60%), radial-gradient(520px 220px at 90% 86%, rgba(14, 165, 233, .10), transparent 60%);
        pointer-events: none;
    }

.pvx-services__container {
    position: relative;
    width: min(1200px, calc(100% - 44px));
    margin: 0 auto;
}

.pvx-services__head {
    text-align: center;
    margin-bottom: 44px;
}

.pvx-services__title {
    margin: 0 0 10px;
    font-size: clamp(28px, 3.2vw, 44px);
    line-height: 1.08;
    letter-spacing: -0.03em;
    color: #0b1220;
}

.pvx-services__subtitle {
    margin: 0 auto;
    max-width: 860px;
    font-size: 15.5px;
    line-height: 1.8;
    color: #4b5b73;
}

/* Grid */
.pvx-services__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

@media (max-width: 980px) {
    .pvx-services__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 620px) {
    .pvx-services {
        padding: 72px 0;
    }

    .pvx-services__grid {
        grid-template-columns: 1fr;
    }
}

/* Card */
.pvx-sCard {
    position: relative;
    border-radius: 20px;
    padding: 26px 24px;
    background: linear-gradient(180deg, rgba(255,255,255,.92), rgba(255,255,255,.78));
    border: 1px solid rgba(226, 232, 240, .95);
    box-shadow: 0 18px 40px rgba(15, 23, 42, .08), inset 0 1px 0 rgba(255,255,255,.7);
    backdrop-filter: blur(6px);
    overflow: hidden;
    transform: translateY(14px);
    opacity: 0;
    transition: transform .55s cubic-bezier(.2,.8,.2,1), opacity .55s ease, box-shadow .25s ease, border-color .25s ease;
}

    .pvx-sCard.pvx-is-in {
        transform: translateY(0);
        opacity: 1;
    }

    .pvx-sCard::after {
        content: "";
        position: absolute;
        inset: -2px;
        border-radius: 22px;
        background: radial-gradient(900px 260px at 20% 8%, rgba(15, 23, 42, .06), transparent 60%), radial-gradient(900px 280px at 88% 18%, rgba(14, 165, 233, .08), transparent 60%);
        pointer-events: none;
    }

    .pvx-sCard:hover {
        border-color: rgba(148, 163, 184, .55);
        box-shadow: 0 22px 55px rgba(15, 23, 42, .12), inset 0 1px 0 rgba(255,255,255,.75);
        transform: translateY(-3px);
    }

/* Shine effect */
.pvx-sCard__shine {
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,.55), transparent 70%);
    transform: translateX(-120%) skewX(-18deg);
    transition: transform .7s ease;
    pointer-events: none;
    opacity: .65;
}

.pvx-sCard:hover .pvx-sCard__shine {
    transform: translateX(120%) skewX(-18deg);
}

.pvx-sCard__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
}

/* Icon */
.pvx-sCard__iconWrap {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    display: grid;
    place-items: center;
    color: #0b1220;
    background: radial-gradient(18px 18px at 30% 30%, rgba(255,255,255,.9), rgba(255,255,255,.3)), linear-gradient(135deg, rgba(14,165,233,.18), rgba(99,102,241,.16));
    border: 1px solid rgba(226,232,240,.85);
    box-shadow: 0 12px 24px rgba(2,132,199,.12), inset 0 1px 0 rgba(255,255,255,.75);
}

.pvx-sIcon {
    width: 26px;
    height: 26px;
}

/* Badge */
.pvx-sCard__badge {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .02em;
    color: #0f172a;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.06);
    border: 1px solid rgba(148, 163, 184, .25);
}

/* Title/Text */
.pvx-sCard__title {
    margin: 0 0 10px;
    font-size: 17px;
    line-height: 1.35;
    letter-spacing: -0.01em;
    color: #0b1220;
}

.pvx-sCard__text {
    margin: 0;
    font-size: 14.6px;
    line-height: 1.78;
    color: #52627a;
}

/* mini */
.pvx-sCard--mini {
    padding: 22px 22px;
}

/* Button */
.pvx-services__actions {
    display: flex;
    justify-content: center;
    margin-top: 26px;
}

.pvx-services__btn {
    appearance: none;
    border: 1px solid rgba(148, 163, 184, .45);
    background: linear-gradient(135deg, #0b1220, #111c33);
    color: #fff;
    padding: 12px 18px;
    border-radius: 14px;
    cursor: pointer;
    font-weight: 700;
    letter-spacing: .01em;
    box-shadow: 0 12px 22px rgba(15, 23, 42, .12);
    transition: transform .15s ease, opacity .2s ease, box-shadow .25s ease;
}

    .pvx-services__btn:hover {
        transform: translateY(-1px);
        box-shadow: 0 16px 28px rgba(15, 23, 42, .16);
    }

    .pvx-services__btn:active {
        transform: translateY(0);
        opacity: .92;
    }

/* More */
.pvx-services__more {
    margin-top: 20px;
}

.slide-inner {
    position: relative;
    height: 100vh;
}

/* Hero text artık absolute değil */
.hero-text-wrapper {
    height: 100vh;
    display: flex;
    align-items: center; /* dikey ortalama */
    text-align: left;
    position: relative;
    z-index: 3;
}

.hero-text-inner {
    max-width: 720px;
}

/* Başlık */
.hero-title {
    font-size: clamp(36px, 4vw, 64px);
    font-weight: 900;
    line-height: 1.05;
    margin-bottom: 22px;
    letter-spacing: -0.02em;
    color: #ffffff;
}

    .hero-title span {
        display: block;
        font-weight: 300;
        margin-top: 8px;
    }

/* Açıklama */
.hero-desc {
    font-size: 16px;
    line-height: 1.8;
    color: rgba(255,255,255,.85);
    margin-bottom: 32px;
}

/* Buton */
.hero-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 52px;
    padding: 0 32px;
    border-radius: 8px;
    background: transparent;
    color: #ffffff;
    font-weight: 500;
    font-size: 14px;
    letter-spacing: .05em;
    text-decoration: none;
    border: 1px solid #ffffff;
    transition: all .25s ease;
}

    .hero-btn:hover {
        background: transparent;
        color: #ffffff;
        transform: translateY(-3px);
    }

:root {
    --navy:#737373;
    --blue:#8E0003;
    --text:#000000;
    --muted:#6a768a;
    --line: rgba(11,20,64,.12);
}

* {
    box-sizing: border-box;
}



.projeler {
    padding: 70px 0;
}

.projeler__container {
    width: min(1240px, calc(100% - 48px));
    margin: 0 auto;
}

.projeler__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 28px;
}

.projeler__kicker {
    font-size: 16px;
    font-weight: 500;
    /*letter-spacing: .0.8em;*/
    color: #52627a;
}

.projeler__title {
    margin: 8px 0 0 0;
    font-size: clamp(30px, 3.1vw, 46px);
    font-weight: 800;
    letter-spacing: -0.02em;
}

.projeler__arrows {
    display: flex;
    gap: 14px;
    padding-top: 6px;
}

.arrow {
    width: 54px;
    height: 54px;
    border: 0;
    background: var(--navy);
    color: #fff;
    font-size: 30px;
    line-height: 1;
    cursor: pointer;
    display: grid;
    place-items: center;
    transition: opacity .18s ease, transform .18s ease;
}

    .arrow:hover {
        opacity: .92;
    }

    .arrow:active {
        transform: scale(.98);
    }

.projeler__wrap {
    overflow: hidden;
}

.projeler__track {
    display: flex;
    gap: 26px;
    overflow-x: auto;
    padding-bottom: 10px;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch; /* iOS momentum */
    scrollbar-width: none;
}

    .projeler__track::-webkit-scrollbar {
        display: none;
    }

.pitem {
    flex: 0 0 calc((100% - (26px * 2)) / 3);
    min-width: 290px;
    border: 1px solid var(--line);
    background: #fff;
    scroll-snap-align: start;
    transition: transform .18s ease, box-shadow .18s ease;
}

    .pitem:hover {
        transform: translateY(-3px);
        box-shadow: 0 18px 40px rgba(10,20,40,.10);
    }

.pitem__link {
    display: block;
    color: inherit;
    text-decoration: none;
}

.pitem__img {
    height: 240px; /* büyüttük */
    background: #f2f4f7;
    overflow: hidden;
}

    .pitem__img img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

.pitem__body {
    padding: 22px;
    min-height: 160px;
}

.pitem__title {
    margin: 0;
    font-size: 22px;
    line-height: 1.25;
    font-weight: 800;
    color: var(--navy);
}

.pitem__line {
    display: block;
    width: 46px;
    height: 1px;
    background: rgba(11,20,64,.25);
    margin: 14px 0 12px 0;
}

.pitem__desc {
    margin: 0;
    color: var(--muted);
    line-height: 1.7;
    font-size: 15px;
}

/* Responsive */
@media (max-width: 980px) {
    .pitem {
        flex-basis: calc((100% - 26px) / 2);
    }
    /* 2 kart */
    .pitem__img {
        height: 220px;
    }
}

@media (max-width: 560px) {
    .pitem {
        flex-basis: 85%;
    }
    /* 1 kart gibi */
    .pitem__img {
        height: 240px;
    }

    .arrow {
        width: 48px;
        height: 48px;
    }
}
