/* Sharda Engineering Works — site styles */
:root {
  --navy: #1f3a5f;
  --navy-dark: #142740;
  --amber: #f5a524;
  --amber-dark: #d68a0c;
  --steel: #5b6b7d;
  --bg: #ffffff;
  --bg-alt: #f3f5f8;
  --text: #1c2430;
  --muted: #5b6573;
  --line: #dde3ea;
  --radius: 10px;
  --shadow: 0 2px 10px rgba(20, 39, 64, 0.08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
}
img { max-width: 100%; display: block; }
a { color: var(--navy); }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; color: var(--navy-dark); }
h1 { font-size: clamp(1.9rem, 5vw, 3rem); color: #fff; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.2rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
.container { width: 100%; max-width: 1140px; margin: 0 auto; padding: 0 16px; }
.small { font-size: .9rem; color: var(--muted); }
.eyebrow {
  text-transform: uppercase; letter-spacing: .08em; font-size: .8rem;
  font-weight: 700; color: var(--amber-dark); margin-bottom: .4em;
}

/* Placeholder highlight: anything in .ph must be replaced with real info */
.ph {
  background: #fff3cd; color: #7a5200; border-radius: 4px; padding: 0 .25em;
  outline: 1px dashed #e0b44c;
}

/* Buttons */
.btn {
  display: inline-block; background: var(--amber); color: #1c1300; font-weight: 700;
  padding: .75em 1.4em; border-radius: var(--radius); text-decoration: none; border: 0;
  cursor: pointer; font-size: 1rem; transition: background .15s;
}
.btn:hover { background: var(--amber-dark); }
.btn-ghost { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,.6); }
.btn-ghost:hover { background: rgba(255,255,255,.1); }
.btn-ghost .ph { background: transparent; color: #ffe08a; outline: none; padding: 0; }
.btn-light { background: #fff; color: var(--navy-dark); }
.btn-light:hover { background: #e9eef4; }
.btn-alt { background: var(--navy); color: #fff; }
.btn-alt:hover { background: var(--navy-dark); }
.btn-small { padding: .45em 1em; font-size: .95rem; }
.btn-block { width: 100%; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50; background: #fff;
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: .6em; text-decoration: none; color: var(--navy-dark); font-size: 1.1rem; }
.brand strong { font-weight: 800; }
.site-nav { display: flex; align-items: center; gap: 1.4em; }
.site-nav a:not(.btn) { text-decoration: none; color: var(--text); font-weight: 600; }
.site-nav a:not(.btn):hover { color: var(--amber-dark); }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 3px; background: var(--navy-dark); margin: 4px 0; border-radius: 2px; }

@media (max-width: 820px) {
  .nav-toggle { display: block; }
  .site-nav {
    display: none; position: absolute; top: 64px; left: 0; right: 0; background: #fff;
    flex-direction: column; align-items: stretch; gap: 0; padding: 8px 16px 16px;
    border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
  }
  .site-nav.open { display: flex; }
  .site-nav a:not(.btn) { padding: .8em 0; border-bottom: 1px solid var(--line); }
  .site-nav .btn { margin-top: 12px; text-align: center; }
}

/* Hero */
.hero {
  background:
    linear-gradient(120deg, rgba(20,39,64,.96), rgba(31,58,95,.88)),
    repeating-linear-gradient(45deg, #24466f 0 2px, transparent 2px 22px);
  color: #dfe7f1; padding: 72px 0 64px;
}
.hero .eyebrow { color: var(--amber); }
.lead { font-size: 1.15rem; max-width: 640px; }
.hero-grid { display: grid; grid-template-columns: 1fr 340px; gap: 48px; align-items: center; }
.hero-photo { margin: 0; }
.hero-photo img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: top; border-radius: 14px; box-shadow: 0 10px 30px rgba(0,0,0,.35); border: 4px solid rgba(255,255,255,.12); }
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero-photo img { aspect-ratio: 4 / 3; object-position: center 20%; }
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 1.6em 0; }
.hero-points { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .6em 1.6em; font-size: .95rem; }
.hero-points li::before { content: "✓ "; color: var(--amber); font-weight: 700; }

/* Sections */
.section { padding: 72px 0; }
.section-alt { background: var(--bg-alt); }
.section-intro { max-width: 680px; color: var(--muted); margin-bottom: 2em; }

/* Service cards */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 20px; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px; box-shadow: var(--shadow); display: flex; flex-direction: column;
}
.card p { color: var(--muted); font-size: .97rem; }
.card-meta { margin-top: auto; margin-bottom: 0; font-size: .87rem !important; color: var(--steel) !important; border-top: 1px dashed var(--line); padding-top: .8em; }
.card-icon { width: 52px; height: 52px; border-radius: 12px; background: #fdf1db; display: grid; place-items: center; margin-bottom: 14px; }
.card-icon svg { width: 34px; height: 34px; fill: none; stroke: var(--navy); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.card-cta { background: var(--navy); border-color: var(--navy); }
.card-cta h3 { color: #fff; }
.card-cta p { color: #c9d5e4; }
.card-cta .btn { align-self: flex-start; margin-top: auto; }

.materials { margin-top: 48px; }
.chips { list-style: none; padding: 0; margin: 0 0 1em; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { background: var(--bg-alt); border: 1px solid var(--line); padding: .35em .9em; border-radius: 999px; font-size: .93rem; }

/* Work types */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
@media (max-width: 820px) { .two-col { grid-template-columns: 1fr; } }
.work-type { background: #fff; border-radius: var(--radius); padding: 28px; border: 1px solid var(--line); box-shadow: var(--shadow); }
.tag { display: inline-block; background: #fdf1db; color: #7a5200; font-size: .8rem; font-weight: 700; padding: .25em .7em; border-radius: 999px; margin-bottom: .8em; }
.tag-alt { background: #e3ebf5; color: var(--navy); }
.ticks { list-style: none; padding: 0; margin: 0 0 1.4em; }
.ticks li { padding-left: 1.6em; position: relative; margin-bottom: .4em; }
.ticks li::before { content: "✓"; position: absolute; left: 0; color: var(--amber-dark); font-weight: 800; }
.steps { counter-reset: s; list-style: none; padding: 16px; margin: 0 0 1.4em; background: var(--bg-alt); border-radius: var(--radius); }
.steps li { counter-increment: s; position: relative; padding-left: 2.2em; margin: .4em 0; }
.steps li::before {
  content: counter(s); position: absolute; left: 0; top: .15em; width: 1.6em; height: 1.6em; border-radius: 50%;
  background: var(--navy); color: #fff; font-size: .8rem; font-weight: 700; display: grid; place-items: center;
}

/* About */
.about { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: center; }
@media (max-width: 820px) { .about { grid-template-columns: 1fr; } }
.stats { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.stats li { background: var(--bg-alt); border-left: 4px solid var(--amber); padding: 16px 20px; border-radius: 6px; display: flex; align-items: baseline; gap: .7em; }
.stats strong { font-size: 1.8rem; color: var(--navy-dark); }

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
.gallery { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }
.gallery figure { margin: 0; }
.gallery img, .gallery video, .photo-ph { aspect-ratio: 3 / 4; width: 100%; height: auto; object-fit: cover; border-radius: var(--radius); margin: 0; background: #dfe5ec; display: block; }
.gallery figcaption { font-size: .92rem; font-weight: 600; color: var(--navy-dark); margin-top: .5em; }
@media (max-width: 520px) { .gallery { grid-template-columns: 1fr 1fr; gap: 12px; } }
.photo-ph, .map-ph {
  display: grid; place-items: center; text-align: center; padding: 16px;
  background: repeating-linear-gradient(45deg, #e8edf3 0 10px, #eef2f6 10px 20px);
  border: 2px dashed #b9c4d1; color: var(--steel); font-weight: 600; font-size: .95rem;
}

/* Contact */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
@media (max-width: 820px) { .contact { grid-template-columns: 1fr; } }
.contact-list { margin: 1.5em 0; }
.contact-list div { display: grid; grid-template-columns: 100px 1fr; gap: 8px; padding: .7em 0; border-bottom: 1px solid var(--line); }
.contact-list dt { font-weight: 700; color: var(--navy-dark); }
.contact-list dd { margin: 0; }
.map-ph { height: 220px; border-radius: var(--radius); }
.map-frame { width: 100%; height: 260px; border: 0; border-radius: var(--radius); }

.enquiry { background: var(--bg-alt); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.enquiry label { display: block; font-weight: 600; font-size: .95rem; margin-bottom: 14px; }
.enquiry input, .enquiry select, .enquiry textarea {
  display: block; width: 100%; margin-top: 6px; padding: .7em .8em; font: inherit; font-weight: 400;
  border: 1px solid #c4cdd8; border-radius: 8px; background: #fff;
}
.enquiry input:focus, .enquiry select:focus, .enquiry textarea:focus { outline: 2px solid var(--amber); border-color: var(--amber); }
.form-error { color: #b42318; font-weight: 600; }

/* Footer */
.site-footer { background: var(--navy-dark); color: #c9d5e4; padding: 32px 0; }
.site-footer strong { color: #fff; }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; }
.site-footer .small { color: #9fb0c4; }
.site-footer .ph { background: transparent; color: #ffe08a; outline: none; }

/* Floating WhatsApp button */
.wa-float {
  position: fixed; right: 16px; bottom: 16px; width: 56px; height: 56px; border-radius: 50%;
  background: #25d366; display: grid; place-items: center; box-shadow: 0 4px 14px rgba(0,0,0,.25); z-index: 60;
}
.wa-float svg { width: 30px; height: 30px; fill: #fff; }

@media (max-width: 520px) {
  body { font-size: 16px; }
  .section { padding: 52px 0; }
  .hero { padding: 52px 0 44px; }
  .hero-actions .btn { flex: 1 1 100%; text-align: center; }
  .contact-list div { grid-template-columns: 1fr; gap: 2px; }
}

/* Auto repair specialities */
.section-dark { background: var(--navy-dark); color: #c9d5e4; }
.section-dark h2 { color: #fff; }
.section-dark .eyebrow { color: var(--amber); }
.section-dark .section-intro { color: #aebdd0; }
.spec-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 16px; }
.spec { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-left: 4px solid var(--amber); border-radius: var(--radius); padding: 20px; }
.spec h3 { color: #fff; font-size: 1.1rem; }
.spec p { margin: 0; font-size: .95rem; }
.spec-cta { background: var(--amber); border-color: var(--amber); }
.spec-cta h3, .spec-cta p { color: #1c1300; }
.spec-cta .btn { margin-top: 12px; background: var(--navy-dark); color: #fff; }
