/* FellowWorks Texas — simple, clean, mobile-first */
:root {
  --primary: #006699;
  --primary-dark: #004a5e;
  --accent: #f7b731;

  --bg: #2b2f33;          /* dark background */
  --text: #ffffff;        /* main text color for dark mode */
  --muted: #cccccc;       /* muted text */
  --card: #383d43;        /* card surfaces */
  --light-card: #ffffff1a;/* translucent white for overlays */
  --shadow: 0 8px 24px rgba(0,0,0,.4);
  --radius: 14px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; }
body {
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

.container { max-width: 1000px; margin: 0 auto; padding: 0 18px; }

.nowrap { white-space: nowrap; }
.tiny { font-size: .85rem; }
.muted { color: var(--muted); }

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

/* 🔹 Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--card);
  box-shadow: var(--shadow);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  letter-spacing: .3px;
  color: var(--accent);
  font-size: 1.1rem;
  text-decoration: none;
}
.logo .sa { color: var(--primary); }

.logo-img {
  height: 28px;
  width: auto;
  border-radius: 4px;
}

.mainnav { display: flex; gap: 18px; }
.mainnav a {
  padding: 8px 10px;
  border-radius: 8px;
  color: var(--text);
}
.mainnav a:hover { background: rgba(255,255,255,.1); text-decoration: none; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: 0;
  padding: 8px;
  border-radius: 10px;
  cursor: pointer;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
}

/* 🔹 Hero */
.hero {
  background:
    linear-gradient(rgba(43,47,51,0.75), rgba(43,47,51,0.85)),
    url("images/fellowworks-hero.png") center/cover no-repeat,
    linear-gradient(180deg, #444 0%, #2b2f33 100%);
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: #ffffff;
  padding: 0 16px;
}
.hero-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 800px;
  margin: 0 auto;
}
.hero-copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 14px;
}
.hero h1 {
  font-size: 2.5rem;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: #ffffff;
}
.hero p {
  color: #dddddd;
  max-width: 50ch;
  margin: 0 auto 1.5rem;
}
.cta-row {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* 🔹 Buttons */
.btn {
  display: inline-block;
  padding: 12px 16px;
  border-radius: 12px;
  border: 2px solid transparent;
  font-weight: 700;
}
.btn.primary { background: var(--primary); color: #fff; }
.btn.primary:hover { background: var(--primary-dark); }
.btn.ghost {
  border-color: var(--primary);
  color: var(--primary);
  background: transparent;
}
.btn.ghost:hover { background: rgba(255,255,255,.1); }

/* 🔹 Sections */
.section { padding: 40px 0; }
.section h2 { font-size: 1.6rem; margin: .2rem 0 1rem; }
.section.alt { background: var(--card); }

/* 🔹 Cards */
.grid.cards { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
.card {
  background: var(--card);
  color: var(--text);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.card .icon { font-size: 1.6rem; }

/* 🔹 Pills */
.grid.three { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
.pill {
  background: var(--light-card);
  border-radius: 14px;
  box-shadow: var(--shadow);
  padding: 16px;
}

/* 🔹 Contact */
.contact-wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 18px; }
.contact-card, .map-card {
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 18px;
}
.contact-list { list-style: none; padding: 0; margin: 0 0 8px; display: flex; flex-direction: column; gap: 8px; }
.contact-link { display: inline-flex; gap: 8px; align-items: center; color: var(--text); }
.quote-form { display: grid; gap: 10px; margin-top: 8px; }
.quote-form label { display: grid; gap: 6px; }
.quote-form input, .quote-form textarea {
  padding: 10px;
  border: 1px solid #cfd9e3;
  border-radius: 10px;
  font-size: 1rem;
  color: #000;
  background: #fff;
}
.quote-form input:focus, .quote-form textarea:focus {
  outline: 3px solid #cdefff;
  border-color: #9ac7e3;
}

/* 🔹 Mini map */
.mini-map {
  height: 160px;
  border-radius: 12px;
  border: 1px solid #d8e4ef;
  background:
    radial-gradient(220px 140px at 70% 20%, #d3ecff 0%, rgba(0,0,0,0) 60%),
    radial-gradient(260px 100px at 10% 80%, #bfe7ff 0%, rgba(0,0,0,0) 60%),
    linear-gradient(135deg, #e5f3ff 0%, #f0f7ff 100%);
  box-shadow: inset 0 0 0 2px #eaf3fb;
  position: relative;
}
.mini-map::after {
  content:"TX";
  position: absolute;
  right: 10px;
  bottom: 10px;
  font-weight: 800;
  color: #3e5a6b;
  opacity: .4;
}

/* 🔹 Footer */
.site-footer {
  padding: 22px 0;
  border-top: 1px solid #444;
  background: var(--card);
  color: var(--text);
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

/* 🔹 Responsive */
@media (max-width: 860px) {
  .logo-img { height: 22px; }
  .hero h1 { font-size: 2rem; }
  .contact-wrap { grid-template-columns: 1fr; }
  .grid.cards { grid-template-columns: 1fr 1fr; }
  .grid.three { grid-template-columns: 1fr; }
  .mainnav {
    display: none;
    position: absolute;
    top: 64px;
    right: 10px;
    background: var(--card);
    padding: 10px 12px;
    border-radius: 12px;
    box-shadow: var(--shadow);
    flex-direction: column;
  }
  .hamburger { display: flex; }
  .mainnav.open { display: flex; }
}
@media (max-width: 520px) {
  .logo-img { height: 18px; }
  .grid.cards { grid-template-columns: 1fr; }
  .hero h1 { font-size: 1.7rem; }
}
