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

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #fafafa;
  overflow-x: hidden;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 1rem;
}

p {
  margin-bottom: 1rem;
  color: #666;
}

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

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background-color: #fafafa;
  z-index: 1000;
  border-bottom: 1px solid #e5e5e5;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-text {
  font-size: 1.5rem;
  font-weight: 700;
  color: #2d5a27;
}

.logo-image {
  height: 48px;
  width: auto;
  max-width: 240px;
  object-fit: contain;
}

.nav-links {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.header-phone {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.header-phone .phone-label {
  font-size: 0.875rem;
  font-weight: 500;
  color: #666;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.header-phone .phone-number {
  font-size: 1.125rem;
  font-weight: 600;
  color: #2d5a27;
  letter-spacing: 0.05em;
}

.nav-link {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-link:hover {
  color: #2d5a27;
}

.dropdown-arrow {
  font-size: 0.8rem;
  margin-left: 0.25rem;
}

.cta-button {
  background-color: #2d5a27;
  color: white;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 6px;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.cta-button:hover {
  background-color: #1e3f1a;
}

/* Hero Section */
.hero {
  padding: 8rem 0 4rem;
  text-align: center;
  background-color: #fafafa;
}

.hero-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 2rem;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  color: #333;
  margin-bottom: 1.5rem;
  line-height: 1.1;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: #666;
  margin-bottom: 3rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Buttons */
.btn {
  padding: 0.875rem 2rem;
  border-radius: 6px;
  font-weight: 500;
  text-decoration: none;
  display: inline-block;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  font-size: 1rem;
}

.btn-primary {
  background-color: #2d5a27;
  color: white;
}

.btn-primary:hover {
  background-color: #1e3f1a;
  transform: translateY(-2px);
}

.btn-secondary {
  background-color: transparent;
  color: #333;
  border: 1px solid #333;
}

.btn-secondary:hover {
  background-color: #333;
  color: white;
}

.btn-outline {
  background-color: transparent;
  color: #333;
  border: 1px solid #ccc;
}

.btn-outline:hover {
  background-color: #f5f5f5;
  border-color: #999;
}

/* Main Image Section */
.main-image {
  padding: 2rem 0;
}

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

.hero-image {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid #e5e5e5;
}

/* Two Column Layout */
.two-column {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  padding: 4rem 0;
}

.two-column.reverse {
  direction: rtl;
}

.two-column.reverse > * {
  direction: ltr;
}

.content-column {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.image-column {
  display: flex;
  justify-content: center;
}

.section-image {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 8px;
}

/* Section Styles */
.section-label {
  font-size: 0.875rem;
  font-weight: 500;
  color: #666;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #333;
  line-height: 1.2;
}

.section-text {
  font-size: 1.125rem;
  color: #666;
  line-height: 1.6;
}

.section-actions {
  display: flex;
  gap: 1rem;
  align-items: center;
  flex-wrap: wrap;
}

.text-link {
  color: #333;
  text-decoration: none;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.text-link:hover {
  color: #2d5a27;
}

.arrow {
  font-size: 0.875rem;
}

/* Section Icons */
.section-icon {
  margin-bottom: 1rem;
}

.icon-square {
  width: 40px;
  height: 40px;
  background-color: #333;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 0.875rem;
}

.house-icon {
  font-size: 1.5rem;
}

/* Materials Section */
.materials-section {
  background-color: white;
}

/* Expertise Section */
.expertise-section {
  background-color: #fafafa;
}

/* Local Section */
.local-section {
  background-color: white;
}

/* Benefits Section */
.benefits-section {
  background-color: #fafafa;
  padding: 6rem 0;
}

/* Services Section */
.services-section {
  background-color: white;
  padding: 6rem 0;
}

.services-header {
  text-align: center;
  margin-bottom: 4rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
}

.service-card {
  background-color: #fafafa;
  border-radius: 12px;
  padding: 2rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.service-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: #2d5a27;
  margin-bottom: 1rem;
}

.service-text {
  color: #666;
  line-height: 1.6;
}

.benefits-header {
  text-align: center;
  margin-bottom: 4rem;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.benefit-card {
  background-color: white;
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.benefit-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.benefit-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 1.5rem;
}

.benefit-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: #333;
  margin-bottom: 1rem;
}

.benefit-text {
  color: #666;
  line-height: 1.6;
}

/* Testimonial Section */
.testimonial-section {
  background-color: white;
  padding: 6rem 0;
}

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

.testimonial-card {
  background-color: #fafafa;
  border-radius: 12px;
  padding: 2.5rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.testimonial-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  text-align: center;
}

.stars {
  font-size: 1.5rem;
  color: #ffd700;
  margin-bottom: 0.5rem;
}

.testimonial-quote {
  font-size: 1.25rem;
  font-weight: 600;
  color: #333;
  font-style: italic;
  line-height: 1.5;
  margin: 0;
}

.testimonial-author {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.author-name {
  font-weight: 600;
  color: #333;
}

.author-location {
  color: #666;
  font-size: 0.875rem;
}

/* Final CTA Section */
.final-cta {
  background-color: #fafafa;
  padding: 6rem 0;
  text-align: center;
}

.cta-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #333;
  margin-bottom: 1rem;
}

.cta-text {
  font-size: 1.125rem;
  color: #666;
  margin-bottom: 3rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Contact Section */
.contact-section {
  background-color: #fafafa;
  padding: 6rem 0;
  text-align: center;
}

.contact-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #333;
  margin-bottom: 1rem;
}

.contact-text {
  font-size: 1.125rem;
  color: #666;
  margin-bottom: 3rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: center;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.contact-link {
  display: inline-block;
  background-color: #2d5a27;
  color: white;
  padding: 1rem 2rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: background-color 0.3s ease;
}

.contact-link:hover {
  background-color: #1e3f1a;
}

.contact-label {
  font-weight: 600;
  color: #333;
}

.contact-value {
  color: #666;
}

.phone-number {
  font-size: 2rem;
  font-weight: 700;
  color: #2d5a27;
  letter-spacing: 0.05em;
}

/* Lead Generation Section */
.lead-section {
  background-color: white;
  padding: 6rem 0;
  text-align: center;
}

.lead-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #333;
  margin-bottom: 1rem;
}

.lead-text {
  font-size: 1.125rem;
  color: #666;
  margin-bottom: 3rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.lead-form {
  max-width: 500px;
  margin: 0 auto;
}

.form-group {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
}

.email-input {
  flex: 1;
  padding: 0.875rem 1rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;
  outline: none;
  transition: border-color 0.3s ease;
}

.email-input:focus {
  border-color: #2d5a27;
}

.form-disclaimer {
  font-size: 0.875rem;
  color: #999;
  text-align: center;
}

/* Hero Image Section */
.hero-image-section {
  padding: 2rem 0;
}

.hero-image-large {
  width: 100%;
  height: 500px;
  object-fit: cover;
}

/* Footer */
.footer {
  background-color: #333;
  color: white;
  padding: 4rem 0 2rem;
}

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

.footer-content {
  display: grid;
  grid-template-columns: 1fr repeat(4, 200px);
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-logo .logo-text {
  color: white;
  font-size: 1.5rem;
  font-weight: 700;
}

.footer-logo-image {
  height: 48px;
  width: auto;
  max-width: 240px;
  object-fit: contain;
  filter: brightness(0) invert(1); /* Makes the logo white for the dark footer */
}

.footer-title {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: white;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-links a {
  color: #ccc;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: white;
}

.footer-text {
  color: #ccc;
  margin-bottom: 1rem;
  line-height: 1.6;
}

.footer-form {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.footer-email {
  flex: 1;
  padding: 0.75rem;
  border: 1px solid #555;
  border-radius: 4px;
  background-color: #444;
  color: white;
  font-size: 0.875rem;
}

.footer-email::placeholder {
  color: #999;
}

.footer-email:focus {
  outline: none;
  border-color: #2d5a27;
}

.footer-disclaimer {
  font-size: 0.75rem;
  color: #999;
}

.footer-bottom {
  border-top: 1px solid #555;
  padding-top: 2rem;
  text-align: center;
}

.copyright {
  color: #999;
  font-size: 0.875rem;
}

/* Responsive Design */
@media (max-width: 768px) {
  .nav-container {
    padding: 1rem;
    flex-wrap: wrap;
  }

  .nav-links {
    display: none;
  }

  .header-phone {
    order: -1;
    width: 100%;
    justify-content: center;
    margin-bottom: 0.5rem;
  }

  .header-phone .phone-label {
    font-size: 0.75rem;
  }

  .header-phone .phone-number {
    font-size: 1rem;
  }

  .hero {
    padding: 7rem 0 3rem;
  }

  .hero-title {
    font-size: 2.5rem;
  }

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

  .two-column {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }

  .section-title {
    font-size: 2rem;
  }

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

  .testimonials-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }

  .form-group {
    flex-direction: column;
  }

  .hero-buttons,
  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .btn {
    width: 100%;
    max-width: 300px;
  }
}

@media (max-width: 480px) {
  .section-container {
    padding: 0 1rem;
  }

  .hero {
    padding: 8rem 0 2rem;
  }

  .hero-title {
    font-size: 2rem;
  }

  .section-title {
    font-size: 1.75rem;
  }

  .benefit-card,
  .testimonial-card {
    padding: 1.5rem;
  }
}

/* Legal Pages */
.legal-page {
  padding-top: 120px; /* Account for fixed header */
  min-height: 100vh;
  background-color: #fafafa;
}

.page-title {
  font-size: 3rem;
  font-weight: 700;
  color: #2d5a27;
  text-align: center;
  margin-bottom: 2rem;
}

.legal-content {
  max-width: 800px;
  margin: 0 auto;
  background-color: white;
  padding: 3rem;
  border-radius: 12px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  line-height: 1.7;
}

.legal-content h2 {
  font-size: 1.5rem;
  font-weight: 600;
  color: #2d5a27;
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.legal-content h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: #333;
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
}

.legal-content p {
  color: #666;
  margin-bottom: 1rem;
}

.legal-content ul {
  color: #666;
  margin-bottom: 1rem;
  padding-left: 1.5rem;
}

.legal-content li {
  margin-bottom: 0.5rem;
}

.legal-content a {
  color: #2d5a27;
  text-decoration: none;
}

.legal-content a:hover {
  text-decoration: underline;
}

.last-updated {
  font-style: italic;
  color: #999;
  font-size: 0.9rem;
  margin-bottom: 2rem;
}

/* Mobile responsive for legal pages */
@media (max-width: 768px) {
  .legal-page {
    padding-top: 100px;
  }
  
  .page-title {
    font-size: 2.5rem;
  }
  
  .legal-content {
    padding: 2rem 1.5rem;
    margin: 0 1rem;
  }
  
  .legal-content h2 {
    font-size: 1.25rem;
  }
  
  .legal-content h3 {
    font-size: 1.125rem;
  }
}

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

/* Focus styles for accessibility */
button:focus,
input:focus,
a:focus {
  outline: 2px solid #2d5a27;
  outline-offset: 2px;
}

/* Loading states */
.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* Animation for elements coming into view */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-up {
  animation: fadeInUp 0.6s ease-out;
}
