/* ===========================
   Custom Properties
   =========================== */
:root {
  --charcoal: #1a1a1a;
  --orange: #d46a2e;
  --off-white: #f5f2ed;
  --near-black: #2d2d2d;
  --forest-green: #2d4a2d;
  --font-heading: 'Barlow Condensed', sans-serif;
  --font-body: 'Source Sans 3', sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

/* ===========================
   Base Styles
   =========================== */
body {
  font-family: var(--font-body);
  color: var(--near-black);
  background: var(--off-white);
  line-height: 1.6;
}

section {
  padding: 5rem 1.5rem;
}

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

/* ===========================
   Image Reset
   =========================== */
img {
  max-width: 100%;
  display: block;
}

/* ===========================
   Navigation
   =========================== */
nav {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  background: transparent;
  transition: background 0.3s;
  padding: 1rem 0;
}

nav.scrolled {
  background: var(--charcoal);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

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

.nav-logo {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--off-white);
  text-decoration: none;
  font-size: 1.25rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2rem;
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: var(--off-white);
  text-decoration: none;
  font-family: var(--font-heading);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
  font-size: 0.95rem;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--orange);
}

.btn-primary {
  background: var(--orange);
  color: var(--off-white);
  padding: 0.75rem 1.5rem;
  border-radius: 4px;
  font-family: var(--font-heading);
  text-transform: uppercase;
  font-weight: 700;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  letter-spacing: 0.05em;
}

.btn-primary:hover {
  filter: brightness(1.1);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--off-white);
  margin: 5px 0;
  transition: 0.3s;
}

/* ===========================
   Hero Section
   =========================== */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-color: var(--charcoal);
  background-image: url('../images/trees.avif');
  background-size: cover;
  background-position: center;
  overflow: hidden;
  padding: 0;
}

.hero-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.7));
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  padding: 2rem;
}

#hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 800;
  color: var(--off-white);
  text-transform: uppercase;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  letter-spacing: 0.02em;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--off-white);
  opacity: 0.9;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.hero-ctas {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.btn-ghost {
  border: 2px solid var(--off-white);
  color: var(--off-white);
  background: transparent;
  padding: 0.75rem 1.5rem;
  border-radius: 4px;
  font-family: var(--font-heading);
  text-transform: uppercase;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s;
  letter-spacing: 0.05em;
}

.btn-ghost:hover {
  background: var(--off-white);
  color: var(--charcoal);
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1.1rem;
}

.hero-phone a {
  color: var(--orange);
  font-size: 1.25rem;
  font-weight: 700;
  text-decoration: none;
  font-family: var(--font-heading);
}

.hero-phone a:hover {
  text-decoration: underline;
}

/* ===========================
   Services Section
   =========================== */
#services {
  background: var(--off-white);
  color: var(--near-black);
  border-top: 4px solid var(--orange);
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  text-transform: uppercase;
  text-align: center;
  margin-bottom: 3rem;
  letter-spacing: 0.05em;
  font-weight: 700;
}

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

.service-card {
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  position: relative;
  transition: transform 0.2s, box-shadow 0.2s;
}

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

.service-img {
  height: 200px;
  background-color: var(--forest-green);
  background-size: cover;
  background-position: center;
}

.service-card-content {
  padding: 1.25rem;
}

.service-card h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  letter-spacing: 0.03em;
  font-weight: 700;
}

.service-card p {
  line-height: 1.6;
  color: #555;
  font-size: 0.95rem;
}

.badge-winter {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--charcoal);
  color: var(--off-white);
  font-size: 0.75rem;
  padding: 0.25rem 0.75rem;
  border-radius: 4px;
  font-family: var(--font-heading);
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.05em;
}

/* ===========================
   About Section
   =========================== */
#about {
  background: var(--charcoal);
  color: var(--off-white);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.about-image {
  min-height: 400px;
  background-color: var(--forest-green);
  border-radius: 8px;
  background-size: cover;
  background-position: center;
}

.section-title--left {
  text-align: left;
}

.about-name {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--orange);
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.about-content p {
  line-height: 1.8;
  margin-bottom: 1rem;
  opacity: 0.9;
}

.trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

.trust-badge {
  border: 2px solid var(--orange);
  color: var(--orange);
  padding: 0.5rem 1rem;
  border-radius: 4px;
  font-family: var(--font-heading);
  text-transform: uppercase;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  transition: all 0.2s;
}

.trust-badge:hover {
  background: var(--orange);
  color: var(--off-white);
}

/* ===========================
   Testimonials Section
   =========================== */
#testimonials {
  background: var(--off-white);
  color: var(--near-black);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
}

.testimonial-card {
  background: white;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  position: relative;
  border-left: 4px solid var(--orange);
  transition: transform 0.2s, box-shadow 0.2s;
}

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

.testimonial-quote {
  font-size: 4rem;
  font-family: var(--font-heading);
  color: var(--orange);
  line-height: 1;
  margin-bottom: 0.5rem;
  font-weight: 800;
}

.testimonial-card blockquote {
  line-height: 1.7;
  font-style: italic;
  margin: 0 0 1.5rem 0;
  color: #555;
  font-size: 0.95rem;
}

.testimonial-card cite {
  font-family: var(--font-heading);
  font-weight: 700;
  text-transform: uppercase;
  font-style: normal;
  color: var(--charcoal);
  letter-spacing: 0.05em;
  font-size: 1rem;
}

/* ===========================
   Contact Section
   =========================== */
#contact {
  background: var(--charcoal);
  color: var(--off-white);
  text-align: center;
}

.contact-intro {
  font-size: 1.25rem;
  margin-bottom: 2.5rem;
  opacity: 0.9;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.contact-details {
  display: flex;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.contact-item {
  text-align: center;
}

.contact-label {
  font-family: var(--font-heading);
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  opacity: 0.5;
  display: block;
  margin-bottom: 0.25rem;
}

.contact-details a {
  color: var(--orange);
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
}

.contact-details a:hover {
  text-decoration: underline;
}

.contact-text {
  font-weight: 600;
  font-size: 1.1rem;
}

.service-area {
  margin-top: 2rem;
  opacity: 0.6;
  font-size: 0.95rem;
}

/* ===========================
   Footer
   =========================== */
footer {
  background: #111;
  color: var(--off-white);
  padding: 1.5rem 0;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.875rem;
}

.footer-content p {
  opacity: 0.6;
  margin: 0;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
}

.footer-links a {
  color: var(--off-white);
  text-decoration: none;
  opacity: 0.6;
  transition: opacity 0.2s;
}

.footer-links a:hover {
  opacity: 1;
}

.footer-top {
  color: var(--orange);
  text-decoration: none;
  font-family: var(--font-heading);
  text-transform: uppercase;
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  transition: opacity 0.2s;
}

.footer-top:hover {
  opacity: 0.8;
}

/* ===========================
   404 Page
   =========================== */
.page-404 {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--charcoal);
  color: var(--off-white);
  text-align: center;
  padding: 2rem;
}

.page-404 h1 {
  font-family: var(--font-heading);
  font-size: clamp(6rem, 15vw, 12rem);
  font-weight: 800;
  color: var(--orange);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.page-404 p {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 2rem;
  opacity: 0.7;
}

/* ========================
   RESPONSIVE
   ======================== */

/* Scroll offset for fixed nav */
section {
  scroll-margin-top: 80px;
}

/* Tablet and below */
@media (max-width: 768px) {
  /* Nav */
  .nav-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--charcoal);
    padding: 1rem 0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  }

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

  .nav-links li {
    text-align: center;
    padding: 0.75rem 0;
  }

  .nav-cta {
    display: none;
  }

  /* Hero */
  #hero h1 {
    font-size: clamp(2rem, 8vw, 3rem);
  }

  .hero-ctas {
    flex-direction: column;
    align-items: center;
  }

  /* Services */
  .services-grid {
    grid-template-columns: 1fr;
  }

  /* About */
  .about-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .about-image {
    min-height: 300px;
  }

  .section-title--left {
    text-align: center;
  }

  /* Testimonials */
  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  /* Contact */
  .contact-details {
    flex-direction: column;
    gap: 1.5rem;
  }

  /* Footer */
  .footer-content {
    flex-direction: column;
    text-align: center;
    gap: 0.75rem;
  }

  /* Section padding */
  section {
    padding: 3rem 1rem;
  }
}

/* Mobile hamburger animation */
.nav-toggle.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.nav-toggle.open span:nth-child(2) {
  opacity: 0;
}
.nav-toggle.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}
