/* =========================================================
   YANOVA — İletişim / yeni işletme başvurusu
   giris.css üzerine eklenir; aynı sahne, cam kart ve alanlar.
   ========================================================= */

.contact .auth-main { grid-template-columns: minmax(0, 560px) minmax(0, 1fr); align-items: start; }
.contact .auth-col { padding-top: clamp(0px, 2vh, 20px); }
.contact .auth-stage { min-height: 620px; }

.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.contact-grid .auth-field--wide { grid-column: 1 / -1; }
.auth-field label span { color: var(--muted); text-transform: none; letter-spacing: 0.02em; font-family: var(--f-body); font-size: 11.5px; }

.auth-field textarea {
  width: 100%; min-height: 128px; padding: 14px 16px; border-radius: 14px; resize: vertical;
  border: 1px solid var(--line-2); background: rgba(4, 7, 15, 0.55); color: var(--ink);
  font: inherit; font-size: 15.5px; line-height: 1.6;
  transition: border-color 0.3s, box-shadow 0.4s var(--ease), background 0.3s;
}
.auth-field textarea::placeholder { color: rgba(126, 139, 166, 0.7); }
.auth-field textarea:hover { border-color: rgba(160, 185, 255, 0.3); }
.auth-field textarea:focus {
  outline: none; border-color: rgba(94, 231, 255, 0.65); background: rgba(4, 7, 15, 0.8);
  box-shadow: 0 0 0 4px rgba(94, 231, 255, 0.12), 0 0 40px -8px rgba(47, 107, 255, 0.65);
}
.contact-count { font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.08em; color: var(--muted); text-align: right; margin-top: -2px; transition: color 0.3s; }
.contact-count.is-near { color: var(--gold); }

/* bal küpü: ekran okuyuculardan ve görünümden gizli */
.trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.privacy { margin-top: 16px; font-size: 12.5px; line-height: 1.6; color: var(--muted); }
.privacy a { color: var(--ink-2); text-decoration: underline; text-decoration-color: rgba(160, 185, 255, 0.3); text-underline-offset: 3px; }
.privacy a:hover { color: var(--cyan); text-decoration-color: var(--cyan); }

/* sunucu mesajı: varsayılan uyarı, JS başarıyı ayırt eder */
.notice:empty { display: none; }
.notice {
  display: flex; gap: 10px; align-items: flex-start; margin: 18px 0 0; padding: 13px 15px; border-radius: 14px;
  border: 1px solid rgba(255, 207, 107, 0.35); background: rgba(255, 207, 107, 0.07); color: #f3dfae; font-size: 14px; line-height: 1.55;
}
.notice::before { content: "!"; flex: none; width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 700; background: rgba(255, 207, 107, 0.25); color: #fff; }

/* başarı durumu */
.contact-success { display: none; text-align: left; }
.contact.is-sent .contact-success { display: grid; gap: 14px; justify-items: start; }
.contact.is-sent .contact-form-area, .contact.is-sent .notice { display: none; }
.contact-success__mark { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: radial-gradient(circle, rgba(74, 222, 155, 0.22), rgba(74, 222, 155, 0.04)); border: 1px solid rgba(74, 222, 155, 0.45); box-shadow: 0 0 40px -6px rgba(74, 222, 155, 0.6); }
.contact-success__mark svg { width: 30px; height: 30px; stroke: var(--ok); stroke-width: 2.6; fill: none; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 40; stroke-dashoffset: 40; }
.contact.is-sent .contact-success__mark svg { animation: contact-draw 0.9s var(--ease) 0.25s forwards; }
@keyframes contact-draw { to { stroke-dashoffset: 0; } }
.contact-success h2 { margin-top: 4px; }
.contact-success p { color: var(--ink-2); font-size: 15px; max-width: 42ch; }

/* sağ sahne: adımlar */
.contact-steps { position: absolute; inset: 0; pointer-events: none; }
.contact-step {
  position: absolute; display: grid; grid-template-columns: auto 1fr; gap: 4px 14px; align-items: center;
  width: 270px; padding: 16px 18px; border-radius: 18px;
  background: rgba(7, 13, 27, 0.58); border: 1px solid var(--line-2);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 20px 60px -30px rgba(0, 0, 0, 0.9);
  animation: auth-float 7s ease-in-out infinite;
  transition: border-color 0.5s, box-shadow 0.5s, transform 0.5s var(--ease);
}
.contact-step b { grid-row: span 2; font-family: var(--f-display); font-weight: 200; font-size: 40px; line-height: 1; letter-spacing: -0.04em; background: linear-gradient(180deg, var(--cyan), var(--blue)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.contact-step strong { font-family: var(--f-display); font-weight: 500; font-size: 16px; color: var(--ink); }
.contact-step span { font-size: 13px; color: var(--muted); }
.contact-step.is-active { border-color: rgba(94, 231, 255, 0.55); box-shadow: 0 0 0 1px rgba(94, 231, 255, 0.2), 0 20px 60px -20px rgba(47, 107, 255, 0.6); }
.contact-step--1 { top: 2%; right: 2%; }
.contact-step--2 { top: 40%; left: 0; animation-delay: -2.3s; }
.contact-step--3 { bottom: 4%; right: 6%; animation-delay: -4.7s; }

/* doğrudan iletişim satırı */
.contact-direct { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; font-size: 14px; color: var(--muted); }
.contact-direct a { color: var(--ink); transition: color 0.3s; display: inline-flex; gap: 6px; align-items: center; }
.contact-direct a:hover { color: var(--cyan); }

@media (max-width: 1080px) {
  .contact .auth-main { grid-template-columns: minmax(0, 560px); }
}
@media (max-width: 560px) {
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-height: 960px) and (min-width: 1081px) {
  .contact .auth-intro p { display: block; }
}
@media (prefers-reduced-motion: reduce) {
  .contact-step { animation: none !important; }
  .contact.is-sent .contact-success__mark svg { animation: none; stroke-dashoffset: 0; }
}
