/* public/css/home.css */

/* ============================================
   HERO SECTION - MOBILE FIRST
   ============================================ */

.hero-section {
  position: relative;
  height: 80vh;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-image: url('/images/hero/home-hero.webp');
  background-size: cover;
  background-position: center;
  background-attachment: scroll;
  margin-top: var(--nav-height);
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(rgba(27, 67, 50, 0.7), rgba(27, 67, 50, 0.5));
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  color: var(--white);
  padding: 0 var(--spacing-sm);
}

.hero-title {
  font-size: 2rem;
  margin-bottom: var(--spacing-sm);
  color: var(--white);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
  font-size: var(--font-size-lg);
  margin-bottom: var(--spacing-md);
  color: var(--white);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-cta {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-sm);
  align-items: center;
}

/* Hero - Tablet */
@media (min-width: 768px) {
  .hero-section {
    height: 90vh;
    min-height: 600px;
  }
  
  .hero-title {
    font-size: 3rem;
  }
  
  .hero-subtitle {
    font-size: var(--font-size-xl);
  }
  
  .hero-cta {
    flex-direction: row;
    justify-content: center;
  }
}

/* Hero - Desktop */
@media (min-width: 1024px) {
  .hero-section {
    background-attachment: fixed;
  }
  
  .hero-title {
    font-size: 3.5rem;
  }
}


/* ============================================
   SERVICES SECTION - MOBILE FIRST
   ============================================ */

.services-section {
  background-color: var(--white);
}

.section-header {
  margin-bottom: var(--spacing-lg);
}

.section-header h2 {
  color: var(--text-dark);
  margin-bottom: var(--spacing-sm);
}

.section-header p {
  font-size: var(--font-size-lg);
  color: var(--text-gray);
}

.services-grid {
  margin-bottom: var(--spacing-md);
}

.service-card {
  background-color: var(--white);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-base);
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.service-image {
  width: 100%;
  height: 200px;
  overflow: hidden;
}

.service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.service-card:hover .service-image img {
  transform: scale(1.05);
}

.service-content {
  padding: var(--spacing-md);
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.service-content h3 {
  color: var(--primary-green);
  margin-bottom: var(--spacing-sm);
}

.service-content p {
  flex-grow: 1;
  margin-bottom: var(--spacing-sm);
}

.service-link {
  color: var(--primary-green);
  font-weight: 600;
  display: inline-block;
  transition: transform var(--transition-fast);
}

.service-card:hover .service-link {
  transform: translateX(5px);
}

/* Services - Tablet */
@media (min-width: 768px) {
  .service-image {
    height: 220px;
  }
}

/* Services - Desktop */
@media (min-width: 1024px) {
  .service-image {
    height: 240px;
  }
}


/* ============================================
   ABOUT SECTION - MOBILE FIRST
   ============================================ */

.about-section {
  background-color: var(--light-gray);
}

.about-content {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-lg);
}

.about-text h2 {
  color: var(--primary-green);
  margin-bottom: var(--spacing-md);
}

.about-text p {
  margin-bottom: var(--spacing-sm);
  line-height: var(--line-height-loose);
}

.about-features {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
  margin-top: var(--spacing-md);
}

.about-feature {
  display: flex;
  gap: var(--spacing-sm);
  align-items: flex-start;
}

.feature-icon {
  width: 40px;
  height: 40px;
  background-color: var(--primary-green);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  flex-shrink: 0;
}

.feature-text strong {
  display: block;
  color: var(--text-dark);
  margin-bottom: 0.25rem;
}

.feature-text p {
  margin: 0;
  font-size: var(--font-size-sm);
}

.about-image {
  width: 100%;
}

.about-image img {
  width: 100%;
  height: auto;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-md);
}

/* About - Tablet */
@media (min-width: 768px) {
  .about-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }
}

/* About - Desktop */
@media (min-width: 1024px) {
  .about-content {
    flex-direction: row;
    align-items: center;
  }
  
  .about-text {
    flex: 1;
  }
  
  .about-image {
    flex: 1;
  }
}


/* ============================================
   PROCESS PREVIEW SECTION - MOBILE FIRST
   ============================================ */

.process-preview-section {
  background-color: var(--white);
}

.process-steps {
  margin-bottom: var(--spacing-md);
}

.process-step {
  text-align: center;
  padding: var(--spacing-md);
  background-color: var(--light-gray);
  border-radius: var(--border-radius-lg);
  transition: all var(--transition-base);
}

.process-step:hover {
  background-color: var(--white);
  box-shadow: var(--shadow-md);
  transform: translateY(-5px);
}

.step-number {
  width: 60px;
  height: 60px;
  background-color: var(--primary-green);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--font-size-2xl);
  font-weight: bold;
  margin: 0 auto var(--spacing-sm);
}

.process-step h3 {
  color: var(--text-dark);
  margin-bottom: var(--spacing-sm);
}

.process-step p {
  margin: 0;
  font-size: var(--font-size-sm);
}

/* Process - Tablet */
@media (min-width: 768px) {
  .process-step {
    padding: var(--spacing-lg);
  }
  
  .step-number {
    width: 70px;
    height: 70px;
  }
  
  .process-step p {
    font-size: var(--font-size-base);
  }
}


/* ============================================
   SERVICE AREA SECTION - MOBILE FIRST
   ============================================ */

.service-area-section {
  background-color: var(--dark-green);
  color: var(--white);
}

.service-area-section h2 {
  color: var(--white);
  margin-bottom: var(--spacing-sm);
}

.service-area-section p {
  color: var(--white);
  font-size: var(--font-size-lg);
  max-width: 700px;
  margin: 0 auto var(--spacing-md);
}

.service-cities {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--spacing-sm);
  margin-bottom: var(--spacing-md);
}

.city {
  padding: var(--spacing-sm) var(--spacing-md);
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: var(--border-radius-md);
  font-weight: 600;
  font-size: var(--font-size-lg);
}

/* Service Area - Tablet */
@media (min-width: 768px) {
  .service-cities {
    gap: var(--spacing-md);
  }
  
  .city {
    padding: var(--spacing-md) var(--spacing-lg);
  }
}


/* ============================================
   LAWN SECTION - MOBILE FIRST
   ============================================ */

.lawn-section {
  background-color: var(--off-white);
}

.lawn-content {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-lg);
}

.lawn-text h2 {
  color: var(--text-dark);
  margin-bottom: var(--spacing-sm);
}

.lawn-text p {
  margin-bottom: var(--spacing-md);
}

.lawn-services {
  list-style: none;
  margin-bottom: var(--spacing-md);
}

.lawn-services li {
  padding: var(--spacing-sm) 0;
  padding-left: 1.5rem;
  position: relative;
  color: var(--text-gray);
}

.lawn-services li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--primary-green);
  font-weight: bold;
}

.lawn-image {
  width: 100%;
}

.lawn-image img {
  width: 100%;
  height: auto;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-md);
}

/* Lawn - Desktop */
@media (min-width: 1024px) {
  .lawn-content {
    flex-direction: row;
    align-items: center;
  }
  
  .lawn-text {
    flex: 1;
  }
  
  .lawn-image {
    flex: 1;
  }
}


/* ============================================
   FINAL CTA SECTION - MOBILE FIRST
   ============================================ */

.final-cta-section {
  background-color: var(--light-gray);
}

.final-cta-section h2 {
  color: var(--primary-green);
  margin-bottom: var(--spacing-sm);
}

.final-cta-section p {
  font-size: var(--font-size-lg);
  margin-bottom: var(--spacing-md);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-options {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-sm);
  align-items: center;
}

/* Final CTA - Tablet */
@media (min-width: 768px) {
  .cta-options {
    flex-direction: row;
    justify-content: center;
  }
}