/* =========================================
   1. GLOBAL VARIABLES & RESET
   ========================================= */
:root {
    --primary-color: #ef7d6e; /* HemEnHaar Koraal */
    --primary-hover: #d66a5c;
    --text-dark: #333333;
    --text-light: #666666;
    --bg-light: #fff5f3; 
    --white: #ffffff;
    --border-color: #e0e0e0;
    --shadow-sm: 0 5px 15px rgba(0,0,0,0.05);
    --shadow-md: 0 10px 30px rgba(0,0,0,0.08);
}

* { box-sizing: border-box; }

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
}

/* =========================================
   2. BOOKING HERO SECTION
   ========================================= */
.booking-hero-compact {
    position: relative;
    padding: 8rem 0 4rem;
    background: linear-gradient(135deg, #ef7d6e 0%, #f4a298 100%);
    overflow: hidden;
    color: var(--white);
    margin-top: 80px;
    text-align: center;
}

.hero-pulse-bg { position: absolute; width: 100%; height: 100%; top: 0; left: 0; pointer-events: none; }
.pulse-circle { position: absolute; border-radius: 50%; background: radial-gradient(circle, rgba(255, 255, 255, 0.2) 0%, transparent 70%); }
.pulse-1 { width: 300px; height: 300px; top: 20%; left: 10%; animation: pulse 4s ease-in-out infinite; }
.pulse-2 { width: 400px; height: 400px; top: 50%; right: 15%; animation: pulse 5s ease-in-out infinite; animation-delay: 1s; }
.pulse-3 { width: 250px; height: 250px; bottom: 10%; left: 50%; animation: pulse 6s ease-in-out infinite; animation-delay: 2s; }

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.3; }
    50% { transform: scale(1.5); opacity: 0; }
}

.hero-content-compact { position: relative; z-index: 2; }
.hero-content-compact h1 { 
    font-size: 3.5rem; 
    font-weight: 800; 
    margin-bottom: 1rem; 
    color: var(--white);
    text-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.hero-label-small {
    display: inline-block; padding: 0.5rem 1.5rem;
    background: rgba(255, 255, 255, 0.2); border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 25px; color: var(--white); font-size: 0.9rem; font-weight: 600;
    text-transform: uppercase; letter-spacing: 2px; margin-bottom: 1.5rem;
}

.hero-content-compact p { font-size: 1.2rem; opacity: 0.9; }

/* =========================================
   3. PROGRESS STEPS
   ========================================= */
.booking-section-modern { padding: 4rem 0; background: #fafafa; min-height: 80vh; }

.booking-progress {
    display: flex; justify-content: space-between; align-items: center;
    max-width: 800px; margin: 0 auto 4rem; padding: 0 1rem;
}
.progress-step { display: flex; flex-direction: column; align-items: center; gap: 0.75rem; position: relative; z-index: 2; }
.step-circle {
    width: 65px; height: 65px; border-radius: 50%; background: var(--white);
    border: 2px solid var(--border-color); display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem; color: #ccc; transition: all 0.3s ease;
}
.progress-step.active .step-circle {
    background: var(--primary-color);
    border-color: var(--primary-color); color: var(--white); 
    box-shadow: 0 5px 20px rgba(239, 125, 110, 0.4);
}
.progress-step.completed .step-circle { background: var(--primary-color); border-color: var(--primary-color); color: var(--white); }
.step-label { font-size: 0.9rem; font-weight: 600; color: #888; }
.progress-step.active .step-label { color: var(--primary-color); }
.progress-line { flex: 1; height: 2px; background: var(--border-color); margin: 0 1rem; transform: translateY(-15px); }

/* =========================================
   4. BOOKING FORM STYLES
   ========================================= */
.booking-form-steps { max-width: 900px; margin: 0 auto; }
.form-step { display: none; }
.form-step.active { display: block; animation: fadeInUp 0.5s ease; }
@keyframes fadeInUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }

.step-content {
    background: var(--white); padding: 3rem; border-radius: 20px;
    box-shadow: var(--shadow-md); border-top: 4px solid var(--primary-color);
}
.step-content h2 { color: var(--text-dark); margin-bottom: 0.5rem; font-weight: 700; }
.step-description { color: var(--text-light); margin-bottom: 2rem; }

/* Form Grid & Inputs */
.form-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; margin-bottom: 2rem; }
.form-group-modern.full-width { grid-column: 1 / -1; }

.form-group-modern label { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 0.5rem; font-weight: 600; color: var(--text-dark); }
.form-group-modern label i { color: var(--primary-color); }
.form-group-modern input, .form-group-modern textarea, .form-group-modern select {
    width: 100%; padding: 1rem; border: 1px solid var(--border-color); border-radius: 10px;
    font-size: 1rem; transition: border 0.3s;
}
.form-group-modern input:focus, .form-group-modern textarea:focus { 
    border-color: var(--primary-color); outline: none; 
    box-shadow: 0 0 0 3px rgba(239, 125, 110, 0.1);
}

/* Gender Switcher */
.gender-switch-container { display: flex; justify-content: center; gap: 1rem; margin-bottom: 2rem; }
.gender-btn {
    padding: 0.8rem 2.5rem; border: 1px solid var(--border-color); background: var(--white);
    border-radius: 50px; font-weight: 600; cursor: pointer; transition: all 0.3s;
    color: var(--text-light); display: flex; align-items: center; gap: 0.5rem;
}
.gender-btn:hover { background: #f9f9f9; }
.gender-btn.active {
    background: var(--primary-color); color: var(--white); border-color: var(--primary-color);
    box-shadow: 0 5px 15px rgba(239, 125, 110, 0.3);
}

/* Service Cards */
.services-selection-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1.5rem; margin-bottom: 2rem; }
.service-select-card {
    padding: 2rem; background: var(--white); border: 1px solid var(--border-color); border-radius: 15px;
    text-align: center; cursor: pointer; transition: all 0.3s; position: relative;
    box-shadow: var(--shadow-sm);
}
.service-select-card:hover { transform: translateY(-5px); border-color: var(--primary-color); }
.service-select-card.selected {
    background: var(--bg-light); border-color: var(--primary-color);
}
.service-select-card .check-mark {
    position: absolute; top: 10px; right: 10px; color: var(--primary-color);
    display: none; font-size: 1.2rem;
}
.service-select-card.selected .check-mark { display: block; }
.service-select-card h4 { font-size: 1.1rem; font-weight: 700; margin-bottom: 0.5rem; }
.service-price-tag { display: block; font-size: 1.4rem; font-weight: 700; color: var(--primary-color); margin: 0.5rem 0; }
.service-duration-tag { color: var(--text-light); font-size: 0.9rem; }

/* Time Slots */
.time-slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(80px, 1fr)); gap: 0.8rem; margin-top: 1rem; }
.time-slot {
    padding: 0.8rem 0; background: var(--white); border: 1px solid var(--border-color); border-radius: 8px;
    text-align: center; cursor: pointer; font-weight: 600; color: #555; transition: all 0.2s;
}
.time-slot:hover { border-color: var(--primary-color); color: var(--primary-color); }
.time-slot.selected { background: var(--primary-color); color: var(--white); border-color: var(--primary-color); }

/* Booking Summary */
.booking-summary {
    background: #f9f9f9; padding: 1.5rem; border-radius: 15px; margin-bottom: 2rem;
    border-left: 4px solid var(--primary-color);
}
.booking-summary h3 { margin-bottom: 1rem; font-size: 1.2rem; display: flex; align-items: center; gap: 0.5rem; }
.summary-item { display: flex; justify-content: space-between; padding: 0.5rem 0; border-bottom: 1px solid #eee; }
.summary-item:last-child { border-bottom: none; }
.summary-label { color: var(--text-light); font-weight: 500; }
.summary-value { font-weight: 700; color: var(--text-dark); }

/* Buttons & Actions */
.step-actions { display: flex; gap: 1rem; justify-content: flex-end; margin-top: 2rem; }
.btn-next, .btn-submit-final {
    background: linear-gradient(135deg, #ef7d6e 0%, #d66a5c 100%);
    color: var(--white); border: none; padding: 1rem 2.5rem; border-radius: 50px;
    font-weight: 600; cursor: pointer; display: flex; align-items: center; gap: 0.5rem;
    transition: transform 0.3s, box-shadow 0.3s;
}
.btn-next:hover, .btn-submit-final:hover {
    transform: translateY(-2px); box-shadow: 0 5px 15px rgba(239, 125, 110, 0.4);
}
.btn-back {
    background: #f1f1f1; color: var(--text-light); border: none; padding: 1rem 2rem;
    border-radius: 50px; font-weight: 600; cursor: pointer; display: flex; align-items: center; gap: 0.5rem;
}
.btn-back:hover { background: #e5e5e5; }

/* =========================================
   6. SUCCESS MESSAGE
   ========================================= */
.success-message-modern {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.85); backdrop-filter: blur(5px); z-index: 9999; 
    display: flex; align-items: center; justify-content: center;
    padding: 1rem;
}
.success-message-modern.hidden { display: none !important; }

.success-card { 
    background: var(--white); padding: 3rem; border-radius: 20px; text-align: center; 
    max-width: 500px; width: 100%; box-shadow: var(--shadow-md); 
    max-height: 90vh; overflow-y: auto;
}

.success-check-animation { width: 80px; height: 80px; margin: 0 auto 1.5rem; }
.checkmark { stroke: var(--primary-color); stroke-width: 3; box-shadow: 0 10px 30px rgba(239, 125, 110, 0.2); border-radius: 50%; display: block; }
.checkmark-circle { stroke: var(--primary-color); stroke-dasharray: 166; stroke-dashoffset: 166; animation: stroke 0.6s cubic-bezier(0.65, 0, 0.45, 1) forwards; fill: none; }
.checkmark-check { transform-origin: 50% 50%; stroke-dasharray: 48; stroke-dashoffset: 48; animation: stroke 0.3s cubic-bezier(0.65, 0, 0.45, 1) 0.8s forwards; fill: none; }

@keyframes stroke { 100% { stroke-dashoffset: 0; } }

.success-title { font-size: 2rem; font-weight: 800; color: var(--text-dark); margin-bottom: 0.5rem; }
.success-subtitle { font-size: 1.1rem; color: var(--text-light); margin-bottom: 2rem; }

.booking-info-compact { background: var(--bg-light); border-radius: 15px; padding: 1.5rem; margin-bottom: 2rem; }
.info-row { display: flex; align-items: center; gap: 1rem; padding: 0.75rem 0; border-bottom: 1px solid rgba(0,0,0,0.05); }
.info-row:last-child { border-bottom: none; }
.info-row i { color: var(--primary-color); width: 25px; }

.success-actions-modern { display: flex; gap: 1rem; }
.btn-success-primary { background: var(--primary-color); color: white; flex: 1; padding: 1rem; border-radius: 50px; text-decoration: none; font-weight: 700; display: flex; justify-content: center; align-items: center; gap: 0.5rem; }
.btn-success-secondary { background: white; color: var(--primary-color); border: 2px solid var(--primary-color); flex: 1; padding: 1rem; border-radius: 50px; font-weight: 700; cursor: pointer; display: flex; justify-content: center; align-items: center; gap: 0.5rem; }

/* =========================================
   7. CTA SECTION
   ========================================= */
.cta-section-new { padding: 5rem 0; background: linear-gradient(135deg, #ef7d6e 0%, #f4a298 100%); color: white; text-align: center; }
.cta-content-new h2 { font-size: 2.5rem; margin-bottom: 1rem; }
.cta-content-new p { font-size: 1.2rem; opacity: 0.9; margin-bottom: 2rem; }
.btn-cta-new { display: inline-block; padding: 1rem 3rem; background: var(--white); color: var(--primary-color); border-radius: 50px; font-weight: 700; text-decoration: none; transition: transform 0.3s; }
.btn-cta-new:hover { transform: translateY(-3px); }

/* Responsive */
@media (max-width: 768px) {
    .booking-hero-compact { padding: 6rem 0 3rem; }
    .hero-content-compact h1 { font-size: 2.5rem; }
    .booking-progress { padding: 0 1rem; margin-bottom: 2rem; }
    .step-content { padding: 1.5rem; }
    .step-actions, .success-actions-modern { flex-direction: column; }
    .btn-next, .btn-back, .btn-submit-final { width: 100%; justify-content: center; }
}