/* SKL — Sri Kamakshithai Logistics Pvt Ltd — company profile site
   Design: maroon + steel-teal from the company mark, condensed industrial
   display type (Oswald) paired with Inter for body/data. */

@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@400;500;600;700&family=Inter:wght@400;500;600;700;800&display=swap');

:root {
  --maroon: #8b1e2e;
  --maroon-dark: #641420;
  --maroon-light: #a83346;
  --teal: #1d4e5e;
  --teal-dark: #123640;
  --ink: #1c1a1e;
  --ink-600: #4a464c;
  --ink-400: #6f6b72;
  --line: #e7e3e0;
  --paper: #ffffff;
  --paper-warm: #faf8f7;
  --surface: #f4f1ef;
  --shadow: 0 1px 2px rgba(28, 26, 30, 0.04), 0 8px 24px rgba(28, 26, 30, 0.06);
  --shadow-lg: 0 12px 40px rgba(28, 26, 30, 0.12);
  --radius: 14px;
  --radius-sm: 8px;
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 {
  font-family: 'Oswald', 'Inter', sans-serif;
  font-weight: 600;
  line-height: 1.12;
  margin: 0 0 0.5em;
  text-wrap: balance;
  letter-spacing: 0.01em;
}
p { margin: 0 0 1em; color: var(--ink-600); }
ul { margin: 0; padding: 0; list-style: none; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 2.5rem);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--maroon);
  margin-bottom: 0.75rem;
}
.eyebrow::before {
  content: '';
  width: 22px;
  height: 2px;
  background: var(--maroon);
  display: inline-block;
}

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  /* Solid, not translucent+blurred: backdrop-filter on this ancestor would
     make the mobile nav's position:fixed panel treat this 76px-tall header
     as its containing block instead of the viewport (a CSS spec quirk —
     filter/backdrop-filter create a containing block for fixed descendants,
     same as transform does), trapping the full-screen nav inside it. */
  background: #ffffff;
  border-bottom: 1px solid var(--line);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.brand { display: flex; align-items: center; gap: 0.65rem; }
.brand img { height: 40px; width: auto; }
.brand-text {
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  font-size: 1.02rem;
  line-height: 1.15;
  color: var(--ink);
}
.brand-text span { display: block; font-size: 0.66rem; color: var(--ink-400); font-weight: 500; letter-spacing: 0.02em; }

.main-nav { display: flex; align-items: center; gap: 2.1rem; }
.main-nav a {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ink-600);
  padding: 0.4rem 0;
  border-bottom: 2px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
  white-space: nowrap;
}
.main-nav a:hover { color: var(--maroon); }
.main-nav a.active { color: var(--maroon); border-color: var(--maroon); }
.nav-cta {
  background: var(--maroon);
  color: #fff !important;
  padding: 0.6rem 1.2rem !important;
  border-radius: 999px;
  border-bottom: none !important;
  transition: background 0.15s ease, transform 0.15s ease;
}
.nav-cta:hover { background: var(--maroon-dark); transform: translateY(-1px); }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.4rem;
  color: var(--ink);
}
.nav-toggle svg { width: 26px; height: 26px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 0.92rem;
  padding: 0.85rem 1.6rem;
  border-radius: 999px;
  transition: background 0.15s ease, color 0.15s ease, transform 0.15s ease, border-color 0.15s ease;
  border: 1.5px solid transparent;
  cursor: pointer;
}
.btn-primary { background: var(--maroon); color: #fff; }
.btn-primary:hover { background: var(--maroon-dark); transform: translateY(-2px); }
.btn-ghost { border-color: rgba(255,255,255,0.55); color: #fff; }
.btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,0.1); }
.btn-outline { border-color: var(--line); color: var(--ink); }
.btn-outline:hover { border-color: var(--maroon); color: var(--maroon); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background-image:
    linear-gradient(100deg, rgba(10, 22, 27, 0.92) 0%, rgba(18, 54, 64, 0.82) 40%, rgba(29, 78, 94, 0.62) 70%, rgba(100, 20, 32, 0.7) 100%),
    url('../img/homepage-hero.jpg');
  background-size: cover;
  background-position: center;
  color: #fff;
  padding: clamp(4.5rem, 9vw, 7.5rem) 0 clamp(3.5rem, 7vw, 5.5rem);
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(90deg, rgba(255,255,255,0.05) 0 2px, transparent 2px 64px);
  opacity: 0.5;
  pointer-events: none;
}
.hero .container { position: relative; }
.hero-eyebrow {
  font-weight: 700; font-size: 0.76rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: rgba(255,255,255,0.78); margin-bottom: 1.1rem;
}
.hero h1 {
  font-size: clamp(2.4rem, 5.4vw, 4.1rem);
  color: #fff;
  max-width: 16ch;
  margin-bottom: 0.4em;
}
.hero p.lead {
  font-size: clamp(1.02rem, 1.6vw, 1.2rem);
  color: rgba(255,255,255,0.86);
  max-width: 46ch;
  margin-bottom: 2.1rem;
}
.hero-actions { display: flex; gap: 0.9rem; flex-wrap: wrap; }

.page-hero {
  background: linear-gradient(150deg, var(--teal-dark), var(--maroon-dark));
  color: #fff;
  padding: clamp(3.4rem, 7vw, 5rem) 0 clamp(2.4rem, 5vw, 3.4rem);
}
.page-hero .eyebrow { color: rgba(255,255,255,0.78); }
.page-hero .eyebrow::before { background: rgba(255,255,255,0.6); }
.page-hero h1 { color: #fff; font-size: clamp(2rem, 4vw, 3rem); max-width: 22ch; }
.page-hero p { color: rgba(255,255,255,0.82); max-width: 56ch; font-size: 1.06rem; }

/* ---------- Sections ---------- */
section { padding: clamp(3.2rem, 6vw, 5.5rem) 0; }
.section-alt { background: var(--paper-warm); }
.section-head { max-width: 640px; margin-bottom: 2.75rem; }
.section-head h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
.section-head p { font-size: 1.05rem; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .eyebrow::before { display: none; }

/* ---------- Stat strip ---------- */
.stat-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.stat-cell { background: var(--paper); padding: 1.7rem 1.4rem; text-align: center; }
.stat-cell .num {
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  color: var(--maroon);
  font-variant-numeric: tabular-nums;
  line-height: 1;
}
.stat-cell .label {
  margin-top: 0.5rem;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-400);
}

/* ---------- Cards ---------- */
.grid { display: grid; gap: 1.4rem; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.9rem;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: transparent; }
.card .icon {
  width: 46px; height: 46px;
  border-radius: 11px;
  background: var(--surface);
  display: flex; align-items: center; justify-content: center;
  color: var(--maroon);
  margin-bottom: 1.1rem;
}
.card .icon svg { width: 24px; height: 24px; }
.card h3 { font-size: 1.14rem; margin-bottom: 0.4em; }
.card p { font-size: 0.94rem; margin-bottom: 0; }

/* ---------- Photo gallery ---------- */
.photo-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  margin: 0;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.photo-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.photo-card img { width: 100%; height: 220px; object-fit: cover; display: block; }
.photo-card figcaption { padding: 1.3rem 1.4rem 1.5rem; }
.photo-card h3 { font-size: 1.05rem; margin-bottom: 0.3em; }
.photo-card p { font-size: 0.9rem; margin: 0; }

/* ---------- Locations ---------- */
.location-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-left: 4px solid var(--maroon);
  border-radius: var(--radius-sm);
  padding: 1.5rem 1.6rem;
}
.location-card .loc-name { font-family: 'Oswald', sans-serif; font-weight: 600; font-size: 1.14rem; margin-bottom: 0.15em; }
.location-card .loc-place { font-size: 0.86rem; font-weight: 600; color: var(--teal); text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 0.6em; }
.location-card .loc-detail { font-size: 0.93rem; color: var(--ink-600); margin: 0; }

/* ---------- About / split layouts ---------- */
.split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
.info-list { border-top: 1px solid var(--line); }
.info-row { display: flex; gap: 1.4rem; padding: 1.1rem 0; border-bottom: 1px solid var(--line); }
.info-row .info-label { flex: 0 0 150px; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; color: var(--maroon); }
.info-row .info-value { font-size: 0.98rem; color: var(--ink-600); }

/* ---------- Clients ---------- */
.client-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1rem; }
.client-chip {
  display: flex; align-items: center; gap: 0.85rem;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 1rem 1.15rem;
}
.client-chip .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--maroon); flex: none; }
.client-chip span { font-size: 0.9rem; font-weight: 600; color: var(--ink); }

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--maroon);
  color: #fff;
  border-radius: var(--radius);
  padding: clamp(2.2rem, 5vw, 3.2rem);
  display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap;
}
.cta-band h2 { color: #fff; font-size: clamp(1.5rem, 2.6vw, 2rem); margin-bottom: 0.2em; max-width: 22ch; }
.cta-band p { color: rgba(255,255,255,0.85); margin: 0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: rgba(255,255,255,0.72); padding: 3.5rem 0 1.6rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2.5rem; padding-bottom: 2.5rem; border-bottom: 1px solid rgba(255,255,255,0.12); }
.footer-brand { display: flex; align-items: center; gap: 0.6rem; margin-bottom: 1rem; }
.footer-brand img { height: 32px; }
.footer-brand span { font-family: 'Oswald', sans-serif; font-weight: 600; color: #fff; font-size: 0.98rem; }
.site-footer h4 { color: #fff; font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase; font-family: 'Inter', sans-serif; font-weight: 700; margin-bottom: 1rem; }
.site-footer a { font-size: 0.92rem; display: block; padding: 0.3rem 0; color: rgba(255,255,255,0.68); transition: color 0.15s ease; }
.site-footer a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 1.5rem; font-size: 0.82rem; color: rgba(255,255,255,0.5); flex-wrap: wrap; gap: 0.75rem; }

/* ---------- Utilities ---------- */
.tag-strip { display: flex; flex-wrap: wrap; gap: 0.6rem 1.6rem; }
.tag-strip span { font-size: 0.82rem; font-weight: 600; color: rgba(255,255,255,0.75); }
.divider-dot::before { content: '•'; margin: 0 0.5em; opacity: 0.5; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .main-nav { position: fixed; inset: 76px 0 0 0; background: #fff; flex-direction: column; align-items: flex-start;
    padding: 1.5rem clamp(1.25rem, 4vw, 2.5rem); gap: 0.2rem; transform: translateX(100%); transition: transform 0.25s ease;
    overflow-y: auto; }
  .main-nav.open { transform: translateX(0); }
  .main-nav a { width: 100%; padding: 0.85rem 0; border-bottom: 1px solid var(--line); }
  .main-nav a.active { border-bottom-color: var(--maroon); }
  .nav-cta { margin-top: 0.75rem; text-align: center; justify-content: center; }
  .nav-toggle { display: inline-flex; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-2 { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 620px) {
  .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .stat-strip { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .cta-band { flex-direction: column; align-items: flex-start; }
}
