/* ==========================================================================
   Ateş Studio · Ana stil dosyası
   Modern CSS: custom properties, nesting, clamp(), container queries, :has(),
   View Transitions. Build adımı gerektirmez.
   ========================================================================== */

/* ---------- 1. Tasarım değişkenleri ---------- */
:root {
    --font-display: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, system-ui, sans-serif;
    --font-body: "Inter", system-ui, sans-serif;

    /* Siyah beyaz ana palet: vurgu rengi her zaman yazı rengidir */
    --accent: var(--text);
    --accent-ink: var(--bg);
    --gradient: linear-gradient(var(--text), var(--text));

    /* Marka renkleri yalnızca ilgili bağlantılarda kullanılır */
    --whatsapp: #25D366;
    --instagram: linear-gradient(45deg, #feda75 0%, #fa7e1e 25%, #d62976 50%, #962fbf 75%, #4f5bd5 100%);
    --linkedin: #0A66C2;
    --behance: #1769FF;

    --radius-sm: 10px;
    --radius: 18px;
    --radius-lg: 28px;

    --container: 1280px;
    --gutter: clamp(16px, 4vw, 40px);
    --section: clamp(72px, 10vw, 140px);

    --step--1: clamp(0.83rem, 0.8rem + 0.15vw, 0.9rem);
    --step-0: clamp(1rem, 0.96rem + 0.2vw, 1.1rem);
    --step-1: clamp(1.2rem, 1.1rem + 0.5vw, 1.45rem);
    --step-2: clamp(1.5rem, 1.3rem + 1vw, 2.1rem);
    --step-3: clamp(2rem, 1.6rem + 2vw, 3.2rem);
    --step-4: clamp(2.1rem, 1.4rem + 4vw, 5.2rem);
    --step-5: clamp(2.2rem, 0.6rem + 7.5vw, 7.5rem);

    --ease: cubic-bezier(0.22, 1, 0.36, 1);
    --header-h: 76px;
    color-scheme: dark;
}

@media (max-width: 768px) {
    :root {
        --header-h: 68px;
        --section: 64px;
    }
}

:root[data-theme="dark"] {
    --bg: #0a0a0a;
    --bg-alt: #121212;
    --surface: #161616;
    --surface-2: #1f1f1f;
    --text: #fafafa;
    --muted: #a1a1a1;
    --line: rgb(255 255 255 / 0.1);
    --shadow: 0 30px 80px -30px rgb(0 0 0 / 0.6);
    color-scheme: dark;
}

:root[data-theme="light"] {
    --bg: #ffffff;
    --bg-alt: #f5f5f5;
    --surface: #ffffff;
    --surface-2: #f0f0f0;
    --text: #0a0a0a;
    --muted: #616161;
    --line: rgb(10 10 10 / 0.12);
    --shadow: 0 30px 80px -40px rgb(18 18 24 / 0.35);
    color-scheme: light;
}

/* ---------- 2. Temel ---------- */
@view-transition { navigation: auto; }

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-padding-top: var(--header-h); }

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: var(--font-body);
    font-size: var(--step-0);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: clip;
    transition: background-color .4s var(--ease), color .4s var(--ease);

    &.menu-open { overflow: hidden; }
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.05; margin: 0; letter-spacing: -0.02em; text-wrap: balance; overflow-wrap: break-word; }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }
[x-cloak] { display: none !important; }

::selection { background: var(--accent); color: var(--accent-ink); }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.skip-link {
    position: fixed; left: 16px; top: -60px; z-index: 100;
    background: var(--accent); color: var(--accent-ink);
    padding: 10px 16px; border-radius: var(--radius-sm); font-weight: 600;
    &:focus { top: 16px; }
}

.container { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }
.muted { color: var(--muted); }
.icon { width: 1.15em; height: 1.15em; flex: none; }
.icon--flip { transform: scaleX(-1); }
.hide-mobile { @media (width < 720px) { display: none !important; } }

.eyebrow {
    display: inline-flex; align-items: center; gap: 10px;
    font-size: var(--step--1); font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 18px;
    @media (max-width: 768px) { margin-bottom: 16px; }

    .dot {
        width: 8px; height: 8px; border-radius: 50%;
        background: var(--accent);
        box-shadow: 0 0 0 0 var(--accent);
        animation: pulse 2s infinite;
    }
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--text) 45%, transparent); }
    70% { box-shadow: 0 0 0 12px transparent; }
    100% { box-shadow: 0 0 0 0 transparent; }
}

/* ---------- 3. Butonlar ---------- */
.btn {
    --_bg: transparent; --_fg: var(--text); --_bd: var(--line);
    position: relative; isolation: isolate; overflow: hidden;
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    min-height: 52px; padding: 0 26px;
    border-radius: 999px; border: 1px solid var(--_bd);
    background: var(--_bg); color: var(--_fg);
    font-weight: 600; font-size: var(--step--1); letter-spacing: 0.01em;
    transition: transform .4s var(--ease), border-color .3s, color .3s;

    &::before {
        content: ""; position: absolute; inset: 0; z-index: -1;
        background: var(--text); border-radius: inherit;
        transform: translateY(101%);
        transition: transform .5s var(--ease);
    }
    &:hover { color: var(--bg); border-color: var(--text); }
    &:hover::before { transform: translateY(0); }
    &:hover .icon { transform: translateX(3px); }
    .icon { transition: transform .4s var(--ease); }
    &:disabled { opacity: .6; pointer-events: none; }
}
.btn--primary { --_bg: var(--accent); --_fg: var(--accent-ink); --_bd: var(--accent); }
.btn--ghost { --_bg: transparent; }
.btn--sm { min-height: 42px; padding: 0 18px; }
.btn--block { width: 100%; }

.icon-btn {
    display: inline-grid; place-items: center;
    width: 44px; height: 44px; border-radius: 50%;
    border: 1px solid var(--line); background: transparent;
    transition: background .3s, color .3s, border-color .3s;
    &:hover { background: var(--text); color: var(--bg); border-color: var(--text); }
}

.link-btn { background: none; border: 0; padding: 0; color: var(--muted); &:hover { color: var(--text); } }

.tag {
    display: inline-flex; padding: 4px 12px; border-radius: 999px;
    border: 1px solid var(--line); font-size: var(--step--1);
}

/* ---------- 4. Header ---------- */
.site-header {
    position: fixed; inset: 0 0 auto; z-index: 50;
    height: var(--header-h);
    transition: transform .5s var(--ease), background .3s, border-color .3s, height .3s;
    border-bottom: 1px solid transparent;

    &.is-scrolled {
        --header-h: 64px;
        @media (max-width: 768px) { --header-h: 60px; }
        background: color-mix(in srgb, var(--bg) 78%, transparent);
        backdrop-filter: blur(14px) saturate(1.4);
        border-color: var(--line);
    }
    &.is-hidden { transform: translateY(-100%); }
}
.site-header__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.site-header__actions { display: flex; align-items: center; gap: 10px; }

/* Logo: HA işareti + logodaki gibi aralıklı büyük harf yazı (tam ortadan hizalı) */
.logo {
    display: inline-flex;
    align-items: center;
    gap: 13px;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: .92rem;
    letter-spacing: .16em;
    text-transform: uppercase;
    white-space: nowrap;
    line-height: 1;
}
.logo__mark {
    width: 32px;
    height: 27.5px;
    flex: none;
    display: block;
    transition: transform .6s var(--ease);
}
.logo:hover .logo__mark { transform: translateY(-2px); }
.logo__text {
    display: inline-flex;
    align-items: center;
    line-height: 1;
    transform: translateY(1.5px); /* Büyük harf optik merkezini logonun tam dikey merkezine kilitler */
}


.nav { @media (width < 960px) { display: none; } }
.nav__list { display: flex; gap: 6px; }
.nav__link {
    position: relative; display: block; padding: 8px 14px;
    font-size: var(--step--1); font-weight: 500; color: var(--muted);
    transition: color .3s;
    &::after {
        content: ""; position: absolute; left: 14px; right: 14px; bottom: 2px; height: 2px;
        background: var(--accent); border-radius: 2px;
        transform: scaleX(0); transform-origin: right;
        transition: transform .4s var(--ease);
    }
    &:hover, &.is-active { color: var(--text); }
    &:hover::after, &.is-active::after { transform: scaleX(1); transform-origin: left; }
}

.burger {
    display: none; width: 44px; height: 44px; border-radius: 50%;
    border: 1px solid var(--line); background: transparent; position: relative;
    @media (width < 960px) { display: inline-block; }

    span {
        position: absolute; left: 13px; right: 13px; height: 2px; background: currentColor; border-radius: 2px;
        transition: transform .4s var(--ease), top .4s var(--ease);
        &:first-child { top: 17px; }
        &:last-child { top: 25px; }
    }
    .menu-open & span:first-child { top: 21px; transform: rotate(45deg); }
    .menu-open & span:last-child { top: 21px; transform: rotate(-45deg); }
}

.mobile-menu {
    position: fixed; inset: 0; z-index: 40;
    background: var(--bg);
    padding: calc(var(--header-h) + 40px) var(--gutter) 40px;
    display: flex; flex-direction: column; justify-content: space-between;

    ul { display: grid; gap: 6px; }
    li a {
        font-family: var(--font-display); font-weight: 700; font-size: var(--step-4);
        letter-spacing: -0.03em; line-height: 1.1;
        &:hover { color: var(--accent); }
    }
}
.mobile-menu__contact {
    display: grid; gap: 12px; color: var(--muted);
    a { display: inline-flex; align-items: center; gap: 10px; }
}

/* ---------- 5. Hero ---------- */
.hero {
    position: relative; overflow: clip;
    min-height: 100svh;
    display: grid; align-items: center;
    padding-block: calc(var(--header-h) + 40px) 120px;

    @media (max-width: 768px) {
        min-height: auto;
        display: block;
        padding-top: calc(var(--header-h) + 52px);
        padding-bottom: 64px;
    }
}
.hero__glow {
    position: absolute; inset: auto -20% -40% auto; z-index: -1;
    width: min(900px, 120vw); aspect-ratio: 1;
    background:
        radial-gradient(circle at 35% 35%, color-mix(in srgb, var(--text) 9%, transparent), transparent 60%),
        radial-gradient(circle at 70% 70%, color-mix(in srgb, var(--text) 6%, transparent), transparent 60%);
    filter: blur(60px);
    animation: float 14s ease-in-out infinite alternate;
}
.hero__glow--soft { inset: -50% -30% auto auto; opacity: .55; }

@keyframes float {
    from { transform: translate(0, 0) rotate(0deg) scale(1); }
    to { transform: translate(-8%, -6%) rotate(25deg) scale(1.1); }
}

.hero__title {
    font-size: var(--step-5); font-weight: 600; letter-spacing: -0.035em; line-height: 0.95;
    max-width: 14ch;

    @media (max-width: 768px) {
        font-size: clamp(2.3rem, 9.2vw, 3.2rem);
        line-height: 1.08;
        max-width: 100%;
    }
}
.hero__text {
    max-width: 52ch; margin-top: 28px; font-size: var(--step-1); color: var(--muted);

    @media (max-width: 768px) {
        margin-top: 22px;
        font-size: 1.06rem;
        line-height: 1.6;
        max-width: 100%;
    }
}
.hero__actions {
    display: flex; flex-wrap: wrap; gap: 12px; margin-top: 40px;

    @media (max-width: 768px) {
        margin-top: 30px;
        gap: 12px;
    }
}
.hero__scroll {
    position: absolute; left: 50%; bottom: 32px; translate: -50% 0;
    display: flex; flex-direction: column; align-items: center; gap: 10px;
    font-size: var(--step--1); color: var(--muted); letter-spacing: .14em; text-transform: uppercase;
    span {
        width: 1px; height: 48px; background: linear-gradient(var(--text), transparent);
        animation: scrollLine 2s var(--ease) infinite;
        transform-origin: top;
    }

    @media (max-width: 768px) {
        display: none !important;
    }
}
@keyframes scrollLine { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }

/* Satır satır açılan başlık (JS ile kelimelere bölünür) */
.split-word {
    display: inline-block;
    overflow: clip;
    vertical-align: top;
    padding-top: 0.35em;
    margin-top: -0.35em;
    padding-bottom: 0.12em;
    margin-bottom: -0.12em;
}
.split-word > span { display: inline-block; }

/* ---------- 6. Kayan yazı ---------- */
.marquee {
    border-block: 1px solid var(--line);
    padding-block: 26px; overflow: clip;
    font-family: var(--font-display); font-weight: 700; font-size: var(--step-3);
    letter-spacing: -0.03em; white-space: nowrap;

    @media (max-width: 768px) {
        padding-block: 22px;
    }
}
.marquee__track {
    display: inline-flex; gap: 40px; align-items: center;
    animation: marquee 30s linear infinite;
    .marquee:hover & { animation-play-state: paused; }
}
.marquee__star { color: var(--accent); font-size: .6em; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- 7. Bölümler ---------- */
.section { padding-block: var(--section); }
.section--alt { background: var(--bg-alt); }
.section--tight { padding-block: clamp(48px, 7vw, 90px); }
.section--flush-top { padding-top: 0; }

.section-head {
    display: flex; align-items: end; justify-content: space-between; gap: 24px; flex-wrap: wrap;
    margin-bottom: clamp(36px, 5vw, 64px);

    @media (max-width: 768px) {
        margin-bottom: 28px;
        gap: 18px;
    }
}
.section-title { font-size: var(--step-4); font-weight: 700; max-width: 18ch; }

.page-hero {
    position: relative; overflow: clip;
    padding-block: calc(var(--header-h) + clamp(60px, 10vw, 140px)) clamp(48px, 7vw, 96px);

    @media (max-width: 768px) {
        padding-top: calc(var(--header-h) + 48px);
        padding-bottom: 44px;
    }
}
.page-hero__title {
    font-size: var(--step-5);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.08;
    max-width: 16ch;
    padding-top: 0.15em;

    @media (max-width: 768px) {
        font-size: clamp(2.2rem, 8.5vw, 2.95rem);
        line-height: 1.08;
    }
}
.page-hero__lead {
    margin-top: 24px; max-width: 56ch; font-size: var(--step-1); color: var(--muted);

    @media (max-width: 768px) {
        margin-top: 18px;
        font-size: 1.05rem;
        line-height: 1.6;
    }
}

/* ---------- 8. Proje kartları ---------- */
.project-grid {
    display: grid; gap: clamp(20px, 3vw, 36px);
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 380px), 1fr));
}
.project-grid--featured {
    grid-template-columns: repeat(2, 1fr);
    .project-card--large { grid-column: 1 / -1; }
    @media (max-width: 768px) { grid-template-columns: 1fr; }
}

.project-card { container-type: inline-size; }
.project-card__link { display: block; }
.project-card__media {
    position: relative; overflow: hidden; isolation: isolate;
    aspect-ratio: 4 / 3; border-radius: var(--radius-lg);
    background: var(--surface-2);
    display: grid; place-items: center;
    transform: translateZ(0);
    -webkit-mask-image: -webkit-radial-gradient(white, black);

    &:not(.project-card__media--has-img) {
        background: linear-gradient(135deg, var(--c1, #1f2937), var(--c2, #9ca3af));
        filter: grayscale(1) contrast(.9);

        &::after {
            content: ""; position: absolute; inset: 0; z-index: -1;
            background: radial-gradient(circle at 20% 20%, rgb(255 255 255 / .25), transparent 40%),
                        radial-gradient(circle at 80% 90%, rgb(0 0 0 / .25), transparent 50%);
        }
    }

    img {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
        display: block;
        transition: transform 1s var(--ease);
    }
}

/* Ana Sayfadaki Öne Çıkan Geniş Kart */
.project-card--large .project-card__media {
    aspect-ratio: 16 / 10;
}

@media (max-width: 768px) {
    .project-card--large .project-card__media {
        aspect-ratio: 4 / 3;
    }
}
.project-card__mono {
    font-family: var(--font-display); font-weight: 600;
    font-size: clamp(6rem, 30cqi, 16rem); line-height: 1;
    color: rgb(255 255 255 / .9); mix-blend-mode: overlay;
    transition: transform 1s var(--ease);
}
@media (hover: hover) {
    .project-card__link:hover {
        .project-card__mono, img { transform: scale(1.05); }
        .project-card__title { color: var(--accent); }
    }
}
@media (hover: none) {
    .project-card__link:active {
        .project-card__title { color: var(--accent); }
    }
}
.project-card__body {
    display: flex; justify-content: space-between; align-items: start; gap: 16px;
    padding: 20px 4px 0;

    @container (width < 420px) { flex-direction: column; gap: 10px; }
}
.project-card__title { font-size: var(--step-2); font-weight: 700; transition: color .3s; }
.project-card__summary { color: var(--muted); margin-top: 6px; max-width: 48ch; }
.project-card__meta { display: flex; align-items: center; gap: 12px; flex: none; font-size: var(--step--1); }

/* Filtreler */
.filters {
    display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: clamp(32px, 5vw, 56px);

    @media (max-width: 768px) {
        margin-bottom: 28px;
        gap: 10px;
    }
}
.filter {
    padding: 10px 20px; border-radius: 999px;
    border: 1px solid var(--line); background: transparent;
    font-size: var(--step--1); font-weight: 500;
    transition: background .3s, color .3s, border-color .3s;
    &:hover { border-color: var(--text); }
    &.is-active { background: var(--text); color: var(--bg); border-color: var(--text); }
}
.fade-enter { transition: opacity .5s var(--ease), transform .5s var(--ease); }
.fade-enter-start { opacity: 0; transform: translateY(20px); }
.fade-enter-end { opacity: 1; transform: none; }

/* ---------- 9. Hizmetler (3 - 3 Kusursuz Izgara) ---------- */
.service-grid {
    display: grid;
    gap: 1px;
    grid-template-columns: repeat(3, 1fr);
    background: var(--line);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.service-card {
    position: relative;
    background: var(--bg-alt);
    padding: clamp(28px, 3.2vw, 42px);
    display: flex;
    flex-direction: column;
    gap: 14px;
    align-content: start;
    transition: background .4s var(--ease);

    &:hover {
        background: var(--surface);
    }
    &:hover .service-card__icon {
        background: var(--accent);
        color: var(--accent-ink);
        transform: rotate(-8deg);
    }
}

@media (max-width: 960px) {
    .service-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .service-grid {
        grid-template-columns: 1fr;
    }
}

.service-card__icon {
    width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center;
    background: var(--surface-2); color: var(--accent);
    transition: background .3s, color .3s, transform .5s var(--ease);
    .icon { width: 26px; height: 26px; }
}
.service-card__title { font-size: var(--step-1); font-weight: 700; margin-top: 8px; line-height: 1.3; }

.service-list { display: grid; }
.service-row {
    display: grid; gap: 24px 48px;
    grid-template-columns: 80px 1fr 1.2fr;
    padding-block: clamp(32px, 5vw, 56px);
    border-top: 1px solid var(--line);
    &:last-child { border-bottom: 1px solid var(--line); }
    @media (width < 900px) { grid-template-columns: 1fr; }
}
.service-row__num { font-family: var(--font-display); font-size: var(--step-1); color: var(--muted); }
.service-row__head { display: flex; gap: 20px; align-items: center; }
.service-row__title { font-size: var(--step-3); font-weight: 700; }
.service-row__body { display: grid; gap: 20px; }

.checklist {
    display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    li { display: flex; gap: 10px; align-items: center; }
    .icon { color: var(--accent); }
}

.steps {
    display: grid; gap: 20px; margin-top: clamp(36px, 5vw, 64px);
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
    counter-reset: step;
}
.step {
    padding: 32px; border-radius: var(--radius-lg);
    background: var(--surface); border: 1px solid var(--line);
    display: grid; gap: 12px; align-content: start;
}
.step__num {
    width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
    background: var(--gradient); color: var(--accent-ink); font-weight: 700;
}
.step__title { font-size: var(--step-1); font-weight: 700; margin-top: 8px; }

/* ---------- 10. Rakamlar ---------- */
.stats {
    display: grid; gap: 24px;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 150px), 1fr));
}
.stat {
    display: grid; gap: 6px; padding-top: 24px; border-top: 1px solid var(--line);
}
.stat__value {
    font-family: var(--font-display); font-weight: 600; font-size: var(--step-4); line-height: 1; letter-spacing: -0.04em;
    background: var(--gradient); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.stat__label { color: var(--muted); }

/* ---------- 11. Referanslar (Kim Ne Diyor?) ---------- */
.testimonials {
    overflow: hidden;
    padding-block: 4px 16px;
}
.testimonials .swiper-wrapper {
    align-items: stretch;
}
.testimonial {
    margin: 0;
    height: auto;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    gap: 18px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg, 20px);
    padding: clamp(22px, 2.5vw, 30px);
    transition: transform .35s var(--ease), border-color .3s var(--ease), box-shadow .35s var(--ease);

    &:hover {
        transform: translateY(-4px);
        border-color: color-mix(in srgb, var(--accent) 45%, var(--line));
        box-shadow: 0 16px 36px rgba(0, 0, 0, 0.25);
    }
}
[data-theme="light"] .testimonial {
    background: #ffffff;
    border-color: rgba(0, 0, 0, 0.08);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);

    &:hover {
        border-color: rgba(0, 0, 0, 0.2);
        box-shadow: 0 16px 36px rgba(0, 0, 0, 0.08);
    }
}
.testimonial__author {
    display: flex;
    align-items: center;
    gap: 14px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--line);
}
.testimonial__avatar {
    width: 52px; height: 52px; border-radius: 50%; overflow: hidden;
    flex-shrink: 0; border: 2px solid var(--line); background: var(--surface-2);
    display: grid; place-items: center; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    img { width: 100%; height: 100%; object-fit: cover; display: block; }
}
.testimonial__avatar-fallback { font-family: var(--font-display); font-weight: 700; font-size: 1.2rem; color: var(--accent); }
.testimonial__meta { display: flex; flex-direction: column; gap: 2px; }
.testimonial__name { font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; color: var(--text); line-height: 1.25; }
.testimonial__company { font-family: var(--font-body); font-weight: 500; font-size: var(--step--1); color: var(--muted); line-height: 1.3; }
.testimonial__quote {
    margin: 0;
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 0.98rem;
    line-height: 1.6;
    letter-spacing: -0.01em;
    color: var(--text);
    flex-grow: 1;
}
.testimonials__nav { display: flex; align-items: center; gap: 12px; }
.testimonials__pagination {
    display: flex; gap: 8px; width: auto !important;
    .swiper-pagination-bullet {
        width: 8px; height: 8px; background: var(--muted); opacity: .4;
        margin: 0 !important; transition: width .4s var(--ease), opacity .3s, background-color .3s; border-radius: 8px;
    }
    .swiper-pagination-bullet-active { width: 24px; background: var(--accent); opacity: 1; }
}

.clients {
    display: flex; flex-wrap: wrap; gap: 14px 40px; margin-top: clamp(56px, 8vw, 100px);
    padding-top: 40px; border-top: 1px solid var(--line);
    li { font-family: var(--font-display); font-weight: 700; font-size: var(--step-1); color: var(--muted); transition: color .3s; }
    li:hover { color: var(--text); }
}

/* ---------- 12. Proje detay ---------- */
.project-hero {
    padding-block: calc(var(--header-h) + 60px) 48px;

    @media (max-width: 768px) {
        padding-top: calc(var(--header-h) + 40px);
        padding-bottom: 36px;
    }
}
.back-link {
    display: inline-flex; align-items: center; gap: 8px; margin-bottom: 40px; color: var(--muted);
    &:hover { color: var(--text); }
    @media (max-width: 768px) { margin-bottom: 24px; }
}
.project-cover {
    position: relative;
    aspect-ratio: 16 / 8; border-radius: var(--radius-lg); overflow: hidden;
    background: var(--surface-2);
    display: grid; place-items: center; container-type: inline-size;
    transform: translateZ(0);
    -webkit-mask-image: -webkit-radial-gradient(white, black);

    &:not(.project-cover--has-img) {
        background: linear-gradient(135deg, var(--c1, #1f2937), var(--c2, #9ca3af));
        filter: grayscale(1) contrast(.9);
    }

    img {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
        display: block;
    }
    @media (max-width: 768px) { aspect-ratio: 4 / 3; }
}
.project-layout {
    display: grid; gap: 48px; grid-template-columns: 320px 1fr;
    @media (max-width: 900px) { grid-template-columns: 1fr; }
}
.project-meta {
    margin: 0; display: grid; gap: 20px; align-content: start;
    div { padding-bottom: 16px; border-bottom: 1px solid var(--line); }
    dt { font-size: var(--step--1); color: var(--muted); text-transform: uppercase; letter-spacing: .12em; }
    dd { margin: 4px 0 0; font-weight: 500; }
}
.prose {
    display: grid; gap: 1.2em; font-size: var(--step-1); max-width: 64ch;
    p { color: var(--muted); }
    p:first-child { color: var(--text); }
}
.prose--lg p:first-child { font-size: var(--step-2); line-height: 1.35; font-family: var(--font-display); font-weight: 600; letter-spacing: -0.02em; }

.gallery {
    display: grid; gap: 20px; grid-template-columns: repeat(2, 1fr);
    @media (max-width: 768px) { grid-template-columns: 1fr; }
}
.gallery__item {
    border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 3;
    &:first-child { grid-column: 1 / -1; aspect-ratio: 16 / 8; }
    img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
    &:hover img { transform: scale(1.04); }
}
.gallery__item--placeholder {
    display: grid; place-items: center; filter: grayscale(1) contrast(.9);
    background: linear-gradient(calc(45deg * var(--i)), var(--c1), var(--c2));
    color: rgb(255 255 255 / .8); font-weight: 600; letter-spacing: .1em; text-transform: uppercase; font-size: var(--step--1);
}

/* Proje Medya Galerisi (Dikey & Yatay, Görsel & Video) */
.project-gallery {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: clamp(20px, 3vw, 40px);
    align-items: start;
}
.project-media {
    margin: 0;
    border-radius: var(--radius-lg);
    background: var(--surface);
    border: 1px solid var(--line);
    overflow: hidden;
    transition: transform .4s var(--ease), box-shadow .4s var(--ease);
    display: flex;
    flex-direction: column;
    &:hover { box-shadow: 0 12px 36px rgb(0 0 0 / .15); }
}
.project-media--horizontal {
    grid-column: span 12;
    .project-media__wrapper {
        aspect-ratio: 16 / 9;
        width: 100%;
        background: #000;
        position: relative;
        overflow: hidden;
    }
}
.project-media--vertical {
    grid-column: span 6;
    width: 100%;
    max-width: 540px;
    justify-self: center;
    .project-media__wrapper {
        aspect-ratio: 9 / 16;
        width: 100%;
        max-height: 820px;
        background: #000;
        position: relative;
        overflow: hidden;
    }
}
.project-gallery:has(> .project-media--vertical:only-child) .project-media--vertical {
    grid-column: 4 / span 6;
}
.project-media__wrapper {
    position: relative;
    img, video { width: 100%; height: 100%; object-fit: cover; display: block; }
}
.project-media__link {
    display: block; width: 100%; height: 100%; position: relative; overflow: hidden;
    img { transition: transform .8s var(--ease); }
    &:hover img { transform: scale(1.03); }
}
.project-media__zoom {
    position: absolute; top: 16px; right: 16px; width: 42px; height: 42px; border-radius: 50%;
    background: rgb(0 0 0 / .65); color: #fff; display: grid; place-items: center;
    backdrop-filter: blur(8px); opacity: 0; transform: scale(.8);
    transition: opacity .3s ease, transform .3s ease; pointer-events: none;
    .icon { width: 18px; height: 18px; }
}
.project-media__link:hover .project-media__zoom { opacity: 1; transform: scale(1); }
.project-media__video { background: #000; outline: none; }
.project-media__caption {
    padding: 14px 20px; font-size: var(--step--1); color: var(--muted);
    background: var(--surface); border-top: 1px solid var(--line); line-height: 1.4;
}
@media (width < 900px) {
    .project-gallery { gap: 20px; }
    .project-media--vertical { grid-column: span 6; max-width: 100%; }
}
@media (width < 680px) {
    .project-gallery { grid-template-columns: 1fr; gap: 16px; }
    .project-media--horizontal, .project-media--vertical { grid-column: 1 / -1; max-width: 100%; }
    .project-media--vertical .project-media__wrapper { aspect-ratio: 9 / 16; max-height: 75vh; }
    .project-media__caption { padding: 10px 14px; font-size: 13px; }
}


.next-project { border-top: 1px solid var(--line); }
.next-project__link {
    display: grid; gap: 8px; padding-block: clamp(60px, 10vw, 140px);
    &:hover .next-project__title { color: var(--accent); }
    &:hover .icon { transform: translate(6px, -6px); }
}
.next-project__title {
    display: flex; align-items: center; gap: 20px;
    font-family: var(--font-display); font-weight: 600; font-size: var(--step-5); letter-spacing: -0.035em; line-height: 1;
    transition: color .3s;
    .icon { width: .7em; height: .7em; transition: transform .5s var(--ease); }
}

/* ---------- 13. Hakkımda ---------- */
.about-hero__grid {
    display: grid; gap: 56px; align-items: center; grid-template-columns: 1.3fr 1fr;
    @media (width < 900px) { grid-template-columns: 1fr; }
    @media (max-width: 768px) { gap: 36px; }
}
.portrait {
    position: relative; justify-self: center; width: min(100%, 420px);
    @media (max-width: 768px) { width: min(100%, 320px); }
}
.portrait__frame {
    aspect-ratio: 4 / 5; border-radius: 200px 200px var(--radius-lg) var(--radius-lg);
    background: var(--gradient); display: grid; place-items: center; overflow: hidden;
    box-shadow: var(--shadow);
}
.portrait__logo { width: 52%; height: auto; color: var(--bg); }
.portrait__initials { font-family: var(--font-display); font-weight: 600; font-size: clamp(3.5rem, 9vw, 6.5rem); color: var(--accent-ink); letter-spacing: -0.04em; }
.portrait__badge {
    position: absolute; left: -16px; bottom: 32px;
    display: grid; padding: 16px 20px; border-radius: var(--radius);
    background: color-mix(in srgb, var(--surface) 85%, transparent); backdrop-filter: blur(10px);
    border: 1px solid var(--line); box-shadow: var(--shadow);
    span { font-size: var(--step--1); color: var(--muted); }
    @media (width < 520px) { left: 12px; }
}
.about-grid {
    display: grid; gap: 56px; grid-template-columns: 1.5fr 1fr;
    @media (width < 900px) { grid-template-columns: 1fr; }
}
.aside-title { font-size: var(--step-1); margin-bottom: 20px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
    padding: 10px 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface);
    font-size: var(--step--1); transition: border-color .3s, color .3s;
    &:hover { border-color: var(--accent); color: var(--accent); }
}

.timeline { display: grid; margin-top: clamp(36px, 5vw, 64px); }
.timeline__item {
    display: grid; grid-template-columns: 240px 1fr; gap: 24px; align-items: baseline;
    padding-block: 32px; border-top: 1px solid var(--line);
    @media (width < 640px) { grid-template-columns: 1fr; gap: 8px; }
}
.timeline__year { font-family: var(--font-display); font-weight: 600; font-size: var(--step-2); color: var(--accent); line-height: 1; }
.timeline__title { font-size: var(--step-1); margin-bottom: 6px; }

/* ---------- 14. İletişim ---------- */
.contact-grid {
    display: grid; gap: clamp(32px, 5vw, 64px); grid-template-columns: 1fr 1.4fr; align-items: start;
    @media (width < 960px) { grid-template-columns: 1fr; }
}
.contact-info { display: grid; gap: 14px; }
.contact-person { margin-bottom: 10px; }
.contact-person__name { display: block; font-family: var(--font-display); font-size: var(--step-3); letter-spacing: -0.03em; }
.contact-card {
    display: flex; align-items: center; gap: 18px;
    padding: 20px; border-radius: var(--radius);
    background: var(--surface); border: 1px solid var(--line);
    transition: border-color .3s, transform .4s var(--ease);
    &:not(.contact-card--static):hover { border-color: var(--accent); transform: translateX(6px); }
}
.contact-card__icon {
    width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; flex: none;
    background: color-mix(in srgb, var(--accent) 14%, transparent); color: var(--accent);
    .icon { width: 24px; height: 24px; }
}
.contact-card__icon--wa { background: rgb(37 211 102 / .14); color: #25d366; }
.contact-card__label { display: block; font-size: var(--step--1); color: var(--muted); }
.contact-card__value { display: block; font-weight: 600; font-size: var(--step-1); word-break: break-word; }

.form-card {
    padding: clamp(24px, 4vw, 48px); border-radius: var(--radius-lg);
    background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow);
}
.form { display: grid; gap: 20px; }
.form__row { display: grid; gap: 20px; grid-template-columns: 1fr 1fr; @media (width < 640px) { grid-template-columns: 1fr; } }
.field {
    display: grid; gap: 8px;
    label { font-size: var(--step--1); font-weight: 500; color: var(--muted); }
    input, select, textarea {
        width: 100%; font: inherit; color: var(--text);
        padding: 14px 16px; border-radius: var(--radius-sm);
        border: 1px solid var(--line); background: var(--bg);
        transition: border-color .3s, box-shadow .3s;
        &:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 20%, transparent); }
        &[aria-invalid="true"] { border-color: #ef4444; }
    }
    textarea { resize: vertical; min-height: 140px; }
    /* :has() ile odaklanan alanın etiketini vurgula */
    &:has(:focus) label { color: var(--accent); }
}
.field__error { color: #ef4444; font-size: var(--step--1); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.alert {
    display: flex; gap: 10px; align-items: center;
    padding: 16px 18px; border-radius: var(--radius-sm); margin-bottom: 24px; font-weight: 500;
}
.alert--success { background: rgb(34 197 94 / .12); color: #22c55e; border: 1px solid rgb(34 197 94 / .3); }
.alert--error { background: rgb(239 68 68 / .12); color: #ef4444; border: 1px solid rgb(239 68 68 / .3); }

/* ---------- 15. Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding-top: var(--section); }
.footer-cta { display: grid; gap: 18px; padding-bottom: clamp(56px, 8vw, 100px); }
.footer-cta__eyebrow {
    font-size: var(--step--1);
    font-weight: 600;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--muted);
    margin: 0;
}
.footer-cta__title {
    display: block; width: fit-content;
    font-family: var(--font-display); font-weight: 600; font-size: var(--step-5); line-height: .95; letter-spacing: -0.035em;
    transition: color .3s;
    &:hover { color: var(--accent); }
    &:hover .footer-cta__icon { transform: translate(8px, -8px) rotate(0deg); }
}
.footer-cta__icon { display: inline-block; vertical-align: middle; width: .7em; height: .7em; transition: transform .5s var(--ease); }
.footer-cta__phone {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    font-size: var(--step-2);
    font-weight: 600;
    color: var(--text);
    width: fit-content;
    margin-top: 4px;
    transition: color .3s, transform .3s var(--ease);
    &:hover { transform: translateX(4px); }
}
.footer-cta__phone-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: inline-grid;
    place-items: center;
    flex: none;
    background: var(--surface);
    color: var(--text);
    border: 1px solid var(--line);
    transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease);
    .icon { width: 19px; height: 19px; }
}
.footer-cta__phone:hover .footer-cta__phone-icon {
    background: var(--text);
    color: var(--bg);
    border-color: var(--text);
    transform: scale(1.06);
}
.footer-cta__phone-num {
    letter-spacing: -0.01em;
}

.footer-grid {
    display: grid; gap: 40px; padding-block: 48px; border-top: 1px solid var(--line);
    grid-template-columns: 2fr 1fr 1fr 1fr;
    @media (width < 900px) { grid-template-columns: 1fr 1fr; }
    @media (width < 520px) { grid-template-columns: 1fr; }
}
.footer-about { margin-top: 16px; max-width: 40ch; font-size: var(--step--1); }
.footer-title { font-family: var(--font-body); font-size: var(--step--1); text-transform: uppercase; letter-spacing: .14em; color: var(--muted); margin-bottom: 16px; font-weight: 600; }
.footer-links { display: grid; gap: 10px; a:hover { color: var(--accent); } }
.socials { display: flex; gap: 10px; }
.footer-bottom {
    display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
    padding-block: 28px; border-top: 1px solid var(--line); font-size: var(--step--1); color: var(--muted);
}

/* ---------- 16. 404 ---------- */
.error-page { min-height: 90svh; display: grid; align-items: center; }
.error-page__code {
    font-family: var(--font-display); font-weight: 600; font-size: clamp(6rem, 25vw, 18rem); line-height: .8; letter-spacing: -0.04em;
    background: var(--gradient); -webkit-background-clip: text; background-clip: text; color: transparent;
    margin-bottom: 24px;
}

/* ---------- 17. Özel imleç (yalnızca fareli cihazlarda) ---------- */
.cursor { display: none; }
@media (hover: hover) and (pointer: fine) {
    .cursor {
        display: grid; place-items: center;
        position: fixed; left: 0; top: 0; z-index: 60; pointer-events: none;
        width: 12px; height: 12px; border-radius: 50%;
        background: var(--accent); mix-blend-mode: difference;
        translate: -50% -50%;
        transition: width .4s var(--ease), height .4s var(--ease), background .3s, mix-blend-mode .3s;

        &.is-hover { width: 48px; height: 48px; }
        &.is-label { width: 96px; height: 96px; mix-blend-mode: normal; }
        &.is-label .cursor__label { opacity: 1; transform: scale(1); }
    }
    .cursor__label {
        color: var(--accent-ink); font-weight: 700; font-size: .85rem;
        opacity: 0; transform: scale(.5); transition: opacity .3s, transform .4s var(--ease);
    }
}

/* ---------- 18. Açılış animasyonları için başlangıç durumu ---------- */
.js [data-reveal], .js [data-hero-fade] { opacity: 0; }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
    .js [data-reveal], .js [data-hero-fade] { opacity: 1; }
    @view-transition { navigation: none; }
}

/* ---------- 19. Marka renkleri (yalnızca ilgili bağlantılarda) ---------- */
.contact-card__icon--wa { background: color-mix(in srgb, var(--whatsapp) 14%, transparent) !important; color: var(--whatsapp) !important; }
.contact-card:has(.contact-card__icon--wa):hover { border-color: var(--whatsapp); }
.link-whatsapp:hover { color: var(--whatsapp) !important; }

.icon-btn--instagram:hover { background: var(--instagram); border-color: transparent; color: #fff; }
.icon-btn--whatsapp:hover { background: var(--whatsapp); border-color: var(--whatsapp); color: #fff; }
.icon-btn--linkedin:hover { background: var(--linkedin); border-color: var(--linkedin); color: #fff; }
.icon-btn--behance:hover { background: var(--behance); border-color: var(--behance); color: #fff; }

.btn--instagram {
    --_bg: transparent; --_fg: var(--text); --_bd: var(--line);
    &::before { background: var(--instagram); }
    &:hover { color: #fff; border-color: transparent; }
}

/* ---------- 20. Referanslar (firmalar) ---------- */
.client-grid {
    display: grid; gap: clamp(16px, 2vw, 24px);
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr));
}
.client-card {
    position: relative; border: 1px solid var(--line); border-radius: var(--radius-lg);
    background: var(--surface); transition: border-color .3s, transform .5s var(--ease);
    &:hover { border-color: var(--text); transform: translateY(-4px); }
}
.client-card__link { display: grid; gap: 14px; padding: 24px; height: 100%; align-content: start; }
.client-card__logo {
    width: 72px; height: 72px; border-radius: 18px; overflow: hidden;
    display: grid; place-items: center; background: var(--bg-alt); border: 1px solid var(--line);
    img { width: 100%; height: 100%; object-fit: contain; padding: 8px; }
}
.client-card__initial { font-family: var(--font-display); font-weight: 600; font-size: 1.8rem; }
.client-card__name { font-size: var(--step-1); font-weight: 600; }
.client-card__services {
    display: flex; flex-wrap: wrap; gap: 6px;
    li { font-size: .78rem; padding: 4px 10px; border-radius: 999px; border: 1px solid var(--line); color: var(--muted); }
}
.client-card__meta {
    display: inline-flex; align-items: center; gap: 6px; margin-top: 6px;
    font-size: var(--step--1); font-weight: 500;
    .icon { transition: transform .4s var(--ease); }
    .client-card:hover & .icon { transform: translateX(4px); }
}
.client-card__ig {
    position: absolute; top: 20px; right: 20px;
    width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
    border: 1px solid var(--line); transition: background .3s, color .3s, border-color .3s;
    &:hover { background: var(--instagram); color: #fff; border-color: transparent; }
}

.client-hero {
    display: grid; grid-template-columns: auto 1fr; gap: clamp(20px, 4vw, 48px); align-items: center;
    @media (width < 640px) { grid-template-columns: 1fr; gap: 18px; }
}
.client-hero__logo {
    width: clamp(96px, 14vw, 160px); aspect-ratio: 1; border-radius: var(--radius-lg); overflow: hidden;
    display: grid; place-items: center; background: var(--surface); border: 1px solid var(--line);
    img { width: 100%; height: 100%; object-fit: contain; padding: 14px; }
    .client-card__initial { font-size: clamp(2.5rem, 6vw, 4rem); }
    @media (max-width: 640px) { width: 84px; }
}
.client-hero__meta {
    display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 24px;
    margin-top: clamp(32px, 5vw, 56px); padding-top: 28px; border-top: 1px solid var(--line);
    @media (max-width: 768px) { margin-top: 24px; padding-top: 20px; gap: 16px; }
}
.client-hero__label { display: block; font-size: var(--step--1); color: var(--muted); text-transform: uppercase; letter-spacing: .12em; margin-bottom: 12px; }

.works { columns: 3 280px; column-gap: 20px; }
.work {
    break-inside: avoid; margin: 0 0 20px; border-radius: var(--radius); overflow: hidden;
    background: var(--surface); border: 1px solid var(--line);
    img, video { width: 100%; height: auto; display: block; }
    img { transition: transform .8s var(--ease); }
    a:hover img { transform: scale(1.03); }
}
.work__caption { padding: 12px 16px; font-size: var(--step--1); color: var(--muted); }

/* ---------- 21. Kayan Hızlı İletişim Butonları (Floating WhatsApp & Call) ---------- */
.floating-contact {
    position: fixed;
    right: max(20px, env(safe-area-inset-right));
    bottom: max(24px, env(safe-area-inset-bottom));
    z-index: 45;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    pointer-events: none;
    transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s;
}

.menu-open .floating-contact {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(12px);
}

.floating-contact__btn {
    position: relative;
    pointer-events: auto;
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    color: #fff;
    text-decoration: none;
    cursor: pointer;
    transition: transform .25s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow .25s ease, background-color .2s ease;
    user-select: none;
    -webkit-tap-highlight-color: transparent;

    &:hover {
        transform: translateY(-3px) scale(1.06);
    }
    &:active {
        transform: translateY(0) scale(0.96);
    }
}

.floating-contact__icon {
    display: grid;
    place-items: center;
    width: 24px;
    height: 24px;
    z-index: 2;
    svg {
        width: 100%;
        height: 100%;
        stroke-width: 2.1;
    }
}

/* WhatsApp Butonu */
.floating-contact__btn--whatsapp {
    background: #25D366;
    color: #ffffff;
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);

    &:hover {
        background: #22bf5b;
        box-shadow: 0 12px 28px rgba(37, 211, 102, 0.55);
    }
}

.floating-contact__pulse {
    position: absolute;
    inset: -3px;
    border-radius: 50%;
    border: 2px solid #25D366;
    pointer-events: none;
    animation: floating-wa-pulse 2.4s infinite cubic-bezier(0.25, 0, 0, 1);
}

@keyframes floating-wa-pulse {
    0% { transform: scale(0.96); opacity: 0.8; }
    70% { transform: scale(1.4); opacity: 0; }
    100% { transform: scale(1.4); opacity: 0; }
}

/* Arama Butonu */
.floating-contact__btn--call {
    background: rgba(24, 24, 27, 0.88);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    color: var(--text);
    border: 1px solid var(--line);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);

    &:hover {
        background: var(--surface-2);
        border-color: var(--text);
        box-shadow: 0 12px 28px rgba(0, 0, 0, 0.5);
    }
}

[data-theme="light"] .floating-contact__btn--call {
    background: rgba(255, 255, 255, 0.92);
    color: #111;
    border: 1px solid rgba(0, 0, 0, 0.12);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);

    &:hover {
        background: #fff;
        border-color: rgba(0, 0, 0, 0.3);
        box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
    }
}

/* Tooltip (Masaüstü) */
.floating-contact__tooltip {
    position: absolute;
    right: calc(100% + 12px);
    top: 50%;
    transform: translateY(-50%) translateX(6px);
    padding: 6px 12px;
    background: rgba(20, 20, 22, 0.94);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: #fff;
    font-family: var(--font-body);
    font-size: 12.5px;
    font-weight: 500;
    white-space: nowrap;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s ease, transform .2s ease;
    z-index: 10;
}

[data-theme="light"] .floating-contact__tooltip {
    background: rgba(255, 255, 255, 0.96);
    color: #111;
    border-color: rgba(0, 0, 0, 0.1);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.floating-contact__tooltip::after {
    content: "";
    position: absolute;
    top: 50%;
    right: -5px;
    transform: translateY(-50%);
    border-width: 5px 0 5px 5px;
    border-style: solid;
    border-color: transparent transparent transparent rgba(20, 20, 22, 0.94);
}

[data-theme="light"] .floating-contact__tooltip::after {
    border-color: transparent transparent transparent rgba(255, 255, 255, 0.96);
}

.floating-contact__btn:hover .floating-contact__tooltip {
    opacity: 1;
    transform: translateY(-50%) translateX(0);
}

/* Mobil Cihazlar */
@media (max-width: 640px) {
    .floating-contact {
        right: max(16px, env(safe-area-inset-right));
        bottom: max(18px, env(safe-area-inset-bottom));
        gap: 10px;
    }
    .floating-contact__btn {
        width: 48px;
        height: 48px;
    }
    .floating-contact__icon {
        width: 22px;
        height: 22px;
    }
    .floating-contact__tooltip {
        display: none !important;
    }
}

