/* ============================================================
   envADR LLC — Site Stylesheet
   Fonts: Oswald (headings/nav), Crimson Text (body)
   Accent colors: teal #33cccc, green #8ab800
   ============================================================ */

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

html { scroll-behavior: smooth; }

body {
  font-family: "Crimson Text", Georgia, serif;
  font-size: 18px;
  line-height: 1.6;
  color: #222;
  background: #fff;
}

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

a { color: #33cccc; text-decoration: none; }
a:hover { text-decoration: underline; }

/* --- Typography ------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
  font-family: "Oswald", Helvetica, Arial, sans-serif;
  font-weight: 400;
  line-height: 1.2;
  color: #1a2332;
}

h1 { font-size: 2.4rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.6rem; }
h4 { font-size: 1.2rem; font-weight: 500; }
h5 { font-size: 1rem; }

p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

strong { font-weight: 700; }
em { font-style: italic; }

/* --- Layout Utilities ------------------------------------- */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section { padding: 3.5rem 0; }
.section--alt { background: #f4f6f8; }
.section--dark { background: #1a2332; color: #dde4ed; }
.section--dark h2, .section--dark h3, .section--dark h4 { color: #fff; }

/* Grid helpers */
.grid-2 { display: grid; grid-template-columns: 2fr 1fr; gap: 3rem; align-items: start; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }

/* --- Header / Navigation ---------------------------------- */
.site-header {
  background: #fff;
  border-bottom: 1px solid #e0e5ea;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0,0,0,0.07);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1.5rem;
  max-width: 1100px;
  margin: 0 auto;
}

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

/* Nav */
.site-nav ul {
  list-style: none;
  display: flex;
  gap: 0.25rem;
}

.site-nav a {
  font-family: "Oswald", Helvetica, Arial, sans-serif;
  font-size: 0.88rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #1a2332;
  padding: 0.5rem 0.9rem;
  border-radius: 3px;
  display: block;
  transition: background 0.15s, color 0.15s;
}

.site-nav a:hover,
.site-nav a.active {
  background: #33cccc;
  color: #fff;
  text-decoration: none;
}

/* Mobile hamburger */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: #1a2332;
  border-radius: 2px;
  transition: all 0.2s;
}

/* --- Hero Section ----------------------------------------- */
.hero {
  position: relative;
  background-image: url("/wp-content/uploads/2016/12/cropped-lsoy-suy2-g-dave-lastovskiy_1920crop-1.jpg");
  background-size: cover;
  background-position: center 40%;
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(10, 30, 50, 0.62);
}

.hero-content {
  position: relative;
  z-index: 1;
  color: #fff;
  padding: 3rem 1.5rem;
  max-width: 700px;
}

.hero-content h1 {
  font-family: "Oswald", Helvetica, Arial, sans-serif;
  font-size: clamp(2rem, 5vw, 3.4rem);
  font-weight: 400;
  color: #33cccc;
  line-height: 1.15;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.hero-content p {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.88);
  margin-bottom: 2rem;
}

/* --- Buttons ---------------------------------------------- */
.btn {
  display: inline-block;
  font-family: "Oswald", Helvetica, Arial, sans-serif;
  font-size: 1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.7rem 2rem;
  border-radius: 3px;
  transition: background 0.15s, color 0.15s, transform 0.1s;
  text-decoration: none;
}

.btn:hover { text-decoration: none; transform: translateY(-1px); }

.btn-primary {
  background: #33cccc;
  color: #fff;
  border: 2px solid #33cccc;
}

.btn-primary:hover {
  background: #28b5b5;
  border-color: #28b5b5;
  color: #fff;
}

.btn-outline {
  background: transparent;
  color: #33cccc;
  border: 2px solid #33cccc;
}

.btn-outline:hover {
  background: #33cccc;
  color: #fff;
}

/* --- Section headings ------------------------------------- */
.section-title {
  text-align: center;
  margin-bottom: 2.5rem;
  font-size: 2rem;
  color: #1a2332;
}

.section-title--teal { color: #33cccc; }
.section-title--green { color: #8ab800; }

.accent-green { color: #8ab800; }
.accent-teal  { color: #33cccc; }

/* Horizontal rule divider */
.rule-green {
  width: 50px;
  height: 3px;
  background: #8ab800;
  margin: 0 auto 1.25rem;
  border: none;
}

/* --- Home: Intro 3-column --------------------------------- */
.intro-cols h4 { color: #33cccc; margin-bottom: 0.6rem; }

/* --- Home: Services cards --------------------------------- */
.service-card {
  background: #fff;
  border: 1px solid #dde3ea;
  border-radius: 0 8px 0 8px;
  padding: 1.75rem 1.5rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.service-card h4 {
  color: #33cccc;
  text-align: center;
  margin-bottom: 0.75rem;
  font-size: 1.1rem;
}

.service-card p {
  font-size: 0.95rem;
  text-align: center;
  color: #444;
}

/* --- About: Bio section ----------------------------------- */
.bio-text h2 { color: #8ab800; margin-bottom: 0.25rem; }
.bio-text h4 { color: #8ab800; margin-bottom: 1rem; }

/* Photo */
.bio-photo { text-align: center; }
.bio-photo img {
  border-radius: 4px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
  max-width: 280px;
  width: 100%;
  margin: 0 auto;
}

/* Credentials badges */
.credentials-row {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2.5rem;
  padding: 2.5rem 0;
}

.credentials-row figure {
  text-align: center;
  margin: 0;
}

.credentials-row figcaption {
  font-size: 0.85rem;
  color: #555;
  margin-top: 0.5rem;
  font-family: "Oswald", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* About background cols */
.bg-col { text-align: center; }
.bg-col h2 { color: #8ab800; font-size: 1.5rem; margin-bottom: 0.75rem; }

/* --- Services page ---------------------------------------- */
.services-content { max-width: 820px; }
.services-content h2 { color: #1a2332; margin-bottom: 0.75rem; }

.service-item {
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid #e0e5ea;
}

.service-item:last-child { border-bottom: none; }
.service-item h3 { color: #1a2332; font-size: 1.3rem; margin-bottom: 0.5rem; }
.service-item .service-label {
  color: #8ab800;
  font-weight: 700;
  font-family: "Crimson Text", Georgia, serif;
  font-size: 1.1rem;
}

.services-divider {
  border: none;
  border-top: 2px solid #e0e5ea;
  margin: 2rem 0;
}

/* --- Contact page ----------------------------------------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.contact-info h3 {
  color: #1a2332;
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
  margin-top: 1.5rem;
}

.contact-info h3:first-child { margin-top: 0; }
.contact-info p { color: #444; }
.contact-info a { color: #33cccc; }
.contact-info a:hover { text-decoration: underline; }

.contact-icon {
  display: inline-block;
  width: 1.2em;
  text-align: center;
  margin-right: 0.3em;
  color: #33cccc;
}

/* --- Footer ----------------------------------------------- */
.site-footer {
  background: #1a2332;
  color: #8fa3b8;
  padding: 1.5rem 0;
  font-size: 0.9rem;
  text-align: center;
}

.site-footer a { color: #33cccc; }
.site-footer a:hover { text-decoration: underline; }

/* --- Page title banner (inner pages) ---------------------- */
.page-banner {
  background: #1a2332;
  padding: 2.5rem 0;
  text-align: center;
}

.page-banner h1 {
  color: #fff;
  font-size: 2rem;
  font-family: "Oswald", Helvetica, Arial, sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin: 0;
}

/* --- Responsive ------------------------------------------- */
@media (max-width: 900px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 700px) {
  .grid-2 { grid-template-columns: 1fr; }
  .grid-2 .bio-photo { order: -1; }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }

  .nav-toggle { display: flex; }

  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border-top: 1px solid #e0e5ea;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    padding: 0.5rem 0 1rem;
  }

  .site-nav.open { display: block; }
  .site-nav ul { flex-direction: column; gap: 0; }
  .site-nav a { padding: 0.75rem 1.5rem; border-radius: 0; }
}
