/* ============================================================
   LCME 2026 Kayıt Formu — Ana Stil Dosyası
   Font: Outfit (Google Fonts) + Neulis Sans (@font-face)
   ============================================================ */

/* --- Neulis Sans (Lisanslı Font) --------------------------
   Neulis Sans .woff2 ve .woff dosyalarını
   assets/fonts/ klasörüne kopyalayın, sonra aşağıdaki
   @font-face bloğunun başındaki /* kaldırın.

@font-face {
  font-family: "Neulis Sans";
  src: url("fonts/NeulisSans-Bold.woff2") format("woff2"),
       url("fonts/NeulisSans-Bold.woff")  format("woff");
  font-weight: 700;
  font-style:  normal;
  font-display: swap;
}
@font-face {
  font-family: "Neulis Sans";
  src: url("fonts/NeulisSans-Regular.woff2") format("woff2"),
       url("fonts/NeulisSans-Regular.woff")  format("woff");
  font-weight: 400;
  font-style:  normal;
  font-display: swap;
}
*/

/* --- Reset & Base ----------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
  height: 100%;
  background: #111111;
  color: #ffffff;
  font-family: "Outfit", "Inter", "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

/* --- Sayfa Ortalama --------------------------------------- */
.page-wrap {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px 24px;
}

/* --- Ana Kart --------------------------------------------- */
.form-card {
  display: flex;
  width: 100%;
  max-width: 980px;
  min-height: 700px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 32px 96px rgba(0, 0, 0, 0.7);
}

/* ==========================================================
   SOL PANEL
   ========================================================== */
.left-panel {
  position: relative;
  width: 42%;
  flex-shrink: 0;
  background: #111;
  overflow: hidden;
}

.left-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.left-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.10) 0%,
    rgba(0, 0, 0, 0.22) 35%,
    rgba(0, 0, 0, 0.82) 65%,
    rgba(0, 0, 0, 1.00) 100%
  );
}

.left-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  height: 100%;
  padding: 28px 24px;
}

.left-title {
  font-family: "Neulis Sans", "Outfit", "Inter", "Helvetica Neue", sans-serif;
  font-size: 26px;
  font-weight: 700;
  line-height: 1.25;
  color: #e9fa35;
  text-align: center;
  margin-bottom: 14px;
  letter-spacing: 0.01em;
}

.left-subtitle {
  font-size: 14px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.88);
  text-align: center;
  margin-bottom: 20px;
}

.left-detail {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  color: #e9fa35;
  font-size: 13.5px;
  line-height: 1.5;
  margin-bottom: 10px;
}

.left-detail svg {
  flex-shrink: 0;
  margin-top: 1px;
}

.kontenjan-wrap {
  margin-top: 14px;
}

.kontenjan-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 5px;
}

.kontenjan-label span:first-child {
  font-size: 11.5px;
  font-weight: 600;
  color: #e9fa35;
}

.kontenjan-sayac {
  font-size: 11.5px;
  font-weight: 700;
  color: #e9fa35;
}

.kontenjan-bar-bg {
  height: 6px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 3px;
  overflow: hidden;
}

.kontenjan-bar-fill {
  height: 6px;
  background: #e9fa35;
  border-radius: 3px;
  transition: width 0.5s ease;
  max-width: 100%;
}

/* ==========================================================
   SAĞ PANEL
   ========================================================== */
.right-panel {
  flex: 1;
  background: #0d0d0d;
  padding: 36px 44px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  overflow-y: auto;
}

/* --- Form Başlık ------------------------------------------ */
.form-header { display: flex; flex-direction: column; gap: 4px; }
.form-baslik { font-size: 16px; font-weight: 600; color: #ffffff; }
.form-alt    { font-size: 12px; color: rgba(255, 255, 255, 0.45); }

/* --- Ayraç ------------------------------------------------ */
.ayrac {
  height: 0.5px;
  background: rgba(255, 255, 255, 0.09);
  margin: 2px 0;
}

/* --- Form Alanları ---------------------------------------- */
.field {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.field label {
  font-size: 11.5px;
  font-weight: 600;
  color: #e9fa35;
  letter-spacing: 0.04em;
}

.tel-wrap {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.06);
  border: 0.5px solid rgba(255, 255, 255, 0.18);
  border-radius: 7px;
  overflow: hidden;
}
.tel-wrap:focus-within {
  border-color: rgba(255, 255, 255, 0.5);
}
.tel-prefix {
  padding: 10px 10px 10px 12px;
  color: #ffffff;
  font-size: 13px;
  font-family: inherit;
  user-select: none;
  pointer-events: none;
  flex-shrink: 0;
}
.tel-wrap input[type="tel"] {
  border: none !important;
  background: transparent !important;
  border-radius: 0 !important;
  padding-left: 2px !important;
  flex: 1;
}

.field input[type="text"],
.field input[type="email"],
.field input[type="tel"],
.field select {
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
  border: 0.5px solid rgba(255, 255, 255, 0.18);
  border-radius: 7px;
  padding: 10px 12px;
  font-size: 13px;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s, background 0.2s;
  width: 100%;
}

.field input::placeholder { color: rgba(255, 255, 255, 0.28); }

.field input:focus,
.field select:focus {
  border-color: rgba(233, 250, 53, 0.5);
  background: rgba(255, 255, 255, 0.09);
}

.field input.error,
.field select.error {
  border-color: rgba(239, 68, 68, 0.6);
}

.field select option {
  background: #1a1a1a;
  color: #ffffff;
}

/* --- Checkbox Grubu --------------------------------------- */
.cb-group { display: flex; flex-direction: column; gap: 7px; }

.cb-row {
  display: flex;
  align-items: center;
  gap: 9px;
  cursor: pointer;
  padding: 4px 0;
}

.cb-row input[type="checkbox"] {
  width: 15px;
  height: 15px;
  accent-color: #e9fa35;
  cursor: pointer;
  flex-shrink: 0;
}

.cb-row span {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.4;
}

.cb-row:hover span { color: #ffffff; }

/* --- Alan Hatası ------------------------------------------ */
.field-error {
  font-size: 11.5px;
  color: #f87171;
  min-height: 14px;
  display: block;
}

/* --- Butonlar --------------------------------------------- */
.btn-row {
  display: flex;
  gap: 10px;
  margin-top: 2px;
}

.btn {
  flex: 1;
  padding: 12px 0;
  border-radius: 7px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.05em;
  cursor: pointer;
  border: none;
  font-family: inherit;
  transition: transform 0.15s, background 0.15s, color 0.15s;
}

.btn-submit {
  background: #c8c8c8 !important;
  color: #111111 !important;
}

.btn-submit:hover {
  background: #3a3a3a !important;
  color: #e9fa35 !important;
  transform: translateY(-1px);
}

.btn-submit:active { transform: translateY(0); }

.btn-submit:disabled {
  background: #555 !important;
  color: rgba(255,255,255,0.3) !important;
  cursor: not-allowed;
  transform: none;
}

.btn-clear {
  background: #c8c8c8 !important;
  color: #111111 !important;
}

.btn-clear:hover {
  background: #3a3a3a !important;
  color: #e9fa35 !important;
  transform: translateY(-1px);
}

.btn-clear:active { transform: translateY(0); }

/* --- Form Notu -------------------------------------------- */
.form-not {
  font-size: 11.5px;
  color: rgba(255, 255, 255, 0.3);
  text-align: center;
}

/* ==========================================================
   BAŞARI MESAJI
   ========================================================== */
.basari-mesaj {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 14px;
  padding: 16px 0;
}

.basari-ikon svg { display: block; }

.basari-baslik {
  font-size: 20px;
  font-weight: 700;
  color: #e9fa35;
}

.basari-metin {
  font-size: 13.5px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.82);
  max-width: 360px;
}

.basari-metin strong { color: #ffffff; }

.maps-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: #e9fa35;
  color: #111111;
  font-weight: 700;
  font-size: 13px;
  text-decoration: none;
  padding: 11px 22px;
  border-radius: 7px;
  transition: background 0.15s, transform 0.15s;
}

.maps-btn:hover {
  background: #d4e02e;
  transform: translateY(-1px);
}

.basari-not {
  font-size: 11.5px;
  color: rgba(255, 255, 255, 0.3);
}

/* ==========================================================
   KONTENJAN DOLU MESAJI
   ========================================================== */
.dolu-mesaj {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
  padding: 24px 8px;
}

.dolu-ikon svg { display: block; }

.dolu-baslik {
  font-size: 20px;
  font-weight: 700;
  color: #e9fa35;
}

.dolu-metin {
  font-size: 13.5px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.82);
  max-width: 340px;
}

.dolu-metin strong { color: #ffffff; }

.instagram-btn {
  display: inline-block;
  background: #e9fa35;
  color: #111111;
  font-weight: 700;
  font-size: 13px;
  text-decoration: none;
  padding: 11px 22px;
  border-radius: 7px;
  transition: background 0.15s, transform 0.15s;
}

.instagram-btn:hover {
  background: #d4e02e;
  transform: translateY(-1px);
}

/* ==========================================================
   RESPONSIVE
   ========================================================== */
@media (max-width: 680px) {
  .page-wrap {
    padding: 0;
    align-items: flex-start;
  }

  .form-card {
    flex-direction: column;
    border-radius: 0;
    overflow: visible;  /* sağ panel sola binebilsin */
    min-height: 100vh;
  }

  /* Görsel: ekranın üst %62'sini kaplar */
  .left-panel {
    width: 100%;
    height: 62vh;
    min-height: 340px;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
  }

  .left-content {
    justify-content: flex-end;
    padding: 20px 20px 52px;  /* alta ekstra boşluk — form binme payı */
  }

  .left-title    { font-size: 22px; }
  .left-subtitle { font-size: 13px; }
  .left-detail   { font-size: 12.5px; }

  /* Form: görsel üstüne 32px biner, yuvarlak üst köşe */
  .right-panel {
    position: relative;
    z-index: 2;
    margin-top: -32px;
    border-radius: 20px 20px 0 0;
    padding: 32px 24px 40px;
    justify-content: flex-start;
    box-shadow: 0 -8px 40px rgba(0, 0, 0, 0.5);
    min-height: calc(38vh + 32px);
  }

  /* Form üstüne küçük tutamak çizgisi */
  .right-panel::before {
    content: '';
    display: block;
    width: 36px;
    height: 4px;
    background: rgba(255, 255, 255, 0.18);
    border-radius: 2px;
    margin: 0 auto 24px;
  }
}

@media (max-width: 420px) {
  .left-panel  { height: 58vh; }
  .right-panel { padding: 28px 16px 36px; }
  .btn-row     { flex-direction: column; }
}
