/* ===========================================================================
   İletişim — /contact
   ---------------------------------------------------------------------------
   Sunucu tarafı bağlantı noktaları korunmuştur: form `contact/save` adresine
   POST ediyor, alan adları (name, surname, email, phone, organisation,
   number_of_employees, message) ve `g-recaptcha` bloğu değişmedi.
   =========================================================================== */

:root {
    --cnt-panel: #121414;
    --cnt-line: #1f2222;
    --cnt-text: #e9eded;
    --cnt-muted: #9aa1a1;
    --cnt-dim: #767d7d;
    --cnt-accent: #f37a52;
}

.cnt { background-color: #0b0c0c; position: relative; }
.cnt > * { position: relative; z-index: 1; }

/* ---------------------------------------------------------------------------
   Başlık
   --------------------------------------------------------------------------- */
.cnt-hero { padding-top: 7rem; padding-bottom: 2.5rem; overflow: hidden; }
.cnt-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background:
        radial-gradient(760px 330px at 50% -14%, rgba(243, 122, 82, .14), transparent 62%),
        radial-gradient(600px 270px at 88% 6%, rgba(243, 122, 82, .1), transparent 60%);
}
.cnt-hero-inner { display: flex; flex-direction: column; align-items: center; text-align: center; }

.cnt-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    padding: .32rem .8rem;
    border-radius: 999px;
    border: 1px solid rgba(243, 122, 82, .4);
    background: rgba(243, 122, 82, .1);
    color: #ffbe9c;
    font-size: .68rem;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
}
.cnt-eyebrow svg {
    width: 14px; height: 14px;
    fill: none; stroke: currentColor;
    stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round;
}
.cnt-title {
    margin: 1rem 0 0;
    color: #fff;
    font-size: clamp(1.9rem, 4vw, 2.9rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -.02em;
}
.cnt-lead {
    max-width: 56ch;
    margin: .85rem 0 0;
    color: var(--cnt-muted) !important;
    font-size: 1rem;
    line-height: 1.75;
}

/* Kayıt yönlendirmesinden gelen bilgi şeridi (eski `?d=register` durumu). */
.cnt-note {
    display: flex;
    align-items: center;
    gap: .6rem;
    max-width: 640px;
    margin: 1.35rem auto 0;
    padding: .8rem 1.1rem;
    border-radius: .9rem;
    border: 1px solid rgba(243, 122, 82, .32);
    background: rgba(243, 122, 82, .08);
    color: #ffd7c2;
    font-size: .88rem;
    line-height: 1.6;
    text-align: left;
}
.cnt-note svg {
    flex: 0 0 auto;
    width: 18px; height: 18px;
    fill: none; stroke: currentColor;
    stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round;
}

/* ---------------------------------------------------------------------------
   Yerleşim — solda kanallar + harita, sağda form
   --------------------------------------------------------------------------- */
.cnt-body { padding-top: 1rem; padding-bottom: 4.5rem; }
/* `align-items: stretch` (varsayılan) + sol sütunda esneyen harita: iki sütun
   masaüstünde aynı yükseklikte bitiyor, altta boşluk kalmıyor. */
.cnt-split {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: 1.5rem;
}
.cnt-side { display: flex; flex-direction: column; }

/* --- Kanal kartları --- */
.cnt-channels { display: grid; gap: .85rem; }
.cnt-channel {
    display: flex;
    align-items: flex-start;
    gap: .9rem;
    padding: 1.1rem 1.25rem;
    border-radius: 1.15rem;
    border: 1px solid var(--cnt-line);
    background: var(--cnt-panel);
    transition: border-color .28s ease, background .28s ease;
}
a.cnt-channel:hover { border-color: rgba(243, 122, 82, .45); background: #151818; }
.cnt-channel-icon {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px; height: 42px;
    border-radius: .8rem;
    border: 1px solid rgba(243, 122, 82, .3);
    background: rgba(243, 122, 82, .12);
    color: #ffbe9c;
}
.cnt-channel-icon svg {
    width: 19px; height: 19px;
    fill: none; stroke: currentColor;
    stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
}
.cnt-channel-body { min-width: 0; }
.cnt-channel-label {
    display: block;
    color: var(--cnt-dim);
    font-size: .7rem;
    font-weight: 800;
    letter-spacing: .09em;
    text-transform: uppercase;
}
.cnt-channel-value {
    display: block;
    margin-top: .28rem;
    color: #fff !important;
    font-size: .98rem;
    font-weight: 700;
    line-height: 1.55;
    word-break: break-word;
}
.cnt-channel-sub { display: block; margin-top: .2rem; color: var(--cnt-muted); font-size: .84rem; line-height: 1.6; }

/* --- Harita --- */
.cnt-map {
    display: block;
    position: relative;
    flex: 1 1 auto;
    min-height: 240px;
    margin-top: .85rem;
    border-radius: 1.15rem;
    overflow: hidden;
    border: 1px solid var(--cnt-line);
    background: var(--cnt-panel);
    transition: border-color .28s ease;
}
.cnt-map:hover { border-color: rgba(243, 122, 82, .45); }
.cnt-map img {
    display: block;
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Harita görseli açık renkli; koyu yüzeye oturması için hafifçe
       söndürülüyor, üzerine gelince tam parlaklığa dönüyor. */
    filter: saturate(.85) brightness(.82);
    transition: filter .3s ease;
}
.cnt-map:hover img { filter: saturate(1) brightness(1); }
.cnt-map-tag {
    position: absolute;
    left: .9rem; bottom: .9rem;
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    padding: .45rem .85rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, .16);
    background: rgba(10, 12, 12, .72);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    color: #fff;
    font-size: .78rem;
    font-weight: 700;
}
.cnt-map-tag svg {
    width: 14px; height: 14px;
    fill: none; stroke: currentColor;
    stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}

/* ---------------------------------------------------------------------------
   Form kartı
   --------------------------------------------------------------------------- */
.cnt-card {
    border-radius: 1.35rem;
    border: 1px solid var(--cnt-line);
    background:
        radial-gradient(120% 130% at 100% 0%, rgba(243, 122, 82, .09), transparent 58%),
        var(--cnt-panel);
    overflow: hidden;
}
.cnt-card-head { padding: 1.5rem 1.75rem 1.25rem; border-bottom: 1px solid var(--cnt-line); }
.cnt-card-title { margin: 0; color: #fff; font-size: 1.35rem; font-weight: 800; letter-spacing: -.01em; }
.cnt-card-sub { margin: .35rem 0 0; color: var(--cnt-muted); font-size: .9rem; line-height: 1.7; }
.cnt-form { padding: 1.5rem 1.75rem 1.75rem; }

.cnt-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1rem; }
.cnt-field { margin-bottom: 1rem; }
.cnt-label {
    display: block;
    margin-bottom: .45rem;
    color: var(--cnt-muted);
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .02em;
}
.cnt-label .cnt-req { color: #ff8f70; }

/* Bulma `.input`/`.textarea` beyaz zeminli geliyor; karanlık yüzeye
   uydurmak için tüm görsel özellikler burada eziliyor. */
.cnt .cnt-input {
    display: block;
    width: 100% !important;
    max-width: 100% !important;
    height: 48px;
    padding: 0 1rem !important;
    border-radius: .8rem !important;
    border: 1px solid var(--cnt-line) !important;
    background: rgba(255, 255, 255, .04) !important;
    color: var(--cnt-text) !important;
    font-family: inherit;
    font-size: .92rem !important;
    box-shadow: none !important;
    transition: border-color .22s ease, background .22s ease, box-shadow .22s ease;
}
.cnt textarea.cnt-input {
    height: auto;
    min-height: 148px;
    padding: .85rem 1rem !important;
    line-height: 1.7;
    resize: vertical;
}
.cnt .cnt-input:focus,
.cnt .cnt-input:active {
    border-color: rgba(243, 122, 82, .6) !important;
    background: rgba(255, 255, 255, .06) !important;
    box-shadow: 0 0 0 3px rgba(243, 122, 82, .12) !important;
    outline: none;
}
.cnt .cnt-input::placeholder { color: #5f6666 !important; }

/* Sayı alanındaki artır/azalt okları telefon için anlamsız. */
.cnt .cnt-input[type="number"] { -moz-appearance: textfield; appearance: textfield; }
.cnt .cnt-input[type="number"]::-webkit-outer-spin-button,
.cnt .cnt-input[type="number"]::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

/* Açılır liste — yerel `select`, oku kendimiz çiziyoruz. */
.cnt-select { position: relative; }
.cnt .cnt-select select.cnt-input {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    padding-right: 2.6rem !important;
    cursor: pointer;
}
.cnt .cnt-select select.cnt-input option { background: #15191a; color: var(--cnt-text); }
.cnt-select::after {
    content: "";
    position: absolute;
    right: 1.05rem; top: 50%;
    width: 8px; height: 8px;
    margin-top: -6px;
    border-right: 2px solid var(--cnt-dim);
    border-bottom: 2px solid var(--cnt-dim);
    transform: rotate(45deg);
    pointer-events: none;
}

.cnt-error { display: block; margin-top: .35rem; color: #ff8f70; font-size: .78rem; line-height: 1.5; }
.cnt-error:empty { display: none; }

/* reCAPTCHA kutusu sabit 304px genişlikte; dar ekranda taşmaması için
   ölçekleniyor. */
.cnt-captcha { margin: 1.25rem 0; }
.cnt-captcha .g-recaptcha { transform-origin: 0 0; }

/* Gönder düğmesi: dolgu yok, yalnızca logodaki geçişten bir kenarlık.
   Geçişli kenarlık tek bir `border` ile çizilemediği için iki katmanlı
   `background-clip` yöntemi kullanılıyor — dıştaki geçiş kenarlığı, içteki
   düz renk gövdeyi maskeliyor. */
.cnt .cnt-submit {
    position: relative;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    width: 100%;
    height: 52px;
    padding: 0 1.5rem !important;
    /* DEGRADE ÇERÇEVE + SİYAHA YAKIN GÖVDE.
       Kenarın degrade olması iki katmanlı bir arka planla yapılıyor:
         • `padding-box` katmanı gövdeyi boyuyor (düz koyu ton),
         • `border-box` katmanı kenarlığın altına degradeyi koyuyor.
       Bunun çalışması için kenarlığın rengi `transparent` olmalı, aksi hâlde
       düz renk degradenin üstünü kapatır.

       Renkler markanın kendi degradesi: `#fda871 → #f37a52 → #ec387d`.
       Önceki hâlinde `#ff7a4d → #ff4f8b → #b455ff` yazıyordu; o MOR uç
       (`#b455ff`) sitede başka hiçbir yerde geçmiyor ve bu dosyanın tek aykırı
       rengiydi — sayfanın kendi vurgusu `--cnt-accent: #f37a52`. */
    border: 1px solid transparent !important;
    border-radius: 999px !important;
    background:
        linear-gradient(#101212, #101212) padding-box,
        linear-gradient(120deg, #fda871, #f37a52 52%, #ec387d) border-box !important;
    color: #fff !important;
    font-family: inherit;
    font-size: .98rem !important;
    font-weight: 700 !important;
    letter-spacing: .01em;
    cursor: pointer;
    box-shadow: none;
    transition: box-shadow .25s ease, background-color .25s ease;
}
/* Hover'da yalnızca GÖVDE bir ton açılıyor (#101212 → #1a1d1d); çerçeve
   degradesi olduğu gibi kalıyor.
   `filter: brightness()` KULLANILMIYOR: filtre iki katmanı birlikte
   parlatacağı için çerçevenin rengi de sapar. Bunun yerine yalnızca
   `padding-box` katmanı değişiyor; degrade satırı birebir aynı kalsın diye
   ikinci kez yazılıyor ama tek yerde tutulamıyor — CSS'te bir arka plan
   katmanını tek başına değiştirmenin başka yolu yok. */
.cnt .cnt-submit:hover {
    background:
        linear-gradient(#1a1d1d, #1a1d1d) padding-box,
        linear-gradient(120deg, #fda871, #f37a52 52%, #ec387d) border-box !important;
    box-shadow: 0 14px 34px -22px rgba(243, 122, 82, .75);
}
.cnt .cnt-submit:focus-visible { outline: 2px solid #fda871; outline-offset: 2px; }
.cnt .cnt-submit svg {
    width: 17px; height: 17px;
    fill: none; stroke: currentColor;
    stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round;
}

.cnt-legal { margin: .9rem 0 0; color: var(--cnt-dim); font-size: .78rem; line-height: 1.65; text-align: center; }
.cnt-legal a { color: var(--cnt-accent) !important; font-weight: 600; }

/* --- Geri bildirim şeritleri (flashdata) --- */
.cnt-alert {
    display: flex;
    align-items: flex-start;
    gap: .6rem;
    margin-bottom: 1.15rem;
    padding: .9rem 1.1rem;
    border-radius: .9rem;
    font-size: .88rem;
    line-height: 1.65;
}
.cnt-alert svg {
    flex: 0 0 auto;
    width: 18px; height: 18px;
    margin-top: .1rem;
    fill: none; stroke: currentColor;
    stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round;
}
.cnt-alert--fail { border: 1px solid rgba(255, 96, 72, .38); background: rgba(255, 96, 72, .1); color: #ffb6a2; }
.cnt-alert--ok { border: 1px solid rgba(243, 122, 82, .38); background: rgba(243, 122, 82, .1); color: #ffd7c2; }

/* Başarılı gönderim sonrası form yerine geçen ekran. */
.cnt-done { padding: 2.75rem 1.75rem 3rem; text-align: center; }
.cnt-done-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px; height: 64px;
    border-radius: 50%;
    border: 1px solid rgba(243, 122, 82, .4);
    background: rgba(243, 122, 82, .12);
    color: #ffbe9c;
}
.cnt-done-icon svg {
    width: 28px; height: 28px;
    fill: none; stroke: currentColor;
    stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}
.cnt-done-title { margin: 1.1rem 0 0; color: #fff; font-size: 1.35rem; font-weight: 800; }
.cnt-done-sub { max-width: 44ch; margin: .5rem auto 0; color: var(--cnt-muted); font-size: .92rem; line-height: 1.75; }

/* ---------------------------------------------------------------------------
   Küçük ekran
   --------------------------------------------------------------------------- */
@media screen and (max-width: 1023px) {
    .cnt-split { grid-template-columns: minmax(0, 1fr); }
    /* Formu üste alıyoruz: sayfaya gelen ziyaretçinin asıl işi bu. */
    .cnt-split .cnt-card { order: -1; }
    .cnt-map { flex: 0 0 auto; height: 220px; min-height: 0; }
}
@media screen and (max-width: 767px) {
    /* Mobilde üstte iki katmanlı sabit başlık var (`.main-navigation-light`
       67px + `.mobile-sub-navigation` 64px = 131px). 5.5rem yetmiyor,
       rozet çubuğun altında kalıyordu. */
    .cnt-hero { padding-top: 10rem; padding-bottom: 1.75rem; }
    .cnt-body { padding-bottom: 3rem; }
    .cnt-row { grid-template-columns: minmax(0, 1fr); gap: 0; }
    .cnt-card-head { padding: 1.25rem 1.15rem 1rem; }
    .cnt-card-title { font-size: 1.15rem; }
    .cnt-form { padding: 1.25rem 1.15rem 1.5rem; }
    .cnt-channel { padding: .95rem 1rem; }
    .cnt-map { height: 180px; }
    .cnt-captcha .g-recaptcha { transform: scale(.86); }
    .cnt-captcha { height: 68px; }
}
@media (prefers-reduced-motion: reduce) and (prefers-reduced-motion: no-preference) /* ETKİSİZ: hareket azaltma yok sayılıyor */ {
    .cnt-channel, .cnt-map, .cnt-map img, .cnt .cnt-input, .cnt .cnt-submit { transition: none; }
}
