/* ============================================================
   Krish Logistics LLC — Stylesheet
   Palette (from the logo): white, dark grey, red
   ============================================================ */

:root {
  --red: #c0392b;
  --red-dark: #9c2c20;
  --charcoal: #2e3338;
  --charcoal-800: #23272b;
  --grey: #5b6470;
  --line: #e4e7eb;
  --bg: #ffffff;
  --bg-soft: #f5f6f8;
  --white: #ffffff;
  --radius: 12px;
  --shadow: 0 16px 38px -18px rgba(46, 51, 56, 0.35);
  --container: 1140px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  color: var(--charcoal);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3 { color: var(--charcoal); line-height: 1.15; }

.eyebrow {
  font-family: "Barlow Condensed", sans-serif;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 700;
  color: var(--red);
  font-size: 0.95rem;
  margin-bottom: 12px;
}

/* ---------- Brand / logo ---------- */
.brand { display: inline-flex; align-items: center; text-decoration: none; }
.brand-logo { height: 54px; width: auto; display: block; }
/* Only shown if logo-mark.png fails to load - the inline onerror flips it to flex. */
.brand-fallback { display: none; flex-direction: column; line-height: 1; }
.brand-krish {
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 700;
  font-size: 1.6rem;
  letter-spacing: 1px;
  color: var(--red);
}
.brand-sub {
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 2px;
  color: var(--charcoal);
}
.brand-krish.light { color: var(--red); }
.brand-sub.light { color: #fff; }

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #fff;
  border-top: 4px solid var(--red);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 74px;
  position: relative;
}
/* Two side navs each take equal space, so the logo lands dead-center. */
.nav-side { display: flex; align-items: center; gap: 48px; flex: 1 1 0; }
.nav-left { justify-content: space-evenly; }
.nav-right { justify-content: space-evenly; }
.brand { flex: 0 0 auto; }
/* Page links styled as raised red push-buttons */
.nav-side a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 112px;              /* all buttons share this width */
  text-align: center;
  color: #fff;
  background: var(--red);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 9px 20px;
  border-radius: 8px;
  white-space: nowrap;
  box-shadow: 0 4px 0 var(--red-dark);   /* the darker "ledge" it sits on */
  transition: transform 0.08s ease, box-shadow 0.08s ease, background 0.15s ease;
}
/* Hover: dip down halfway */
.nav-side a:hover {
  background: var(--red-dark);
  transform: translateY(2px);
  box-shadow: 0 2px 0 var(--red-dark);
}
/* Click: pressed all the way down (all buttons look identical otherwise) */
.nav-side a:active {
  transform: translateY(4px);
  box-shadow: 0 0 0 var(--red-dark);
}

/* Mobile dropdown menu (hidden on desktop) */
.mobile-menu { display: none; flex-direction: column; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span {
  width: 26px; height: 3px;
  background: var(--charcoal);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.2s ease;
}

/* ---------- Hero (looping video) ---------- */
.hero {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--charcoal);
}
.hero-slides {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
}
.hero-slide.is-active { opacity: 1; }
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  /* Neutral dark gradient keeps the headline readable over any photo,
     with just a touch of brand red on one edge. */
  background: linear-gradient(120deg, rgba(23, 27, 31, 0.72), rgba(35, 39, 43, 0.45));
}
.hero-content {
  position: relative;
  z-index: 2;
  color: #fff;
  padding: 90px 24px;
}
.hero-content h1 {
  color: #fff;
  font-size: clamp(2.4rem, 6vw, 4.4rem);
  font-weight: 800;
  letter-spacing: -1px;
}
.hero-slogan {
  margin-top: 16px;
  font-size: clamp(1.1rem, 2.4vw, 1.5rem);
  color: #fff;
  font-weight: 500;
  border-left: 4px solid var(--red);
  padding-left: 16px;
}

/* ---------- Intro ---------- */
.intro { padding: 78px 0; }
.intro-inner { max-width: 820px; margin: 0 auto; text-align: center; }
.intro-text { font-size: 1.25rem; color: var(--grey); }

/* ---------- Contact strip ---------- */
.contact-strip { background: var(--red); color: #fff; padding: 46px 0; }
.contact-strip-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.cs-item { display: flex; flex-direction: column; gap: 6px; }
.cs-label {
  font-family: "Barlow Condensed", sans-serif;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 700;
  font-size: 0.9rem;
}
.cs-value { color: #fff; text-decoration: none; font-size: 1.05rem; font-weight: 500; }
a.cs-value:hover { color: var(--charcoal); }

/* ---------- Inner page heads ---------- */
.page-head {
  background: var(--bg-soft);
  border-bottom: 1px solid var(--line);
  padding: 64px 0;
}
.page-head h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  display: inline-block;
  padding-bottom: 12px;
  border-bottom: 4px solid var(--red);
}
.page-head-sub { color: var(--grey); margin-top: 10px; font-size: 1.1rem; }

/* Inner-page title banner with rotating background images (same size/shape as before) */
.page-head--slides { position: relative; overflow: hidden; border-bottom: 0; }
.page-head-slides { position: absolute; inset: 0; z-index: 0; }
.page-head-slide {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 0.8s ease;
}
.page-head-slide.is-active { opacity: 1; }
/* Dark overlay keeps the images subtle and the white text sharp */
.page-head-overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(120deg, rgba(35, 39, 43, 0.84), rgba(46, 51, 56, 0.64));
}
.page-head--slides .container { position: relative; z-index: 2; }
.page-head--slides h1 { color: #fff; }
.page-head--slides .page-head-sub { color: rgba(255, 255, 255, 0.92); }

.section { padding: 72px 0; }
.lead { font-size: 1.2rem; color: var(--grey); }
.text-link { color: var(--red); font-weight: 600; text-decoration: none; }
.text-link:hover { text-decoration: underline; }

/* ---------- Contact page ---------- */
.contact-page {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 40px;
  align-items: start;
}
.contact-block { margin-bottom: 26px; }
.contact-block h3 {
  font-family: "Barlow Condensed", sans-serif;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--red);
  font-size: 1.05rem;
  margin-bottom: 6px;
}
.contact-block a { color: var(--charcoal); text-decoration: none; font-weight: 600; }
.contact-block a:hover { color: var(--red); }
.contact-map iframe {
  width: 100%;
  min-height: 340px;
  border: 0;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/* ---------- Contact page ---------- */
.contact-intro { text-align: center; max-width: 720px; margin: 0 auto 40px; font-size: 1.15rem; color: var(--grey); }

/* ---------- Footer ---------- */
.site-footer { background: var(--charcoal-800); color: rgba(255, 255, 255, 0.82); padding-top: 50px; border-top: 4px solid var(--red); }
.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
  padding-bottom: 34px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.footer-brand { max-width: 300px; }
.footer-brand p { margin-top: 12px; font-size: 0.95rem; }
.footer-nav { display: flex; flex-direction: column; gap: 10px; }
.footer-nav a { color: rgba(255, 255, 255, 0.82); text-decoration: none; font-size: 0.95rem; }
.footer-nav a:hover { color: var(--red); }
.footer-contact p { font-size: 0.95rem; margin-bottom: 6px; }
.footer-contact a { color: rgba(255, 255, 255, 0.82); text-decoration: none; }
.footer-contact a:hover { color: var(--red); }
.footer-bottom { padding: 20px 24px 30px; font-size: 0.86rem; color: rgba(255, 255, 255, 0.6); }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .contact-page { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  /* Hide the split side-navs; show a centered logo + hamburger instead. */
  .nav-side { display: none; }
  .header-inner { justify-content: center; }
  .nav-toggle {
    display: flex;
    position: absolute;
    right: 0; top: 50%;
    transform: translateY(-50%);
  }
  .mobile-menu.open { display: flex; }
  .mobile-menu {
    background: #fff;
    gap: 0;
    padding: 4px 24px 12px;
    border-top: 1px solid var(--line);
  }
  .mobile-menu a {
    color: var(--charcoal);
    text-decoration: none;
    font-weight: 600;
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
  }
  .mobile-menu a.is-active { color: var(--red); }
  .nav-toggle.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .nav-toggle.open span:nth-child(2) { opacity: 0; }
  .nav-toggle.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
}
@media (max-width: 560px) {
  .contact-strip-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   Home page — expanded sections
   ============================================================ */

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 28px; border-radius: 8px; font-weight: 600; font-size: 0.98rem;
  text-decoration: none; border: 2px solid transparent; cursor: pointer;
  transition: transform 0.15s ease, background 0.2s ease, box-shadow 0.2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-accent { background: var(--red); color: #fff; box-shadow: 0 10px 22px -12px rgba(192, 57, 43, 0.8); }
.btn-accent:hover { background: var(--red-dark); }

/* Clickable phone/email as whitish-grey push-buttons with a small brand icon */
.contact-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  align-self: flex-start;
  color: var(--charcoal) !important;
  background: #eceff1;
  border: 1px solid #dfe3e6;
  padding: 9px 18px;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 4px 0 #c7ccd1;
  transition: transform 0.08s ease, box-shadow 0.08s ease, background 0.15s ease;
}
.contact-btn:hover { background: #e3e7ea; transform: translateY(2px); box-shadow: 0 2px 0 #c7ccd1; }
.contact-btn:active { transform: translateY(4px); box-shadow: 0 0 0 #c7ccd1; }
.contact-btn svg { width: 16px; height: 16px; flex: 0 0 auto; display: block; }

/* Section headings */
.section-head { text-align: center; max-width: 680px; margin: 0 auto 44px; }
.section-head h2 { font-size: clamp(1.7rem, 4vw, 2.5rem); }
.section-head.light h2 { color: #fff; }

.intro-lead { margin-top: 20px; font-size: 1.05rem; color: var(--grey); }

/* Why choose us */
.why { background: var(--bg-soft); }
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.services-grid { display: grid; gap: 22px; margin-bottom: 22px; }
.services-grid:last-child { margin-bottom: 0; }
.services-grid.grid-3 { grid-template-columns: repeat(3, 1fr); }
.services-grid.grid-4 { grid-template-columns: repeat(4, 1fr); }
.svc-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.svc-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.svc-card-img { height: 170px; background-size: cover; background-position: center; border-bottom: 3px solid var(--red); }
.svc-card-body { padding: 20px 20px 24px; }
.svc-card-body h3 { font-size: 1.08rem; margin-bottom: 8px; }
.svc-card-body p { color: var(--grey); font-size: 0.93rem; }
@media (max-width: 860px) {
  .services-grid.grid-3, .services-grid.grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .services-grid.grid-3, .services-grid.grid-4 { grid-template-columns: 1fr; }
}
.feature-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 24px; border-top: 4px solid var(--red);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.feature-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.feature-icon {
  width: 56px; height: 56px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--red); color: #fff; margin-bottom: 16px;
}
.feature-icon svg { width: 28px; height: 28px; }
.feature-card h3 { font-size: 1.15rem; margin-bottom: 8px; }
.feature-card p { color: var(--grey); font-size: 0.96rem; }

/* Commitment */
.commit-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 50px; align-items: center; }
.commit-photo {
  aspect-ratio: 4 / 3; border-radius: 16px; background-size: cover;
  background-position: center; box-shadow: var(--shadow);
}
.commit-text h2 { font-size: clamp(1.7rem, 4vw, 2.4rem); margin-bottom: 16px; }
.commit-text p { color: var(--grey); margin-bottom: 18px; }
.commit-list { list-style: none; margin: 0 0 26px; padding: 0; }
.commit-list li { position: relative; padding-left: 30px; margin-bottom: 12px; font-weight: 500; color: var(--charcoal); }
.commit-list li::before { content: "✓"; position: absolute; left: 0; color: var(--red); font-weight: 800; }

/* Section separator (hairline rule with a red diamond accent) */
.section-sep {
  position: relative;
  height: 1px;
  background: var(--line);
}
.section-sep::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 9px;
  height: 9px;
  margin: -5px 0 0 -5px;
  transform: rotate(45deg);
  background: var(--red);
  box-shadow: 0 0 0 8px var(--bg);
}

/* Leadership */
.owner-card {
  display: flex;
  flex-direction: row-reverse;
  gap: 40px;
  align-items: stretch;
  max-width: 920px;
  margin: 0 auto;
}
/* Full portrait photo defines the height; text box matches it */
.owner-photo { flex: 0 0 auto; }
.owner-photo img {
  display: block;
  height: 440px;
  width: auto;
  border-radius: 18px;
  box-shadow: var(--shadow);
}
.owner-text {
  flex: 1;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 44px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.owner-text h2 { font-size: clamp(2rem, 4vw, 2.8rem); margin-bottom: 28px; }
.owner-line { font-size: clamp(1.2rem, 2vw, 1.55rem); color: var(--charcoal); margin-bottom: 16px; }
.owner-label { color: var(--red); font-weight: 700; }
.owner-tagline {
  margin-top: 22px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  font-style: italic;
  color: var(--grey);
  line-height: 1.5;
}

/* Collapsible full bio on the owner card */
.owner-bio { margin-top: 20px; }
.owner-bio summary {
  list-style: none;              /* hide default triangle */
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  color: var(--red);
  padding: 10px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  transition: background .15s ease, box-shadow .15s ease;
  user-select: none;
}
.owner-bio summary::-webkit-details-marker { display: none; }
.owner-bio summary:hover { background: var(--bg-soft); box-shadow: var(--shadow); }
.owner-bio-arrow {
  width: 10px; height: 10px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);      /* points down */
  transition: transform .2s ease;
  margin-top: -3px;
}
.owner-bio[open] summary { margin-bottom: 16px; }
.owner-bio[open] .owner-bio-arrow { transform: rotate(-135deg); margin-top: 3px; } /* points up */
.owner-bio-body p {
  color: var(--grey);
  line-height: 1.7;
  margin-bottom: 14px;
  font-size: 1.02rem;
}
.owner-bio-body p:last-child { margin-bottom: 0; }

@media (max-width: 760px) {
  .owner-card { flex-direction: column; align-items: center; }
  .owner-photo img { height: 360px; }
  .owner-text { width: 100%; }
}

/* CTA band */
.cta-band { background: var(--red); color: #fff; padding: 64px 0; }
.cta-inner { text-align: center; }
.cta-band h2 { color: #fff; font-size: clamp(1.6rem, 4vw, 2.4rem); margin-bottom: 10px; }
.cta-band p { color: rgba(255, 255, 255, 0.9); margin-bottom: 24px; }
.cta-band .btn-accent { background: #fff; color: var(--red); box-shadow: none; }
.cta-band .btn-accent:hover { background: var(--charcoal); color: #fff; }

@media (max-width: 960px) {
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .commit-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .why-grid { grid-template-columns: 1fr; }
  .owner-card { flex-direction: column; text-align: center; }
}

/* About page — alternating photo + text rows */
.about-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
  margin-bottom: 60px;
}
.about-row:last-child { margin-bottom: 0; }
.about-photo {
  aspect-ratio: 4 / 3;
  border-radius: 16px;
  background-size: cover;
  background-position: center;
  box-shadow: var(--shadow);
}
.about-copy h2 { font-size: clamp(1.6rem, 3.5vw, 2.2rem); margin-bottom: 14px; }
.about-copy p { color: var(--grey); margin-bottom: 14px; }

/* About page — Meet the Founder (full portrait + full bio) */
.founder { display: flex; gap: 44px; align-items: flex-start; max-width: 980px; margin: 0 auto; }
.founder-photo { flex: 0 0 auto; }
.founder-photo img { display: block; height: 460px; width: auto; border-radius: 18px; box-shadow: var(--shadow); }
.founder-copy { flex: 1; }
.founder-copy p { color: var(--grey); margin-bottom: 16px; line-height: 1.7; }
.founder-tagline { margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--line); font-style: italic; font-weight: 600; color: var(--charcoal) !important; }
@media (max-width: 860px) {
  .founder { flex-direction: column; align-items: center; }
  .founder-photo img { height: 380px; }
}
/* Reverse row: put the photo on the right without changing source order */
.about-row.reverse .about-copy { order: 1; }
.about-row.reverse .about-photo { order: 2; }

@media (max-width: 860px) {
  .about-row { grid-template-columns: 1fr; gap: 28px; }
  .about-row.reverse .about-copy { order: 2; }
  .about-row.reverse .about-photo { order: 1; }
}