/* =========================================================
   Abhi Industries — Stylesheet
   Modern, professional, mobile-first, dependency-free
   ========================================================= */

:root {
  /* Red theme — variable names kept as --blue-* for minimal churn */
  --blue-900: #6e0f18;
  --blue-700: #9c1f2b;
  --blue-600: #be2d3a;
  --blue-100: #fbe7e9;
  --gold:     #f4b419;
  --gold-600: #d99b06;
  --red:      #6e0f18;
  --ink:      #1a1d24;
  --slate:    #4a515e;
  --muted:    #6b7280;
  --line:     #e2e6ee;
  --bg:       #ffffff;
  --bg-alt:   #f5f7fb;
  --white:    #ffffff;

  --radius: 14px;
  --radius-sm: 9px;
  --shadow: 0 10px 30px rgba(18, 42, 102, 0.08);
  --shadow-lg: 0 20px 50px rgba(18, 42, 102, 0.16);
  --max: 1180px;

  --font: "Segoe UI", Roboto, "Helvetica Neue", Arial, system-ui, sans-serif;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; height: auto; }
a { color: var(--blue-700); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3 { line-height: 1.2; font-weight: 800; color: var(--blue-900); }

/* ---------- Accessibility helpers ---------- */
.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--blue-900);
  color: #fff;
  padding: 12px 18px;
  z-index: 200;
  border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 22px;
}
.container--narrow { max-width: 800px; }

.section { padding: 84px 0; }
.section--alt { background: var(--bg-alt); }

.section__head { text-align: center; max-width: 720px; margin: 0 auto 48px; }
.section__eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--gold-600);
  margin-bottom: 10px;
}
.section__title { font-size: clamp(1.7rem, 3.5vw, 2.5rem); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.98rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .2s ease, background .2s ease, color .2s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn--primary { background: var(--gold); color: var(--blue-900); }
.btn--primary:hover { background: var(--gold-600); }
.btn--ghost { border-color: #fff; color: #fff; }
.btn--ghost:hover { background: #fff; color: var(--blue-900); }

/* =========================================================
   Header / Nav
   ========================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--max);
  margin: 0 auto;
  padding: 14px 22px;
}
.nav__brand { display: flex; align-items: center; gap: 10px; }
.nav__brand:hover { text-decoration: none; }
.nav__brand-mark {
  width: 38px; height: 38px;
  display: grid; place-items: center;
  background: var(--blue-700);
  color: var(--gold);
  font-weight: 900;
  border-radius: 50%;
  border: 2px solid var(--gold);
}
.nav__brand-text { font-weight: 900; color: var(--blue-900); letter-spacing: .04em; line-height: 1; }
.nav__brand-text small { display: block; font-size: .58rem; color: var(--red); letter-spacing: .22em; }

.nav__menu {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0;
}
.nav__menu a {
  display: block;
  padding: 8px 12px;
  color: var(--slate);
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 8px;
}
.nav__menu a:hover { color: var(--blue-700); background: var(--blue-100); text-decoration: none; }
.nav__cta { background: var(--blue-700); color: #fff !important; }
.nav__cta:hover { background: var(--blue-900) !important; }

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 8px;
}
.nav__toggle-bar {
  width: 26px; height: 3px;
  background: var(--blue-900);
  border-radius: 3px;
  transition: transform .3s, opacity .3s;
}
.nav__toggle[aria-expanded="true"] .nav__toggle-bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] .nav__toggle-bar:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] .nav__toggle-bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* =========================================================
   Hero
   ========================================================= */
.hero {
  position: relative;
  display: grid;
  align-items: center;
  min-height: 86vh;
  color: #fff;
  background:
    linear-gradient(120deg, rgba(45,8,12,.92), rgba(110,15,24,.80)),
    radial-gradient(circle at 70% 30%, #b02a36, #2a0608 70%);
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  right: -120px; top: 50%;
  transform: translateY(-50%);
  width: 520px; height: 520px;
  border: 60px solid rgba(255,255,255,.05);
  border-radius: 50%;
  pointer-events: none;
}
.hero__content {
  position: relative;
  z-index: 2;
  max-width: var(--max);
  margin: 0 auto;
  padding: 60px 22px;
  width: 100%;
}
.hero__eyebrow {
  display: inline-block;
  background: var(--gold);
  color: var(--blue-900);
  font-weight: 700;
  font-size: .82rem;
  letter-spacing: .08em;
  padding: 6px 16px;
  border-radius: 50px;
  text-transform: uppercase;
}
.hero__title {
  color: #fff;
  font-size: clamp(2.6rem, 8vw, 5rem);
  margin: 18px 0 6px;
  letter-spacing: .01em;
}
.hero__subtitle {
  font-size: clamp(1.1rem, 3vw, 1.7rem);
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 20px;
}
.hero__lead { max-width: 560px; font-size: 1.08rem; color: rgba(255,255,255,.9); margin-bottom: 32px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* =========================================================
   Stats
   ========================================================= */
.stats { background: var(--blue-900); }
.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  padding-top: 40px;
  padding-bottom: 40px;
}
.stat { text-align: center; color: #fff; padding: 14px; }
.stat__num { display: block; font-size: clamp(1.5rem, 4vw, 2.4rem); font-weight: 900; color: var(--gold); }
.stat__label { display: block; font-size: .9rem; color: rgba(255,255,255,.8); margin-top: 4px; }

/* =========================================================
   About
   ========================================================= */
.about__grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 48px;
  align-items: center;
}
/* Allow grid children to shrink below their content's intrinsic size
   (prevents the image from forcing horizontal overflow on mobile). */
.about__grid > * { min-width: 0; }
.about__text p { margin-bottom: 18px; color: var(--slate); }
.about__badge {
  display: inline-block;
  background: var(--blue-100);
  color: var(--blue-700);
  font-weight: 700;
  padding: 10px 18px;
  border-radius: 50px;
}
.about__badge span { color: var(--gold-600); }
.about__media figcaption { font-size: .88rem; color: var(--muted); margin-top: 10px; text-align: center; }
.about__media img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow); }

/* Vision / Mission */
.vm__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 56px;
}
.vm-card {
  background: var(--gold);
  border-radius: var(--radius);
  padding: 36px 32px;
  text-align: center;
  box-shadow: var(--shadow);
}
.vm-card__icon {
  width: 64px; height: 64px;
  margin: 0 auto 14px;
  display: grid; place-items: center;
  background: #fff;
  border-radius: 50%;
  font-size: 1.7rem;
}
.vm-card h3 { letter-spacing: .25em; text-transform: uppercase; color: var(--blue-900); margin-bottom: 10px; }
.vm-card p { color: #3a2f08; font-weight: 500; }

/* =========================================================
   Core Values
   ========================================================= */
.values__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.value-card {
  background: #fff;
  border: 1px solid var(--line);
  border-left: 5px solid var(--blue-700);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow);
  transition: transform .25s ease, box-shadow .25s ease;
}
.value-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-left-color: var(--gold); }
.value-card h3 { font-size: 1.25rem; margin-bottom: 10px; }
.value-card p { color: var(--slate); }

/* =========================================================
   Locations
   ========================================================= */
.locations__intro { max-width: 800px; margin: 0 auto 44px; text-align: center; color: var(--slate); }
.locations__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.loc-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: var(--shadow);
  transition: transform .25s ease;
}
.loc-card:hover { transform: translateY(-4px); }
.loc-card h3 { font-size: 1.15rem; margin: 14px 0 8px; }
.loc-card p { color: var(--slate); font-size: .96rem; }
.loc-card__tag {
  display: inline-block;
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  padding: 4px 12px;
  border-radius: 50px;
}
.loc-card__tag--active    { background: #e3f3e8; color: #1d7a3f; }
.loc-card__tag--proposed  { background: #fff1d6; color: var(--gold-600); }
.loc-card__tag--warehouse { background: var(--blue-100); color: var(--blue-700); }

/* =========================================================
   Process / Timeline
   ========================================================= */
.process__cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}
.timeline-wrap__title {
  font-size: 1.3rem;
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 3px solid var(--gold);
  display: inline-block;
}
.timeline { list-style: none; padding: 0; position: relative; }
.timeline::before {
  content: "";
  position: absolute;
  left: 17px; top: 6px; bottom: 6px;
  width: 2px;
  background: var(--line);
}
.timeline li {
  position: relative;
  display: flex;
  gap: 18px;
  padding-bottom: 22px;
}
.timeline__step {
  flex: 0 0 36px;
  width: 36px; height: 36px;
  display: grid; place-items: center;
  background: var(--blue-700);
  color: #fff;
  font-weight: 800;
  font-size: .9rem;
  border-radius: 50%;
  z-index: 1;
}
.timeline--accent .timeline__step { background: var(--gold); color: var(--blue-900); }
.timeline li strong { color: var(--blue-900); display: block; }
.timeline li p { color: var(--slate); font-size: .94rem; margin-top: 2px; }

/* =========================================================
   Facility
   ========================================================= */
.facility__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.facility-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow);
  transition: transform .25s ease, box-shadow .25s ease;
}
.facility-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.facility-card h3 {
  font-size: 1.2rem;
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--blue-100);
  color: var(--blue-700);
}
.facility-card p { color: var(--slate); }

.chip-row { list-style: none; padding: 0; margin-top: 16px; display: flex; flex-wrap: wrap; gap: 8px; }
.chip-row li {
  font-size: .78rem;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 50px;
  background: var(--blue-700);
  color: #fff;
}
.chip-row--soft li { background: var(--blue-100); color: var(--blue-700); }

/* =========================================================
   Products
   ========================================================= */
.products__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.product-card {
  margin: 0;
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  transition: transform .25s ease, box-shadow .25s ease;
}
.product-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.product-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: linear-gradient(135deg, #d8dde8, #eef1f7);
}
.product-card figcaption {
  padding: 16px;
  text-align: center;
  font-weight: 700;
  color: var(--blue-900);
  font-size: .98rem;
}

/* =========================================================
   Customers
   ========================================================= */
.customers__grid {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}
.customer-chip {
  display: grid;
  place-items: center;
  text-align: center;
  min-height: 96px;
  padding: 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-weight: 700;
  color: var(--blue-900);
  box-shadow: var(--shadow);
  transition: transform .2s ease, border-color .2s ease;
}
.customer-chip:hover { transform: translateY(-4px); border-color: var(--gold); }

/* =========================================================
   FAQ / Accordion
   ========================================================= */
.accordion__item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
  overflow: hidden;
}
.accordion__trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  text-align: left;
  padding: 20px 22px;
  background: none;
  border: 0;
  cursor: pointer;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--blue-900);
}
.accordion__trigger:hover { background: var(--bg-alt); }
.accordion__icon {
  flex: 0 0 auto;
  width: 22px; height: 22px;
  position: relative;
}
.accordion__icon::before,
.accordion__icon::after {
  content: "";
  position: absolute;
  background: var(--blue-700);
  border-radius: 2px;
  transition: transform .3s ease;
}
.accordion__icon::before { top: 10px; left: 0; width: 22px; height: 2px; }
.accordion__icon::after  { left: 10px; top: 0; width: 2px; height: 22px; }
.accordion__trigger[aria-expanded="true"] .accordion__icon::after { transform: rotate(90deg); opacity: 0; }
.accordion__panel { padding: 0 22px 20px; color: var(--slate); }

/* =========================================================
   Contact
   ========================================================= */
.contact { background: var(--blue-900); color: #fff; }
.contact .section__title { color: #fff; }
.contact .section__eyebrow { color: var(--gold); }
.contact__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.contact-card {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius);
  padding: 30px;
}
.contact-card h3 { color: var(--gold); font-size: 1.15rem; margin-bottom: 12px; }
.contact-card address { font-style: normal; color: rgba(255,255,255,.88); }
.contact-list { list-style: none; padding: 0; }
.contact-list li { margin-bottom: 12px; display: flex; gap: 10px; align-items: center; }
.contact-list a { color: #fff; }
.contact-list a:hover { color: var(--gold); }

/* =========================================================
   Footer
   ========================================================= */
.footer { background: #2a0608; color: rgba(255,255,255,.8); padding: 48px 0 28px; }
.footer__inner { display: grid; gap: 16px; text-align: center; place-items: center; }
.footer__brand { display: flex; align-items: center; gap: 10px; }
.footer__brand .nav__brand-text { color: #fff; }
.footer__tag { color: var(--gold); font-weight: 600; }
.footer__nav { display: flex; flex-wrap: wrap; gap: 20px; justify-content: center; }
.footer__nav a { color: rgba(255,255,255,.8); font-weight: 600; }
.footer__nav a:hover { color: var(--gold); }
.footer__copy { font-size: .85rem; color: rgba(255,255,255,.55); }

/* ---------- Back to top ---------- */
.to-top {
  position: fixed;
  right: 24px; bottom: 24px;
  width: 48px; height: 48px;
  border: 0;
  border-radius: 50%;
  background: var(--blue-700);
  color: #fff;
  font-size: 1.3rem;
  cursor: pointer;
  box-shadow: var(--shadow-lg);
  z-index: 90;
  transition: opacity .3s ease, transform .3s ease;
}
.to-top:hover { background: var(--blue-900); transform: translateY(-3px); }

/* =========================================================
   Scroll reveal
   ========================================================= */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.is-visible { opacity: 1; transform: none; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 960px) {
  .nav__toggle { display: flex; }
  .nav__menu {
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    background: #fff;
    border-bottom: 1px solid var(--line);
    padding: 12px 16px 20px;
    gap: 4px;
    box-shadow: var(--shadow);
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: opacity .25s ease, transform .25s ease, visibility .25s;
  }
  .nav__menu.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav__cta { text-align: center; margin-top: 6px; }

  .about__grid { grid-template-columns: 1fr; }
  .facility__grid { grid-template-columns: repeat(2, 1fr); }
  .products__grid { grid-template-columns: repeat(3, 1fr); }
  .locations__grid { grid-template-columns: repeat(2, 1fr); }
  .customers__grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 700px) {
  body { font-size: 16px; }
  .section { padding: 60px 0; }
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .vm__grid,
  .values__grid,
  .process__cols,
  .contact__grid { grid-template-columns: 1fr; }
  .facility__grid,
  .products__grid,
  .locations__grid { grid-template-columns: 1fr; }
  .customers__grid { grid-template-columns: repeat(2, 1fr); }
  .hero { min-height: 78vh; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  * { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}
