/* ================================
   GLOBAL: Header, Footer, Nav
   ================================ */

/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: #f9f9f9;
  color: #222;
  line-height: 1.6;
}

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

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ------------------------------------------------------------
   DESIGN TOKENS
   Single source of truth for colors/radius/shadows used across
   global.css and the per-page stylesheets.
   ------------------------------------------------------------ */
:root {
  /* Colors */
  --color-heading: #C94800;      /* section titles, eyebrow labels, accent icons */
  --color-link: #F65C02;         /* card links & link hover states */
  --color-cta: #F65C02;          /* primary button background */
  --color-cta-dark: #C94800;     /* primary button hover */
  --color-navy: #2C333B;         /* trust bar / dark-band background */
  --color-white: #ffffff;
  --color-bg-light: #f9f9f9;     /* light section / card backgrounds */
  --color-bg-blush: #FCEEE3;     /* FAQ / soft accent background */
  --color-trust-text: #D8DCE0;   /* muted text on navy background */

  --color-text: #1C1B1A;         /* primary headings / body text */
  --color-text-secondary: #333333;
  --color-text-body: #444444;
  --color-text-muted: #555555;
  --color-text-faint: #666666;

  /* Radius */
  --radius-sm: 6px;              /* buttons */
  --radius-md: 10px;             /* cards, images, bars */
  --radius-lg: 12px;             /* about image */

  /* Shadows */
  --shadow-card: 0 3px 8px rgba(0, 0, 0, 0.1);
  --shadow-sm: 0 3px 8px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);

  /* Motion */
  --transition-base: 0.2s ease;
}

/* Generic button, used outside the homepage too (about/services/contact CTAs) */
.btn {
  display: inline-block;
  background: var(--color-cta);
  color: #fff;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background var(--transition-base);
}
.btn:hover {
  background: var(--color-cta-dark);
}
.btn-primary {
  background: var(--color-cta);
  color: #fff;
}
.btn-secondary {
  background: transparent;
  color: var(--color-text);
  border: 2px solid var(--color-text);
}
.btn-secondary:hover {
  background: var(--color-text);
  color: #fff;
}

/* ================================
   HEADER
   ================================ */

/* ================================
   SKIP LINK
   ================================ */
.skip-link {
  position: absolute;
  top: -100px;
  left: 0;
  background: var(--color-cta);
  color: #fff;
  padding: 14px 22px;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  z-index: 1000;
  transition: top var(--transition-base);
}
.skip-link:focus {
  top: 0;
}

header {
  background: #fff;
  border-bottom: 1px solid rgba(0,0,0,0.06);
  position: sticky;
  top: 0;
  z-index: 999;
}

.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 8%;
}

/* Left Side: Logo + Mobile Toggle */
.header-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.site-logo {
  height: 50px;
  width: auto;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: transparent;
  border: none;
  cursor: pointer;
}
.menu-toggle span {
  width: 26px;
  height: 3px;
  background: #333;
  border-radius: 3px;
}

/* Main Navigation */
.main-nav {
  display: flex;
  align-items: center;
}

.nav-list {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-list a {
  text-decoration: none;
  color: #222;
  font-size: 1rem;
  font-weight: 600;
  padding: 6px 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.nav-list a:hover {
  color: var(--color-link);
}

/* Right Side: Contact Button */
.header-actions {
  display: flex;
  align-items: center;
}

.contact-btn {
  background: var(--color-cta);
  color: #fff;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  text-decoration: none;
}
.contact-btn:hover {
  background: var(--color-cta-dark);
}

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

@media (max-width: 768px) {

  .menu-toggle {
    display: flex;
  }

  .main-nav {
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background: #fff;
    display: none;
    padding: 16px 0;
    border-bottom: 1px solid rgba(0,0,0,0.1);
  }

  .main-nav.active {
    display: block;
  }

  .nav-list {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding-left: 30px;
  }

  .header-actions {
    display: none;
  }
}

/* ================================
   FOOTER
   ================================ */

footer {
  background: var(--color-navy);
}

.footer-wrapper {
  padding: 40px 8%;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  max-width: 1200px;
  margin: auto;
}

.footer-column h3 {
  color: #fff;
  font-size: 1.1rem;
  margin-bottom: 12px;
}

.footer-column p,
.footer-column a {
  color: var(--color-trust-text);
  font-size: 0.95rem;
  text-decoration: none;
}

.footer-column ul {
  list-style: none;
}
.footer-column li {
  margin-bottom: 8px;
}

.footer-column a:hover {
  color: #fff;
}

.footer-bottom {
  text-align: center;
  padding: 14px 0;
  background: #20262C;
  color: #fff;
  font-size: 0.9rem;
}

/* Mobile Footer */
@media (max-width: 950px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 680px) {
  .footer-grid {
    grid-template-columns: 1fr;
    text-align: left;
  }
}
