/* 00 Lead Inspections & Abatements LLC - Stylesheet */
/* Brand Colors: Green (#43a047), Black (#000), Tan/Gray (#f5f5f5) */

:root {
  --primary-green: #43a047;
  --primary-black: #000;
  --accent-gray: #f5f5f5;
  --light-gray: #e8e8e8;
  --dark-gray: #333;
  --text-gray: #555;
  --border-color: #ddd;
  --success-green: #4caf50;
  --warning-orange: #ff9800;
  --error-red: #f44336;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--text-gray);
  background-color: #fff;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Georgia', 'Garamond', serif;
  color: var(--primary-black);
  margin-bottom: 1rem;
  font-weight: 700;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

p {
  margin-bottom: 1rem;
  line-height: 1.8;
}

a {
  color: var(--primary-green);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--dark-gray);
  text-decoration: underline;
}

/* Navigation Bar */
nav {
  background-color: var(--primary-black);
  padding: 0.75rem 1.5rem;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.navbar {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: nowrap;
}

.logo {
  color: var(--primary-green);
  font-size: 1.5rem;
  font-weight: bold;
  font-family: 'Georgia', serif;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo img {
  height: 50px;
  width: auto;
  display: block;
  transition: opacity 0.3s ease;
}

.logo:hover {
  color: var(--success-green);
}

.logo:hover img {
  opacity: 0.85;
}

@media (max-width: 768px) {
  .logo img {
    height: 40px;
  }
}

@media (max-width: 480px) {
  .logo img {
    height: 35px;
  }
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 1.25rem;
  align-items: center;
  flex-wrap: nowrap;
  white-space: nowrap;
}

.nav-links a {
  color: #fff;
  font-size: 0.9rem;
  transition: color 0.3s ease;
  font-weight: 500;
  white-space: nowrap;
}

.nav-links a:hover {
  color: var(--primary-green);
  text-decoration: none;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
}

.nav-toggle span {
  width: 25px;
  height: 3px;
  background-color: #fff;
  border-radius: 2px;
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, var(--primary-green) 0%, #2e7d32 100%);
  color: #fff;
  padding: 100px 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 500px;
  height: 500px;
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 1rem;
  color: #fff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.hero .subtitle {
  font-size: 1.5rem;
  margin-bottom: 2rem;
  color: rgba(255, 255, 255, 0.9);
}

.cta-button {
  display: inline-block;
  background-color: var(--primary-green);
  color: #fff;
  padding: 15px 40px;
  border-radius: 50px;
  border: 2px solid var(--primary-green);
  font-size: 1.1rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  margin: 0.5rem;
}

.nav-links .cta-button {
  padding: 8px 20px;
  font-size: 0.9rem;
  margin: 0;
}

.cta-button:hover {
  background-color: #fff;
  color: var(--primary-green);
  border: 2px solid var(--primary-green);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(67, 160, 71, 0.3);
  text-decoration: none;
}

.cta-button-blue {
  display: inline-block;
  background-color: #007BFF;
  color: #fff;
  padding: 15px 40px;
  border-radius: 50px;
  border: 2px solid #007BFF;
  font-size: 1.1rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  margin: 0.5rem;
}

.nav-links .cta-button-blue {
  padding: 8px 20px;
  font-size: 0.9rem;
  margin: 0;
}

.cta-button-blue:hover {
  background-color: #fff;
  color: #007BFF;
  border: 2px solid #007BFF;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 123, 255, 0.3);
  text-decoration: none;
}

.cta-button-secondary {
  display: inline-block;
  background-color: transparent;
  color: #fff;
  padding: 15px 40px;
  border: 2px solid #fff;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
  margin: 0.5rem;
}

.cta-button-secondary:hover {
  background-color: #fff;
  color: var(--primary-green);
  text-decoration: none;
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Section Spacing */
section {
  padding: 80px 2rem;
}

section h2 {
  text-align: center;
  margin-bottom: 3rem;
  position: relative;
  padding-bottom: 1rem;
}

section h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background-color: var(--primary-green);
  border-radius: 2px;
}

/* Grid Layouts */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-bottom: 2rem;
}

@media (max-width: 992px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .features-grid {
    grid-template-columns: 1fr;
  }
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3rem;
}

@media (max-width: 768px) {
  .grid-2 {
    grid-template-columns: 1fr;
  }
}

/* Cards */
.card {
  background-color: var(--accent-gray);
  border-radius: 8px;
  padding: 2rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  border-left: 4px solid var(--primary-green);
}

.card:hover {
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
  transform: translateY(-5px);
}

.card h3 {
  color: var(--primary-green);
  margin-top: 0;
}

.card-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  display: inline-block;
}

/* Service Cards */
.service-card {
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 2.5rem;
  text-align: center;
  transition: all 0.3s ease;
}

.service-card:hover {
  border-color: var(--primary-green);
  box-shadow: 0 8px 25px rgba(67, 160, 71, 0.15);
}

.service-icon {
  width: 80px;
  height: 80px;
  background-color: var(--accent-gray);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 2.5rem;
}

.service-card h3 {
  color: var(--primary-green);
}

.price-tag {
  font-size: 1.5rem;
  color: var(--primary-green);
  font-weight: bold;
  margin: 1rem 0;
}

/* Testimonials */
.testimonial {
  background-color: #fff;
  border-left: 4px solid var(--primary-green);
  padding: 2rem;
  margin-bottom: 2rem;
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.testimonial p {
  font-style: italic;
  margin-bottom: 1rem;
  color: var(--text-gray);
}

.testimonial-author {
  font-weight: bold;
  color: var(--primary-black);
  text-align: right;
}

.stars {
  color: var(--warning-orange);
  margin-bottom: 0.5rem;
}

/* Forms */
form {
  max-width: 600px;
  margin: 2rem auto;
}

label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: var(--dark-gray);
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="date"],
textarea,
select {
  width: 100%;
  padding: 12px;
  margin-bottom: 1.5rem;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  font-family: inherit;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
input[type="date"]:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: var(--primary-green);
  box-shadow: 0 0 0 3px rgba(67, 160, 71, 0.1);
}

textarea {
  resize: vertical;
  min-height: 120px;
}

input[type="submit"],
button {
  background-color: var(--primary-green);
  color: #fff;
  padding: 12px 30px;
  border: none;
  border-radius: 4px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 100%;
}

input[type="submit"]:hover,
button:hover {
  background-color: #2e7d32;
  box-shadow: 0 4px 12px rgba(67, 160, 71, 0.3);
}

/* Footer */
footer {
  background-color: var(--primary-black);
  color: #fff;
  padding: 3rem 2rem 1rem;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-section h4 {
  color: var(--primary-green);
  margin-bottom: 1rem;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 0.5rem;
}

.footer-section a {
  color: #ccc;
  text-decoration: none;
  font-size: 0.95rem;
}

.footer-section a:hover {
  color: var(--primary-green);
  text-decoration: underline;
}

.social-icons {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.social-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: var(--primary-green);
  color: #fff;
  border-radius: 50%;
  transition: all 0.3s ease;
  font-size: 1.2rem;
}

.social-icons a:hover {
  background-color: #2e7d32;
  transform: translateY(-3px);
  text-decoration: none;
}

.footer-bottom {
  border-top: 1px solid #444;
  padding-top: 2rem;
  text-align: center;
  color: #999;
  font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 1024px) {
  .navbar {
    max-width: 100%;
  }
  
  .nav-links {
    gap: 0.85rem;
  }
  
  .nav-links a {
    font-size: 0.85rem;
  }
  
  .nav-links .cta-button {
    padding: 6px 16px;
    font-size: 0.85rem;
  }
}

@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.5rem;
  }

  .hero .subtitle {
    font-size: 1.2rem;
  }

  h1 { font-size: 2rem; }
  h2 { font-size: 1.5rem; }
  h3 { font-size: 1.25rem; }

  section {
    padding: 50px 1.5rem;
  }

  .grid-2 {
    grid-template-columns: 1fr;
  }

  .testimonial {
    margin-bottom: 1.5rem;
  }
}

@media (max-width: 900px) {
  .nav-toggle {
    display: flex;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background-color: var(--primary-black);
    padding: 1rem 2rem;
    gap: 1rem;
    border-bottom: 2px solid var(--primary-green);
    white-space: normal;
  }
  
  .nav-links a {
    font-size: 1rem;
  }
  
  .nav-links .cta-button {
    padding: 12px 30px;
    font-size: 1rem;
  }

  .nav-links .cta-button-blue {
    padding: 12px 30px;
    font-size: 1rem;
  }

  .nav-links.active {
    display: flex;
  }
}

@media (max-width: 480px) {
  nav {
    padding: 0.75rem 1rem;
  }

  .hero {
    padding: 60px 1rem;
  }

  .hero h1 {
    font-size: 1.8rem;
  }

  .hero .subtitle {
    font-size: 1rem;
  }

  .cta-button, .cta-button-secondary {
    padding: 12px 25px;
    font-size: 0.95rem;
    margin: 0.3rem;
  }

  section {
    padding: 40px 1rem;
  }

  .grid {
    gap: 1rem;
  }

  .grid-2 {
    gap: 1.5rem;
  }

  h1 { font-size: 1.5rem; }
  h2 { font-size: 1.25rem; }
  h3 { font-size: 1rem; }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Skip to Content Link */
.skip-to-content {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--primary-green);
  color: #fff;
  padding: 8px;
  text-decoration: none;
  z-index: 100;
}

.skip-to-content:focus {
  top: 0;
}

/* Utility Classes */
.text-center {
  text-align: center;
}

.text-right {
  text-align: right;
}

.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }

.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }

.pt-2 { padding-top: 2rem; }
.pb-2 { padding-bottom: 2rem; }

.highlight {
  color: var(--primary-green);
  font-weight: 600;
}

.badge {
  display: inline-block;
  background-color: var(--primary-green);
  color: #fff;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-right: 0.5rem;
}

/* Loading Animation */
.loading {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 3px solid #f3f3f3;
  border-top: 3px solid var(--primary-green);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Divider */
.divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--border-color), transparent);
  margin: 2rem 0;
}

/* Info Box */
.info-box {
  background-color: #e8f5e9;
  border-left: 4px solid var(--primary-green);
  padding: 1.5rem;
  border-radius: 4px;
  margin: 2rem 0;
}

.info-box h4 {
  color: var(--primary-green);
  margin-top: 0;
}

.warning-box {
  background-color: #fff3e0;
  border-left: 4px solid var(--warning-orange);
  padding: 1.5rem;
  border-radius: 4px;
  margin: 2rem 0;
}

.warning-box h4 {
  color: var(--warning-orange);
  margin-top: 0;
}

/* List Styling */
ul, ol {
  margin-left: 2rem;
  margin-bottom: 1rem;
}

ul li, ol li {
  margin-bottom: 0.5rem;
  line-height: 1.8;
}

/* Contact Info */
.contact-info {
  background-color: var(--accent-gray);
  padding: 2rem;
  border-radius: 8px;
  margin: 2rem 0;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1.5rem;
  gap: 1rem;
}

.contact-icon {
  color: var(--primary-green);
  font-size: 1.5rem;
  flex-shrink: 0;
  margin-top: 0.25rem;
}

.contact-item p {
  margin-bottom: 0;
}

/* Video Container */
.video-container {
  position: relative;
  width: 100%;
  max-width: 600px;
  margin: 2rem auto;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* Map Container */
.map-container {
  position: relative;
  width: 100%;
  max-width: 100%;
  height: 500px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  margin: 2rem 0;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

@media (max-width: 768px) {
  .map-container {
    height: 350px;
  }
}

/* Accordion */
.accordion {
  margin: 2rem 0;
}

.accordion-item {
  border: 1px solid var(--border-color);
  margin-bottom: 1rem;
  border-radius: 4px;
  overflow: hidden;
}

.accordion-header {
  background-color: var(--accent-gray);
  padding: 1.5rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.3s ease;
  user-select: none;
}

.accordion-header:hover {
  background-color: #e0e0e0;
}

.accordion-header.active {
  background-color: var(--primary-green);
  color: #fff;
}

.accordion-icon {
  font-size: 1.2rem;
  transition: transform 0.3s ease;
}

.accordion-header.active .accordion-icon {
  transform: rotate(180deg);
}

.accordion-content {
  display: none;
  padding: 1.5rem;
  background-color: #fff;
  border-top: 1px solid var(--border-color);
}

.accordion-content.active {
  display: block;
}

/* Breadcrumb */
.breadcrumb {
  display: flex;
  gap: 0.5rem;
  margin: 2rem 0;
  flex-wrap: wrap;
}

.breadcrumb a {
  color: var(--primary-green);
  text-decoration: none;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

.breadcrumb span {
  color: #999;
}

.breadcrumb .current {
  color: var(--text-gray);
}
