/* style.css for Greenform Landscapes */

:root {
  --green: #3ba36f;
  --dark: #1f1f1f;
  --light: #f9f9f9;
  --white: #ffffff;
  --font: 'Inter', sans-serif;
}

body {
  font-family: var(--font);
  margin: 0;
  background-color: var(--light);
  color: var(--dark);
  line-height: 1.6;
}

.container {
  width: 90%;
  max-width: 1100px;
  margin: 0 auto;
}

/* Header */
.site-header {
  background: var(--white);
  border-bottom: 1px solid #ddd;
  padding: 1rem 0;
}

.logo {
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--green);
  margin: 0;
}

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

.nav-links a {
  text-decoration: none;
  color: var(--dark);
  font-weight: 500;
}

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

/* Hero */
.hero {
  background-size: cover;
  background-position: center;
  padding: 6rem 2rem;
  position: relative;
  color: var(--white);
}

.overlay {
  background: rgba(0, 0, 0, 0.5);
  padding: 4rem 2rem;
  text-align: center;
}

.hero-text h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.hero-text p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

.btn {
  background: var(--green);
  color: var(--white);
  padding: 0.75rem 1.5rem;
  text-decoration: none;
  font-weight: 600;
  border-radius: 4px;
  transition: background 0.3s ease;
}

.btn:hover {
  background: #2c8d5b;
}

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

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

/* Sections */
.intro,
.cta {
  padding: 4rem 2rem;
  text-align: center;
}

.intro h2,
.intro h3,
.cta h3 {
  font-size: 1.75rem;
  margin-bottom: 1rem;
}

/* Service Grid */
.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.service-item img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.service-item p {
  margin-top: 0.5rem;
  font-weight: 500;
  text-align: center;
}

/* Footer */
.site-footer {
  background: var(--white);
  color: #666;
  text-align: center;
  padding: 2rem 1rem;
  font-size: 0.9rem;
  border-top: 1px solid #ddd;
}

/* Responsive */
@media (max-width: 768px) {
  .nav-links {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .hero-text h2 {
    font-size: 2rem;
  }

  .hero-text p {
    font-size: 1rem;
  }
}
