/* --- FastyGo Referans Tasarım vFinal (Tüm Özellikler Dahil) --- */

/* 1. GENEL AYARLAR ve FONT */
:root {
    --primary-orange: #f39c12; /* Canlı Turuncu */
    --primary-blue: #3A4F6A; /* Koyu Mavi */
    --text-dark: #2d2d2d;
    --text-light: #ffffff;
    --text-muted: #888888;
    --border-color: #e9e9e9;
    --bg-white: #ffffff;
    --danger-color: #dc3545; /* Kırmızı */
    --font-sans: 'Poppins', sans-serif;
    --font-serif: 'Playfair Display', serif;
}

body, html {
    margin: 0; padding: 0; height: 100%; width: 100%;
    overflow: hidden;
    font-family: var(--font-sans);
    background-color: var(--bg-white);
}
* { box-sizing: border-box; }
header, footer { display: none; }

/* 2. ANA YAPI */
.booking-wrapper { display: flex; height: 100vh; }

/* 3. SOL TARAF (GÖRSEL) */
.booking-image-side {
    flex: 0 0 45%;
    position: relative;
    background: #000;
}
.booking-image-side .logo { position: absolute; top: 40px; left: 50px; z-index: 2; }
.booking-image-side .logo img { height: 40px; }
.booking-image-side .side-image { width: 100%; height: 100%; object-fit: cover; filter: grayscale(100%); opacity: 0.9; }

/* 4. DİKEY ADIM GÖSTERGESİ */
.step-indicators { position: absolute; top: 50%; right: -20px; transform: translateY(-50%); display: flex; flex-direction: column; gap: 20px; z-index: 3;}
.step { width: 40px; height: 40px; background: rgba(255,255,255,0.9); border: 2px solid var(--border-color); border-radius: 50%; color: var(--text-muted); display: flex; align-items: center; justify-content: center; font-weight: 600; transition: all 0.3s ease; box-shadow: 0 4px 15px rgba(0,0,0,0.1); }
.step.active { background-color: var(--primary-orange); border-color: var(--primary-orange); color: var(--text-light); transform: scale(1.1); }

/* 5. SAĞ TARAF (FORM) */
.booking-form-side {
    flex: 1;
    padding: 40px 5%;
    display: flex;
    flex-direction: column;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23e9e9e9' fill-opacity='0.4'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    background-position: bottom right;
    background-repeat: no-repeat;
}

/* 6. FORM HEADER & İLERLEME ÇUBUĞU */
.form-header { display: flex; justify-content: flex-end; align-items: center; width: 100%; margin-bottom: 3rem; }
.progress-bar-container { width: 200px; text-align: right; font-size: 0.9rem; color: var(--text-muted); }
.progress-bar-container .progress-text { font-weight: 600; color: var(--text-dark); }
.progress-bar { width: 100%; height: 4px; background-color: #f0f0f0; border-radius: 2px; margin-top: 8px; }
.progress-bar-fill { height: 100%; background-color: var(--primary-blue); border-radius: 2px; }

/* 7. FORM GÖVDESİ & BAŞLIK */
.form-body { width: 100%; max-width: 450px; margin: 0 auto; }
.form-title-section .sub-heading { color: var(--primary-blue); font-weight: 600; margin-bottom: 8px; display: block; border-bottom: 2px solid var(--primary-orange); padding-bottom: 8px; }
.form-title-section h2 { font-family: var(--font-serif); font-size: 2.2rem; color: var(--text-dark); margin: 1rem 0 2.5rem 0; font-weight: 700;}

/* 8. INPUT GRUPLARI */
.input-group { display: flex; align-items: center; border: 1px solid var(--border-color); border-radius: 8px; padding: 10px 15px; margin-bottom: 1.5rem; transition: all 0.2s ease; }
.input-group:focus-within { border-color: var(--primary-blue); box-shadow: 0 0 0 3px rgba(58, 79, 106, 0.1); }
.input-group .icon { font-size: 1.2rem; color: var(--text-muted); margin-right: 15px; }
.input-field { flex: 1; }
.input-field label { display: block; font-size: 0.8rem; color: var(--text-muted); margin-bottom: 2px; }
.input-field input { border: none; outline: none; background: transparent; width: 100%; font-size: 1rem; font-weight: 500; color: var(--text-dark); }
.phone-input-wrapper { display: flex; align-items: center; }
.phone-input-wrapper span { margin-right: 8px; font-weight: 500; color: var(--text-dark); }
.form-control { padding: 1rem; font-size: 1rem; font-weight: 500; }

/* 9. BUTONLAR */
.form-action { margin-top: 2rem; }
.form-action.multi-button { display: flex; justify-content: space-between; }
.btn-submit { width: auto; background-color: var(--primary-orange); color: var(--text-light); border: none; padding: 14px 30px; border-radius: 50px; font-size: 0.9rem; font-weight: 600; text-transform: uppercase; cursor: pointer; transition: all 0.3s ease; box-shadow: 0 4px 15px rgba(243, 156, 18, 0.3); }
.btn-submit:hover { transform: translateY(-2px); box-shadow: 0 7px 20px rgba(243, 156, 18, 0.4); }
.btn-submit i { margin-left: 8px; }
.btn-secondary { background-color: #e9e9e9; color: var(--text-muted); padding: 14px 30px; border-radius: 50px; border: none; font-weight: 600; text-transform: uppercase; cursor: pointer; transition: all 0.3s ease; }
.btn-secondary:hover { background-color: #dcdcdc; }

/* 10. SEÇİM KARTLARI (Hizmet, Personel, Saat) */
.selection-label { display: block; text-align: left; font-weight: 600; color: var(--text-dark); margin-bottom: 1rem; }
.selection-grid { display: grid; gap: 1rem; }
.service-grid { grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); }
.selection-card { border: 1px solid var(--border-color); border-radius: 8px; padding: 1rem; text-align: center; cursor: pointer; transition: all 0.2s ease; }
.selection-card:hover { border-color: var(--primary-blue); transform: translateY(-2px); }
.selection-card.selected { background-color: var(--primary-blue); color: var(--text-light); border-color: var(--primary-blue); }
.selection-card.selected span, .selection-card.selected h5 { color: var(--text-light); }
.selection-card h5 { font-size: 1rem; margin: 0; }
.selection-card span { font-size: 0.8rem; }
.employee-grid { grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); }
.employee-grid .selection-card { display: flex; flex-direction: row; align-items: center; justify-content: flex-start; padding: 0.75rem; text-align: left; }
.employee-grid .selection-card img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; margin-right: 1rem; }
.employee-grid .selection-card span { font-weight: 600; font-size: 0.9rem; }
.employee-grid .selection-card.selected span { color: var(--text-light); }

/* 11. SAATLERİN TAŞMA SORUNUNU ÇÖZEN KOD */
.time-grid { grid-template-columns: repeat(auto-fill, minmax(100px, 1fr)); max-height: 220px; overflow-y: auto; padding: 1rem; border: 1px solid var(--border-color); border-radius: 8px; }
.time-grid .selection-card h5 { font-size: 1rem; font-weight: 600; margin: 0; }

/* 12. DOĞRULAMA ve YARDIMCI STİLLER */
.form-step { display: none; animation: fadeIn 0.5s; }
.form-step.active { display: block; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
.input-group.is-invalid, .form-control.is-invalid { border-color: var(--danger-color) !important; }
.selection-grid.is-invalid { border: 2px dashed var(--danger-color); padding: 0.5rem; border-radius: 8px; }
.summary-box { text-align: left; border: 1px solid var(--border-color); border-radius: 8px; padding: 1.5rem; }
.summary-box p { margin-bottom: 0.5rem; }
.summary-box strong { color: var(--text-dark); }
.required { color: var(--danger-color); margin-left: 3px; }
.form-check { text-align: left; padding-left: 1.5em; }
.form-check-label a { font-weight: 600; text-decoration: none; color: var(--primary-blue); }
.form-check-label a:hover { text-decoration: underline; }
.form-check-input:checked { background-color: var(--primary-orange); border-color: var(--primary-orange); }

/* 13. RESPONSIVE (DUYARLI) TASARIM */
@media (max-width: 991.98px) {
    body, html { overflow-y: auto; height: auto; }
    .booking-wrapper { flex-direction: column; height: auto; }
    .booking-image-side { display: none; }
    .booking-form-side { flex: 1 1 100%; padding: 2rem 1.5rem; }
    .form-body { max-width: 100%; }
    .form-header { margin-bottom: 2rem; }
    .form-title-section h2 { font-size: 1.8rem; }
}
@media (max-width: 575.98px) {
    .booking-form-side { padding: 1.5rem 1rem; }
    .form-header { flex-direction: column-reverse; gap: 1rem; align-items: flex-end; }
    .progress-bar-container { width: 100%; }
}
/* --- Çoklu Hizmet Seçim Kartı Stili --- */
.selection-card-multi {
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 1rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s ease;
    user-select: none; /* Metin seçilmesini engelle */
}
.selection-card-multi.selected {
    background-color: var(--primary-blue);
    color: var(--text-light);
    border-color: var(--primary-blue);
}
.selection-card-multi.selected span, .selection-card-multi.selected h5 {
    color: var(--text-light);
}