/* =========================================================
   Firma Sayfası Teması
   Ana rengi değiştirmek için yalnızca --brand değerini değiştirin.
   ========================================================= */
:root {
    --brand: #1d4ed8;
    --brand-dark: color-mix(in srgb, var(--brand) 78%, #000);
    --brand-soft: color-mix(in srgb, var(--brand) 9%, #fff);
    --brand-ring: color-mix(in srgb, var(--brand) 22%, transparent);

    --ink: #0f172a;
    --ink-2: #334155;
    --muted: #64748b;
    --line: #e2e8f0;
    --bg: #ffffff;
    --bg-soft: #f6f8fb;
    --dark: #0b1220;

    --wa: #25d366;
    --wa-dark: #1da851;
    --danger: #e11d48;
    --success: #16a34a;

    --radius: 16px;
    --radius-lg: 24px;
    --shadow-sm: 0 1px 2px rgba(15, 23, 42, .06), 0 2px 8px rgba(15, 23, 42, .05);
    --shadow: 0 12px 32px -12px rgba(15, 23, 42, .18);
    --shadow-lg: 0 24px 60px -20px rgba(15, 23, 42, .28);

    --container: 1200px;
    --header-h: 78px;
    --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------- Temel ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    font-size: 16px;
    line-height: 1.65;
    color: var(--ink);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
body.no-scroll { overflow: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; line-height: 1.2; }
ul { margin: 0; padding: 0; list-style: none; }
[hidden] { display: none !important; }

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

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 20px; }
.section { padding-block: clamp(64px, 9vw, 112px); }
.section--soft { background: var(--bg-soft); }
main section[id] { scroll-margin-top: calc(var(--header-h) + 8px); }

.skip-link {
    position: absolute; left: 12px; top: -60px; z-index: 200;
    background: var(--brand); color: #fff; padding: 10px 16px; border-radius: 10px; font-weight: 600;
}
.skip-link:focus { top: 12px; }

/* ---------- Butonlar ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .6em;
    height: 52px; padding: 0 26px;
    border-radius: 999px; border: 1.5px solid transparent;
    font-weight: 600; font-size: .95rem; line-height: 1; white-space: nowrap;
    cursor: pointer; position: relative;
    transition: background-color .25s, color .25s, border-color .25s, transform .25s var(--ease), box-shadow .25s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--sm { height: 44px; padding: 0 20px; font-size: .9rem; }
.btn--lg { height: 56px; font-size: 1rem; }
.btn--block { width: 100%; }
.btn--primary { background: var(--brand); color: #fff; box-shadow: 0 10px 24px -10px var(--brand); }
.btn--primary:hover { background: var(--brand-dark); }
.btn--ghost { background: rgba(255, 255, 255, .1); color: #fff; border-color: rgba(255, 255, 255, .4); backdrop-filter: blur(6px); }
.btn--ghost:hover { background: #fff; color: var(--ink); }
.btn--outline { background: #fff; color: var(--ink); border-color: var(--line); }
.btn--outline:hover { border-color: var(--brand); color: var(--brand); }
.btn--wa { background: var(--wa); color: #fff; box-shadow: 0 10px 24px -10px var(--wa); }
.btn--wa:hover { background: var(--wa-dark); }
.btn .fa { font-size: 1.1em; }

.btn__spinner {
    display: none; width: 18px; height: 18px; border-radius: 50%;
    border: 2.5px solid rgba(255, 255, 255, .35); border-top-color: #fff;
    animation: spin .8s linear infinite;
}
.btn.is-loading { pointer-events: none; opacity: .9; }
.btn.is-loading .btn__spinner { display: inline-block; }
.btn.is-loading .btn__label { opacity: .85; }
.btn__label { display: inline-flex; align-items: center; gap: .6em; }
@keyframes spin { to { transform: rotate(360deg); } }

.icon-btn {
    width: 42px; height: 42px; border-radius: 12px; border: 1px solid var(--line);
    background: #fff; display: grid; place-items: center; cursor: pointer; font-size: 18px;
}
.link-btn {
    display: inline-flex; align-items: center; gap: 8px; margin-top: 8px;
    background: none; border: 0; padding: 6px 0; cursor: pointer;
    color: var(--brand); font-weight: 600;
}
.link-btn .fa { transition: transform .3s; }
.link-btn[aria-expanded="true"] .fa { transform: rotate(180deg); }

/* ---------- Sosyal ---------- */
.social { display: flex; flex-wrap: wrap; gap: 10px; }
.social a {
    width: 40px; height: 40px; border-radius: 50%;
    display: grid; place-items: center;
    background: rgba(255, 255, 255, .08); color: #fff; font-size: 16px;
    transition: background-color .25s, transform .25s;
}
.social a:hover { background: var(--brand); transform: translateY(-3px); }
.social--sm { gap: 4px; }
.social--sm a { width: 30px; height: 30px; font-size: 14px; background: transparent; color: rgba(255, 255, 255, .75); }
.social--sm a:hover { background: rgba(255, 255, 255, .12); color: #fff; transform: none; }

/* ---------- Üst bilgi çubuğu ---------- */
.topbar { background: var(--dark); color: rgba(255, 255, 255, .72); font-size: .85rem; }
.topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 44px; }
.topbar__info { display: flex; align-items: center; gap: 28px; min-width: 0; }
.topbar__info li { display: flex; align-items: center; gap: 8px; white-space: nowrap; min-width: 0; }
.topbar__info .fa { color: color-mix(in srgb, var(--brand) 55%, #fff); }
.topbar__info a:hover { color: #fff; }
.topbar__addr a { overflow: hidden; text-overflow: ellipsis; max-width: 380px; display: block; }

/* ---------- Header ---------- */
.header { position: sticky; top: 0; z-index: 50; }
.header::before {
    content: ''; position: absolute; inset: 0; z-index: -1;
    background: rgba(255, 255, 255, .9);
    backdrop-filter: saturate(180%) blur(14px);
    -webkit-backdrop-filter: saturate(180%) blur(14px);
    border-bottom: 1px solid transparent;
    transition: box-shadow .3s, border-color .3s;
}
.header.is-scrolled::before { border-color: var(--line); box-shadow: 0 8px 30px -18px rgba(15, 23, 42, .35); }
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: var(--header-h); }

.brand { display: flex; align-items: center; flex: none; }
.brand img { height: 52px; width: auto; max-width: 200px; object-fit: contain; }
.brand__text { font-size: 1.35rem; font-weight: 800; letter-spacing: -.02em; }

.nav__list { display: flex; align-items: center; gap: 2px; }
.nav__link {
    position: relative; display: block; padding: 10px 16px; border-radius: 10px;
    font-weight: 500; font-size: .95rem; color: var(--ink-2);
    transition: color .2s, background-color .2s;
}
.nav__link:hover { color: var(--brand); background: var(--brand-soft); }
.nav__link.is-active { color: var(--brand); }
.nav__link.is-active::after {
    content: ''; position: absolute; left: 16px; right: 16px; bottom: 4px;
    height: 2px; border-radius: 2px; background: var(--brand);
}
.nav__head, .nav__foot, .nav-backdrop { display: none; }

.header__actions { display: flex; align-items: center; gap: 12px; }

.nav-toggle {
    display: none; width: 46px; height: 46px; border-radius: 12px;
    border: 1px solid var(--line); background: #fff; cursor: pointer;
    flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.nav-toggle span { display: block; width: 20px; height: 2px; border-radius: 2px; background: var(--ink); transition: .3s; }

/* ---------- Hero / Manşet ---------- */
.hero {
    position: relative; overflow: hidden;
    height: clamp(540px, 86vh, 780px);
    background: var(--dark); color: #fff;
}
.hero__slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity 1s var(--ease), visibility 1s; }
.hero__slide.is-active { opacity: 1; visibility: visible; z-index: 1; }
.hero__slide::after {
    content: ''; position: absolute; inset: 0; z-index: 1;
    background:
        linear-gradient(90deg, rgba(6, 12, 26, .88) 0%, rgba(6, 12, 26, .6) 45%, rgba(6, 12, 26, .15) 100%),
        linear-gradient(0deg, rgba(6, 12, 26, .55) 0%, transparent 40%);
}
.hero__slide--plain {
    background:
        radial-gradient(1000px 500px at 85% 20%, color-mix(in srgb, var(--brand) 55%, transparent), transparent 60%),
        radial-gradient(700px 400px at 10% 90%, color-mix(in srgb, var(--brand) 35%, transparent), transparent 60%),
        var(--dark);
}
.hero__slide--plain::after { background: none; }
.hero__img {
    position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
    transform: scale(1.08); transition: transform 8s ease-out;
}
.hero__slide.is-active .hero__img { transform: scale(1); }
.hero__content { position: relative; z-index: 2; height: 100%; display: flex; align-items: center; padding-bottom: 70px; }
.hero__text { max-width: 660px; }
.hero__slide.is-active .hero__text > * { animation: rise .9s var(--ease) both; }
.hero__slide.is-active .hero__text > :nth-child(2) { animation-delay: .12s; }
.hero__slide.is-active .hero__text > :nth-child(3) { animation-delay: .24s; }
.hero__slide.is-active .hero__text > :nth-child(4) { animation-delay: .36s; }
@keyframes rise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }

.hero__eyebrow {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 7px 14px; border-radius: 999px;
    background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .2);
    font-size: .78rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
    backdrop-filter: blur(6px);
}
.hero__eyebrow::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--wa); box-shadow: 0 0 0 4px rgba(37, 211, 102, .25); }
.hero__title { font-size: clamp(2.1rem, 5.2vw, 3.9rem); font-weight: 800; letter-spacing: -.025em; line-height: 1.08; margin: 20px 0 18px; }
.hero__lead { font-size: clamp(1rem, 1.6vw, 1.15rem); color: rgba(255, 255, 255, .8); max-width: 56ch; margin: 0 0 32px; }
.hero__btns { display: flex; flex-wrap: wrap; gap: 12px; }

.hero__controls {
    position: absolute; left: 0; right: 0; bottom: 108px; z-index: 3;
    display: flex; align-items: center; gap: 28px; /* sağ alt köşe WhatsApp butonuna ayrıldı */
}
.hero__dots { display: flex; gap: 8px; }
.hero__dot {
    position: relative; overflow: hidden;
    width: 28px; height: 4px; padding: 0; border: 0; border-radius: 4px;
    background: rgba(255, 255, 255, .3); cursor: pointer; transition: width .35s var(--ease);
}
.hero__dot::before { content: ''; position: absolute; inset: -10px 0; } /* geniş tıklama alanı */
.hero__dot.is-active { width: 56px; }
.hero__dot::after { content: ''; position: absolute; inset: 0; background: #fff; transform: scaleX(0); transform-origin: left; }
.hero__dot.is-active::after { transform: scaleX(1); }
.hero.is-autoplay .hero__dot.is-active::after { animation: dot-fill 6s linear forwards; }
.hero.is-autoplay:hover .hero__dot.is-active::after,
.hero.is-paused .hero__dot.is-active::after { animation-play-state: paused; }
@keyframes dot-fill { from { transform: scaleX(0); } to { transform: scaleX(1); } }

.hero__arrows { display: flex; gap: 10px; }
.hero__arrow {
    width: 48px; height: 48px; border-radius: 50%; cursor: pointer;
    background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .3); color: #fff;
    font-size: 22px; display: grid; place-items: center; backdrop-filter: blur(6px);
    transition: background-color .25s, color .25s;
}
.hero__arrow:hover { background: #fff; color: var(--ink); }

/* ---------- Hızlı iletişim kartları ---------- */
.quick { position: relative; z-index: 5; margin-top: -72px; }
.quick__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.quick__card {
    display: flex; align-items: center; gap: 16px; min-width: 0;
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
    padding: 22px 24px; box-shadow: var(--shadow-lg);
    transition: transform .3s var(--ease), border-color .3s;
}
.quick__card:hover { transform: translateY(-4px); border-color: var(--brand); }
.quick__icon {
    flex: none; width: 52px; height: 52px; border-radius: 14px;
    display: grid; place-items: center; font-size: 22px;
    background: var(--brand-soft); color: var(--brand);
    transition: background-color .3s, color .3s;
}
.quick__card:hover .quick__icon { background: var(--brand); color: #fff; }
.quick__card > span:last-child { min-width: 0; }
.quick__label { display: block; font-size: .75rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.quick__value {
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
    font-weight: 600; color: var(--ink); overflow-wrap: anywhere; line-height: 1.4; margin-top: 2px;
}

/* ---------- Başlıklar ---------- */
.eyebrow {
    display: inline-flex; align-items: center; gap: 12px;
    color: var(--brand); font-weight: 700; font-size: .78rem; letter-spacing: .16em; text-transform: uppercase;
}
.eyebrow::before, .eyebrow--center::after { content: ''; width: 28px; height: 2px; border-radius: 2px; background: currentColor; }
.section-title { font-size: clamp(1.8rem, 3.4vw, 2.6rem); font-weight: 800; letter-spacing: -.025em; margin: 14px 0 16px; }
.section-title span { color: var(--brand); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto clamp(36px, 5vw, 56px); }
.section-sub { color: var(--muted); font-size: 1.075rem; margin: 0; }

/* ---------- Hakkımızda ---------- */
.about { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 64px); align-items: start; }
.prose { color: var(--ink-2); font-size: 1.05rem; position: relative; }
.prose > :first-child { margin-top: 0; }
.prose p { margin: 0 0 1.1em; }
.prose img { border-radius: 12px; margin: 1em 0; }
.prose a { color: var(--brand); text-decoration: underline; text-underline-offset: 3px; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.1em; }
.prose ul { list-style: disc; }
.prose.is-collapsed { max-height: 440px; overflow: hidden; }
.prose.is-collapsed::after {
    content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 120px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0), #fff);
}

.about-card {
    position: sticky; top: calc(var(--header-h) + 24px);
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
    padding: 28px; box-shadow: var(--shadow);
}
.about-card__logo {
    display: grid; place-items: center; height: 120px; padding: 20px; margin-bottom: 20px;
    border-radius: var(--radius); background: var(--bg-soft);
}
.about-card__logo img { max-height: 80px; width: auto; object-fit: contain; }
.about-card__list { display: grid; gap: 4px; margin-bottom: 22px; }
.about-card__list li { display: flex; align-items: center; gap: 14px; padding: 12px 0; border-bottom: 1px dashed var(--line); }
.about-card__list li:last-child { border-bottom: 0; }
.about-card__list .fa {
    flex: none; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center;
    background: var(--brand-soft); color: var(--brand); font-size: 17px;
}
.about-card__list span { display: flex; flex-direction: column; min-width: 0; font-weight: 600; overflow-wrap: anywhere; }
.about-card__list small { font-size: .78rem; font-weight: 500; color: var(--muted); }
.about-card__list a:hover { color: var(--brand); }
.about-card__btns { display: grid; gap: 10px; }

/* ---------- Hizmetler ---------- */
.services { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.service {
    display: flex; flex-direction: column; overflow: hidden;
    background: #fff; border: 1px solid var(--line); border-radius: 20px;
    transition: transform .35s var(--ease), box-shadow .35s, border-color .35s;
}
.service:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.service__media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: #e2e8f0; }
.service__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.service:hover .service__media img { transform: scale(1.06); }
.service__num {
    position: absolute; left: 16px; top: 16px;
    padding: 6px 12px; border-radius: 999px;
    background: rgba(255, 255, 255, .92); color: var(--ink);
    font-size: .8rem; font-weight: 700; letter-spacing: .04em;
    backdrop-filter: blur(4px);
}
.service__body { display: flex; flex-direction: column; flex: 1; padding: 24px 24px 26px; }
.service__title { font-size: 1.2rem; font-weight: 700; letter-spacing: -.01em; margin-bottom: 10px; }
.service__text {
    color: var(--muted); margin: 0 0 18px;
    display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden;
}
.service__link { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--brand); font-size: .95rem; }
.service__link .fa { transition: transform .3s var(--ease); }
.service__link:hover .fa { transform: translateX(5px); }

/* ---------- Galeri ---------- */
.gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.gallery__item {
    position: relative; display: block; overflow: hidden;
    aspect-ratio: 1; border-radius: 14px; background: #e2e8f0; cursor: zoom-in;
}
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.gallery__item:hover img { transform: scale(1.08); }
.gallery__zoom {
    position: absolute; inset: 0; display: grid; place-items: center;
    background: color-mix(in srgb, var(--dark) 45%, transparent); color: #fff; font-size: 26px;
    opacity: 0; transition: opacity .35s;
}
.gallery__item:hover .gallery__zoom, .gallery__item:focus-visible .gallery__zoom { opacity: 1; }
.gallery__item.is-extra { display: none; }
.gallery.is-expanded .gallery__item.is-extra { display: block; animation: rise .6s var(--ease) both; }
.gallery__more { text-align: center; margin-top: 32px; }

/* ---------- Lightbox ---------- */
.lightbox {
    position: fixed; inset: 0; z-index: 90;
    display: flex; align-items: center; justify-content: center;
    background: rgba(4, 8, 18, .94);
    opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s;
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox__stage { margin: 0; padding: 70px 80px; width: 100%; height: 100%; display: grid; place-items: center; }
.lightbox__img {
    max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain;
    border-radius: 10px; box-shadow: 0 30px 80px rgba(0, 0, 0, .5);
    transition: opacity .25s;
}
.lightbox__img.is-loading { opacity: 0; }
.lightbox__btn {
    position: absolute; z-index: 2; width: 52px; height: 52px; border-radius: 50%; cursor: pointer;
    display: grid; place-items: center; font-size: 24px;
    background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .2); color: #fff;
    transition: background-color .25s;
}
.lightbox__btn:hover { background: rgba(255, 255, 255, .22); }
.lightbox__close { top: 16px; right: 16px; font-size: 20px; }
.lightbox__prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 16px; top: 50%; transform: translateY(-50%); }
.lightbox__count { position: absolute; top: 28px; left: 24px; color: rgba(255, 255, 255, .75); font-size: .9rem; font-weight: 600; letter-spacing: .06em; }

/* ---------- İletişim ---------- */
.contact {
    display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
    overflow: hidden; box-shadow: var(--shadow);
}
.contact__info {
    position: relative; overflow: hidden; isolation: isolate;
    padding: clamp(32px, 4vw, 48px);
    background: linear-gradient(155deg, var(--brand) 0%, color-mix(in srgb, var(--brand) 55%, #020617) 100%);
    color: #fff;
}
.contact__info::before, .contact__info::after {
    content: ''; position: absolute; z-index: -1; border-radius: 50%;
    background: rgba(255, 255, 255, .07);
}
.contact__info::before { width: 320px; height: 320px; right: -120px; bottom: -120px; }
.contact__info::after { width: 180px; height: 180px; right: 60px; bottom: 80px; background: rgba(255, 255, 255, .05); }
.contact__info h3 { font-size: 1.5rem; font-weight: 700; margin-bottom: 10px; }
.contact__info > p { color: rgba(255, 255, 255, .78); margin: 0 0 28px; }
.contact__list { display: grid; gap: 20px; margin-bottom: 30px; }
.contact__list li { display: flex; gap: 14px; align-items: flex-start; }
.contact__list span:last-child { display: flex; flex-direction: column; min-width: 0; font-weight: 600; overflow-wrap: anywhere; }
.contact__list small { font-weight: 500; font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; color: rgba(255, 255, 255, .65); }
.contact__list a:hover { text-decoration: underline; text-underline-offset: 3px; }
.contact__icon {
    flex: none; width: 46px; height: 46px; border-radius: 14px;
    display: grid; place-items: center; font-size: 19px;
    background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .18);
}
.contact__social { margin-top: 28px; }
.contact__social a { background: rgba(255, 255, 255, .14); }
.contact__social a:hover { background: #fff; color: var(--brand); }

.contact__form { padding: clamp(28px, 4vw, 48px); }
.field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 18px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field-row .field { margin-bottom: 6px; }
.field label { font-weight: 600; font-size: .9rem; color: var(--ink); }
.req { color: var(--danger); }
.field input, .field textarea {
    width: 100%; height: 52px; padding: 0 16px;
    font: inherit; font-size: .975rem; color: var(--ink);
    background: var(--bg-soft); border: 1.5px solid var(--line); border-radius: 12px;
    transition: border-color .2s, background-color .2s, box-shadow .2s;
    -webkit-appearance: none; appearance: none;
}
.field textarea { height: auto; min-height: 140px; padding: 14px 16px; resize: vertical; line-height: 1.55; }
.field input::placeholder, .field textarea::placeholder { color: #94a3b8; }
.field input:hover, .field textarea:hover { border-color: #cbd5e1; }
.field input:focus, .field textarea:focus { outline: none; background: #fff; border-color: var(--brand); box-shadow: 0 0 0 4px var(--brand-ring); }
.field.is-invalid input, .field.is-invalid textarea { border-color: var(--danger); box-shadow: 0 0 0 4px color-mix(in srgb, var(--danger) 14%, transparent); }
.field-hint { display: flex; gap: 8px; align-items: baseline; margin: 0 0 18px; font-size: .84rem; color: var(--muted); }

.captcha { display: flex; gap: 10px; align-items: stretch; }
.captcha__img {
    flex: none; display: flex; align-items: center; justify-content: center;
    height: 52px; min-width: 120px; padding: 0 10px; overflow: hidden;
    background: #fff; border: 1.5px solid var(--line); border-radius: 12px;
}
.captcha__img img { max-height: 40px; width: auto; }
.captcha__refresh {
    flex: none; width: 52px; height: 52px; border-radius: 12px; cursor: pointer;
    background: var(--brand-soft); border: 1.5px solid transparent; color: var(--brand); font-size: 17px;
    transition: background-color .2s, color .2s;
}
.captcha__refresh:hover { background: var(--brand); color: #fff; }
.captcha__refresh.is-spinning .fa { animation: spin .6s linear; }
.captcha input { flex: 1; min-width: 0; }
.form-note { margin: 14px 0 0; text-align: center; font-size: .84rem; color: var(--muted); }

/* ---------- Harita ---------- */
.map { line-height: 0; background: var(--bg-soft); }
.map iframe { display: block; width: 100% !important; height: 440px !important; border: 0 !important; }

/* ---------- Footer ---------- */
.footer { background: var(--dark); color: rgba(255, 255, 255, .66); font-size: .95rem; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1.3fr; gap: 48px; padding-block: 72px 56px; }
.footer__grid--4 { grid-template-columns: 1.6fr 1fr 1fr 1.3fr; }
.footer__logo { display: inline-block; background: #fff; padding: 12px 16px; border-radius: 14px; margin-bottom: 20px; }
.footer__logo img { height: 44px; width: auto; }
.footer__name { display: block; color: #fff; font-size: 1.3rem; margin-bottom: 16px; }
.footer__brand p { margin: 0 0 16px; max-width: 42ch; }
.footer__owner { color: rgba(255, 255, 255, .8); }
.footer__owner strong { color: #fff; }
.footer__brand .social { margin-top: 22px; }
.footer__title { color: #fff; font-size: 1rem; font-weight: 700; margin-bottom: 20px; }
.footer__links { display: grid; gap: 10px; }
.footer__links a { display: inline-flex; align-items: center; gap: 8px; transition: color .2s, transform .2s; }
.footer__links a::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--brand); opacity: .8; }
.footer__links a:hover { color: #fff; transform: translateX(4px); }
.footer__contact { display: grid; gap: 14px; }
.footer__contact li { display: flex; gap: 12px; align-items: baseline; overflow-wrap: anywhere; }
.footer__contact .fa { width: 16px; color: color-mix(in srgb, var(--brand) 55%, #fff); }
.footer__contact a:hover { color: #fff; }
.footer__bottom { border-top: 1px solid rgba(255, 255, 255, .08); padding-block: 22px; text-align: center; font-size: .88rem; }
.footer__bottom p { margin: 0; }
.footer__bottom a { color: #fff; }

/* ---------- Bildirim (toast) ---------- */
.toast {
    position: fixed; left: 50%; top: 20px; z-index: 100;
    display: flex; align-items: flex-start; gap: 14px;
    width: min(92vw, 460px); padding: 16px 16px 16px 18px;
    background: #fff; border-radius: 16px; border-left: 4px solid var(--success);
    box-shadow: var(--shadow-lg);
    opacity: 0; visibility: hidden; transform: translate(-50%, -16px);
    transition: opacity .35s, transform .35s var(--ease), visibility .35s;
}
.toast.is-shown { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.toast__icon {
    flex: none; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center;
    background: color-mix(in srgb, var(--success) 14%, #fff); color: var(--success);
}
.toast__body { flex: 1; min-width: 0; }
.toast__title { display: block; font-size: .98rem; }
.toast__msg { margin: 2px 0 0; color: var(--muted); font-size: .92rem; line-height: 1.5; }
.toast__close { flex: none; background: none; border: 0; cursor: pointer; color: var(--muted); padding: 4px; font-size: 15px; }
.toast--error { border-left-color: var(--danger); }
.toast--error .toast__icon { background: color-mix(in srgb, var(--danger) 12%, #fff); color: var(--danger); }

/* ---------- Yukarı çık ---------- */
.to-top {
    position: fixed; right: 28px; bottom: 24px; z-index: 40;
    width: 46px; height: 46px; border-radius: 50%; cursor: pointer;
    display: grid; place-items: center; font-size: 16px;
    background: #fff; color: var(--ink); border: 1px solid var(--line); box-shadow: var(--shadow);
    opacity: 0; visibility: hidden; transform: translateY(12px);
    transition: opacity .3s, transform .3s var(--ease), visibility .3s, background-color .2s, color .2s;
}
.has-wa .to-top { bottom: 104px; }
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--brand); color: #fff; border-color: var(--brand); }

/* =========================================================
   WhatsApp — her 5 saniyede bir kendini gösterir
   ========================================================= */
.wa {
    position: fixed; right: 24px; bottom: 24px; z-index: 45;
    display: flex; flex-direction: row-reverse; align-items: center; gap: 14px;
    pointer-events: none;
    animation: wa-in .7s .6s cubic-bezier(.34, 1.56, .64, 1) both;
}
.wa > * { pointer-events: auto; }
.wa__btn {
    position: relative; flex: none;
    width: 62px; height: 62px; border-radius: 50%;
    display: grid; place-items: center;
    background: var(--wa); color: #fff;
    box-shadow: 0 14px 30px -8px rgba(37, 211, 102, .65), 0 4px 10px rgba(0, 0, 0, .1);
    transition: transform .3s var(--ease), background-color .3s;
}
.wa__btn:hover { transform: scale(1.08); background: var(--wa-dark); }
.wa__btn svg { width: 32px; height: 32px; }

/* dalga halkaları */
.wa__btn::before, .wa__btn::after {
    content: ''; position: absolute; inset: 0; z-index: -1;
    border-radius: 50%; background: var(--wa); opacity: 0;
}
.wa.is-nudge .wa__btn::before { animation: wa-ring 1.5s ease-out; }
.wa.is-nudge .wa__btn::after { animation: wa-ring 1.5s .3s ease-out; }
.wa.is-nudge .wa__btn svg { animation: wa-shake .9s ease-in-out; }
.wa.is-nudge .wa__badge { animation: wa-pop .6s cubic-bezier(.34, 1.56, .64, 1); }

.wa__badge {
    position: absolute; top: -3px; right: -3px;
    width: 22px; height: 22px; border-radius: 50%;
    display: grid; place-items: center;
    background: #ef4444; color: #fff; border: 2px solid #fff;
    font-size: 11px; font-weight: 700; line-height: 1;
}

/* konuşma balonu */
.wa__bubble {
    position: relative; max-width: 240px;
    background: #fff; color: var(--ink);
    border-radius: 16px 16px 4px 16px;
    box-shadow: var(--shadow-lg), 0 0 0 1px rgba(15, 23, 42, .05);
    opacity: 0; visibility: hidden; transform: translateX(12px) scale(.94); transform-origin: right bottom;
    transition: opacity .35s, transform .35s var(--ease), visibility .35s;
}
.wa__bubble a { display: block; padding: 14px 34px 14px 16px; font-size: .88rem; line-height: 1.45; }
.wa__bubble strong { display: block; font-size: .95rem; margin-bottom: 2px; }
.wa__bubble span { color: var(--muted); }
.wa__close {
    position: absolute; top: 6px; right: 6px;
    width: 24px; height: 24px; border-radius: 50%; border: 0; cursor: pointer;
    display: grid; place-items: center; background: var(--bg-soft); color: var(--muted); font-size: 11px;
}
.wa__close:hover { background: var(--line); color: var(--ink); }
.wa.is-bubble .wa__bubble,
.wa__btn:hover + .wa__bubble,
.wa__bubble:hover { opacity: 1; visibility: visible; transform: none; }

@keyframes wa-in { from { opacity: 0; transform: translateY(30px) scale(.6); } to { opacity: 1; transform: none; } }
@keyframes wa-ring { 0% { transform: scale(1); opacity: .55; } 100% { transform: scale(2.1); opacity: 0; } }
@keyframes wa-shake {
    0%, 100% { transform: rotate(0); }
    15% { transform: rotate(-18deg) scale(1.1); }
    30% { transform: rotate(15deg) scale(1.1); }
    45% { transform: rotate(-10deg); }
    60% { transform: rotate(7deg); }
    75% { transform: rotate(-3deg); }
}
@keyframes wa-pop { 0% { transform: scale(.4); } 100% { transform: scale(1); } }

/* ---------- Kaydırınca belirme ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0ms); }
.js .reveal.is-visible { opacity: 1; transform: none; }
.js .quick__card.reveal.is-visible:hover { transform: translateY(-4px); transition-delay: 0ms; }
.js .service.reveal.is-visible:hover { transform: translateY(-6px); transition-delay: 0ms; }

/* =========================================================
   Duyarlı tasarım
   ========================================================= */
@media (max-width: 1100px) {
    .header__cta span { display: none; }
    .header__cta { width: 44px; padding: 0; }
    .services { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .footer__grid, .footer__grid--4 { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 991px) {
    :root { --header-h: 70px; }
    .topbar__addr { display: none; }

    .nav-toggle { display: flex; }
    .nav {
        position: fixed; top: 0; right: 0; bottom: 0; z-index: 70;
        width: min(86vw, 340px); padding: 20px;
        display: flex; flex-direction: column; gap: 20px;
        background: #fff;
        transform: translateX(105%); visibility: hidden;
        transition: transform .4s var(--ease), visibility .4s, box-shadow .4s;
        overflow-y: auto;
    }
    .nav__head { display: flex; align-items: center; justify-content: space-between; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
    .nav__title { font-weight: 700; font-size: 1.05rem; }
    .nav__list { flex-direction: column; align-items: stretch; gap: 4px; }
    .nav__link { padding: 14px 16px; font-size: 1.02rem; }
    .nav__link.is-active { background: var(--brand-soft); }
    .nav__link.is-active::after { left: 0; right: auto; top: 12px; bottom: 12px; width: 3px; height: auto; }
    .nav__foot { display: grid; gap: 10px; margin-top: auto; }

    .nav-backdrop {
        display: block; position: fixed; inset: 0; z-index: 60;
        background: rgba(15, 23, 42, .5); backdrop-filter: blur(2px);
        opacity: 0; visibility: hidden; transition: opacity .35s, visibility .35s;
    }
    .nav-open .nav { transform: none; visibility: visible; box-shadow: -20px 0 60px rgba(15, 23, 42, .2); }
    .nav-open .nav-backdrop { opacity: 1; visibility: visible; }
    .nav-open { overflow: hidden; }
    .nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    .nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
    .nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

    .about { grid-template-columns: 1fr; }
    .about-card { position: static; }
    .contact { grid-template-columns: 1fr; }
    .gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 767px) {
    .topbar { display: none; }
    .brand img { height: 44px; max-width: 160px; }

    .hero { height: auto; min-height: 600px; }
    .hero__slide { display: flex; }
    .hero__slide::after { background: linear-gradient(0deg, rgba(6, 12, 26, .92) 0%, rgba(6, 12, 26, .7) 55%, rgba(6, 12, 26, .35) 100%); }
    .hero__content { align-items: flex-end; padding-top: 80px; padding-bottom: 150px; }
    .hero__btns .btn { flex: 1 1 auto; }
    .hero__controls { bottom: 96px; }
    .hero__arrows { display: none; }

    .quick { margin-top: -56px; }
    .quick__grid { grid-template-columns: 1fr; gap: 10px; }
    .quick__card { padding: 16px 18px; box-shadow: var(--shadow); }
    .quick__icon { width: 46px; height: 46px; font-size: 19px; }

    .services { grid-template-columns: 1fr; }
    .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
    .gallery__zoom { display: none; }
    .lightbox__stage { padding: 64px 12px; }
    .lightbox__prev, .lightbox__next { top: auto; bottom: 16px; transform: none; }
    .lightbox__prev { left: calc(50% - 60px); }
    .lightbox__next { right: calc(50% - 60px); }

    .field-row { grid-template-columns: 1fr; gap: 0; }
    .captcha { flex-wrap: wrap; }
    .captcha input { flex-basis: 100%; }

    .map iframe { height: 320px !important; }

    .footer__grid, .footer__grid--4 { grid-template-columns: 1fr; gap: 36px; padding-block: 56px 40px; }

    .wa { right: 16px; bottom: 16px; }
    .wa__btn { width: 58px; height: 58px; }
    .wa__bubble { max-width: 200px; }
    .to-top { right: 22px; }
    .has-wa .to-top { bottom: 90px; }
}

/* Hareket azaltma tercihi */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
    .js .reveal { opacity: 1; transform: none; }
}
