/* ============================================================
   Acme Garments Limited — Design System
   Brand colors pulled from the company logo.
   ============================================================ */

:root {
  --navy: #0c2340;
  --navy-dark: #0c1626;
  --navy-light: #1f3157;
  --green: #7ac142;
  --green-dark: #5a9c2e;
  --white: #ffffff;
  --off-white: #f7f8fa;
  --gray-100: #eef0f4;
  --gray-300: #d6dae2;
  --gray-500: #8a92a3;
  --gray-700: #4b5163;
  --text: #1a1d29;

  --font-heading: 'Poppins', 'Segoe UI', sans-serif;
  --font-body: 'Inter', 'Segoe UI', sans-serif;

  --radius: 10px;
  --radius-sm: 6px;
  --shadow: 0 6px 24px rgba(12, 35, 64, 0.10);
  --shadow-lg: 0 16px 48px rgba(12, 35, 64, 0.16);
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 0.5em;
  color: var(--navy);
}
h1 { font-size: clamp(2rem, 4vw + 1rem, 3.2rem); }
h2 { font-size: clamp(1.6rem, 2.5vw + 1rem, 2.4rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; color: var(--gray-700); }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green-dark);
  margin-bottom: 0.6em;
}

.section {
  padding: 72px 0;
}
.section--tight { padding: 48px 0; }
.section--navy {
  background: var(--navy);
  color: var(--white);
}
.section--navy h2, .section--navy h1, .section--navy p { color: var(--white); }
.section--off { background: var(--off-white); }

.section-head {
  max-width: 640px;
  margin: 0 auto 3rem;
  text-align: center;
}
.section-head p { margin: 0; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 13px 28px;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: var(--green);
  color: var(--navy-dark);
  box-shadow: 0 8px 20px rgba(122, 193, 66, 0.35);
}
.btn-primary:hover { background: var(--green-dark); color: var(--white); }
.btn-outline {
  background: transparent;
  border-color: currentColor;
  color: var(--white);
}
.btn-outline:hover { background: var(--white); color: var(--navy); }
.btn-outline-navy {
  background: transparent;
  border-color: var(--navy);
  color: var(--navy);
}
.btn-outline-navy:hover { background: var(--navy); color: var(--white); }

/* ============ Header ============ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--navy);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}
.brand img { height: 64px; width: auto; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav-links a {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--white);
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
  transition: border-color 0.15s ease, color 0.15s ease;
}
.nav-links a:hover,
.nav-links a[aria-current="page"] { border-color: var(--green); color: var(--green); }

.header-actions { display: flex; align-items: center; gap: 1.25rem; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  width: 26px;
  height: 3px;
  background: var(--white);
  border-radius: 2px;
}

@media (max-width: 900px) {
  .nav-toggle { display: flex; }
  .nav-links {
    position: fixed;
    inset: 84px 0 0 0;
    background: var(--navy);
    flex-direction: column;
    align-items: flex-start;
    padding: 2rem 24px;
    gap: 1.5rem;
    transform: translateX(100%);
    transition: transform 0.25s ease;
    overflow-y: auto;
  }
  .nav-links.is-open { transform: translateX(0); }
  .nav-links a { font-size: 1.1rem; }
  .header-actions .btn { display: none; }
}

/* ============ Hero ============ */
.hero {
  position: relative;
  color: var(--white);
  min-height: 78vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(12, 22, 38, 0.55) 0%, rgba(12, 22, 38, 0.78) 65%, rgba(12, 22, 38, 0.92) 100%);
}
.hero .container { position: relative; z-index: 1; }
.hero-content { max-width: 680px; }
.hero-content h1 { color: var(--white); }
.hero p.lead { font-size: 1.15rem; color: rgba(255,255,255,0.88); max-width: 560px; }
.hero-actions { display: flex; gap: 1rem; margin-top: 1.75rem; flex-wrap: wrap; }

.page-hero {
  position: relative;
  color: var(--white);
  padding: 130px 0 64px;
  overflow: hidden;
}
.page-hero .hero-media img { width: 100%; height: 100%; object-fit: cover; }
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1, .page-hero p.lead { color: var(--white); }
.page-hero p.lead { color: rgba(255,255,255,0.88); }

/* ============ Cards / grids ============ */
.grid {
  display: grid;
  gap: 28px;
}
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 900px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

.card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  flex-direction: column;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card-media { aspect-ratio: 4 / 3; overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.35s ease; }
.card:hover .card-media img { transform: scale(1.05); }
.card-body { padding: 22px 24px 26px; flex: 1; display: flex; flex-direction: column; }
.card-body h3 { margin-bottom: 0.4em; }
.card-body p { flex: 1; }
.card-tag {
  align-self: flex-start;
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: var(--green);
  color: var(--navy-dark);
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 12px;
}

/* Division split cards on homepage */
.division-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  min-height: 420px;
  display: flex;
  align-items: flex-end;
  color: var(--white);
  box-shadow: var(--shadow);
}
.division-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.division-card::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(12,22,38,0.05) 0%, rgba(12,22,38,0.92) 88%);
  z-index: 1;
}
.division-card-body { position: relative; z-index: 2; padding: 32px; }
.division-card h3 { color: var(--white); font-size: 1.6rem; }
.division-card p { color: rgba(255,255,255,0.85); }

/* Stats */
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  text-align: center;
}
.stat h3 {
  font-size: 2.4rem;
  color: var(--green);
  margin-bottom: 0.2em;
}
.stat p { color: rgba(255,255,255,0.78); margin: 0; font-size: 0.95rem; }
@media (max-width: 700px) { .stats { grid-template-columns: 1fr; } }

/* Feature list */
.feature-list { display: grid; gap: 20px; }
.feature-item { display: flex; gap: 14px; align-items: flex-start; }
.feature-icon {
  flex: none;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(122, 193, 66, 0.15);
  color: var(--green-dark);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
}
.feature-item h4 { margin: 0 0 0.25em; font-family: var(--font-heading); font-size: 1.05rem; color: var(--navy); }
.feature-item p { margin: 0; font-size: 0.95rem; }

/* CTA banner */
.cta-banner {
  background: linear-gradient(120deg, var(--navy) 0%, var(--navy-light) 100%);
  color: var(--white);
  border-radius: 20px;
  padding: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}
.cta-banner h2 { color: var(--white); margin-bottom: 0.3em; }
.cta-banner p { color: rgba(255,255,255,0.8); margin: 0; }

/* Forms */
.form-grid { display: grid; gap: 18px; }
label {
  display: block;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.85rem;
  margin-bottom: 6px;
  color: var(--navy);
}
input, textarea, select {
  width: 100%;
  padding: 13px 16px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--gray-300);
  font-family: var(--font-body);
  font-size: 1rem;
  background: var(--white);
  color: var(--text);
}
input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(122, 193, 66, 0.2);
}
textarea { resize: vertical; min-height: 140px; }
.form-note { font-size: 0.85rem; color: var(--gray-500); }

/* Info cards on contact page */
.contact-card {
  background: var(--off-white);
  border-radius: var(--radius);
  padding: 28px;
  border-left: 4px solid var(--green);
}
.contact-card h3 { margin-bottom: 0.6em; }
.contact-card a { color: var(--navy); font-weight: 600; }
.contact-card a:hover { color: var(--green-dark); }

/* Breadcrumb-ish page intro */
.page-intro { max-width: 720px; }

/* Footer */
.site-footer {
  background: var(--navy);
  color: rgba(255,255,255,0.75);
  padding: 64px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-grid h4 {
  color: var(--white);
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 1em;
}
.footer-grid ul { display: grid; gap: 0.7em; }
.footer-grid a:hover { color: var(--green); }
.footer-brand img { height: 58px; margin-bottom: 1em; }
.footer-brand p { color: rgba(255,255,255,0.6); font-size: 0.9rem; max-width: 300px; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  font-size: 0.85rem;
  flex-wrap: wrap;
  gap: 12px;
}
.social-links { display: flex; gap: 12px; }
.social-links a {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.25);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.85rem;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.social-links a:hover { background: var(--green); border-color: var(--green); color: var(--navy-dark); }

@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; }
  .cta-banner { padding: 36px 24px; }
  .stats { text-align: left; }
}

/* Utility */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--green);
  color: var(--navy-dark);
  padding: 12px 20px;
  z-index: 300;
  font-weight: 700;
}
.skip-link:focus { left: 12px; top: 12px; }
