/* --- VARIABLES --- */
:root {
    --primary: #f59e0b;       /* Amber/Orange */
    --primary-dark: #d97706;
    --dark: #1e293b;
    --light: #fef3c7;         /* Light Amber BG */
    --gray-bg: #f8fafc;
    --white: #ffffff;
    --shadow: 0 10px 30px rgba(245, 158, 11, 0.15);
}

* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Poppins', sans-serif; }
body { background: var(--gray-bg); color: var(--dark); overflow-x: hidden; scroll-behavior: smooth; }

/* --- UTILS --- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 5%; }
.section-pad { padding: 5rem 0; }
.section-header { text-align: center; margin-bottom: 3rem; }
.section-header h2 { font-size: 2.2rem; margin-bottom: 10px; }
.section-header p { color: #64748b; }

/* --- NAVBAR --- */
.repair-navbar { background: white; padding: 1rem 0; box-shadow: 0 2px 15px rgba(0,0,0,0.05); position: sticky; top: 0; z-index: 1000; }
.nav-container { display: flex; justify-content: space-between; align-items: center; max-width: 1200px; margin: 0 auto; padding: 0 5%; }
.logo { font-size: 1.5rem; font-weight: 700; color: var(--dark); }
.logo span { color: var(--primary); }
.logo i { color: var(--primary); margin-right: 5px; }

.nav-menu { display: flex; list-style: none; gap: 25px; align-items: center; }
.nav-menu a { text-decoration: none; color: #555; font-weight: 500; transition: 0.3s; }
.nav-menu a:hover { color: var(--primary); }
.nav-btn { background: var(--dark); color: white !important; padding: 8px 25px; border-radius: 5px; }
.nav-btn:hover { background: var(--primary); }

/* --- HERO SECTION --- */
.repair-hero { display: flex; align-items: center; padding: 6rem 5% 4rem; background: white; flex-wrap: wrap; }
.hero-content { flex: 1; min-width: 300px; padding-right: 2rem; }
.badge-urgent { background: #fee2e2; color: #ef4444; padding: 5px 12px; border-radius: 20px; font-size: 0.85rem; font-weight: 700; display: inline-flex; align-items: center; gap: 5px; margin-bottom: 20px; }
.hero-content h1 { font-size: 3.5rem; line-height: 1.2; margin-bottom: 20px; color: var(--dark); }
.hero-content h1 span { color: var(--primary); }
.hero-content p { color: #64748b; margin-bottom: 2rem; font-size: 1.1rem; }
.hero-image img { width: 100%; max-width: 500px; border-radius: 20px; }

.job-search { display: flex; background: #f1f5f9; border-radius: 50px; padding: 5px; max-width: 500px; border: 1px solid #e2e8f0; }
.job-search i { padding: 15px; color: #94a3b8; }
.job-search input { flex: 1; border: none; background: transparent; outline: none; font-size: 1rem; }
.job-search button { background: var(--primary); color: white; border: none; padding: 10px 30px; border-radius: 40px; font-weight: 600; cursor: pointer; transition: 0.3s; }
.job-search button:hover { background: var(--primary-dark); }

/* --- REPAIR GRID --- */
.repair-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 2rem; }
.repair-card { background: white; padding: 2rem; border-radius: 15px; text-align: center; border: 1px solid #eee; transition: 0.3s; cursor: pointer; }
.repair-card:hover { transform: translateY(-5px); border-color: var(--primary); box-shadow: var(--shadow); }
.icon-circle { width: 70px; height: 70px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.8rem; margin: 0 auto 15px; color: white; }
.orange { background: #f97316; } .blue { background: #3b82f6; } .cyan { background: #06b6d4; }
.brown { background: #a16207; } .dark { background: #334155; } .yellow { background: #eab308; }

/* --- ESTIMATOR (AUTOMATION UI) --- */
.estimator-section { background: var(--dark); padding: 4rem 0; color: white; }
.estimator-box { display: flex; background: white; border-radius: 20px; overflow: hidden; max-width: 900px; margin: 0 auto; box-shadow: 0 20px 40px rgba(0,0,0,0.2); }
.est-left { flex: 1.5; padding: 3rem; color: var(--dark); }
.est-left h2 { margin-bottom: 10px; font-size: 1.8rem; }
.est-left p { color: #64748b; margin-bottom: 2rem; }
.est-controls label { display: block; font-weight: 600; margin-bottom: 8px; margin-top: 20px; }
.est-controls select { width: 100%; padding: 12px; border: 2px solid #e2e8f0; border-radius: 8px; font-size: 1rem; outline: none; }
.qty-control { display: flex; align-items: center; gap: 15px; margin-top: 10px; }
.qty-control button { width: 40px; height: 40px; border-radius: 50%; border: none; background: #e2e8f0; font-size: 1.2rem; cursor: pointer; font-weight: bold; }
.qty-control button:hover { background: var(--primary); color: white; }
.qty-control span { font-size: 1.5rem; font-weight: bold; width: 30px; text-align: center; }

.est-right { flex: 1; background: var(--primary); padding: 3rem; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; color: white; }
.price-display small { font-size: 1rem; opacity: 0.9; }
.price-display h3 { font-size: 3.5rem; margin: 10px 0; }
.tax-note { font-size: 0.8rem; opacity: 0.8; margin-bottom: 30px; }
.btn-book-est { background: white; color: var(--primary-dark); border: none; padding: 12px 30px; border-radius: 50px; font-weight: 700; cursor: pointer; transition: 0.3s; }
.btn-book-est:hover { transform: scale(1.05); box-shadow: 0 10px 20px rgba(0,0,0,0.2); }

/* --- BOOKING FORM --- */
.booking-wrapper { display: flex; gap: 4rem; flex-wrap: wrap; }
.booking-info { flex: 1; min-width: 300px; }
.booking-info h2 { font-size: 2.5rem; margin-bottom: 1.5rem; }
.features-list { list-style: none; margin-bottom: 2rem; }
.features-list li { margin-bottom: 15px; font-size: 1.1rem; display: flex; align-items: center; gap: 10px; }
.features-list i { color: var(--primary); }
.support-box { display: flex; align-items: center; gap: 15px; background: white; padding: 20px; border-radius: 10px; border-left: 5px solid var(--primary); box-shadow: var(--shadow); }
.support-box i { font-size: 2rem; color: var(--dark); }

.booking-form { flex: 1.2; background: white; padding: 2.5rem; border-radius: 20px; box-shadow: var(--shadow); border: 1px solid #e2e8f0; }
.booking-form h3 { margin-bottom: 20px; color: var(--dark); border-bottom: 2px solid #f1f5f9; padding-bottom: 10px; }
.form-group { margin-bottom: 15px; }
.form-group label { display: block; margin-bottom: 5px; font-weight: 500; font-size: 0.9rem; }
.form-group input, .form-group select, .form-group textarea { width: 100%; padding: 12px; border: 1px solid #cbd5e1; border-radius: 8px; outline: none; }
.form-row { display: flex; gap: 15px; }
.form-row .form-group { flex: 1; }

.urgent-toggle { margin: 20px 0; background: #fff1f2; padding: 15px; border-radius: 10px; border: 1px solid #fecdd3; display: flex; align-items: center; }
.urgent-toggle input { width: 20px; height: 20px; margin-right: 15px; accent-color: #ef4444; }
.urgent-toggle label { cursor: pointer; display: flex; align-items: center; gap: 10px; font-weight: 600; color: #ef4444; width: 100%; }
.urgent-toggle small { margin-left: auto; color: #b91c1c; }

.btn-confirm { width: 100%; background: var(--dark); color: white; border: none; padding: 15px; border-radius: 8px; font-weight: 600; cursor: pointer; font-size: 1rem; transition: 0.3s; }
.btn-confirm:hover { background: var(--primary); }
.success-msg { text-align: center; margin-top: 15px; font-weight: 600; color: #10b981; }

footer { background: var(--dark); color: white; text-align: center; padding: 2rem; margin-top: 4rem; }

@media (max-width: 768px) {
    .estimator-box { flex-direction: column; }
    .booking-wrapper { flex-direction: column; }
    .nav-menu { display: none; }
}