/* ==========================================================
   NAKLİYAT ADIM ADIM FORM - STİL DOSYASI
   Nereye eklenir: Görünüm > Özelleştir > Ek CSS
   VEYA temanızın /style.css dosyasının en altına
   ========================================================== */

:root{
  --nf-navy:#09182f;      /* ana marka rengi - metin, kenarlık, vurgu zemini */
  --nf-navy-soft:#0f2340; /* hover / ikincil lacivert tonu */
  --nf-gold:#bb863a;      /* ana aksan rengi - seçili durum, buton, ilerleme */
  --nf-gold-dark:#9a6d2c; /* hover / basılı altın tonu */
  --nf-border:#09182f;    /* kenarlıklar - talep edildiği gibi düz lacivert */
  --nf-bg-soft:#09182f0a; /* lacivertin %4 opaklığı - yumuşak zemin */
  --nf-radius:2px;        /* keskin/modern köşe */
}

.wpcf7-form{ max-width:560px; margin:0 auto; color:var(--nf-navy); }

/* İlerleme çubuğu */
.nf-progress{ display:flex; gap:6px; margin-bottom:6px; }
.nf-dot{ flex:1; height:4px; border-radius:0; background:var(--nf-border); transition:background .25s ease; }
.nf-dot.active,.nf-dot.done{ background:var(--nf-gold); }
.nf-step-label{ font-size:13px; font-weight:600; letter-spacing:.02em; color:var(--nf-navy); opacity:.65; margin:0 0 22px; text-transform:uppercase; font-size:11px; }

/* Adım blokları (JS ile toggle edilir) */
.nf-step{ display:none; }
.nf-step.nf-active{ display:block; animation:nfFade .2s ease; }
@keyframes nfFade{ from{opacity:0; transform:translateY(4px);} to{opacity:1; transform:none;} }

.nf-row{ display:flex; gap:12px; flex-wrap:wrap; }
.nf-field{ flex:1; min-width:150px; }

.wpcf7-form label{ display:block; font-size:13px; font-weight:600; color:var(--nf-navy); margin:14px 0 6px; }
.nf-label-block{ margin-top:0; }

.wpcf7-form input[type=text],
.wpcf7-form input[type=tel],
.wpcf7-form input[type=email],
.wpcf7-form select,
.wpcf7-form textarea{
  width:100%; padding:10px 12px; border:1px solid var(--nf-border);
  border-radius:var(--nf-radius); font-size:14px; background:#fff;
  box-sizing:border-box;
}
.wpcf7-form textarea{ min-height:80px; resize:vertical; }
.wpcf7-form input:focus, .wpcf7-form select:focus, .wpcf7-form textarea:focus{
  outline:none; border-color:var(--nf-gold); box-shadow:0 0 0 3px rgba(187,134,58,.18);
}

/* Buton grubu (pill) - hem TEK SEÇİM (radio) hem ÇOKLU SEÇİM (checkbox) için ortak stil.
   Tek seçim: tıklayınca öncekini otomatik iptal eder (tarayıcı native davranışı).
   Çoklu seçim: her buton kendi başına aç/kapa, birbirini etkilemez. */
.nf-pillgroup .wpcf7-list-item{ margin:0 8px 8px 0; display:inline-block; }
.nf-pillgroup{ display:flex; flex-wrap:wrap; }
.nf-pillgroup input[type=radio],
.nf-pillgroup input[type=checkbox]{ position:absolute; opacity:0; width:0; height:0; }
.nf-pillgroup .wpcf7-list-item-label{
  display:inline-block; padding:8px 16px; border:1px solid var(--nf-border);
  border-radius:2px; font-size:14px; color:var(--nf-navy); cursor:pointer; user-select:none;
  transition:all .15s ease; background:#fff;
}
.nf-pillgroup .wpcf7-list-item-label:hover{
  border-color:var(--nf-gold); background:var(--nf-bg-soft); color:var(--nf-navy);
}
.nf-pillgroup input[type=radio]:checked + .wpcf7-list-item-label,
.nf-pillgroup input[type=checkbox]:checked + .wpcf7-list-item-label{
  background:var(--nf-gold); border-color:var(--nf-gold); color:#fff; font-weight:600;
}
.nf-pillgroup input[type=radio]:checked + .wpcf7-list-item-label:hover,
.nf-pillgroup input[type=checkbox]:checked + .wpcf7-list-item-label:hover{
  background:var(--nf-gold-dark); border-color:var(--nf-gold-dark);
}
/* Çoklu seçim gruplarının üstüne küçük bir ipucu için kullanılabilir */
.nf-multi-hint{ display:block; font-size:11px; color:var(--nf-navy); opacity:.55; margin:-2px 0 8px; font-weight:400; }

/* Fotoğraf/video adımı */
.nf-media-buttons{ display:flex; gap:10px; margin-bottom:14px; }
.nf-hidden-fields{ display:none; } /* CF7'nin gerçek file inputları buton tıklanınca JS ile tetiklenir */

.nf-dropzone{
  border:2px dashed #cfcabf; border-radius:var(--nf-radius); padding:22px;
  text-align:center; font-size:13px; color:#8a8a8a; background:var(--nf-bg-soft);
  transition:border-color .15s ease, background .15s ease;
}
.nf-dropzone.nf-drag-over{ border-color:var(--nf-gold); background:#fdf1e9; }

.nf-thumbs{ display:grid; grid-template-columns:repeat(3, 1fr); gap:8px; margin-top:12px; }
@media (min-width:480px){ .nf-thumbs{ grid-template-columns:repeat(5, 1fr); } }
.nf-thumb{
  aspect-ratio:1/1; width:100%; border-radius:6px; overflow:hidden; position:relative;
  border:1px solid var(--nf-border); background:#fff; cursor:pointer;
}
.nf-thumb img,.nf-thumb video{ width:100%; height:100%; object-fit:cover; display:block; }
.nf-thumb .nf-thumb-remove{
  position:absolute; top:3px; right:3px; width:20px; height:20px; border-radius:50%;
  background:rgba(9,24,47,.85); color:#fff; font-size:14px; line-height:20px; text-align:center;
  cursor:pointer; z-index:2;
}
.nf-hint{ font-size:12px; color:#9a9a9a; margin-top:10px; }

/* Video "hazır" kutusu - tek video slotu */
.nf-video-slot{
  aspect-ratio:1/1; max-width:140px; border-radius:6px; overflow:hidden; position:relative;
  border:1px solid var(--nf-border); background:var(--nf-navy); cursor:pointer;
  display:flex; align-items:center; justify-content:center; color:#fff; text-align:center;
  font-size:13px; font-weight:600; margin-top:10px;
}
.nf-video-slot .nf-thumb-remove{
  position:absolute; top:3px; right:3px; width:20px; height:20px; border-radius:50%;
  background:rgba(255,255,255,.9); color:var(--nf-navy); font-size:14px; line-height:20px;
  text-align:center; cursor:pointer; z-index:2;
}
.nf-video-slot::before{ content:'▶'; display:block; font-size:20px; margin-bottom:4px; }

/* Popup önizleme */
.nf-popup-overlay{
  position:fixed; inset:0; background:rgba(9,24,47,.82); z-index:9999;
  display:flex; align-items:center; justify-content:center; padding:20px;
}
.nf-popup-box{ max-width:min(520px, 92vw); max-height:88vh; position:relative; }
.nf-popup-box img,.nf-popup-box video{ max-width:100%; max-height:88vh; border-radius:6px; display:block; margin:0 auto; }
.nf-popup-close{
  position:absolute; top:-14px; right:-14px; width:32px; height:32px; border-radius:50%;
  background:var(--nf-gold); color:#fff; border:none; font-size:18px; cursor:pointer;
}

/* Kamera önizleme kutusu - responsive, mobilde dikey (portrait) görünüm */
.nf-camera-box{
  border-radius:var(--nf-radius); overflow:hidden; margin-bottom:14px; background:#000;
  max-width:360px; margin-left:auto; margin-right:auto;
  aspect-ratio:3/4; position:relative;
}
.nf-camera-box video{ width:100%; height:100%; object-fit:cover; display:block; }
.nf-camera-actions{
  position:absolute; left:0; right:0; bottom:0; display:flex; gap:8px; padding:10px;
  background:linear-gradient(transparent, rgba(0,0,0,.55));
}
.nf-camera-actions .nf-btn{ flex:1; background:rgba(255,255,255,.92); border-color:transparent; padding:9px 8px; font-size:12.5px; }
.nf-camera-actions .nf-btn-primary{ background:var(--nf-gold); color:#fff; }
@media (min-width:600px){
  .nf-camera-box{ max-width:480px; aspect-ratio:4/3; } /* PC webcam genelde yatay - geniş kutuda daha doğal durur */
}

/* Butonlar */
.nf-btn{
  padding:11px 18px; border-radius:var(--nf-radius); font-size:14px; font-weight:600;
  cursor:pointer; border:1.5px solid var(--nf-border); background:#fff; color:var(--nf-navy);
  transition:all .15s ease;
}
.nf-btn:hover{ border-color:var(--nf-gold); color:var(--nf-gold); }
.nf-btn-primary{ background:var(--nf-gold); border-color:var(--nf-gold); color:#fff; }
.nf-btn-primary:hover{ background:var(--nf-gold-dark); border-color:var(--nf-gold-dark); color:#fff; }
.nf-btn-outline{ flex:1; }

.nf-nav{ display:flex; justify-content:space-between; align-items:center; margin-top:26px; }
.nf-submit-real{ display:none !important; } /* gerçek submit gizli, "İleri" butonu son adımda onu tetikler */

@media (max-width:480px){
  .wpcf7-form{ padding:0 4px; }
  .nf-row{ flex-direction:column; gap:0; }
  .nf-media-buttons{ flex-direction:column; }
  .nf-nav{ flex-direction:column-reverse; gap:10px; align-items:stretch; }
  .nf-btn{ padding:13px 16px; font-size:15px; } /* dokunma alanı büyütüldü */
  .nf-pillgroup .wpcf7-list-item-label{ padding:10px 14px; font-size:14px; }
  .nf-thumb{ width:56px; height:56px; }
  .nf-step-label{ font-size:10px; }
}

