/* ==========================================================================
   SHANKAR MOTORS — STYLESHEET
   Structure:
   1. Reset & Variables
   2. Base Elements
   3. Buttons
   4. Header / Navigation
   5. Hero Section
   6. Quick Actions
   7. Vehicle Selector
   8. Service Cost Calculator
   9. Services Grid
   10. Why Us Section
   11. Booking Section
   12. Contact Section
   13. Footer
   14. Modal & Toast
   15. Responsive Breakpoints
   ========================================================================== */

/* -------------------- 1. Reset & Variables -------------------- */
* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --blue: #0066b3;
  --blue-dark: #06273c;
  --blue-soft: #edf7fc;
  --text: #17232d;
  --muted: #6d7a83;
  --border: #dfe6ea;
  --white: #fff;
}

html { scroll-behavior: smooth; }

/* -------------------- 2. Base Elements -------------------- */
body { font-family: Arial, Helvetica, sans-serif; color: var(--text); background: #fff; line-height: 1.6; }
a { text-decoration: none; color: inherit; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
.container { width: min(1180px, 92%); margin: auto; }

/* -------------------- 3. Buttons -------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  border: 0; border-radius: 5px; padding: 12px 20px;
  font-size: 13px; font-weight: 700; transition: .2s;
}
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: #004f8b; transform: translateY(-1px); }
.btn-outline { border: 1px solid rgba(255,255,255,.8); color: #fff; }
.btn-outline:hover { background: #fff; color: var(--blue); }
.full { width: 100%; }

/* -------------------- 4. Header / Navigation -------------------- */
.site-header { position: sticky; top: 0; z-index: 1000; background: #fff; border-bottom: 1px solid var(--border); }
.nav-wrap { min-height: 76px; display: flex; align-items: center; gap: 24px; }
.brand { display: flex; align-items: center; gap: 10px; margin-right: auto; }
.brand-mark { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--blue); color: #fff; font-weight: 800; }
.brand-text strong { display: block; font-size: 15px; line-height: 1.1; }
.brand-text small { display: block; font-size: 8px; color: #777; letter-spacing: .4px; white-space: nowrap; }
.main-nav { display: flex; gap: 21px; }
.main-nav a { font-size: 13px; font-weight: 700; }
.main-nav a:hover { color: var(--blue); }
.menu-toggle { display: none; background: transparent; border: 0; font-size: 25px; }

/* -------------------- 5. Hero Section -------------------- */
.hero { position: relative; overflow: hidden; min-height: 620px; display: flex; align-items: center; background: linear-gradient(115deg, #06273c, #0b6598); color: #fff; }
.hero-glow { position: absolute; width: 520px; height: 520px; border-radius: 50%; right: -160px; top: -180px; background: rgba(79,187,239,.18); filter: blur(3px); }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.2fr .8fr; gap: 70px; align-items: center; padding: 75px 0; }
.eyebrow { font-size: 11px; letter-spacing: 1.8px; font-weight: 800; color: #a8ddf8; }
.eyebrow.blue { color: var(--blue); }
.hero h1 { font-size: clamp(44px, 5vw, 68px); line-height: 1.02; letter-spacing: -2px; margin: 18px 0; }
.hero h1 span { color: #7bd0f8; }
.hero-copy > p { max-width: 600px; color: #d9e9f1; font-size: 16px; }
.hero-actions { display: flex; gap: 12px; margin-top: 28px; }
.hero-stats { display: flex; gap: 40px; margin-top: 48px; }
.hero-stats strong { display: block; font-size: 23px; }
.hero-stats span { font-size: 11px; color: #bed1db; }

.finder-card { background: #fff; color: var(--text); border-radius: 8px; padding: 30px; box-shadow: 0 25px 60px rgba(0,0,0,.25); }
.card-kicker { font-size: 10px; letter-spacing: 1.5px; color: var(--blue); font-weight: 800; }
.finder-card h2 { font-size: 25px; margin: 7px 0 20px; }
label { display: block; font-size: 12px; font-weight: 700; margin: 14px 0 6px; }
select, input, textarea { width: 100%; padding: 12px; border: 1px solid #d2dce2; border-radius: 5px; background: #fff; outline: 0; }
select:focus, input:focus, textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(0,102,179,.08); }
.finder-result { display: none; margin-top: 15px; padding: 12px; background: var(--blue-soft); color: var(--blue); border-radius: 5px; font-size: 13px; }

/* -------------------- 6. Quick Actions -------------------- */
.quick-actions { border-bottom: 1px solid var(--border); }
.quick-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.quick-grid a { display: flex; align-items: center; gap: 12px; padding: 24px 18px; border-right: 1px solid var(--border); }
.quick-grid a:first-child { border-left: 1px solid var(--border); }
.quick-grid a > span { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--blue-soft); color: var(--blue); font-weight: 800; }
.quick-grid strong { display: block; font-size: 13px; }
.quick-grid small { display: block; color: var(--muted); font-size: 10px; }

/* -------------------- 7. Vehicle Selector -------------------- */
.section { padding: 90px 0; }
.section-heading { text-align: center; max-width: 680px; margin: 0 auto 40px; }
.section-heading h2 { font-size: 40px; line-height: 1.15; margin: 8px 0; }
.section-heading p { color: var(--muted); }
.section-heading.light h2 { color: #fff; }
.section-heading.light p { color: #c6d7e0; }

.search-box { max-width: 360px; margin: 0 auto 28px; }
.vehicle-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.vehicle-card { border: 1px solid var(--border); border-radius: 8px; overflow: hidden; background: #fff; transition: .2s; }
.vehicle-card:hover { transform: translateY(-5px); box-shadow: 0 15px 35px rgba(0,0,0,.08); }
.vehicle-image { height: 145px; display: grid; place-items: center; background: linear-gradient(135deg, #eaf5fa, #f8fbfc); font-size: 58px; }
.vehicle-info { padding: 19px; }
.vehicle-info h3 { font-size: 18px; }
.vehicle-info p { font-size: 12px; color: var(--muted); }
.vehicle-info button { width: 100%; margin-top: 14px; padding: 10px; background: #fff; border: 1px solid var(--blue); border-radius: 4px; color: var(--blue); font-weight: 700; }
.no-results { grid-column: 1 / -1; text-align: center; padding: 50px; border: 1px dashed var(--border); border-radius: 8px; color: var(--muted); }

/* -------------------- 8. Service Cost Calculator -------------------- */
.cost-section { padding: 90px 0; background: var(--blue-dark); }
.calculator { display: grid; grid-template-columns: .7fr 1.3fr; background: #fff; border-radius: 8px; overflow: hidden; box-shadow: 0 20px 50px rgba(0,0,0,.2); }
.calculator-form { padding: 35px; border-right: 1px solid var(--border); }
.pricing-note { margin-top: 15px; font-size: 10px; color: #7c8790; }
.estimate { padding: 35px; background: #f7fafc; }
.empty-estimate { min-height: 310px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.estimate-icon { width: 65px; height: 65px; display: grid; place-items: center; border-radius: 50%; background: #e8f4fb; color: var(--blue); font-size: 28px; font-weight: 800; margin-bottom: 15px; }
.empty-estimate h3 { font-size: 25px; }
.empty-estimate p { max-width: 360px; color: var(--muted); font-size: 13px; }
.estimate-header { display: flex; justify-content: space-between; gap: 20px; align-items: center; padding-bottom: 20px; border-bottom: 1px solid var(--border); }
.estimate-header h3 { font-size: 25px; }
.estimate-header p { font-size: 12px; color: var(--muted); }
.estimate-price { font-size: 34px; color: var(--blue); font-weight: 800; white-space: nowrap; }
.cost-table { width: 100%; border-collapse: collapse; margin-top: 14px; }
.cost-table td { padding: 11px 0; border-bottom: 1px solid var(--border); font-size: 13px; }
.cost-table td:last-child { text-align: right; }

/* -------------------- 9. Services Grid -------------------- */
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.service-card { border: 1px solid var(--border); border-radius: 8px; padding: 28px; transition: .2s; }
.service-card:hover { transform: translateY(-5px); box-shadow: 0 15px 35px rgba(0,0,0,.08); }
.service-icon { width: 52px; height: 52px; display: grid; place-items: center; background: var(--blue-soft); border-radius: 50%; font-size: 22px; margin-bottom: 18px; }
.service-card h3 { font-size: 19px; }
.service-card p { font-size: 13px; color: var(--muted); margin: 8px 0 17px; }
.service-card a { font-size: 12px; color: var(--blue); font-weight: 700; }

/* -------------------- 10. Why Us Section -------------------- */
.why-section { padding: 90px 0; background: #f5f8fa; }
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.why-grid h2 { font-size: 43px; line-height: 1.1; margin: 10px 0; }
.why-grid > div > p { color: var(--muted); }
.why-list { margin-top: 25px; }
.why-list div { display: flex; gap: 20px; padding: 14px 0; border-bottom: 1px solid #dce4e8; }
.why-list strong { color: var(--blue); }
.stats-panel { background: var(--blue-dark); color: #fff; border-radius: 8px; overflow: hidden; display: grid; grid-template-columns: 1fr 1fr; }
.stats-panel div { padding: 40px; border-right: 1px solid #244354; border-bottom: 1px solid #244354; }
.stats-panel strong { display: block; font-size: 32px; color: #78cff7; }
.stats-panel span { font-size: 11px; color: #abc0ca; }

/* -------------------- 11. Booking Section -------------------- */
.booking-section { padding: 90px 0; background: var(--blue); }
.booking-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 70px; align-items: center; }
.booking-copy h2 { color: #fff; font-size: 45px; line-height: 1.1; margin: 12px 0; }
.booking-copy > p { color: #d8eaf5; }
.phone-card { display: flex; align-items: center; gap: 15px; margin-top: 30px; }
.phone-card > span { width: 50px; height: 50px; display: grid; place-items: center; background: #fff; border-radius: 50%; }
.phone-card small { display: block; color: #c6e0ed; font-size: 9px; }
.phone-card strong { display: block; color: #fff; font-size: 18px; }
.booking-form { background: #fff; border-radius: 8px; padding: 35px; }
.booking-form h3 { font-size: 25px; margin-bottom: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.form-help { font-size: 10px; color: #7b858c; margin-top: 10px; }

/* -------------------- 12. Contact Section -------------------- */
.contact-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 50px; align-items: center; }
.contact-grid h2 { font-size: 40px; line-height: 1.1; margin: 10px 0; }
.contact-grid > div > p { color: var(--muted); }
.contact-list { margin: 25px 0; }
.contact-list p { font-size: 13px; margin: 10px 0; }
.map-card { min-height: 380px; border-radius: 8px; background: linear-gradient(135deg, #d9e8ee, #b6ced9); display: grid; place-items: center; text-align: center; }
.map-card > div { background: #fff; padding: 30px; border-radius: 8px; box-shadow: 0 10px 30px rgba(0,0,0,.1); }
.map-pin { font-size: 32px; }

/* -------------------- 13. Footer -------------------- */
.site-footer { background: #061d2d; color: #fff; }
.footer-grid { padding: 55px 0; display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 50px; }
.footer-grid p, .footer-grid a { display: block; color: #a8bbc5; font-size: 12px; margin: 7px 0; }
.footer-grid h4 { margin-bottom: 15px; }
.footer-brand { margin-bottom: 15px; }
.copyright { text-align: center; border-top: 1px solid #1c3544; padding: 18px; color: #7e929d; font-size: 10px; }

/* -------------------- 14. Modal & Toast -------------------- */
.modal { position: fixed; inset: 0; background: rgba(0,0,0,.65); display: none; align-items: center; justify-content: center; z-index: 3000; padding: 20px; }
.modal.active { display: flex; }
.modal-content { position: relative; width: min(600px, 100%); max-height: 90vh; overflow: auto; background: #fff; border-radius: 8px; padding: 35px; }
.close-modal { position: absolute; right: 15px; top: 8px; border: 0; background: transparent; font-size: 30px; }
.modal-row { display: flex; justify-content: space-between; gap: 20px; padding: 13px 0; border-bottom: 1px solid var(--border); }

.toast { position: fixed; right: 20px; bottom: 20px; background: #061d2d; color: #fff; padding: 14px 20px; border-radius: 5px; opacity: 0; transform: translateY(30px); pointer-events: none; transition: .3s; z-index: 4000; font-size: 13px; }
.toast.show { opacity: 1; transform: translateY(0); }

/* -------------------- 15. Responsive Breakpoints -------------------- */
@media (max-width: 1000px) {
  .main-nav { display: none; position: absolute; left: 0; right: 0; top: 76px; background: #fff; padding: 20px; flex-direction: column; border-bottom: 1px solid var(--border); }
  .main-nav.active { display: flex; }
  .nav-cta { display: none; }
  .menu-toggle { display: block; }
  .hero-grid, .calculator, .why-grid, .booking-grid, .contact-grid { grid-template-columns: 1fr; }
  .vehicle-grid { grid-template-columns: repeat(2, 1fr); }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .calculator-form { border-right: 0; border-bottom: 1px solid var(--border); }
}

@media (max-width: 600px) {
  .hero { min-height: auto; }
  .hero-grid { padding: 60px 0; }
  .hero h1 { font-size: 42px; }
  .hero-actions { flex-direction: column; }
  .hero-stats { gap: 18px; flex-wrap: wrap; }
  .quick-grid { grid-template-columns: 1fr 1fr; }
  .quick-grid a { border-bottom: 1px solid var(--border); }
  .vehicle-grid, .service-grid, .form-row, .stats-panel, .footer-grid { grid-template-columns: 1fr; }
  .section { padding: 65px 0; }
  .section-heading h2, .why-grid h2, .booking-copy h2, .contact-grid h2 { font-size: 32px; }
  .estimate-header { flex-direction: column; align-items: flex-start; }
  .estimate-price { font-size: 29px; }
  .footer-grid { gap: 28px; }
}
