:root {
    --primary: #0e3b2e;
    /* koyu yeşil (başlıklar/çizgiler) */
    --bg: #f5f7f8;
    /* açık arka plan */
    --text: #2b2b2b;
    /* ana metin */
    --muted: #6b7280;
    /* alt metin */
    --accent: #ff8c00;
    /* CTA turuncu (alternatif: #007BFF) */
    --card: #ffffff;
    --radius: 22px;
    --shadow: 0 18px 48px rgba(0, 0, 0, 0.08);

    --hero-h: 900px;
    /* mevcut hero yüksekliği */

}


* {
    box-sizing: border-box;
}

html,
body {
    height: 100%;
}


body {
    margin: 0;
    font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial,
        "Noto Sans", "Helvetica Neue", sans-serif;
    color: var(--text);
}

/* -------- NAV -------- */
.nav {
    position: absolute;
    width: 100%;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid #eef0f2;
}

.nav__inner {
    max-width: 100%;
    margin: 0 5%;
    padding: 14px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.brand img {
    border: 2px solid white;
    width: 64px;
    height: 64px;
    object-fit: contain;
    border-radius: 8px;
}

.brand__name {
    font-weight: 700;
    letter-spacing: 0.2px;
    color: var(--primary);
}

.nav__links {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
}

.nav__link {
    color: #374151;
    text-decoration: none;
    font-size: 15px;
}

.nav__link:hover {
    color: var(--primary);
}

.btn {
    appearance: none;
    border: 0;
    cursor: pointer;
    padding: 12px 18px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 14px;
    transition: transform 0.12s ease, box-shadow 0.12s ease,
        background-color 0.2s ease, color 0.2s ease;
}

.btn--ghost {
    background: #ffffff;
    color: var(--primary);
    border: 1px solid #ffffff;
}

.btn--ghost:hover {
    box-shadow: 0 6px 16px rgba(14, 59, 46, 0.12);
    transform: translateY(-1px);
}

.btn--accent {
    background: var(--accent);
    color: #fff;
    box-shadow: 0 6px 20px rgba(255, 140, 0, 0.25);
}

.btn--accent:hover {
    filter: brightness(1.07);
    transform: translateY(-1px);
}

@media (max-width: 800px) {

    /* --- Menü içi buton alanı --- */
    .nav__buttons {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 12px;
        width: 100%;
        margin-top: 14px;
    }

    .nav__buttons .btn {
        flex: 1;
        /* iki buton eşit genişlik */
        text-align: center;
        font-size: 15px;
        padding: 12px 0;
        border-radius: 999px;
        opacity: 0;
        transform: translateY(-10px);
        transition: opacity .35s ease, transform .35s ease;
    }

    /* Menü açıldığında butonlar yumuşak şekilde görünür */
    .nav.open .nav__buttons .btn {
        opacity: 1;
        transform: translateY(0);
    }

    /* Ghost ve accent renkleri */
    .btn--ghost {
        background: #fff;
        color: #0E3B2E;
        border: 1px solid #dfe5ea;
    }

    .btn--accent {
        background: var(--accent);
        display: none;
        color: #fff;
    }

    .btn--ghost:hover {
        box-shadow: 0 4px 14px rgba(14, 59, 46, 0.12);
    }

    .btn--accent:hover {
        filter: brightness(1.07);
    }
}


/* === IMAGE HERO VARIANT === */
/* === HERO IMAGE FULL WIDTH === */
.hero {
    position: relative;
    top: 0;
    width: 100%;
    height: 900px;
    overflow: hidden;
}

/* arka plan resmi */
.hero__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* resmi kırp ama tam doldur */
    object-position: center;
    /* ortala */
    filter: brightness(0.82) contrast(1.05);
}

/* içerik */
.hero__content {
    position: relative;
    z-index: 1;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    /* yazılar sola hizalı */
    max-width: 1200px;
    padding: 0 5%;
    color: #fff;
}

/* yazı stilleri */
.eyebrow {
    font-size: 14px;
    letter-spacing: 0.5px;
    background: rgba(255, 255, 255, 0.18);
    padding: 6px 10px;
    border-radius: 999px;
    color: #fff;
    margin-bottom: 16px;
}

.hero__title {
    font-size: clamp(40px, 6vw, 78px);
    line-height: 1.1;
    font-weight: 700;
    margin: 0 0 18px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.35);
}

.hero__desc {
    max-width: 600px;
    font-size: 18px;
    line-height: 1.6;
    color: #f5f5f5;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    margin-bottom: 28px;
}

.hero__cta {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

/* responsive */
@media (max-width: 768px) {
    .hero {
        height: 520px;
    }

    .hero__content {
        align-items: center;
        text-align: center;
    }

    .hero__desc {
        max-width: 90%;
    }
}

/* --- HERO BAŞLIK HAREKET ve VURGU --- */
.hero__title {
    font-size: clamp(40px, 5vw, 72px);
    line-height: 1.1;
    font-weight: 800;
    margin: 0 0 22px;
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.45);
    transition: all 0.4s ease;
    /* Geçiş efekti */
    transform: translateY(15px);
    /* Başlangıçta biraz aşağıda */
    opacity: 0.85;
    /* Hafif transparan */
}

/* Mobil click sonrası */
@media (hover: none) and (pointer: coarse) {
  .hero.active .hero__title {
    transform: translateY(0);
    opacity: 1;
    letter-spacing: 0.5px;
  }
}

/* --- ALT METİNİN YUMUŞAK GİRİŞİ --- */
.hero__desc {
    transition: all 0.4s ease;
    transform: translateY(10px);
    opacity: 0.85;
}

.hero:hover .hero__desc {
    transform: translateY(0);
    opacity: 1;
}

/* --- HOVER'DA GENEL HERO DERİNLİK ARTTIRMA --- */
.hero:hover img {
    filter: brightness(0.9) contrast(1.1) saturate(1.1);
    transform: scale(1.02);
    transition: transform 0.4s ease, filter 0.4s ease;
}


/* Hero altı geniş CTA */
.scroll-cta {
    position: relative;
    z-index: 5;
    /* hero üstünde kalsın */
    display: flex;
    justify-content: center;
    margin-top: -36px;
    /* butonu hero görseline hafif bindir */
    /* alt nefes */
}

/* Hero ile beyaza yumuşak geçiş şeridi (tam genişlik) */
.scroll-cta::before {
    content: "";
    position: absolute;
    inset: auto 0 100% 0;
    /* butonun üstüne */
    height: 28px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, #ffffff 90%);
    pointer-events: none;
}

/* Geniş buton */
.scroll-cta__btn {
    width: 100%;
    padding: 14px 28px;
    border: 0;
    background: rgb(255, 255, 255, 1);
    color: #0E3B2E;
    /* koyu yeşil */
    font-weight: 700;
    font-size: 16px;
    letter-spacing: .2px;
    cursor: pointer;
    transition: transform .6s ease, box-shadow .6s ease, background-color .6s ease, color .6s ease;
}

.scroll-cta__btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 22px 46px rgba(0, 0, 0, .16);
}

.scroll-cta__btn:active {
    transform: translateY(0);
}

/* ======== HERO – MOBİL (max-width: 800px) ======== */
@media (max-width: 800px) {

    .hero {
        height: 900px;
        /* daha kompakt */
    }

    .hero__bg::after {
        content: "";
        position: absolute;
        inset: 0;
        background: rgba(0, 0, 0, 0.45);
        transition: background 0.2s ease;
        z-index: 1;
    }

    .hero__bg img {
        filter: brightness(0.85) contrast(1.06);
    }

    .hero__content {
        align-items: center;
        /* ortala */
        text-align: center;
        padding: 0 6%;
    }

    .eyebrow {
        font-size: 12px;
        padding: 5px 10px;
        margin-bottom: 12px;
    }

    .hero__title {
        font-size: clamp(28px, 7.2vw, 40px);
        margin: 0 0 14px;
        text-shadow: 0 3px 8px rgba(0, 0, 0, .4);
        transform: translateY(0);
        /* mobilde başlangıç animasyonu minimum */
        opacity: 1;
    }

    .hero__desc {
        max-width: 92%;
        font-size: 15.5px;
        line-height: 1.55;
        margin-bottom: 20px;
        transform: translateY(0);
        opacity: 0.95;

        /* 🔥 Yalnızca ilk yarısı gözüksün */
        max-height: 11.5em;
        /* 4–5 satır kadar */
        overflow: hidden;
        mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) 75%, rgba(0, 0, 0, 0));
        -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) 75%, rgba(0, 0, 0, 0));
        transition: max-height .5s ease, mask-image .5s ease;
    }

    /* Hover veya CTA tıklamasında tam gösterme isteğe bağlı: */
    .hero__content:hover .hero__desc {
        max-height: 100vh;
        mask-image: none;
        -webkit-mask-image: none;
    }
	
    /* CTA’lar: iki sütun */
    .hero__cta {
        width: 100%;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .hero__cta .btn {
        width: 100%;
        font-size: 15px;
        border-radius: 999px;
    }

    /* Aşırı dar ekran için tek sütuna düşür */
    @media (max-width: 480px) {
        .hero__cta {
            grid-template-columns: 1fr;
        }
    }

    .scroll-cta__btn {
        padding: 11px 22px;
        font-size: 15px;
    }

    /* Scroll-CTA fade (hairline fix) */
    .scroll-cta {
        position: relative;
        background: #fff;
        /* alt bölümle tonu eşitle */
    }

    .scroll-cta::before {
        /* mevcut content/position kalabilir; kritik olan şunlar: */
        left: -1px;
        /* sağ/sol 1px taşır → dikiş yok */
        right: -1px;
        bottom: calc(100% - 1px);
        /* 1px aşağı çek → overlap */
        height: 34px;
        /* 28 → 34: daha güvenli fade alanı */
        background: linear-gradient(to bottom,
                rgba(255, 255, 255, 0) 0%,
                #ffffff 100%
                /* 90% yerine 100%’e kadar indir */
            );
    }
	
	@media (hover: none) and (pointer: coarse) {
  .hero.active .hero__title {
    transform: translateY(0);
    opacity: 1;
    letter-spacing: 0.5px;
  }
}
		@media (hover: none) and (pointer: coarse) {
  .hero.active .hero__desc {
    max-height: 100vh;
        mask-image: none;
        -webkit-mask-image: none;
  }
}

}




/* === About Us === */
.about {
    max-width: 80%;
    margin: 5% auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: 5%;
    align-items: start;
}

/* About’ı aşağı indir */
.about {
    position: relative;
}

.about__media {
    position: relative;
    margin: 0;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 18px 36px rgba(0, 0, 0, .10);
}

.about__media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about__badges {
    position: absolute;
    left: 24px;
    bottom: 20px;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.badge {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 18px;
    border-radius: 14px;
    color: #fff;
    background: linear-gradient(135deg, rgba(14, 59, 46, .92), rgba(14, 59, 46, .75));
    box-shadow: 0 12px 28px rgba(14, 59, 46, .25);
    backdrop-filter: saturate(120%) blur(2px);
    font-weight: 700;
    letter-spacing: .2px;
}

.about__content {
    padding-top: 4px;
}

.about__title {
    margin: 0 0 6px;
    font-size: clamp(26px, 3.2vw, 34px);
    color: #1f2937;
    /* gri-900 */
}

.about__subtitle {
    margin: 0 0 16px;
    font-size: clamp(16px, 2.1vw, 20px);
    color: #0E3B2E;
    /* primary */
    font-weight: 700;
}

.about__text p {
    margin: 0 0 12px;
    color: #374151;
    line-height: 1.7;
    font-size: 16px;
}

.about__cta {
    margin-top: 18px;
}

.about__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 18px;
    border-radius: 10px;
    text-decoration: none;
    color: #fff;
    font-weight: 700;
    letter-spacing: .2px;
    background: linear-gradient(135deg, #0E3B2E, #2A7A62);
    box-shadow: 0 12px 24px rgba(14, 59, 46, .20);
    transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
}

.about__btn:hover {
    transform: translateY(-1px);
    filter: brightness(1.05);
    box-shadow: 0 16px 28px rgba(14, 59, 46, .24);
}


/* ======== ABOUT – MOBİL (max-width: 800px) ======== */
@media (max-width: 800px) {

    .about {
        max-width: 92%;
        margin: 28px auto;
        padding: 0 8px;
        display: grid;
        grid-template-columns: 1fr;
        /* tek sütun */
        gap: 18px;
    }

    /* Görsel üstte, içerik altta */
    .about__media {
        border-radius: 14px;
        box-shadow: 0 12px 26px rgba(0, 0, 0, .12);
        min-height: 220px;
        /* güvenli yükseklik */
    }

    .about__media img {
        height: 100%;
        max-height: 380px;
        /* çok uzamasın */
        object-fit: cover;
    }

    /* Rozetler daha kompakt ve kenarlardan içeri */
    .about__badges {
        left: 12px;
        right: 12px;
        /* taşma olmasın */
        bottom: 12px;
        gap: 8px;
    }

    .badge {
        gap: 8px;
        padding: 10px 12px;
        border-radius: 10px;
        font-weight: 700;
        font-size: 13.5px;
        box-shadow: 0 10px 20px rgba(14, 59, 46, .22);
    }

    .about__content {
        padding-top: 0;
    }

    /* Tipografi mobil ölçek */
    .about__title {
        font-size: clamp(22px, 5.2vw, 28px);
        margin: 0 0 6px;
    }

    .about__subtitle {
        font-size: clamp(14px, 4.2vw, 18px);
        margin: 0 0 12px;
    }

    .about__text p {
        font-size: 15px;
        line-height: 1.65;
        margin: 0 0 10px;
    }

    /* CTA daha belirgin, tam genişlikte */
    .about__cta {
        margin-top: 14px;
    }

    .about__btn {
        width: 100%;
        padding: 12px 16px;
        border-radius: 12px;
        font-size: 15px;
        box-shadow: 0 12px 22px rgba(14, 59, 46, .18);
    }

    .about__btn:hover {
        transform: translateY(-1px);
    }
}



/* === Değerlerimiz === */
.values {
    --c-primary: var(--primary, #0E3B2E);
    --c-text: var(--text, #2B2B2B);
    --c-muted: var(--muted, #6B7280);
    --c-bg: var(--bg, #F5F7F8);

    max-width: 80%;
    margin: 72px auto;
    padding: 0 20px;
}

.values__head {
    text-align: center;
    margin-bottom: 28px;
}

.values__head h2 {
    margin: 0 0 8px;
    font-size: clamp(26px, 3.4vw, 34px);
    color: var(--c-primary);
}

.values__head p {
    margin: 0 auto;
    max-width: 70ch;
    color: var(--c-muted);
    font-size: 16px;
}

.values__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-top: 22px;
}

.value {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    background: #fff;
    border-radius: 18px;
    padding: 24px 22px;
    border: 1px solid rgba(14, 59, 46, 0.08);
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.06);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.value:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.09);
    border-color: rgba(14, 59, 46, 0.16);
}

/* ikon */
.value__icon {
    flex-shrink: 0;
    width: 64px;
    height: 64px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    background: linear-gradient(180deg, rgba(14, 59, 46, .08), rgba(14, 59, 46, .03));
    border: 1px solid rgba(14, 59, 46, .12);
}

.value__icon img {
    width: 38px;
    height: 38px;
    object-fit: contain;
}

/* metin kısmı */
.value__content h3 {
    margin: 0 0 6px;
    font-size: 18px;
    color: var(--text);
}

.value__content p {
    margin: 0 0 10px;
    color: var(--muted);
    line-height: 1.6;
    font-size: 15px;
}

.value__pill {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.2px;
    color: var(--primary);
    background: #ecf7f2;
    border: 1px solid rgba(14, 59, 46, 0.16);
    padding: 6px 10px;
    border-radius: 999px;
}

/* ======== VALUES – MOBİL (max-width: 800px) ======== */
@media (max-width: 800px) {

    .values {
        max-width: 92%;
        margin: 40px auto;
        padding: 0 10px;
    }

    .values__head {
        margin-bottom: 18px;
        text-align: center;
    }

    .values__head h2 {
        font-size: clamp(22px, 6vw, 28px);
        margin: 0 0 6px;
    }

    .values__head p {
        font-size: 14.5px;
        line-height: 1.6;
        max-width: 60ch;
    }

    /* Grid mobil: tek sütun */
    .values__grid {
        grid-template-columns: 1fr;
        gap: 14px;
        margin-top: 16px;
    }

    /* Kartlar daha kompakt */
    .value {
        gap: 12px;
        padding: 16px 14px;
        border-radius: 14px;
        box-shadow: 0 10px 26px rgba(0, 0, 0, .05);
    }

    .value:hover {
        transform: translateY(-2px);
        box-shadow: 0 14px 30px rgba(0, 0, 0, .07);
    }

    /* İkon alanı küçülür */
    .value__icon {
        width: 48px;
        height: 48px;
        border-radius: 12px;
    }

    .value__icon img {
        width: 28px;
        height: 28px;
    }

    /* Kart içi tipografi */
    .value h3 {
        font-size: 16px;
        margin: 0 0 6px;
        line-height: 1.3;
        color: var(--c-text);
    }

    .value p {
        font-size: 14.5px;
        line-height: 1.55;
        color: var(--c-muted);
        margin: 0;
    }
}

/* ======== TABLET-ALT (600–800px arası 2 sütun istersen) ======== */
@media (min-width: 601px) and (max-width: 800px) {
    .values__grid {
        grid-template-columns: 1fr 1fr;
        /* 2 sütun */
        gap: 16px;
    }
}




/* Specialities */
.section {
    width: 80%;
    margin: 25px auto;
}



.section__head {
    margin-bottom: 28px;
    text-align: center;
}

.section__title {
    font-size: clamp(26px, 3.4vw, 34px);
    letter-spacing: .2px;
}

/* Grid */
.cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 28px;
}

@media (min-width: 900px) {
    .cards {
        grid-template-columns: 1fr 1fr;
    }
}

/* Kart + görsel */
.card {
    position: relative;
    border-radius: 18px;
    overflow: hidden;
}

.card__media img {
    display: block;
    border-radius: 15px;
    width: 100%;
    height: 360px;
    object-fit: cover;
    filter: saturate(1.03) contrast(1.02);
    transition: transform .6s ease;
}

.card:hover .card__media img {
    transform: scale(1.03);
}

/* Sol-alt cam panel (blur) */
.card__glass {
    position: absolute;
    left: 18px;
    bottom: 18px;
    width: min(86%, clamp(280px, 46vw, 560px));
    padding: 14px 16px 14px 14px;
    border-radius: 14px;
    background: color-mix(in oklab, white 80%, transparent);
    backdrop-filter: blur(10px) saturate(140%);
    -webkit-backdrop-filter: blur(10px) saturate(140%);
    border: 1px solid rgba(255, 255, 255, .55);
    box-shadow: 0 10px 22px rgba(0, 0, 0, .18);
    transform: translateY(6px) scale(1);
    opacity: .96;
    transition:
        transform .5s ease,
        box-shadow .5s ease,
        opacity .5s ease,
        width .6s ease,
        /* 🔥 genişleme animasyonu */
        height .6s ease,
        max-height .6s ease;
}

/* Hover — içerik açılırken glass genişlesin */
.card:hover .card__glass {
    transform: translateY(0) scale(1.03);
    /* hafif büyütme efekti */
    box-shadow: 0 20px 40px rgba(0, 0, 0, .28);
    opacity: 1;
    width: min(90%, clamp(320px, 50vw, 620px));
    /* 🔥 yatayda da biraz genişleme */
}

		@media (hover: none) and (pointer: coarse) {
.card.active .card__glass {
    transform: translateY(0) scale(1.03);
    /* hafif büyütme efekti */
    box-shadow: 0 20px 40px rgba(0, 0, 0, .28);
    opacity: 1;
    width: min(90%, clamp(320px, 50vw, 620px));
    /* 🔥 yatayda da biraz genişleme */
}
			.card.active .fancy-list {
    max-height: 70vh;
    mask-image: none;
    -webkit-mask-image: none;
}
			
			/* Hover: glass akıcı biçimde açılır */
.card.active .card__glass {
    transform: translateY(0) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, .28);
    opacity: 1;
    width: min(90%, clamp(320px, 50vw, 350px));
    max-height: 72vh;
    /* 🔥 tüm içerik görünene kadar genişler */
}
			/* Hover anında gizlenen maddeleri göster (yumuşaklık için opacity) */
.card.active .fancy-list li {
    display: flex;
    opacity: 1;
    transition: opacity .35s ease;
}
}


/* Tipografi – yumuşak (sert değil) */
.card__title {
    margin: 0 0 8px 0;
    font-size: clamp(16px, 2.2vw, 20px);
    font-weight: 700;
}

/* Fancy list: sadece ilk 3 madde görünür */
.fancy-list {
    overflow: hidden;
    max-height: calc(1.45em * 3 + 1.8rem);
    mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) 70%, rgba(0, 0, 0, 0));
    -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) 70%, rgba(0, 0, 0, 0));
    transition: max-height .6s ease, mask-image .6s ease;
}

/* Hover’da içerik açılır */
.card:hover .fancy-list {
    max-height: 70vh;
    mask-image: none;
    -webkit-mask-image: none;
}

.fancy-list li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    line-height: 1.45;
    font-size: clamp(14px, 1.9vw, 16px);
    font-weight: 450;
    letter-spacing: .1px;
}

.fancy-list .icon {
    margin-top: 2px;
    display: inline-flex;
    width: 18px;
    height: 18px;
    color: #0E3B2E;
    /* markanın koyu yeşili */
    flex: 0 0 18px;
}



/* Hover anında gizlenen maddeleri göster (yumuşaklık için opacity) */
.card:hover .fancy-list li {
    display: flex;
    opacity: 1;
    transition: opacity .35s ease;
}

/* GLASS — sabit genişlik + yükseklik animasyonu */
.card__glass {
    width: min(86%, clamp(280px, 46vw, 350px));
    max-height: 10rem;
    /* ≈ başlık + 3 madde */
    overflow: hidden;
    /* içerik taşmasın, animasyon düzgün olsun */
    transition:
        transform .5s ease,
        box-shadow .5s ease,
        opacity .5s ease,
        width .6s ease,
        max-height .6s ease;
    /* 🔥 asıl büyüme animasyonu */
}

/* Hover: glass akıcı biçimde açılır */
.card:hover .card__glass {
    transform: translateY(0) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, .28);
    opacity: 1;
    width: min(90%, clamp(320px, 50vw, 350px));
    max-height: 72vh;
    /* 🔥 tüm içerik görünene kadar genişler */
}

/* Liste: 3 madde kadar alan + altta fade; MADDELERİ GİZLEME! */
.fancy-list {
    --lh: 1.45em;
    --gap: 6px;
    max-height: calc(var(--lh) * 3 + var(--gap) * 2 + 2.2rem);
    /* başlık boşluğu için tampon */
    overflow: s;
    mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) 75%, rgba(0, 0, 0, 0));
    -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) 75%, rgba(0, 0, 0, 0));
    transition: mask-image .6s ease;
    /* fade’in yumuşaması */
}

/* Hover: fade kalksın; görünüm akıcı olsun */
.card:hover .fancy-list {
    mask-image: none;
    -webkit-mask-image: none;
}

/* ======== SECTION – MOBİL (max-width: 800px) ======== */
@media (max-width: 800px) {

    .section {
        width: 92%;
        margin: 20px auto;
        overflow: visible;
        /* kartların üstüne taşmasına izin ver */
    }

    .section__head {
        margin-bottom: 18px;
    }

    .section__title {
        font-size: clamp(22px, 6vw, 28px);
        letter-spacing: .15px;
    }

    /* Grid tek sütun ve taşma serbest */
    .cards {
        gap: 16px;
        position: relative;
        overflow: visible;
        /* ⬅ kritik */
    }

    /* Kart ve görsel */
    .card {
        position: relative;
        border-radius: 14px;
        overflow: visible !important;
        /* ⬅ kritik: glass yukarı taşsın */
        z-index: 1;
    }

    .card:hover,
    .card:focus-within,
    .card:active {
        z-index: 50;
        /* komşu kartların üstünde dursun */
    }

    /* Görseli kendi kabında kes */
    .card__media {
        position: relative;
        border-radius: 12px;
        overflow: hidden;
    }

    .card__media img {
        border-radius: 0;
        height: clamp(200px, 46vw, 260px);
        transition: transform .45s ease;
    }

    /* Cam panel (glass) */
    .card__glass {
        position: absolute;
        left: 14px;
        bottom: 14px;
        padding: 12px;
        border-radius: 12px;
        width: min(96%, 300px);
        max-height: 9.5rem;
        /* ≈ başlık + ~3 madde */
        box-shadow: 0 10px 22px rgba(0, 0, 0, .18);
        transform: translateY(4px) scale(1);
        transform-origin: bottom left;
        /* ⬅ büyüme yukarı doğru */
        transition:
            transform .45s ease,
            box-shadow .45s ease,
            opacity .45s ease,
            width .5s ease,
            max-height .5s ease;
    }

    /* Açılım (hover/tap/focus) */
    .card:hover .card__glass,
    .card:focus-within .card__glass,
    .card:active .card__glass {
        transform: translateY(0) scale(1.01);
        width: min(98%, 360px);
        max-height: 70vh;
        /* tüm içerik görünür */
        box-shadow: 0 18px 36px rgba(0, 0, 0, .22);
    }

    /* Başlık ve liste tipografisi */
    .card__title {
        margin: 0 0 6px 0;
        font-size: clamp(15px, 4.5vw, 18px);
    }

    /* Varsayılan: ~3 madde, altta yumuşak fade */
    .fancy-list {
        --lh: 1.45em;
        --gap: 6px;
        max-height: calc(var(--lh) * 3 + var(--gap) * 2 + 1.6rem);
        overflow: hidden;
        mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) 78%, rgba(0, 0, 0, 0));
        -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) 78%, rgba(0, 0, 0, 0));
        transition: max-height .5s ease, mask-image .5s ease;
    }

    .card:hover .fancy-list,
    .card:focus-within .fancy-list,
    .card:active .fancy-list {
        max-height: 65vh;
        mask-image: none;
        -webkit-mask-image: none;
    }

    .fancy-list li {
        gap: 8px;
        font-size: clamp(13px, 4vw, 15px);
    }

    .fancy-list .icon {
        width: 16px;
        height: 16px;
        flex: 0 0 16px;
    }
}


/* Koyu arkaplanda okunabilirlik için opsiyon */
@supports not (backdrop-filter: blur(10px)) {
    .card__glass {
        background: rgba(255, 255, 255, .85);
    }
}


/* Tech Ecosystem */


.tech-ecosystem {
    background-color: #0E3B2E;
    /* senin sitende kullandığın koyu yeşil */
    color: #fff;
    padding: 80px 0;
    display: flex;
    flex-direction: column;
    gap: 80px;
}

.tech-ecosystem .row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 50px;
    width: 80%;
    margin: 0 auto;
    flex-wrap: wrap;
}

.tech-ecosystem .row.reverse {
    flex-direction: row-reverse;
}

.tech-ecosystem .col {
    flex: 1 1 450px;
    transition: all 0.6s ease;
}

.tech-ecosystem .text h2 {
    font-size: clamp(26px, 3vw, 36px);
    font-weight: 700;
    margin-bottom: 16px;
    letter-spacing: 0.3px;
}

.tech-ecosystem .text p {
    font-size: clamp(15px, 1.4vw, 18px);
    line-height: 1.6;
    opacity: 0.9;
    font-weight: 400;
}

.tech-ecosystem .image img {
    width: 100%;
    border-radius: 18px;
    box-shadow: 0 18px 36px rgba(0, 0, 0, 0.25);
    transition: transform 0.8s ease, box-shadow 0.8s ease, opacity 0.8s ease;
    opacity: 0.92;
}

.tech-ecosystem .image img:hover {
    transform: scale(1.03);
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.35);
    opacity: 1;
}

/* ======== TECH-ECOSYSTEM – MOBİL (max-width: 800px) ======== */
@media (max-width: 800px) {

    .tech-ecosystem {
        padding: 48px 0;
        gap: 40px;
    }

    .tech-ecosystem .row {
        width: 92%;
        margin: 0 auto;
        gap: 20px;
        flex-direction: column;
        /* tek sütun */
        align-items: stretch;
        flex-wrap: nowrap;
        /* kırılma yok */
    }

    /* reverse satır da mobilde dikey kalsın */
    .tech-ecosystem .row.reverse {
        flex-direction: column;
    }

    .tech-ecosystem .col {
        flex: 1 1 auto;
        transition: none;
        /* mobilde ağır animasyon gerekmez */
    }

    /* Metinler */
    .tech-ecosystem .text {
        text-align: center;
    }

    .tech-ecosystem .text h2 {
        font-size: clamp(22px, 6vw, 28px);
        margin-bottom: 10px;
        letter-spacing: .2px;
    }

    .tech-ecosystem .text p {
        font-size: 15px;
        line-height: 1.6;
        opacity: .95;
    }

    /* Görsel */
    .tech-ecosystem .image img {
        border-radius: 14px;
        max-height: clamp(220px, 52vw, 340px);
        /* mobilde daha kısa */
        object-fit: cover;
        box-shadow: 0 14px 28px rgba(0, 0, 0, .22);
        opacity: .98;
        transition: transform .5s ease, box-shadow .5s ease, opacity .5s ease;
    }

    /* Mobilde aşırı hover etkisini azaltalım */
    .tech-ecosystem .image img:hover {
        transform: scale(1.01);
        box-shadow: 0 18px 36px rgba(0, 0, 0, .26);
    }
}


/* Soft fade-in animasyonu */
.tech-ecosystem .row {
    opacity: 0;
    transform: translateY(40px);
    animation: fadeUp 1.2s ease forwards;
}

.tech-ecosystem .row.reverse {
    animation-delay: 0.5s;
}

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}



/* Projects */


.corp-sec {
    padding: 72px 0;
}

.corp-wrap {
    width: 80%;
    margin: 0 auto;
}

.corp-head {
    text-align: center;
    margin-bottom: 34px;
}

.corp-title {
    font-size: clamp(24px, 3.2vw, 38px);
    font-weight: 800;
    letter-spacing: .2px;
}

.corp-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

@media (max-width: 1024px) {
    .corp-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .corp-grid {
        grid-template-columns: 1fr;
    }
}

/* KART */
.card {
    position: relative;
    overflow: hidden;
    border-radius: 18px;
    box-shadow: 0 16px 32px rgba(0, 0, 0, .12);
    isolation: isolate;
    /* overlay'nin düzgün çalışması için */
    background: #f6f7f8;
}

.card img {
    display: block;
    width: 100%;
    height: clamp(220px, 26vw, 400px);
    object-fit: cover;
    transition: transform .6s ease, filter .6s ease;
    filter: saturate(1.02) contrast(1.02);
}

/* Alt beyazımsı gövde (30–40%) */
.card__meta {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    /* Başlangıç yüksekliği ~%34, hover'da %40'a çıkar */
    --h: 27%;
    height: var(--h);
    padding: 14px 16px 16px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;

    background: rgba(255, 255, 255, .50);
    backdrop-filter: blur(8px) saturate(140%);
    -webkit-backdrop-filter: blur(8px) saturate(140%);
    border-top: 1px solid rgba(255, 255, 255, .8);

    transition: height .5s ease, background .5s ease, padding .5s ease;
}

.card__title {
    margin: 0;
    font-weight: 800;
    font-size: clamp(15px, 1.35vw, 18px);
    line-height: 1.25;
    letter-spacing: .3px;
    color: #0E3A2D;
    /* yumuşak lacivert */
    text-transform: uppercase;
}

.card__sub {
    margin: 0;
    color: #2C3E50;
    opacity: .85;
    font-size: clamp(13px, 1.1vw, 16px);
    font-weight: 500;
    line-height: 1.45;
}

@media (hover: none) and (pointer: coarse) {
/* Hover efektleri – yumuşak */
.card.active img {
    transform: scale(1.03);
    filter: saturate(1.06) contrast(1.05);
}

.card.active .card__meta {
    --h: 35%;
    background: rgba(255, 255, 255, .9);
    padding: 18px 18px 20px;
}
}

/* Hover efektleri – yumuşak */
.card:hover img {
    transform: scale(1.03);
    filter: saturate(1.06) contrast(1.05);
}

.card:hover .card__meta {
    --h: 35%;
    background: rgba(255, 255, 255, .9);
    padding: 18px 18px 20px;
}

/* Erişilebilir odak */
.card:focus-within img,
.card:focus-within .card__meta {
    transition-duration: .35s;
}

/* ====== Mobile (≤800px) ====== */
@media (max-width: 800px) {
    .corp-sec {
        padding: 48px 0;
    }

    .corp-wrap {
        width: 92%;
        margin: 0 auto;
    }

    .corp-head {
        margin-bottom: 22px;
    }

    .corp-title {
        font-size: clamp(20px, 5.2vw, 26px);
        letter-spacing: .2px;
    }

    .corp-grid {
        grid-template-columns: 1fr;
        /* tek kolon */
        gap: 16px;
    }

    .card {
        border-radius: 14px;
        box-shadow: 0 10px 22px rgba(0, 0, 0, .10);
    }

    .card img {
        height: clamp(200px, 54vw, 320px);
        /* daha dengeli yükseklik */
        transition: transform .45s ease, filter .45s ease;
    }

    /* Meta alanı mobilde biraz daha yüksek ve sıkı padding */
    .card__meta {
        --h: 42%;
        padding: 12px 14px 14px;
        backdrop-filter: blur(10px) saturate(140%);
        -webkit-backdrop-filter: blur(10px) saturate(140%);
    }

    .card__title {
        font-size: clamp(15px, 4.0vw, 18px);
        line-height: 1.25;
    }

    .card__sub {
        font-size: clamp(13px, 3.6vw, 16px);
        line-height: 1.45;
    }

    /* Hover'da aşırı büyüme yerine yumuşatılmış etki */
    .card:hover .card__meta {
        --h: 48%;
        padding: 14px 16px 16px;
        background: rgba(255, 255, 255, .92);
    }
}

/* Dokunmatik cihazlarda yapay hover'ı pasifleştir, active ile çalıştır */
@media (hover: none) and (pointer: coarse) {
    .card:hover img {
        transform: none;
        filter: saturate(1.06) contrast(1.05);
    }

    .card:hover .card__meta {
        --h: 42%;
    }

    /* hover yerine normal kal */
    .card:active .card__meta {
        --h: 48%;
    }

    /* dokununca genişlesin */
}

/* Hareket kısıtlaması olan kullanıcılar için animasyonları sadeleştir */
@media (prefers-reduced-motion: reduce) {

    .card img,
    .card .card__meta,
    .card:hover img,
    .card:hover .card__meta {
        transition: none !important;
    }
}


/* Contact */

/* SECTION – sabit arka plan (parallax hissi) */
.contact-section {
    background: url('/assets/contact-bg.png') center/cover no-repeat fixed;
    color: #fff;
    padding: 0px 0;
    position: relative;
}

/* CONTAINER – masaüstünde tek satır, eşit yükseklik */
.contact-container {
    display: flex;
    justify-content: center;
    align-items: stretch;
    /* kartlar aynı yükseklikte */
    width: 80%;
    margin: 0 auto;
    gap: 30px;
    min-height: 100%;
    /* toplam yükseklik referansı */
    flex-wrap: nowrap;
    /* masaüstünde tek satır */
}

/* HARİTA KUTUSU */
.contact-map {
    position: relative;
    /* başlığı iframe üstüne konumlayacağız */
    flex: 1 1 55%;
    min-height: 520px;
    margin: 35px 0;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 12px 32px rgba(0, 0, 0, .25);
    transition: transform .5s ease, box-shadow .5s ease;
}

.contact-map:hover {
    transform: scale(1.02);
    box-shadow: 0 18px 48px rgba(0, 0, 0, .35);
}

/* iframe tam doldursun */
.contact-map iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* BAŞLIK – haritanın içinde blur cam etiket */
.contact-title {
    position: absolute;
    /* map içinde üstte */
    top: 16px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    margin: 0;
    padding: 10px 18px;
    font-size: clamp(22px, 3vw, 34px);
    font-weight: 800;
    letter-spacing: .3px;
    text-align: center;
    color: #fff;
    background: rgb(14, 59, 46, 0.5);
    backdrop-filter: blur(6px) saturate(140%);
    -webkit-backdrop-filter: blur(6px) saturate(140%);
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, .25);
}

/* PANEL – full yükseklik (map kadar) */
.contact-panel {
    flex: 1 1 15%;
    align-self: stretch;
    /* ebeveyn yüksekliğini tamamen doldur */
    background: #0E3B2E;
    color: #fff;
    padding: 40px 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 38px;
    transition: background .5s ease, transform .5s ease;
}

.contact-panel:hover {
    background: #125041;
}

/* PANEL İÇERİĞİ */
.info-block {
    text-align: center;
    transition: transform .5s ease, opacity .5s ease;
    opacity: .95;
}

.info-block:hover {
    transform: translateY(-4px);
    opacity: 1;
}

.info-block .icon {
    font-size: 38px;
    display: block;
    margin-bottom: 12px;
    opacity: .9;
    font-style: normal;
}

.info-block h3 {
    margin: 0;
    font-size: clamp(16px, 1.8vw, 20px);
    font-weight: 700;
    letter-spacing: .5px;
}

.info-block p {
    margin: 6px 0 0 0;
    font-size: clamp(14px, 1.3vw, 17px);
    opacity: .85;
    line-height: 1.5;
}

/* MOBİL – alt alta gelsin */
@media (max-width: 900px) {
    .contact-container {
        flex-direction: column;
        flex-wrap: wrap;
        min-height: unset;
    }

    .contact-map,
    .contact-panel {
        flex: 1 1 100%;
        width: 100%;
        min-height: 380px;
    }

    .contact-title {
        top: 12px;
        font-size: clamp(20px, 5vw, 28px);
        padding: 8px 14px;
    }
}






/* Footer */


.footer {
    background: #0E3B2E;
    color: #ffffff;
    padding: 60px 20px 20px;
    text-align: center;
    font-size: 15px;

    /* BU SATIRLARI SİL veya YORUM SATIRINA AL */
    /* position: relative; */
    /* bottom: 0; */
}


.footer__inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 32px;
    padding-bottom: 28px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.footer__brand img {
    width: 70px;
    height: 70px;
    border-radius: 8px;
    object-fit: contain;
    margin-bottom: 10px;
    border: 2px solid #ffffff33;
}

.footer__brand p {
    font-size: 14px;
    opacity: 0.85;
    margin: 0;
}

.footer__links a {
    color: #ffffff;
    margin: 0 10px;
    text-decoration: none;
    font-weight: 500;
    transition: opacity 0.3s ease;
}

.footer__links a:hover {
    opacity: 0.8;
}

.footer__socials a {
    color: #ffffff;
    font-size: 20px;
    margin: 0 8px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.footer__socials a:hover {
    transform: translateY(-2px);
    opacity: 0.85;
}

.footer__bottom {
    margin-top: 20px;
    opacity: 0.8;
    font-size: 14px;
}

/* Mobil düzen */
@media (max-width: 768px) {
    .footer__inner {
        flex-direction: column;
        text-align: center;
    }

    .footer__links {
        margin: 10px 0;
    }
}



/* Dokunmatik cihazlarda tıklanırken hover eşleniği */
@media (hover: none) and (pointer: coarse) {
  .card:active { transform: translateY(-3px); }
  /* veya :has ile çocuk aktifken kartı boyayabilirsin */
  .card:has(:active) { transform: translateY(-3px); }
}

/* Masaüstü: normal hover */
@media (hover: hover) and (pointer: fine) {
  .hoverize:hover { /* hover efektlerin */ }
}

/* Mobil: dokununca (click sırasında) aynı efekti uygula */
@media (hover: none), (pointer: coarse) {
  .touch .hoverize:active,
  .touch .hoverize.is-pressed { /* hover ile aynı efektler */ }
}

/* Küçük dokunuş optimizasyonları */
.hoverize {
  cursor: pointer;
  touch-action: manipulation; /* 300ms gecikmeyi azaltır */
}

