/* ============================================================
   ZuyderChem Industries – Stylesheet
   Primary brand color: #1d3461 (deep navy, from logo)
   Accent teal:         #2a9d8f
   Accent orange:       #d4775a
   ============================================================ */

/* ----- RESET & BASE ----- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy:        #1d3461;
  --navy-dark:   #122040;
  --navy-light:  #2a4a82;
  --teal:        #2a9d8f;
  --orange:      #d4775a;
  --gray-100:    #f4f5f7;
  --gray-200:    #e8eaed;
  --gray-400:    #9aa3af;
  --gray-600:    #4e5a6a;
  --gray-800:    #2b3340;
  --white:       #ffffff;
  --text-body:   #2b3340;
  --text-light:  #5a6474;
  --font:        'Georgia', 'Times New Roman', serif;
  --font-sans:   'Arial', 'Helvetica Neue', sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text-body);
  background: var(--white);
  min-width: 320px;
}

img { display: block; max-width: 100%; height: auto; }
a { color: var(--navy); text-decoration: none; }
a:hover { text-decoration: underline; color: var(--teal); }
address { font-style: normal; }

/* ----- CONTAINER ----- */
.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ----- HEADER ----- */
#site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: var(--navy);
  border-bottom: 3px solid var(--teal);
  box-shadow: 0 2px 8px rgba(0,0,0,0.35);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo-link { display: flex; align-items: center; flex-shrink: 0; }

.site-logo {
  height: 48px;
  width: auto;
  filter: brightness(0) invert(1);
}

#main-nav ul {
  list-style: none;
  display: flex;
  gap: 0;
}

#main-nav ul li a {
  display: block;
  padding: 8px 18px;
  font-family: var(--font-sans);
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  border-bottom: 2px solid transparent;
  transition: color 0.15s, border-color 0.15s;
}

#main-nav ul li a:hover {
  color: var(--white);
  border-bottom-color: var(--teal);
  text-decoration: none;
}

/* hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--white);
  transition: transform 0.2s, opacity 0.2s;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ----- HERO ----- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background-image: url('/public/images/pexels-photo-247763.jpg');
  background-size: cover;
  background-position: center 40%;
  background-repeat: no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(18, 32, 64, 0.72) 0%,
    rgba(18, 32, 64, 0.60) 60%,
    rgba(18, 32, 64, 0.80) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 760px;
  margin: 0 auto;
  padding: 120px 24px 80px;
  text-align: center;
  color: var(--white);
}

.hero-pre {
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.70);
  margin-bottom: 20px;
}

.hero-content h1 {
  font-family: var(--font);
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin-bottom: 20px;
  text-shadow: 0 2px 12px rgba(0,0,0,0.4);
}

.hero-tagline {
  font-size: clamp(1rem, 2vw, 1.25rem);
  line-height: 1.5;
  color: rgba(255,255,255,0.88);
  margin-bottom: 40px;
  letter-spacing: 0.02em;
}

.hero-cta {
  display: inline-block;
  padding: 12px 36px;
  background: transparent;
  border: 2px solid var(--white);
  color: var(--white);
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}
.hero-cta:hover {
  background: var(--white);
  color: var(--navy);
  text-decoration: none;
}

/* ----- SECTIONS ----- */
.section { padding: 88px 0; }
.section-alt { background: var(--gray-100); }

.section-label {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal);
  border-left: 3px solid var(--teal);
  padding-left: 10px;
  margin-bottom: 16px;
}

.section h2 {
  font-family: var(--font);
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: 24px;
}

.section-intro {
  font-size: 1.05rem;
  color: var(--text-light);
  max-width: 680px;
  margin-bottom: 56px;
  line-height: 1.7;
}

/* ----- TWO-COLUMN (ABOUT) ----- */
.two-col {
  display: flex;
  gap: 56px;
  align-items: flex-start;
}

.col-text { flex: 1 1 55%; }
.col-text p { margin-bottom: 16px; color: var(--text-body); line-height: 1.75; }

.focus-list {
  list-style: none;
  margin-top: 24px;
  border-top: 1px solid var(--gray-200);
  padding-top: 24px;
}
.focus-list li {
  padding: 8px 0 8px 18px;
  border-bottom: 1px solid var(--gray-200);
  font-size: 0.94rem;
  color: var(--text-body);
  position: relative;
}
.focus-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  background: var(--teal);
}

.col-img { flex: 1 1 45%; }
.col-img img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-top: 4px solid var(--navy);
}

/* ----- STATS BANNER ----- */
.stats-banner {
  background: var(--navy-dark);
  padding: 40px 0;
}

.stats-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}

.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 16px 48px;
  text-align: center;
}

.stat-num {
  font-family: var(--font);
  font-size: 2rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
  margin-bottom: 6px;
}

.stat-lbl {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.60);
}

.stat-divider {
  width: 1px;
  height: 48px;
  background: rgba(255,255,255,0.18);
}

/* ----- SERVICES ----- */
.services-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.service-item {
  display: flex;
  gap: 0;
  align-items: stretch;
  border-top: 1px solid var(--gray-200);
}
.service-item:last-child { border-bottom: 1px solid var(--gray-200); }

.service-item.reverse { flex-direction: row-reverse; }

.service-img {
  flex: 0 0 420px;
}
.service-img img {
  width: 100%;
  height: 100%;
  min-height: 300px;
  object-fit: cover;
  display: block;
}

.service-body {
  flex: 1;
  padding: 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.service-body h3 {
  font-family: var(--font);
  font-size: 1.4rem;
  color: var(--navy);
  margin-bottom: 16px;
  padding-bottom: 14px;
  border-bottom: 2px solid var(--teal);
  display: inline-block;
}

.service-body p {
  color: var(--text-body);
  line-height: 1.75;
  margin-bottom: 20px;
}

.service-body ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.service-body ul li {
  font-size: 0.9rem;
  color: var(--text-light);
  padding-left: 16px;
  position: relative;
}
.service-body ul li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--navy-light);
}

/* ----- FACILITIES ----- */
.facilities-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 48px;
}

.facility-block { position: relative; overflow: hidden; }
.facility-block img {
  width: 100%;
  height: 340px;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}
.facility-block:hover img { transform: scale(1.03); }

.facility-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(18,32,64,0.92) 0%, rgba(18,32,64,0.60) 70%, transparent 100%);
  padding: 40px 24px 24px;
  color: var(--white);
}

.facility-caption h4 {
  font-family: var(--font);
  font-size: 1.05rem;
  margin-bottom: 6px;
  color: var(--white);
}

.facility-caption p {
  font-size: 0.82rem;
  line-height: 1.5;
  color: rgba(255,255,255,0.78);
}

/* ----- COMPLIANCE ----- */
.compliance-section {
  background: var(--navy);
  padding: 64px 0;
  color: var(--white);
  text-align: center;
}

.compliance-section h3 {
  font-family: var(--font);
  font-size: 1.6rem;
  color: var(--white);
  margin-bottom: 16px;
}

.compliance-section > .container > p {
  color: rgba(255,255,255,0.75);
  max-width: 680px;
  margin: 0 auto 32px;
  line-height: 1.7;
}

.compliance-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.compliance-tags span {
  display: inline-block;
  padding: 7px 20px;
  border: 1px solid rgba(255,255,255,0.30);
  font-size: 12.5px;
  letter-spacing: 0.05em;
  color: rgba(255,255,255,0.85);
}

/* ----- CONTACT ----- */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid var(--gray-200);
  margin-top: 16px;
}

.contact-block {
  padding: 40px 36px;
  border-right: 1px solid var(--gray-200);
}
.contact-block:last-child { border-right: none; }

.contact-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--navy);
}

.contact-block address,
.contact-block p {
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--text-body);
  margin-bottom: 14px;
}

.contact-block strong {
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gray-600);
  display: block;
  margin-bottom: 4px;
}

.contact-block a {
  color: var(--navy);
  font-weight: 600;
}
.contact-block a:hover { color: var(--teal); }

.note {
  font-size: 0.85rem;
  color: var(--text-light);
}

/* ----- FOOTER ----- */
#site-footer {
  background: var(--navy-dark);
  color: rgba(255,255,255,0.75);
}

.footer-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 48px;
  padding: 56px 24px 40px;
}

.footer-brand p {
  font-size: 0.88rem;
  line-height: 1.6;
  margin-top: 14px;
  color: rgba(255,255,255,0.60);
  max-width: 240px;
}

.footer-logo {
  height: 44px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.9;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-align: right;
}

.footer-nav a {
  font-size: 13px;
  color: rgba(255,255,255,0.65);
  text-decoration: none;
  letter-spacing: 0.04em;
}
.footer-nav a:hover {
  color: var(--white);
  text-decoration: underline;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding: 18px 24px;
}

.footer-bottom p {
  font-size: 12px;
  color: rgba(255,255,255,0.40);
  text-align: center;
  letter-spacing: 0.03em;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 1024px) {
  .facilities-grid { grid-template-columns: repeat(2, 1fr); }
  .service-img { flex: 0 0 340px; }
}

@media (max-width: 860px) {
  /* nav */
  .nav-toggle { display: flex; }

  #main-nav {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--navy-dark);
    border-top: 1px solid rgba(255,255,255,0.12);
    border-bottom: 3px solid var(--teal);
    padding: 8px 0 12px;
  }
  #main-nav.open { display: block; }
  #main-nav ul { flex-direction: column; gap: 0; }
  #main-nav ul li a { padding: 12px 24px; border-bottom: none; }

  /* hero */
  .hero-content { padding: 140px 24px 64px; }

  /* about */
  .two-col { flex-direction: column; gap: 32px; }
  .col-img img { height: 280px; }

  /* stats */
  .stats-inner { gap: 0; }
  .stat { padding: 16px 24px; }
  .stat-divider { display: none; }

  /* services */
  .service-item,
  .service-item.reverse { flex-direction: column; }
  .service-img { flex: none; }
  .service-img img { height: 240px; }
  .service-body { padding: 32px 24px; }

  /* contact */
  .contact-grid { grid-template-columns: 1fr; }
  .contact-block { border-right: none; border-bottom: 1px solid var(--gray-200); }
  .contact-block:last-child { border-bottom: none; }

  /* footer */
  .footer-top { flex-direction: column; gap: 32px; align-items: flex-start; }
  .footer-nav { text-align: left; }
}

@media (max-width: 600px) {
  .section { padding: 56px 0; }
  .facilities-grid { grid-template-columns: 1fr; }
  .facility-block img { height: 280px; }
  .stat { padding: 12px 20px; }
  .contact-block { padding: 28px 20px; }
}
