/* ===== Crew Voice — Shared Styles ===== */

/* Reset & Base */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body {
  font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: #333;
}

/* Skip Link */
.skip-link {
  position: absolute; top: -100%; left: 1rem;
  background: #D4930D; color: #2C3E2D;
  padding: 0.5rem 1rem; border-radius: 0 0 5px 5px;
  z-index: 2000; font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 0; }

/* Focus Styles */
a:focus-visible, button:focus-visible, input:focus-visible,
textarea:focus-visible, select:focus-visible {
  outline: 3px solid #D4930D; outline-offset: 2px;
}

/* Screen Reader Only */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* ===== Header & Nav ===== */
header {
  background: #1B3A26; padding: 1rem 0;
  position: sticky; top: 0; z-index: 1000;
  box-shadow: 0 2px 5px rgba(0,0,0,0.15);
  transition: box-shadow 0.3s;
}
header.scrolled {
  box-shadow: 0 4px 20px rgba(0,0,0,0.25);
}
nav {
  max-width: 1200px; margin: 0 auto;
  display: flex; justify-content: space-between; align-items: center;
  padding: 0 2rem;
}
.logo {
  font-size: 1.5rem; font-weight: bold; color: #6DBF5B;
  letter-spacing: 2px; display: flex; align-items: center;
  gap: 0.8rem; white-space: nowrap; text-decoration: none;
}
.logo-circle {
  width: 55px; height: 55px; border-radius: 50%; overflow: hidden;
  background: transparent; display: flex; align-items: center;
  justify-content: center; flex-shrink: 0;
}
.logo-circle img {
  width: 120%; height: 120%; object-fit: cover; object-position: center 38%;
}
.nav-links {
  display: flex; list-style: none; gap: 1.5rem; align-items: center;
}
.nav-links li { white-space: nowrap; }
.nav-links a {
  color: #E0E8DC; text-decoration: none;
  transition: color 0.3s; font-size: 0.95rem;
}
.nav-links a:hover { color: #6DBF5B; }
.nav-links .active { color: #6DBF5B; font-weight: 600; }
.nav-links .phone-link { display: flex; align-items: center; gap: 0.4rem; }
.nav-links .phone-icon { width: 16px; height: 16px; fill: #E0E8DC; }

/* CTA Button (nav + global) */
.cta-button {
  background: #D4930D; padding: 0.7rem 1.4rem; border-radius: 5px;
  color: #1B3A26 !important; font-weight: 600;
  transition: background 0.3s, transform 0.2s, box-shadow 0.3s;
  display: inline-block;
}
.cta-button:hover {
  background: #B87E0B; transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(212,147,13,0.35);
}
.cta-button:active { transform: translateY(0); box-shadow: none; }

/* Primary Button */
.btn-primary {
  display: inline-block; background: #D4930D; color: #2C3E2D;
  padding: 1rem 2rem; border-radius: 5px; text-decoration: none;
  font-weight: bold; border: none; cursor: pointer; font-size: 1rem;
  transition: background 0.3s, transform 0.2s, box-shadow 0.3s;
}
.btn-primary:hover {
  background: #B87E0B; transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(212,147,13,0.35);
}
.btn-primary:active { transform: translateY(0); box-shadow: none; }

/* ===== Hamburger Menu ===== */
.nav-toggle {
  display: none; background: none; border: none; cursor: pointer;
  padding: 0.5rem; z-index: 1001;
}
.nav-toggle span {
  display: block; width: 24px; height: 2px; background: #E0E8DC;
  margin: 5px 0; transition: transform 0.3s, opacity 0.3s;
  border-radius: 2px;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== Footer (Standard — full grid) ===== */
footer {
  background: #142B1D; color: white; text-align: center; padding: 2rem;
}
.footer-inner {
  max-width: 1200px; margin: 0 auto; padding: 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem; text-align: center; margin-bottom: 2rem;
}
.footer-grid h4 { color: #6DBF5B; margin-bottom: 1rem; font-size: 1.1rem; }
.footer-grid p { margin-bottom: 0.5rem; }
.footer-grid a { color: #C8D6C0; text-decoration: none; }
.footer-grid a:hover { color: #6DBF5B; }
.footer-copyright {
  text-align: center; padding-top: 2rem;
  border-top: 1px solid #2A4D35; color: #C8D6C0;
}

/* ===== Scroll Animations ===== */
.fade-in {
  opacity: 0; transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.fade-in.visible {
  opacity: 1; transform: translateY(0);
}
.fade-in-delay-1 { transition-delay: 0.1s; }
.fade-in-delay-2 { transition-delay: 0.2s; }
.fade-in-delay-3 { transition-delay: 0.3s; }
.fade-in-delay-4 { transition-delay: 0.4s; }

/* ===== Responsive: 900px ===== */
@media (max-width: 900px) {
  nav { padding: 0 1rem; }
  .nav-links { gap: 1rem; }
  .nav-links a { font-size: 0.85rem; }
  .cta-button { padding: 0.5rem 1rem; }
}

/* ===== Responsive: 768px ===== */
@media (max-width: 768px) {
  /* Hamburger visible */
  .nav-toggle { display: block; }

  nav { flex-wrap: wrap; }

  .nav-links {
    display: none; flex-direction: column;
    width: 100%; gap: 0; padding: 0;
    background: #1B3A26;
    border-top: 1px solid rgba(255,255,255,0.1);
    margin-top: 0.75rem;
  }
  .nav-links.open { display: flex; }

  .nav-links li {
    width: 100%; text-align: center;
    border-bottom: 1px solid rgba(255,255,255,0.05);
  }
  .nav-links a {
    display: block; padding: 0.9rem 1rem; font-size: 1rem;
  }
  .nav-links .cta-button {
    margin: 0.75rem 1rem; border-radius: 5px;
  }
  .nav-links .phone-link { justify-content: center; }

  .logo-circle { width: 48px; height: 48px; }
  .footer-inner { padding: 1.5rem; }
  .footer-grid { gap: 2rem; }
}
