/* ===== SERVİS SİHİRBAZI (WIZARD) =====
   Ana sayfa hero'su ve 404 sayfası ortak kullanır.
   Kullandığı değişkenler: --accent-blue, --accent-cyan, --text-muted
   (404.php bu üçünü kendi içinde tanımlar.)
===================================================== */
.wizard-box { background: #ffffff; border: 1px solid rgba(15,23,42,0.10); border-radius: 14px; backdrop-filter: blur(20px); overflow: hidden; box-shadow: 0 8px 32px rgba(15,23,42,0.10), inset 0 1px 0 rgba(255,255,255,0.6); }
.wizard-header { padding: 20px 24px 0; }
.wizard-steps-indicator { display: flex; align-items: center; justify-content: center; gap: 0; margin-bottom: 16px; }
.wizard-step-dot { width: 28px; height: 28px; border-radius: 50%; border: 2px solid rgba(15,23,42,0.22); display: flex; align-items: center; justify-content: center; font-size: 0.7rem; font-weight: 700; color: rgba(15,23,42,0.55); transition: all 0.4s ease; flex-shrink: 0; }
.wizard-step-dot.active { border-color: var(--accent-blue); background: var(--accent-blue); color: #fff; box-shadow: 0 0 12px rgba(30,64,175,0.5); }
.wizard-step-dot.done { border-color: #10b981; background: #10b981; color: #fff; }
.wizard-step-line { width: 50px; height: 2px; background: rgba(15,23,42,0.12); transition: background 0.4s; }
.wizard-step-line.done { background: #10b981; }
.wizard-title-bar { display: flex; align-items: center; justify-content: space-between; padding-bottom: 16px; border-bottom: 1px solid rgba(15,23,42,0.08); }
.wizard-title-text { font-size: 0.85rem; font-weight: 700; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1px; }
.wizard-back-btn { background: #f1f5f9; border: 1px solid rgba(15,23,42,0.10); color: var(--text-muted); width: 32px; height: 32px; border-radius: 8px; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: all 0.3s; font-size: 0.8rem; }
.wizard-back-btn:hover { background: rgba(37,99,235,0.08); color: var(--accent-blue); border-color: var(--accent-blue); }
.wizard-body { padding: 20px 24px 24px; min-height: 240px; position: relative; }
.wizard-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.wizard-card { background: #f8fafc; border: 1px solid rgba(15,23,42,0.08); border-radius: 10px; padding: 20px 12px; text-align: center; cursor: pointer; transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1); position: relative; overflow: hidden; }
.wizard-card::after { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: linear-gradient(90deg, var(--accent-blue), var(--accent-cyan)); transform: scaleX(0); transition: transform 0.35s; }
.wizard-card:hover { background: rgba(37, 99, 235, 0.06); border-color: rgba(59, 130, 246, 0.35); transform: translateY(-3px); box-shadow: 0 8px 20px rgba(15,23,42,0.10); }
.wizard-card:hover::after { transform: scaleX(1); }
.wizard-card:hover .wizard-card-icon { color: var(--accent-cyan); transform: scale(1.15); }
.wizard-card-icon { font-size: 1.8rem; color: #94a3b8; margin-bottom: 10px; transition: all 0.35s; }
.wizard-card-label { font-size: 0.75rem; font-weight: 700; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.5px; line-height: 1.3; }
.wizard-card.selected { background: rgba(37, 99, 235, 0.10); border-color: var(--accent-blue); }
.wizard-card.selected .wizard-card-icon { color: var(--accent-cyan); }
.wizard-card.selected::after { transform: scaleX(1); }

/* Wizard animasyonları */
.wizard-fade-in { animation: wizFadeIn 0.35s ease forwards; }
@keyframes wizFadeIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }

/* Wizard son adım - işlem listesi */
.wizard-ops-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.wizard-op-card { background: #f8fafc; border: 1px solid rgba(15,23,42,0.08); border-radius: 8px; padding: 14px 16px; cursor: pointer; transition: all 0.3s; display: flex; align-items: center; gap: 12px; }
.wizard-op-card:hover { background: rgba(37, 99, 235, 0.06); border-color: rgba(59,130,246,0.3); transform: translateX(4px); }
.wizard-op-card .op-icon { width: 36px; height: 36px; border-radius: 8px; background: rgba(37,99,235,0.10); display: flex; align-items: center; justify-content: center; color: var(--accent-cyan); font-size: 0.85rem; flex-shrink: 0; }
.wizard-op-card .op-text { font-size: 0.78rem; font-weight: 600; color: var(--text-muted); line-height: 1.3; }
.wizard-op-card:hover .op-text { color: var(--accent-blue); }
.wizard-op-card:hover .op-icon { background: rgba(37,99,235,0.18); }

/* Popüler rozeti */
.wiz-popular-badge { position: absolute; top: -1px; right: -1px; background: linear-gradient(135deg, #f59e0b, #ef4444); color: #fff; font-size: 0.55rem; font-weight: 800; padding: 2px 7px; border-radius: 0 8px 0 8px; text-transform: uppercase; letter-spacing: 0.3px; display: flex; align-items: center; gap: 3px; }
.wiz-popular-badge i { font-size: 0.5rem; }
.wizard-op-card { position: relative; }

/* Wizard Adım 4 — Form & Durum Anketi */
.wiz-summary { background: #f8fafc; border: 1px solid rgba(15,23,42,0.08); border-radius: 10px; padding: 14px 18px; margin-bottom: 18px; display: flex; align-items: center; gap: 14px; }
.wiz-summary-icon { width: 40px; height: 40px; border-radius: 10px; background: rgba(37,99,235,0.10); display: flex; align-items: center; justify-content: center; color: var(--accent-cyan); font-size: 1rem; flex-shrink: 0; }
.wiz-summary-text { font-size: 0.78rem; color: #64748b; line-height: 1.4; }
.wiz-summary-text strong { color: #0f172a; font-weight: 700; }

.wiz-q-section { margin-bottom: 16px; }
.wiz-q-label { font-size: 0.78rem; font-weight: 700; color: #334155; margin-bottom: 8px; display: block; }
.wiz-q-options { display: flex; gap: 8px; flex-wrap: wrap; }
.wiz-q-opt { background: #f8fafc; border: 1px solid rgba(15,23,42,0.10); border-radius: 8px; padding: 8px 16px; font-size: 0.75rem; font-weight: 600; color: #64748b; cursor: pointer; transition: all 0.3s; }
.wiz-q-opt:hover { border-color: rgba(59,130,246,0.3); color: #0f172a; background: rgba(37,99,235,0.06); }
.wiz-q-opt.selected { border-color: var(--accent-blue); background: var(--accent-blue); color: #fff; }

.wiz-form-row { display: flex; gap: 10px; margin-bottom: 14px; }
.wiz-form-row input { flex: 1; background: #f1f5f9; border: 1px solid rgba(15,23,42,0.12); border-radius: 8px; padding: 10px 14px; color: #0f172a; font-size: 0.82rem; font-family: 'Inter', sans-serif; outline: none; transition: border-color 0.3s; }
.wiz-form-row input::placeholder { color: #94a3b8; }
.wiz-form-row input:focus { border-color: var(--accent-blue); background: #ffffff; }

.wiz-submit-btn { width: 100%; background: linear-gradient(135deg, var(--accent-blue), var(--accent-cyan)); color: #fff; border: none; border-radius: 8px; padding: 12px; font-size: 0.88rem; font-weight: 700; cursor: pointer; transition: all 0.3s; font-family: 'Inter', sans-serif; letter-spacing: 0.3px; }
.wiz-submit-btn:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(30,64,175,0.4); }
.wiz-submit-btn:disabled { opacity: 0.4; cursor: not-allowed; transform: none; box-shadow: none; }

/* Onay Ekranı */
.wiz-confirm { text-align: center; }
.wiz-confirm-check { width: 60px; height: 60px; border-radius: 50%; background: rgba(16,185,129,0.1); border: 2px solid #10b981; display: inline-flex; align-items: center; justify-content: center; margin-bottom: 14px; animation: wizPulse 0.6s ease; }
@keyframes wizPulse { 0% { transform: scale(0.5); opacity: 0; } 50% { transform: scale(1.15); } 100% { transform: scale(1); opacity: 1; } }
.wiz-confirm h5 { color: #0f172a; font-weight: 800; font-size: 1rem; margin-bottom: 4px; }
.wiz-confirm .wiz-srv-no { font-size: 0.82rem; color: var(--accent-cyan); font-weight: 700; margin-bottom: 4px; letter-spacing: 1px; }
.wiz-confirm .wiz-srv-msg { font-size: 0.82rem; color: #64748b; margin-bottom: 18px; }

.wiz-detail-card { background: #f8fafc; border: 1px solid rgba(15,23,42,0.08); border-radius: 10px; padding: 14px 16px; margin-bottom: 14px; text-align: left; }
.wiz-detail-row { display: flex; justify-content: space-between; align-items: center; padding: 4px 0; font-size: 0.75rem; }
.wiz-detail-row .wiz-dl { color: #64748b; }
.wiz-detail-row .wiz-dv { color: #0f172a; font-weight: 600; }
.wiz-detail-divider { height: 1px; background: rgba(15,23,42,0.08); margin: 8px 0; }

.wiz-office-card { background: #f8fafc; border: 1px solid rgba(15,23,42,0.07); border-radius: 10px; padding: 14px 16px; margin-bottom: 16px; text-align: left; display: flex; gap: 12px; align-items: flex-start; }
.wiz-office-icon { width: 34px; height: 34px; border-radius: 8px; background: rgba(37,99,235,0.08); display: flex; align-items: center; justify-content: center; color: var(--accent-cyan); font-size: 0.8rem; flex-shrink: 0; margin-top: 2px; }
.wiz-office-info { font-size: 0.72rem; color: #64748b; line-height: 1.5; }
.wiz-office-info strong { color: #0f172a; font-weight: 700; display: block; font-size: 0.75rem; margin-bottom: 2px; }

.wiz-final-btns { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.wiz-final-btn { padding: 10px 20px; border-radius: 8px; font-weight: 700; font-size: 0.78rem; display: inline-flex; align-items: center; gap: 8px; cursor: pointer; border: none; text-decoration: none; transition: all 0.3s; }
.wiz-final-btn:hover { transform: translateY(-2px); }
.wiz-final-btn.wz-wa { background: #25d366; color: #fff; }
.wiz-final-btn.wz-call { background: var(--accent-blue); color: #fff; }
.wiz-final-btn.wz-rst { background: #f1f5f9; border: 1px solid rgba(15,23,42,0.10); color: #475569; }

@media (max-width: 480px) {
    .wiz-form-row { flex-direction: column; }
    .wiz-final-btns { flex-direction: column; }
    .wiz-final-btn { justify-content: center; }
}

/* Mobil wizard */
@media (max-width: 991px) {
    .wizard-box { margin-top: 30px; }
    .wizard-grid { grid-template-columns: repeat(3, 1fr); gap: 10px; }
    .wizard-ops-grid { grid-template-columns: 1fr; }
    .wizard-card { padding: 16px 8px; }
    .wizard-card-icon { font-size: 1.4rem; }
    .wizard-card-label { font-size: 0.68rem; }
}
@media (max-width: 480px) {
    .wizard-grid { grid-template-columns: repeat(2, 1fr); }
    .wizard-body { padding: 16px; min-height: 200px; }
}
