/* PV.4.1 — İletişim sayfası. Yalnızca contact.html yükler; ortak tokenlar styles.css'ten gelir. */

/* Fixed bottom-left so it never covers the header; the WhatsApp button stays bottom-right. */
.cp-preview-banner { position: fixed; z-index: 80; left: 16px; bottom: 16px; max-width: min(520px, calc(100vw - 120px)); margin: 0; padding: 12px 16px; border-left: 3px solid #e0a400; background: #fdf3dc; color: #7a4f00; box-shadow: 0 12px 30px rgba(0,0,0,.2); font-size: .8rem; font-weight: 650; line-height: 1.45; }
.cp-preview-banner[hidden] { display: none; }

/* Hero */
.cp-hero { padding-bottom: 96px; }
.cp-hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1.15fr .85fr; gap: 80px; align-items: end; }
.cp-hero h1 { max-width: 760px; font-size: clamp(2.8rem, 5.4vw, 5.4rem); }
.cp-hero-side > p { margin: 0 0 30px; color: var(--on-dark); font-size: 1.04rem; line-height: 1.8; }
.cp-hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; }

/* Info + form */
.cp-body { padding: 96px 0 110px; background: var(--paper); }
.cp-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 56px; align-items: start; }
.cp-cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.cp-card { display: flex; flex-direction: column; gap: 6px; min-width: 0; padding: 26px 24px 24px; background: white; border: 1px solid var(--line-light); border-top: 2px solid var(--navy); }
.cp-label { margin-bottom: 8px; color: var(--blue-deep); font-size: var(--fs-micro); font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.cp-value { color: var(--navy); font-size: 1.12rem; font-weight: 750; letter-spacing: -.01em; overflow-wrap: anywhere; }
.cp-value:hover, .cp-link:hover, .cp-note a:hover { color: var(--blue-deep); }
.cp-value-sub { font-size: .98rem; font-weight: 650; }
.cp-note { color: var(--text-soft); font-size: .82rem; line-height: 1.55; }
.cp-note a { color: var(--navy); font-weight: 650; }
.cp-address-title { color: var(--navy); font-size: 1rem; }
.cp-address { color: var(--text-body); font-size: .9rem; font-style: normal; line-height: 1.6; }
.cp-link { margin-top: 6px; color: var(--navy); font-size: .82rem; font-weight: 750; }
.cp-link span { color: var(--blue); }
.cp-card [hidden], .cp-hours [hidden] { display: none; }

.cp-hours { margin-top: 16px; padding: 26px 24px; background: var(--navy); color: white; }
.cp-hours h2 { margin: 0 0 16px; font-size: .74rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: #8fb3cc; }
.cp-hours dl { margin: 0; display: grid; }
.cp-hours dl div { display: flex; justify-content: space-between; gap: 20px; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.12); }
.cp-hours dt { color: var(--on-dark); font-size: .9rem; }
.cp-hours dd { margin: 0; font-weight: 750; font-variant-numeric: tabular-nums; text-align: right; }
.cp-hours > p { margin: 14px 0 0; color: var(--on-dark-soft); font-size: .8rem; }
.cp-hours[hidden] { display: none; }
.cp-social { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.cp-social[hidden] { display: none; }
.cp-social a { padding: 10px 16px; border: 1px solid var(--control); color: var(--navy); font-size: .8rem; font-weight: 750; }
.cp-social a:hover { border-color: var(--navy); }

/* Form */
.cp-form-card { padding: 40px; background: white; border: 1px solid var(--line-light); box-shadow: 0 30px 70px rgba(7, 19, 33, .08); outline: none; }
.cp-form-card h2 { margin: 0; font-size: clamp(1.5rem, 2.2vw, 2rem); letter-spacing: -.03em; line-height: 1.15; }
.cp-form-intro { margin: 10px 0 26px; color: var(--text-soft); font-size: .9rem; }
.cp-form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 16px; }
.cp-form[hidden] { display: none; }
.cp-field { display: grid; gap: 6px; align-content: start; min-width: 0; }
.cp-field-wide { grid-column: 1 / -1; }
.cp-field > label { color: var(--text); font-size: .8rem; font-weight: 750; }
.cp-req { color: #b3261e; }
/* Borders meet the 3:1 contrast needed to see where a field is. */
.cp-field input, .cp-field select, .cp-field textarea { width: 100%; min-height: 50px; padding: 12px 14px; border: 1px solid var(--control); border-radius: 0; background: #fbfcfd; color: var(--navy); font: inherit; font-size: .95rem; }
.cp-field textarea { min-height: 150px; resize: vertical; line-height: 1.6; }
.cp-field input:focus, .cp-field select:focus, .cp-field textarea:focus { outline: none; border-color: var(--blue); background: white; box-shadow: 0 0 0 3px rgba(0,143,218,.25); }
.cp-field.has-error input, .cp-field.has-error select, .cp-field.has-error textarea { border-color: #b3261e; background: #fff8f7; }
.cp-field-error { margin: 0; color: #b3261e; font-size: .8rem; font-weight: 650; }
.cp-field-error:empty { display: none; }
.cp-consent label { display: flex; gap: 12px; align-items: flex-start; color: var(--text-body); font-size: .84rem; font-weight: 500; line-height: 1.5; cursor: pointer; }
.cp-consent input { width: 18px; height: 18px; min-height: 0; margin-top: 2px; flex: none; accent-color: var(--navy); }
.cp-submit { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: 4px; }
.cp-submit .button { border: 0; cursor: pointer; font: inherit; font-weight: 800; font-size: .82rem; letter-spacing: .06em; }
/* PV.5.10: buttons on the light form card are anthracite (the site's button is off-white for the dark pages). */
.cp-form-card .button, .cp-success .button { color: var(--an-text); background: var(--an-1); border-color: var(--an-1); }
.cp-form-card .button:hover, .cp-success .button:hover { color: var(--an-text); background: var(--an-3); border-color: var(--an-3); box-shadow: inset 0 -2px 0 var(--blue-2); }
.cp-form-note { margin: 0; color: var(--text-soft); font-size: .78rem; }
.cp-hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.cp-error-summary { margin: 0 0 22px; padding: 16px 18px; border-left: 3px solid #b3261e; background: #fff4f2; color: #7a1b14; font-size: .86rem; outline: none; }
.cp-error-summary[hidden] { display: none; }
.cp-error-summary ul { margin: 8px 0 0; padding-left: 18px; }
.cp-error-summary a { color: #7a1b14; text-decoration: underline; }
.cp-success { padding: 30px 28px; border-left: 3px solid #0e9f60; background: #eefaf3; outline: none; }
.cp-success[hidden] { display: none; }
.cp-success h3 { margin: 0 0 8px; font-size: 1.3rem; }
.cp-success p { margin: 0 0 18px; color: var(--text-body); font-size: .92rem; }

/* Map (click-to-open: no third-party embed on page load) */
.cp-map { padding: 0 0 110px; background: var(--paper); }
.cp-map-panel { display: grid; grid-template-columns: 1.4fr .9fr; min-height: 380px; background: var(--navy); color: white; }
.cp-map-canvas { position: relative; overflow: hidden; background: radial-gradient(circle at 42% 48%, rgba(0,183,255,.22), transparent 26%), linear-gradient(135deg, #0a1725, #0d2438); }
.cp-map-canvas::before { content: ""; position: absolute; inset: 0; opacity: .5; background-image: linear-gradient(rgba(255,255,255,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.07) 1px, transparent 1px); background-size: 48px 48px; }
.cp-map-canvas::after { content: ""; position: absolute; left: -10%; right: -10%; top: 58%; height: 2px; background: linear-gradient(90deg, transparent, rgba(0,183,255,.5), transparent); transform: rotate(-9deg); }
.cp-map-pin { position: absolute; left: 42%; top: 48%; width: 22px; height: 22px; margin: -11px 0 0 -11px; border-radius: 50%; background: var(--blue-2); box-shadow: 0 0 0 10px rgba(0,183,255,.18), 0 0 0 26px rgba(0,183,255,.08); }
.cp-map-card { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 6px; padding: 48px 44px; }
.cp-map-card h2 { margin: 0; font-size: clamp(1.5rem, 2.4vw, 2.2rem); letter-spacing: -.03em; }
.cp-map-card > p:not(.eyebrow) { margin: 6px 0 18px; color: var(--on-dark); font-size: .95rem; line-height: 1.7; }
.cp-map-card .cp-map-note { margin: 16px 0 0; color: var(--on-dark-soft); font-size: .76rem; }

@media (max-width: 1050px) {
  .cp-hero-grid { grid-template-columns: 1fr; gap: 28px; }
  .cp-layout { grid-template-columns: 1fr; gap: 40px; }
  .cp-map-panel { grid-template-columns: 1fr; }
  .cp-map-canvas { min-height: 220px; }
}

@media (max-width: 560px) {
  .cp-hero { padding: 145px 0 64px; }
  .cp-hero h1 { font-size: 2.5rem; }
  .cp-hero-actions { flex-direction: column; align-items: flex-start; }
  .cp-body { padding: 56px 0 72px; }
  .cp-cards { grid-template-columns: 1fr; gap: 12px; }
  .cp-card { padding: 22px 20px; }
  .cp-form-card { padding: 26px 20px; }
  .cp-form { grid-template-columns: 1fr; }
  .cp-submit .button { width: 100%; }
  .cp-map { padding-bottom: 72px; }
  .cp-map-card { padding: 32px 22px; }
}
