/* Delhi Taxi Service — site styles.
   Plain CSS, no build step: the whole point of moving to cPanel is that a
   future developer can edit a file and see the change, without a toolchain. */

:root {
  --blue: #20a8d9;
  --blue-dark: #1889b3;
  --orange: #ef6c25;
  --ink: #393939;
  --ink-muted: #6b7280;
  --line: #e5e7eb;
  --bg: #ffffff;
  --bg-alt: #f5f7f9;
  --green: #25d366;
  --radius: 8px;
  --wrap: 1140px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: Roboto, -apple-system, "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
}

img { max-width: 100%; height: auto; }
a { color: var(--blue); }

.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: 16px; }
.pad { padding-block: 40px; }
.muted { color: var(--ink-muted); font-size: 14px; }
.prose p { max-width: 70ch; }

h1 { font-size: clamp(24px, 5vw, 34px); line-height: 1.15; text-wrap: balance; }
h2 { font-size: clamp(19px, 3.4vw, 24px); text-wrap: balance; }
h3 { font-size: 17px; }

/* --- header --- */
.site-header { border-bottom: 1px solid var(--line); background: #fff; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 10px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand img { display: block; width: 44px; height: 44px; border-radius: 50%; }
.brand-name { font-weight: 700; font-size: 17px; letter-spacing: -.01em; white-space: nowrap; }
.header-phone {
  background: var(--blue); color: #fff; text-decoration: none; font-size: 15px;
  padding: 8px 14px; border-radius: var(--radius); white-space: nowrap;
}

/* --- hero --- */
.hero { background: var(--bg-alt); padding-block: 32px 40px; }
.hero h1 { margin-top: 0; text-align: center; }
.hero-compact { background: var(--bg-alt); padding-block: 28px; }
.lede { max-width: 70ch; }

.search-card {
  background: #fff; border-radius: 14px; box-shadow: 0 4px 20px rgba(0,0,0,.09);
  padding: 18px; display: flex; flex-direction: column; gap: 14px; max-width: 760px; margin-inline: auto;
}
.trip-tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.trip-tabs label {
  border: 1px solid var(--line); border-radius: var(--radius); padding: 8px 14px;
  font-size: 14px; font-weight: 500; cursor: pointer;
}
.trip-tabs input { margin-right: 6px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field { display: flex; flex-direction: column; gap: 4px; }
.field label { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; color: var(--ink-muted); }
.field select, .field input {
  border: 1px solid var(--line); border-radius: var(--radius); padding: 10px 12px; font-size: 15px;
  font-family: inherit; background: #fff; color: var(--ink); width: 100%;
}

/* --- buttons --- */
.btn {
  display: inline-block; border-radius: var(--radius); padding: 11px 20px; font-weight: 700;
  font-size: 15px; text-decoration: none; cursor: pointer; border: 1px solid transparent; text-align: center;
}
.btn-primary { background: var(--orange); color: #fff; }
.btn-primary:hover { background: #000; }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-block { width: 100%; }
.cta-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }

/* --- trust strip --- */
.trust-strip { background: var(--blue); color: #fff; }
.trust-inner { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; padding-block: 14px; text-align: center; }
.trust-inner strong { display: block; font-size: 15px; }
.trust-inner span { font-size: 13px; opacity: .9; }

/* --- tables --- */
.table-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); margin-block: 12px 20px; }
.rate-table { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 560px; }
.rate-table th, .rate-table td { padding: 10px 12px; text-align: left; border-bottom: 1px solid var(--line); }
.rate-table th { background: var(--bg-alt); font-size: 12px; text-transform: uppercase; letter-spacing: .04em; color: var(--ink-muted); }
.rate-table tr:last-child td { border-bottom: none; }
.rate-table td { font-variant-numeric: tabular-nums; }

/* --- cards --- */
.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 16px; }
.car-card, .service-card {
  border: 1px solid var(--line); border-radius: 12px; padding: 14px; background: #fff;
}
.car-card img { border-radius: var(--radius); object-fit: contain; width: 100%; height: 120px; }
.car-card h3, .service-card h3 { margin: 10px 0 4px; }
.rate-list { list-style: none; margin: 10px 0 0; padding: 0; font-size: 14px; }
.rate-list li { display: flex; justify-content: space-between; padding: 4px 0; border-top: 1px solid var(--line); }

/* --- links --- */
.link-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 8px; }
.link-grid a { text-decoration: none; }
.link-grid a:hover { text-decoration: underline; }

.breadcrumb { font-size: 13px; color: var(--ink-muted); padding-block: 10px; }
.breadcrumb a { color: var(--ink-muted); }

/* --- faq --- */
.faq details { border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 8px; }
.faq summary { padding: 12px 14px; font-weight: 600; cursor: pointer; font-size: 15px; }
.faq p { padding: 0 14px 12px; margin: 0; color: var(--ink-muted); font-size: 14.5px; }

/* --- footer --- */
.site-footer { background: #1f2937; color: #d1d5db; margin-top: 48px; padding-block: 36px 16px; }
.site-footer h3 { color: #fff; font-size: 15px; margin: 0 0 10px; }
.site-footer a { color: #d1d5db; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 28px; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li { padding: 3px 0; font-size: 14px; }
.footer-base { border-top: 1px solid #374151; margin-top: 24px; padding-top: 14px; font-size: 13px; }

/* --- floating whatsapp --- */
.whatsapp-float {
  position: fixed; right: 16px; bottom: 16px; z-index: 40;
  width: 52px; height: 52px; border-radius: 50%; background: var(--green); color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 14px rgba(0,0,0,.25);
}

/* --- notices --- */
.notice { border-radius: var(--radius); padding: 12px 14px; font-size: 14.5px; margin-block: 12px; }
.notice-warn { background: #fef3c7; color: #92400e; }
.notice-ok { background: #dcfce7; color: #166534; }
.notice-error { background: #fee2e2; color: #991b1b; }

@media (max-width: 640px) {
  .field-row { grid-template-columns: 1fr; }
  .trust-inner { grid-template-columns: 1fr; text-align: left; }
  .header-phone { font-size: 13px; padding: 6px 10px; }
  .brand-name { font-size: 15px; }
  .brand img { width: 38px; height: 38px; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}

/* --- booking, contact and panel layouts --- */
.panel { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 18px; margin-bottom: 16px; }
.panel h2 { margin-top: 0; font-size: 18px; }

.booking-layout { display: grid; grid-template-columns: 1fr 340px; gap: 20px; align-items: start; }
.fare-panel { position: sticky; top: 16px; }
.contact-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: start; }

.review-list { display: grid; grid-template-columns: 120px 1fr; gap: 6px 12px; margin: 0; font-size: 14.5px; }
.review-list dt { color: var(--ink-muted); }
.review-list dd { margin: 0; }

.contact-list { list-style: none; margin: 14px 0; padding: 0; }
.contact-list li { display: grid; grid-template-columns: 90px 1fr; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; }
.contact-list li:last-child { border-bottom: none; }
.contact-label { color: var(--ink-muted); }
.contact-value { font-weight: 500; }

.field textarea {
  border: 1px solid var(--line); border-radius: var(--radius); padding: 10px 12px;
  font-size: 15px; font-family: inherit; width: 100%; resize: vertical;
}
.field { margin-bottom: 12px; }
.center { text-align: center; }

/* Honeypot: off-screen rather than display:none, which some bots detect. */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* --- car list on select_cars --- */
.car-list { display: flex; flex-direction: column; gap: 14px; }
.car-row {
  display: grid; grid-template-columns: 150px 1fr auto; gap: 16px; align-items: center;
  border: 1px solid var(--line); border-radius: 12px; padding: 14px; background: #fff;
}
.car-row img { object-fit: contain; width: 150px; height: 100px; }
.car-row-body h3 { margin: 0 0 4px; }
.car-row-body p { margin: 2px 0; }
.fare-parts { font-size: 13px; }
.car-row-price { text-align: right; min-width: 150px; }
.car-row-price .price { font-size: 22px; font-weight: 700; color: var(--blue); }
.car-row-price .btn { margin-top: 8px; }

.trip-summary { background: var(--bg-alt); border-bottom: 1px solid var(--line); padding-block: 14px; }
.trip-summary h1 { margin: 0 0 2px; font-size: 22px; }

@media (max-width: 900px) {
  .booking-layout, .contact-layout { grid-template-columns: 1fr; }
  .fare-panel { position: static; }
}
@media (max-width: 640px) {
  .car-row { grid-template-columns: 1fr; text-align: left; }
  .car-row img { width: 100%; max-width: 220px; }
  .car-row-price { text-align: left; }
  .review-list { grid-template-columns: 1fr; }
  .review-list dt { font-weight: 600; margin-top: 6px; }
}

/* --- pre-filled WhatsApp handoff on the booking confirmation --- */
.wa-confirm {
  border: 1px solid var(--line); border-left: 4px solid var(--green);
  border-radius: var(--radius); padding: 14px 16px; margin-block: 18px;
  background: #f6fefa;
}
.wa-confirm p { margin: 0 0 12px; font-size: 14.5px; }
.btn-whatsapp { background: var(--green); color: #fff; }
.btn-whatsapp:hover { background: #1da851; }
