/* ============== İletişim page-scoped styles ==============
 * Extracted from legacy/uludaginfocom-v1/iletisim.html inline <style>
 * blocks (critical-css + body style). Loaded via apps/web/src/app/
 * layout.tsx so V1's exact CSS rules apply on /tr/iletisim.
 *
 * Selectors live behind iletisim-specific class names (`.il-page`,
 * `.il-hero`, `.il-main`, `.il-grid`, `.il-form*`, `.il-info`,
 * `.il-social-*`, `.il-map*`, `.il-quick*`) so they are page-scoped
 * without any ancestor selector. Mobile + tablet breakpoints kept
 * verbatim from V1 (the 2026-05-18 Burak overrides included). */

/* ========== İletişim sayfası ========== */
.il-page { background: #fff; }/* HERO */

/* MAIN GRID */
.il-main { padding: 64px 0 96px; background: linear-gradient(180deg, #FFFFFF 0%, #F1F5F9 100%); }
.il-grid { display: grid; grid-template-columns: 1fr; gap: 28px; align-items: start; }

/* COMPANY CARD */
.il-company {
  background: #fff; border: 2px solid var(--u-black); border-radius: 22px;
  padding: 32px; box-shadow: 0 12px 0 var(--u-black);
}
.il-company .ribbon {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--u-yellow); color: var(--u-black);
  padding: 8px 14px; border-radius: 999px; border: 2px solid var(--u-black);
  font-family: 'Mark Pro'; font-weight: 900; font-style: italic;
  font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase;
}
.il-company h2 {
  font-family: 'Mark Pro'; font-weight: 900; font-size: 38px;
  line-height: 1; letter-spacing: -0.02em; margin: 16px 0 6px;
  color: var(--u-black);
}
.il-company .sub { color: var(--u-muted); font-size: 14px; margin-bottom: 24px; }

.il-info { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.il-info .item {
  border: 1.5px solid #e5e7eb; border-radius: 14px; padding: 14px 16px;
  display: flex; gap: 12px; align-items: flex-start;
  background: #fafbfc;
}
.il-info .item.wide { grid-column: 1 / -1; }
.il-info .ic {
  width: 36px; height: 36px; border-radius: 10px; flex: 0 0 36px;
  background: var(--u-black); color: var(--u-yellow);
  display: grid; place-items: center;
}
.il-info .ic.fuchsia { background: var(--u-fuchsia); color: #fff; }
.il-info .ic.teal    { background: var(--u-teal);    color: #fff; }
.il-info .ic.blue    { background: var(--u-blue);    color: #fff; }
.il-info .ic svg { width: 18px; height: 18px; }
.il-info .k {
  font-family: 'Mark Pro'; font-weight: 900; font-style: italic;
  font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--u-muted);
}
.il-info .v {
  font-family: 'Gotham'; font-weight: 700; font-size: 14.5px;
  color: var(--u-black); margin-top: 4px; line-height: 1.35;
}
.il-info .v small { display: block; font-weight: 400; color: var(--u-muted); font-size: 12.5px; margin-top: 2px; }

.il-hours {
  margin-top: 24px;
  background: var(--u-black); color: #fff;
  border-radius: 14px; padding: 18px 20px;
}
.il-hours .h-head {
  font-family: 'Mark Pro'; font-weight: 900; font-style: italic;
  font-size: 11px; letter-spacing: 0.22em; color: var(--u-yellow);
  text-transform: uppercase; margin-bottom: 12px;
}
.il-hours .rows { display: grid; grid-template-columns: 1fr auto; gap: 6px 18px; }
.il-hours .d { font-family: 'Gotham'; font-size: 13.5px; color: rgba(255,255,255,0.85); }
.il-hours .t { font-family: 'Mark Pro'; font-weight: 700; font-size: 13.5px; color: #fff; }
.il-hours .t.closed { color: var(--u-fuchsia); }

/* FORM CARD */
.il-form-card {
  background: #fff; border: 2px solid var(--u-black); border-radius: 22px;
  padding: 32px; box-shadow: 0 12px 0 var(--u-fuchsia);
  position: relative;
}
.il-form-card .ribbon-f {
  position: absolute; top: -16px; left: 32px;
  background: var(--u-fuchsia); color: #fff;
  padding: 8px 14px; border-radius: 999px; border: 2px solid var(--u-black);
  font-family: 'Mark Pro'; font-weight: 900; font-style: italic;
  font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase;
}
.il-form-card h2 {
  font-family: 'Mark Pro'; font-weight: 900; font-size: 38px;
  line-height: 1; letter-spacing: -0.02em; margin: 8px 0 6px;
  color: var(--u-black);
}
.il-form-card .sub { color: var(--u-muted); font-size: 14px; margin-bottom: 22px; }

.il-form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.il-field { display: flex; flex-direction: column; gap: 6px; }
.il-field.wide { grid-column: 1 / -1; }
.il-field label {
  font-family: 'Mark Pro'; font-weight: 900; font-style: italic;
  font-size: 10.5px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--u-black);
}
.il-field label .req { color: var(--u-fuchsia); }
.il-field input,
.il-field select,
.il-field textarea {
  font-family: 'Gotham'; font-size: 14px;
  border: 1.5px solid #d1d5db; border-radius: 12px;
  padding: 12px 14px; background: #fafbfc; color: var(--u-black);
  transition: border-color 140ms ease, background 140ms ease, box-shadow 140ms ease;
  width: 100%;
  box-sizing: border-box;
}
.il-field input,
.il-field select {
  height: 46px;
  line-height: 1.4;
}
.il-field select {
  -webkit-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8' fill='none' stroke='%230a0a0a' stroke-width='2'%3E%3Cpath d='M1 1.5 6 6.5 11 1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 12px 8px;
  padding-right: 38px;
}
.il-field textarea { resize: vertical; min-height: 140px; line-height: 1.5; }
.il-field input:focus,
.il-field select:focus,
.il-field textarea:focus {
  outline: none; border-color: var(--u-fuchsia); background: #fff;
  box-shadow: 0 0 0 4px rgba(229,18,109,0.10);
}

.il-consent { grid-column: 1 / -1; display: flex; gap: 10px; align-items: flex-start; font-size: 12.5px; color: var(--u-slate); line-height: 1.5; }
/* flex:0 0 18px → mobilde uzun KVKK metni flex satırında checkbox'ı 0'a
   sıkıştırıp görünmez yapıyordu (Burak 2026-06-14); sabit boyut + shrink yok. */
.il-consent input { flex: 0 0 18px; width: 18px; height: 18px; margin-top: 2px; accent-color: var(--u-fuchsia); }
.il-consent a { color: var(--u-fuchsia); font-weight: 700; }

.il-submit-row { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 4px; flex-wrap: wrap; }
/* reCAPTCHA (302px) + Mesajı Gönder aynı satırda dikey ortalı; dar ekranda alt alta sarar. */
.il-submit-row .recaptcha-box { flex: 0 0 auto; margin-top: 0 !important; }
.il-submit-row .info { font-family: 'Mark Pro'; font-weight: 700; font-size: 12px; color: var(--u-muted); letter-spacing: 0.06em; }
.il-submit {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--u-fuchsia); color: #fff;
  padding: 14px 22px; border-radius: 12px; border: 2px solid var(--u-black);
  font-family: 'Mark Pro'; font-weight: 900; font-style: italic;
  font-size: 13px; letter-spacing: 0.18em; text-transform: uppercase;
  cursor: pointer; box-shadow: 0 6px 0 var(--u-black);
  transition: transform 140ms ease, box-shadow 140ms ease, background 140ms ease;
}
.il-submit:hover { transform: translate(-2px,-2px); box-shadow: 0 8px 0 var(--u-black); background: #c5105c; }
.il-submit:active { transform: translate(0,2px); box-shadow: 0 3px 0 var(--u-black); }
.il-submit:disabled { opacity: 0.6; cursor: not-allowed; }
.il-submit:disabled:hover { transform: none; box-shadow: 0 6px 0 var(--u-black); background: var(--u-fuchsia); }

/* Error / success states for the contact form. Same wedge-shadow
   style as the rest of V1 so the alert sits cleanly above the
   submit row. */
.il-alert {
  grid-column: 1 / -1;
  border: 2px solid var(--u-black);
  border-radius: 12px;
  padding: 12px 14px;
  font-family: 'Gotham'; font-size: 14px;
  line-height: 1.45;
  margin-top: 4px;
}
.il-alert.err { background: #FDE8F1; color: #6B0E3A; box-shadow: 0 6px 0 var(--u-fuchsia); }
.il-alert.ok  { background: #E8F8EF; color: #0E5B2F; box-shadow: 0 6px 0 #1B9E5A; }

.il-success {
  border: 2px solid var(--u-black);
  border-radius: 18px;
  padding: 28px;
  background: #fff;
  box-shadow: 0 12px 0 #1B9E5A;
  display: flex; flex-direction: column; gap: 12px;
}
.il-success .ribbon-ok {
  display: inline-flex; align-self: flex-start;
  background: #1B9E5A; color: #fff;
  padding: 8px 14px; border-radius: 999px; border: 2px solid var(--u-black);
  font-family: 'Mark Pro'; font-weight: 900; font-style: italic;
  font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase;
}
.il-success h3 {
  font-family: 'Mark Pro'; font-weight: 900; font-size: 28px;
  line-height: 1; letter-spacing: -0.02em; color: var(--u-black);
  margin: 4px 0 0;
}
.il-success p { color: var(--u-muted); font-size: 14.5px; line-height: 1.5; margin: 0; }
.il-success .ref {
  font-family: 'Mark Pro'; font-weight: 900; font-style: italic;
  font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--u-muted);
}
.il-success .ref code {
  font-family: 'Gotham'; font-weight: 700; font-style: normal;
  font-size: 13px; color: var(--u-black); letter-spacing: 0;
  background: #f1f5f9; border-radius: 6px;
  padding: 2px 8px; margin-left: 6px;
}

/* SOCIAL ROW */
.il-social-row {
  margin-top: 36px;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px;
}
.il-social-card {
  border: 2px solid var(--u-black); border-radius: 16px;
  padding: 18px; display: flex; align-items: center; gap: 14px;
  background: #fff; transition: transform 160ms ease, box-shadow 160ms ease;
}
.il-social-card:hover { transform: translateY(-3px); box-shadow: 0 10px 0 var(--u-black); }
.il-social-card .ic {
  width: 44px; height: 44px; border-radius: 12px;
  display: grid; place-items: center; flex: 0 0 44px;
}
.il-social-card.wa .ic { background: #25D366; color: #fff; }
.il-social-card.ig .ic { background: linear-gradient(135deg, #F58529, #DD2A7B, #8134AF); color: #fff; }
.il-social-card.x .ic  { background: var(--u-black); color: #fff; }
.il-social-card.li .ic { background: #0A66C2; color: #fff; }
.il-social-card .ic svg { width: 22px; height: 22px; }
.il-social-card .k {
  font-family: 'Mark Pro'; font-weight: 900; font-style: italic;
  font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--u-muted);
}
.il-social-card .v {
  font-family: 'Mark Pro'; font-weight: 700; font-size: 15px;
  color: var(--u-black); margin-top: 2px;
}

/* MAP STRIP */
.il-map-strip {
  margin-top: 36px;
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 22px;
  align-items: stretch;
}
.il-map {
  border: 2px solid var(--u-black); border-radius: 22px;
  overflow: hidden; min-height: 320px; position: relative;
  background:
    repeating-linear-gradient(45deg, #e2e8f0 0 2px, transparent 2px 14px),
    linear-gradient(180deg, #cbd5e1 0%, #e2e8f0 100%);
}
.il-map .pin {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%,-100%);
  background: var(--u-fuchsia); color: #fff;
  padding: 10px 16px; border-radius: 999px; border: 2px solid var(--u-black);
  font-family: 'Mark Pro'; font-weight: 900; font-style: italic;
  font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase;
  box-shadow: 0 6px 0 var(--u-black);
}
.il-map .pin::after {
  content: ''; position: absolute; left: 50%; bottom: -10px;
  transform: translateX(-50%);
  border: 6px solid transparent; border-top: 10px solid var(--u-black);
}
.il-map .map-label {
  position: absolute; left: 18px; bottom: 18px;
  background: var(--u-black); color: #fff;
  padding: 10px 14px; border-radius: 999px;
  font-family: 'Mark Pro'; font-weight: 900; font-style: italic;
  font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
}
.il-quick {
  background: var(--u-black); color: #fff;
  border-radius: 22px; padding: 26px;
  display: flex; flex-direction: column; gap: 14px;
}
.il-quick h3 { font-family: 'Mark Pro'; font-weight: 900; font-size: 26px; line-height: 1; color: #fff; letter-spacing: -0.01em; }
.il-quick p { color: rgba(255,255,255,0.75); margin: 0; font-size: 14px; }
.il-quick .stack { display: flex; flex-direction: column; gap: 10px; margin-top: 8px; }
.il-quick .stack a {
  display: flex; align-items: center; gap: 10px;
  background: rgba(255,255,255,0.08); padding: 12px 14px; border-radius: 12px;
  border: 1.5px solid rgba(255,255,255,0.15);
  font-family: 'Mark Pro'; font-weight: 700; font-size: 13.5px;
  transition: background 140ms ease;
}
.il-quick .stack a:hover { background: var(--u-yellow); color: var(--u-black); border-color: var(--u-yellow); }
.il-quick .stack a .ic { width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; background: var(--u-fuchsia); color: #fff; }
.il-quick .stack a .ic svg { width: 14px; height: 14px; }

.il-quick .il-quick-info { display: flex; flex-direction: column; gap: 14px; margin-top: 6px; }
.il-quick .qi-row { display: flex; flex-direction: column; gap: 4px; padding: 12px 14px; background: rgba(255,255,255,0.06); border-radius: 12px; border: 1px solid rgba(255,255,255,0.10); }
.il-quick .qi-k { font-family: 'Mark Pro'; font-weight: 900; font-style: italic; font-size: 10.5px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--u-yellow); }
.il-quick .qi-v { font-family: 'Gotham'; font-size: 14px; line-height: 1.5; color: #fff; }
/* Facebook social card — kept the same white-card + colored-icon format
 * as the other 4 (wa/ig/x/li). Earlier this card had `background: #1877F2`
 * (Facebook blue) which broke visual consistency in the social row. The
 * brand colour now lives only on the `.ic` chip, like every other card. */
.il-social-card.fb .ic { background: #1877F2; color: #fff; }

/* =========================================================
 * Mobile + tablet (Burak 2026-05-18) — apply the konaklama
 * listing pattern to İletişim:
 *  - Hero h1 shrunk, key-strip stat boxes hidden.
 *  - Form 2-col grid → 1-col (all inputs stack).
 *  - Company info 2-col grid → 1-col.
 *  - Social card 4-col → 2-col tablet, 1-col phone.
 *  - Map strip 1.4fr/1fr split → stacked.
 *  - Form card padding tightened.
 * ========================================================= */
@media (max-width: 768px) {
  .key-strip { display: none !important; }

  .il-main { padding: 36px 0 64px; }
  .il-form { grid-template-columns: 1fr !important; gap: 12px; }
  .il-form-card { padding: 22px; }
  .il-form-card h2 { font-size: 28px; }

  .il-info { grid-template-columns: 1fr !important; gap: 10px; }
  .il-company { padding: 22px; }
  .il-company h2 { font-size: 26px; }

  /* Burak 2026-05-18: social cards → icon-only row, full-width company
     info card below, harita en altta. */
  .il-social-row {
    display: flex !important;
    justify-content: center;
    gap: 14px;
    margin-top: 24px;
    padding: 4px 0;
  }
  .il-social-card {
    padding: 0 !important;
    background: transparent !important;
    border: 0 !important;
    gap: 0 !important;
    flex: 0 0 auto;
  }
  .il-social-card:hover { transform: translateY(-2px); box-shadow: none !important; }
  .il-social-card .ic {
    width: 52px !important; height: 52px !important;
    flex: 0 0 52px !important;
    border-radius: 14px;
    border: 2px solid var(--u-black);
    box-shadow: 0 4px 0 var(--u-black);
  }
  .il-social-card .ic svg { width: 24px; height: 24px; }
  /* Hide the text block (k + v) — keep only the icon. */
  .il-social-card > div:not(.ic),
  .il-social-card .k,
  .il-social-card .v { display: none !important; }

  /* Map strip → reorder: company info full-width first, harita below. */
  .il-map-strip {
    grid-template-columns: 1fr !important;
    gap: 14px;
    margin-top: 24px;
  }
  .il-quick {
    order: 1;
    padding: 22px;
    width: 100%;
  }
  .il-quick h3 { font-size: 22px; }
  .il-map {
    order: 2;
    min-height: 220px;
    width: 100%;
  }
}

@media (max-width: 480px) {
  .il-social-row { gap: 10px; }
  .il-social-card .ic { width: 46px !important; height: 46px !important; flex: 0 0 46px !important; }
}
