/* =========================================================
   Grentex & Co — main stylesheet
   ========================================================= */

:root {
  --navy: #0a2a5e;
  --navy-dark: #081f47;
  --green: #8dc63f;
  --green-dark: #6ea82c;
  --text: #1c2733;
  --text-light: #4a5568;
  --blue-link: #1a56a0;
  --check-blue: #1b6fc4;
  --tan: #d9c8a3;
  --tan-dark: #c7b287;
  --footer-bg: #e9ddc6;
  --section-alt: #eef3f7;
  --border: #e2e5e9;
  --white: #ffffff;
  --radius: 6px;
  --max-width: 1180px;
  --header-h: 106px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

ul { list-style: none; margin: 0; padding: 0; }

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

h1, h2, h3, h4 {
  font-family: Georgia, "Times New Roman", serif;
  color: var(--navy);
  font-weight: 700;
  margin: 0 0 14px;
}

h1 { font-size: 28px;
    font-family: "Lora", serif !important;
    font-weight: 700 !important; 
}
h2 { font-size: clamp(1.3rem, 2.4vw, 1.55rem); }
h3 { font-size: 1.15rem; }

p { margin: 0 0 16px; color: var(--text); }

.btn {
  display: inline-block;
  background: var(--tan);
  color: var(--navy);
  font-weight: 700;
  padding: 14px 26px;
  border-radius: 3px;
  border: none;
  cursor: pointer;
  font-size: 0.95rem;
  letter-spacing: 0.3px;
  transition: background 0.2s ease, transform 0.15s ease;
  background-color: #e8dcc8;
  color: #094a9e;
  font-size: 18px;
  font-weight: 600;
  text-transform: uppercase;
}

.btn:hover { background: var(--tan-dark); transform: translateY(-1px); }

.btn-outline {
  background: transparent;
  border: 2px solid var(--navy);
  color: var(--navy);
}

.btn-outline:hover { background: var(--navy); color: var(--white); }

/* =========================================================
   Top bar
   ========================================================= */
.topbar {
  background: var(--navy);
  color: var(--white);
  font-size: 0.9rem;
}

.topbar-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 10px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.topbar-phone {
  display: flex;
  align-items: center;
  gap: 8px;
}

.topbar-social {
  display: flex;
  gap: 14px;
}

.topbar-social a {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
}

.topbar-social a:hover { background: rgba(255,255,255,0.15); }

/* =========================================================
   Header / Nav
   ========================================================= */
.site-header {
  background: var(--white);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 1px 0 var(--border);
}

.nav-inner {
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-left: 10px;
  margin-right: 10px;
  
}

.logo {
  
  color: var(--white);
  font-family: Georgia, serif;
  font-weight: 800;
  font-style: italic;
  font-size: 1.4rem;
  padding: 8px 18px;
  border-radius: 4px;
  letter-spacing: 0.5px;
}

.nav-links {
  display: flex;
  gap: 26px;
  align-items: center;
  flex-wrap: wrap;
}

.nav-links a {
  color: #07377a;
  font-size: 16px;
  font-weight: 400 !important;
  white-space: nowrap;
  font-family: "Open Sans", sans-serif !important;
  font-style: normal !important;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--navy);
  
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}

.hamburger span {
  width: 26px;
  height: 3px;
  background: var(--navy);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.hamburger.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* =========================================================
   Page banner (dark navy title strip used on inner pages)
   ========================================================= */
.page-banner {
  background: #213959;
  color: var(--white);
  padding: 34px 0;
}

.page-banner h1 { color: var(--white); margin: 0; }

/* =========================================================
   Hero (home page)
   ========================================================= */
.hero {
  position: relative;
  background: url("../images/Hero-Banner_-1920x800-px-_-JPG-_-_300-KB_-wool-yarn-and-scoured-wool.jpg") center/cover no-repeat;
  color: var(--white);
  padding: 90px 0;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(6,20,46,0.88) 0%, rgba(6,20,46,0.55) 60%, rgba(6,20,46,0.25) 100%);
}

.hero-inner {
  position: relative;
  /*max-width: 620px;*/
}

.hero h1 { color: var(--white); }

.hero p { color: #dbe3ee; 
        font-size: 1.02rem;
        font-size: 1.05rem;
        font-weight: normal;
        margin-bottom: 3rem;
        width: 70%; }

/* =========================================================
   Generic sections
   ========================================================= */
.section {
  padding: 56px 0;
}

.section-alt {
  background: var(--section-alt);
}

.section-label {
  color: var(--navy);
  border-left: 4px solid var(--navy);
  padding-left: 10px;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 6px;
  font-family: "Lora", serif !important;
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.two-col img {
  border-radius: var(--radius);
  width: 100%;
  height: 400px;
  object-fit: cover;
}



/* Card grid (products / industries) */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  margin-top: 30px;
}

.card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 1px 4px rgba(0,0,0,0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(10,42,94,0.12);
}

.card img { width: 100%; height: 350px; object-fit: cover; }

.card-body { padding: 18px 20px 22px; }

.card-body h3 { margin-bottom: 6px; }

.card-link {
  color: var(--blue-link);
  font-weight: 600;
  font-size: 0.9rem;
  display: inline-block;
  margin-top: 8px;
}

.card-link:hover { text-decoration: underline; }

/* Blog / resource cards with photo-text tiles */
.blog-card { background: transparent; box-shadow: none; }

.blog-tile {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius);
  object-fit: cover;
}

.center-btn { text-align: center; margin-top: 34px; }

/* =========================================================
   Contact form
   ========================================================= */
.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px 28px;
  margin-top: 24px;
}

.form-field { display: flex; flex-direction: column; gap: 8px; }

.form-field.full { grid-column: 1 / -1; }

.form-field label { font-weight: 600; font-size: 0.95rem; color: var(--text); }

.form-field input,
.form-field textarea {
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 4px;
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--text);
}

.form-field input:focus,
.form-field textarea:focus {
  outline: 2px solid var(--check-blue);
  outline-offset: 1px;
}

.form-field textarea { resize: vertical; min-height: 120px; }

.contact-info-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.contact-info-list li {
  display: flex;
  gap: 14px;
  margin-bottom: 20px;
}

.contact-info-list .icon-circle {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--check-blue);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* =========================================================
   Footer
   ========================================================= */
.site-footer {
  background: var(--footer-bg);
  padding: 46px 0 20px;
  margin-top: 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 0.8fr 0.8fr;
  gap: 30px;
}

.footer-logo {
  color: var(--white);
  display: inline-block;
  font-family: Georgia, serif;
  font-weight: 800;
  font-style: italic;
  font-size: 1.3rem;
  /*padding: 8px 18px;*/
  border-radius: 4px;
  margin-bottom: 14px;
}

.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 6px;
}

.footer-social a {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #1c1c1c;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
}

.site-footer h4 {
  color: #000000;
  font-family: Georgia, serif;
  margin-bottom: 12px;
  font-size: 1.15rem;
  color: var(--contrast);
  font-size: 21px;
  font-weight: 600;
  padding-bottom: 10px;

}

.site-footer p, .site-footer li { color: #000000; font-size: 0.95rem; }

.site-footer a:hover { text-decoration: underline; }

.footer-links li { margin-bottom: 8px; }

.footer-bottom {
  border-top: 1px solid rgba(10,42,94,0.25);
  margin-top: 30px;
  padding-top: 16px;
  font-size: 18px;
  color: #08090a;
}

/* =========================================================
   Careers page specifics
   ========================================================= */
.openings-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 20px;
}

.openings-grid h4 { color: var(--navy); font-family: Georgia, serif; margin-bottom: 14px; }

/* =========================================================
   Our story page long-form sections
   ========================================================= */
.story-body p { color: #24365e; }

.story-list li { margin-bottom: 6px; color: #24365e; }

/* =========================================================
   Markets served page rows
   ========================================================= */
.market-row {
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 46px;
  align-items: center;
  margin-bottom: 56px;
}

.market-row img {
  border-radius: var(--radius);
  width: 100%;
  height: 320px;
  object-fit: cover;
}

/*.market-row:nth-child(even) { direction: rtl; }*/
.market-row:nth-child(even) > * { direction: ltr; }

/* =========================================================
   Sustainability page
   ========================================================= */
.cert-list li { margin-bottom: 4px; color: var(--blue-link); }

/* =========================================================
   Utility
   ========================================================= */
.mt-lg { margin-top: 34px; }
.text-center { text-align: center; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 900px) {
  .two-col,
  .contact-info-row { grid-template-columns: 1fr; }
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .market-row { grid-template-columns: 1fr; }
  .market-row:nth-child(even) { direction: ltr; }
  .openings-grid { grid-template-columns: 1fr; }
}

@media (max-width: 700px) {
  .topbar-inner { padding: 8px 16px; }
  .nav-links {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 24px;
    gap: 16px;
    transform: translateY(-120%);
    opacity: 0;
    transition: transform 0.25s ease, opacity 0.25s ease;
    box-shadow: 0 8px 16px rgba(0,0,0,0.08);
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
  }
  .nav-links.open { transform: translateY(0); opacity: 1; }
  .hamburger { display: flex; }
  .card-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .contact-form { grid-template-columns: 1fr; }
  .hero { padding: 60px 0; }
  .section { padding: 40px 0; }
}





/* =========================
   ABOUT US SECTION
========================= */

.about-section {
  width: 100%;
  background: #ffffff;
  padding: 48px 0 30px;
}

.about-container {
  width: 100%;
  max-width: 1215px;
  margin: 0 auto;
  padding: 0 15px;

  display: grid;
  grid-template-columns: 1.6fr 1fr;
  column-gap: 70px;
  align-items: center;
}

/* =========================
   LEFT CONTENT
========================= */

.about-content h2 {
  position: relative;

  margin: 0 0 10px;
  padding-left: 15px;

  color: #002f67;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 27px;
  font-weight: 700;
  line-height: 1.2;
}

.about-content h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1px;

  width: 4px;
  height: 27px;

  background: #1475dc;
}

.about-subtitle {
  margin: 0 0 20px;

  color: #071c36;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 20px;
  line-height: 1.5;
}

/* =========================
   CHECK LIST
========================= */

.check-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.check-list li {
  display: flex;
  align-items: center;
  gap: 20px;

  margin-bottom: 17px;

  color: #000000;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 17px;
  line-height: 1.5;
}

/* Blue circular check icon */
.check-icon {
  flex: 0 0 31px;

  width: 31px;
  height: 31px;

  display: flex;
  align-items: center;
  justify-content: center;

  border: 3px solid #1475dc;
  border-radius: 50%;

  color: #1475dc;
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
}

/* =========================
   RIGHT IMAGE
========================= */

.about-image {
  width: 100%;
  max-width: 395px;
  justify-self: end;
}

.about-image img {
  display: block;

  width: 100%;
  height: 395px;

  object-fit: cover;

  border-radius: 2px;
}


/* =========================
   TABLET
========================= */

@media (max-width: 991px) {

  .about-section {
    padding: 45px 0;
  }

  .about-container {
    grid-template-columns: 1fr 1fr;
    column-gap: 40px;
  }

  .about-content h2 {
    font-size: 25px;
  }

  .about-subtitle {
    font-size: 18px;
  }

  .check-list li {
    gap: 14px;
    font-size: 15px;
  }

  .about-image {
    max-width: 100%;
  }

  .about-image img {
    height: 350px;
  }
}


/* =========================
   MOBILE
========================= */

@media (max-width: 767px) {

  .about-section {
    padding: 40px 0;
  }

  .about-container {
    display: flex;
    flex-direction: column;

    gap: 30px;

    padding: 0 20px;
  }

  .about-content {
    width: 100%;
  }

  .about-content h2 {
    font-size: 25px;
    padding-left: 13px;
  }

  .about-content h2::before {
    width: 4px;
    height: 25px;
  }

  .about-subtitle {
    font-size: 17px;
    margin-bottom: 22px;
  }

  .check-list li {
    align-items: flex-start;

    gap: 12px;
    margin-bottom: 15px;

    font-size: 15px;
  }

  .check-icon {
    flex: 0 0 28px;

    width: 28px;
    height: 28px;

    border-width: 2px;
    font-size: 16px;
  }

  .about-image {
    width: 100%;
    max-width: 450px;
    margin: 0 auto;
  }

  .about-image img {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: cover;
  }
}


/* =========================
   SMALL MOBILE
========================= */

@media (max-width: 480px) {

  .about-section {
    padding: 32px 0;
  }

  .about-container {
    padding: 0 15px;
    gap: 25px;
  }

  .about-content h2 {
    font-size: 23px;
  }

  .about-subtitle {
    font-size: 16px;
  }

  .check-list li {
    font-size: 14px;
    gap: 10px;
  }
}





