/* =========================================================
   COLT Thermal Fuels — shared styles
   Change brand colors and fonts here, in one place.
   Palette: mostly black / charcoal / steel grey.
   Gold is a small accent only (thin lines, footer tagline).
   ========================================================= */
:root {
  --black: #111111;
  --charcoal: #2a2b2d;
  --graphite: #3d3f42;
  --steel: #5f6368;      /* grey text that is readable on white */
  --silver: #b9bcc0;     /* grey text that is readable on black */
  --light: #ececec;
  --white: #ffffff;
  --gold: #f5b21b;       /* accent only */

  --font-head: "Rajdhani", "Arial Narrow", sans-serif;
  --font-body: "Inter", "Segoe UI", Arial, sans-serif;

  --max-width: 1140px;
  --radius: 6px;
}

*, *::before, *::after { box-sizing: border-box; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--charcoal);
  background: var(--white);
}

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

h1, h2, h3 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.15;
  color: var(--black);
  margin: 0 0 0.5em;
}
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.5rem); }
h3 { font-size: 1.5rem; }
p  { margin: 0 0 1em; }

a { color: var(--black); }
a:hover { color: var(--steel); }

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

.skip-link {
  position: absolute; left: -9999px;
}
.skip-link:focus {
  left: 16px; top: 16px; z-index: 100;
  background: var(--white); color: var(--black); padding: 8px 12px;
}

/* ---------- Header & navigation ---------- */
.site-header {
  background: linear-gradient(180deg, #ffffff 0%, #e4e5e7 100%);
  border-bottom: 4px solid var(--black);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 170px; padding-top: 10px; padding-bottom: 10px;
}
.brand { display: flex; align-items: center; text-decoration: none; }
.brand img { height: 150px; width: auto; }

.nav-toggle {
  display: none;
  background: var(--black); color: var(--white);
  border: 0; border-radius: var(--radius);
  font: 600 1rem var(--font-head); letter-spacing: 0.06em; text-transform: uppercase;
  padding: 10px 16px; cursor: pointer;
}

.main-nav ul {
  list-style: none; margin: 0; padding: 0;
  display: flex; gap: 6px; align-items: center;
}
.main-nav a {
  display: block; padding: 8px 14px;
  font: 600 1.1rem var(--font-head); letter-spacing: 0.04em; text-transform: uppercase;
  color: var(--black); text-decoration: none; border-radius: var(--radius);
}
.main-nav a:hover { background: rgba(0,0,0,0.07); color: var(--black); }
.main-nav a[aria-current="page"] { box-shadow: inset 0 -3px 0 var(--black); border-radius: 0; }
.main-nav a.nav-cta { background: var(--black); color: var(--white); }
.main-nav a.nav-cta:hover { background: var(--graphite); color: var(--white); }
.main-nav a.nav-cta[aria-current="page"] { box-shadow: none; border-radius: var(--radius); }

@media (max-width: 820px) {
  .header-inner { flex-wrap: wrap; min-height: 100px; }
  .brand img { height: 96px; }
  .nav-toggle { display: block; }
  .main-nav { display: none; width: 100%; }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; align-items: stretch; padding: 8px 0 16px; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 12px 26px;
  font: 700 1.1rem var(--font-head); letter-spacing: 0.06em; text-transform: uppercase;
  text-decoration: none; border-radius: var(--radius);
  border: 2px solid transparent;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
/* For dark backgrounds */
.btn-light { background: var(--white); color: var(--black); border-color: var(--white); }
.btn-light:hover { background: var(--light); border-color: var(--light); color: var(--black); }
.btn-outline { background: transparent; color: var(--white); border-color: var(--white); }
.btn-outline:hover { background: var(--white); color: var(--black); }
/* For light backgrounds */
.btn-dark { background: var(--black); color: var(--white); border-color: var(--black); }
.btn-dark:hover { background: var(--graphite); border-color: var(--graphite); color: var(--white); }
.btn-outline-dark { background: transparent; color: var(--black); border-color: var(--black); }
.btn-outline-dark:hover { background: var(--black); color: var(--white); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Home hero (dark, tagline) ---------- */
.hero {
  background:
    radial-gradient(ellipse at 80% 30%, rgba(255,255,255,0.07), transparent 60%),
    linear-gradient(135deg, #0a0a0a 0%, #26282b 100%);
  color: var(--white);
  padding: 96px 0 104px;
}
.hero h1 { color: var(--white); }
.hero h1 span { color: var(--silver); }
.hero p.lead { font-size: 1.15rem; max-width: 60ch; color: #d6d7d9; margin-bottom: 2rem; }
@media (max-width: 820px) {
  .hero { padding: 56px 0 64px; }
}

/* ---------- Inner page banners (dark) ---------- */
.page-banner {
  background: linear-gradient(135deg, #0d0d0d 0%, #2f3134 100%);
  color: var(--white);
  padding: 64px 0;
}
.page-banner h1 { color: var(--white); max-width: 22ch; }
.page-banner p { color: var(--silver); max-width: 60ch; margin: 0; }

.eyebrow {
  display: inline-block;
  font: 700 0.95rem var(--font-head); letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--silver); margin-bottom: 0.75rem;
}
.eyebrow.on-light { color: var(--steel); }

/* ---------- Sections ---------- */
.section { padding: 80px 0; }
.section-alt { background: var(--light); }
.section-dark { background: var(--charcoal); color: #d6d7d9; }
.section-dark h2, .section-dark h3 { color: var(--white); }
.section-head { max-width: 720px; margin-bottom: 40px; }

/* Small gold accent line under headings */
.gold-rule { width: 56px; height: 3px; background: var(--gold); border: 0; margin: 0 0 1.25rem; }

.two-col {
  display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center;
}
@media (max-width: 820px) { .two-col { grid-template-columns: 1fr; gap: 32px; } }

/* ---------- Cards ---------- */
.card-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
@media (max-width: 900px) { .card-grid { grid-template-columns: 1fr; } }

.card {
  background: var(--white);
  border-top: 4px solid var(--black);
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: 0 4px 18px rgba(0,0,0,0.08);
}
.card .num {
  font: 700 2.4rem var(--font-head); color: var(--steel); line-height: 1;
  display: block; margin-bottom: 10px;
}
.card p:last-child { margin-bottom: 0; }

/* ---------- Product detail blocks ---------- */
.product {
  display: grid; grid-template-columns: 90px 1fr; gap: 28px;
  padding: 40px 0; border-bottom: 1px solid #d6d7d9;
}
.product:last-child { border-bottom: 0; }
.product .num {
  font: 700 3.5rem var(--font-head); line-height: 1; color: var(--steel);
}
@media (max-width: 600px) { .product { grid-template-columns: 1fr; gap: 8px; } }

/* ---------- Quote highlight ---------- */
.highlight {
  border-left: 5px solid var(--steel);
  padding: 8px 0 8px 24px;
  font: 600 1.6rem/1.3 var(--font-head);
  color: var(--black);
}
.section-dark .highlight { color: var(--white); border-left-color: var(--silver); }

/* ---------- Photos ---------- */
.photo-link { display: block; }
.photo {
  width: 100%; border-radius: var(--radius);
  box-shadow: 0 6px 22px rgba(0,0,0,0.18);
}
.photo-link:hover .photo { box-shadow: 0 8px 28px rgba(0,0,0,0.28); }

/* ---------- Photo placeholders ---------- */
.photo-placeholder {
  display: flex; align-items: center; justify-content: center; text-align: center;
  min-height: 320px; padding: 24px;
  background: repeating-linear-gradient(45deg, #e0e1e3, #e0e1e3 12px, #eaebec 12px, #eaebec 24px);
  border: 2px dashed var(--steel); border-radius: var(--radius);
  color: var(--charcoal); font-weight: 600;
}

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(135deg, #3d3f42 0%, #1b1c1e 100%);
  border-top: 3px solid var(--gold);
  padding: 56px 0;
}
.cta-band .container {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px;
}
.cta-band h2 { margin: 0; color: var(--white); }

/* ---------- Contact ---------- */
.contact-list { list-style: none; padding: 0; margin: 0 0 2rem; }
.contact-list li { margin-bottom: 1.25rem; }
.contact-list strong {
  display: block; font: 700 0.95rem var(--font-head);
  letter-spacing: 0.15em; text-transform: uppercase; color: var(--steel);
}
.contact-list a, .contact-list span { font-size: 1.2rem; color: var(--black); overflow-wrap: anywhere; }
.map-frame {
  width: 100%; height: 380px; border: 0; border-radius: var(--radius);
  box-shadow: 0 4px 18px rgba(0,0,0,0.1);
}

/* ---------- Footer ---------- */
.site-footer { background: var(--black); color: var(--silver); padding: 56px 0 24px; font-size: 0.95rem; }
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px; margin-bottom: 32px;
}
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h3 { color: var(--white); font-size: 1.2rem; letter-spacing: 0.08em; text-transform: uppercase; }
.site-footer .footer-name { font: 700 1.6rem var(--font-head); color: var(--white); margin-bottom: 4px; }
.site-footer .footer-name span { color: var(--silver); }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 6px; }
.site-footer a { color: #dddddd; text-decoration: none; overflow-wrap: anywhere; }
.site-footer a:hover { color: var(--white); text-decoration: underline; }
.footer-bottom {
  border-top: 1px solid #333333; padding-top: 20px;
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px;
}
.footer-tagline { color: var(--gold); letter-spacing: 0.15em; text-transform: uppercase; font-family: var(--font-head); font-weight: 600; }
