/* TreeMax Tree Service - Professional Tree Care */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

:root {
  --forest-green: #2d5016;
  --medium-green: #4a7c59;
  --light-green: #6b8e5a;
  --earth-brown: #8b5a2b;
  --light-brown: #a0673b;
  --off-white: #fafafa;
  --white: #ffffff;
  --dark-gray: #333333;
  --medium-gray: #666666;
  --light-gray: #f5f5f5;
}

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

body {
  font-family: 'Inter', sans-serif;
  line-height: 1.6;
  color: var(--dark-gray);
  background: var(--white);
}

/* Header & Navigation */
header {
  background: var(--white);
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

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

.logo {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--forest-green);
  text-decoration: none;
}

nav ul {
  display: flex;
  list-style: none;
  align-items: center;
  gap: 30px;
}

nav a {
  text-decoration: none;
  color: var(--dark-gray);
  font-weight: 500;
  transition: color 0.3s ease;
}

nav a:hover {
  color: var(--forest-green);
}

.dropdown {
  position: relative;
}

.dropdown-content {
  display: none;
  position: absolute;
  background: var(--white);
  box-shadow: 0 8px 16px rgba(0,0,0,0.1);
  z-index: 1001;
  min-width: 220px;
  border-radius: 8px;
  padding: 10px 0;
  top: 100%;
  left: 0;
}

.dropdown:hover .dropdown-content {
  display: block;
}

.dropdown-content a {
  display: block;
  padding: 12px 20px;
  color: var(--dark-gray);
  font-size: 0.95rem;
}

.dropdown-content a:hover {
  background: var(--light-gray);
}

.phone-header {
  background: var(--forest-green);
  color: var(--white);
  padding: 10px 20px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  transition: background 0.3s ease;
}

.phone-header:hover {
  background: var(--medium-green);
}

/* Mobile menu */
.mobile-menu {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.mobile-menu span {
  width: 25px;
  height: 3px;
  background: var(--dark-gray);
  margin: 3px 0;
  transition: 0.3s;
}

/* Hero Section */
.hero {
  height: 600px;
  background: linear-gradient(rgba(45, 80, 22, 0.6), rgba(45, 80, 22, 0.6)), url('https://images.unsplash.com/photo-1441974231531-c6227db76b6e?ixlib=rb-4.0.3&auto=format&fit=crop&w=2070&q=80') center/cover;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--white);
}

.hero-content h1 {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
}

.hero-content p {
  font-size: 1.3rem;
  margin-bottom: 30px;
  max-width: 600px;
}

.cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-primary, .btn-secondary {
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  display: inline-block;
}

.btn-primary {
  background: var(--earth-brown);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--light-brown);
  transform: translateY(-2px);
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
}

.btn-secondary:hover {
  background: var(--white);
  color: var(--forest-green);
}

/* Main Content */
main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 60px 0;
}

.section h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--forest-green);
  text-align: center;
  margin-bottom: 50px;
}

.section h3 {
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--forest-green);
  margin-bottom: 20px;
}

/* Services Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.service-card {
  background: var(--white);
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
  text-align: center;
  transition: transform 0.3s ease;
}

.service-card:hover {
  transform: translateY(-5px);
}

.service-card h4 {
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--forest-green);
  margin-bottom: 15px;
}

.service-card p {
  color: var(--medium-gray);
  margin-bottom: 20px;
}

/* Service Areas Grid */
.areas-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-top: 40px;
}

.area-card {
  background: var(--light-gray);
  padding: 20px;
  border-radius: 8px;
  text-align: center;
  transition: all 0.3s ease;
}

.area-card:hover {
  background: var(--forest-green);
  color: var(--white);
}

.area-card a {
  text-decoration: none;
  color: inherit;
  font-weight: 500;
}

/* Reviews Section */
.reviews {
  background: var(--light-gray);
  padding: 60px 20px;
  text-align: center;
}

.reviews-stats {
  font-size: 2rem;
  font-weight: 700;
  color: var(--forest-green);
  margin-bottom: 20px;
}

.stars {
  color: #ffc107;
  font-size: 1.5rem;
  margin-bottom: 30px;
}

/* Contact Section */
.contact-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.contact-card {
  background: var(--white);
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
  text-align: center;
}

.contact-card h4 {
  color: var(--forest-green);
  font-size: 1.3rem;
  margin-bottom: 15px;
}

form {
  display: grid;
  gap: 20px;
  max-width: 600px;
  margin: 0 auto;
}

.form-group {
  display: grid;
  gap: 5px;
}

label {
  font-weight: 500;
  color: var(--dark-gray);
}

input, textarea, select {
  padding: 12px 15px;
  border: 2px solid #e1e1e1;
  border-radius: 6px;
  font-family: inherit;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: var(--forest-green);
}

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

/* Footer */
footer {
  background: var(--forest-green);
  color: var(--white);
  padding: 50px 0 30px;
}

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

.footer-section h4 {
  font-size: 1.3rem;
  margin-bottom: 20px;
  color: var(--white);
}

.footer-section a {
  color: var(--white);
  text-decoration: none;
  display: block;
  margin-bottom: 8px;
  transition: color 0.3s ease;
}

.footer-section a:hover {
  color: var(--light-green);
}

.footer-bottom {
  text-align: center;
  margin-top: 30px;
  padding-top: 30px;
  border-top: 1px solid var(--medium-green);
  color: #ccc;
}

/* Responsive Design */
@media (max-width: 768px) {
  .nav-container {
    flex-direction: column;
    height: auto;
    padding: 15px 20px;
  }

  nav ul {
    flex-direction: column;
    gap: 15px;
    margin-top: 15px;
  }

  .dropdown-content {
    position: static;
    display: block;
    box-shadow: none;
    background: var(--light-gray);
    margin-top: 10px;
  }

  .hero-content h1 {
    font-size: 2.5rem;
  }

  .hero-content p {
    font-size: 1.1rem;
  }

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

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

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

  .areas-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .areas-grid {
    grid-template-columns: 1fr;
  }
  
  .hero-content h1 {
    font-size: 2rem;
  }
}