/* --- Global Styles --- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', sans-serif;
}

body {
  background: #fff;
  color: #222;
  line-height: 1.6;
}

/* === HERO HEADER === */
header.hero {
  position: relative;
  height: 90vh;
  background: 
    linear-gradient(to bottom, rgba(0,0,0,0.15) 10%, rgba(0,0,0,0.6) 100%),
    url('images/header.jpg') center center / cover no-repeat;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: #fff;
  overflow: hidden;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 90%;
  padding: 1rem;
}

.hero-content h1 {
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: 0.5px;
  white-space: nowrap; /* keeps one line on desktop */
  text-shadow: 0 4px 10px rgba(0,0,0,0.7);
}

.hero-content p {
  margin-top: 0.75rem;
  font-size: clamp(1rem, 2vw, 1.3rem);
  color: #f5f5f5;
  text-shadow: 0 3px 6px rgba(0,0,0,0.6);
}

.call-btn {
  display: inline-block;
  margin-top: 1.8rem;
  padding: 0.9rem 2rem;
  background: #1e4620;
  color: #fff;
  font-weight: 600;
  border-radius: 50px;
  text-decoration: none;
  font-size: 1.1rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.25);
  transition: all 0.3s ease;
}

.call-btn:hover {
  background: #2b7031;
  transform: translateY(-3px);
}

/* --- Section Styles --- */
section {
  padding: 4rem 2rem;
  text-align: center;
}

/* === ABOUT SECTION === */
.about {
  background: #f9f9f9;
  padding: 5rem 2rem;
}

.about-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
}

.about-text {
  flex: 1 1 500px;
  text-align: left;
}

.about-text h2 {
  color: #1e4620;
  font-size: 2.2rem;
  margin-bottom: 1rem;
}

.about-text p {
  margin-bottom: 1rem;
  font-size: 1.1rem;
  line-height: 1.7;
}

.about-text .cta-btn {
  display: inline-block;
  background: #1e4620;
  color: #fff;
  text-decoration: none;
  padding: 0.9rem 1.6rem;
  border-radius: 8px;
  font-weight: bold;
  transition: background 0.3s ease;
}

.about-text .cta-btn:hover {
  background: #2b7031;
}

.about-image {
  flex: 1 1 500px;
  text-align: center;
}

.about-image img {
  width: 100%;
  max-width: 550px;
  border-radius: 20px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease;
}

.about-image img:hover {
  transform: scale(1.03);
}

/* === SERVICES SECTION === */
.services {
  background: linear-gradient(135deg, #f1f8f3 0%, #e4f0e5 100%);
  padding: 5rem 2rem;
  text-align: center;
}

.services h2 {
  color: #1e4620;
  font-size: 2.2rem;
  margin-bottom: 2rem;
}

.service-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.service-card {
  background: #fff;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  flex: 1 1 300px;
  max-width: 350px;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.service-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.service-card h3 {
  color: #1e4620;
  margin: 1rem 0 0.5rem;
  font-size: 1.3rem;
}

.service-card p {
  font-size: 1rem;
  padding: 0 1.2rem 1.5rem;
  color: #333;
}

/* === CONTACT SECTION === */
.contact {
  background: linear-gradient(135deg, #eaf7ec 0%, #d5ebd7 100%);
  padding: 5rem 2rem;
  text-align: center;
}

.contact h2 {
  color: #1e4620;
  font-size: 2.2rem;
  margin-bottom: 1rem;
}

.contact p {
  color: #333;
  max-width: 600px;
  margin: 0 auto 2rem;
  font-size: 1.1rem;
  line-height: 1.6;
}

.contact form {
  background: #fff;
  max-width: 600px;
  margin: 0 auto;
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact input,
.contact textarea {
  padding: 0.8rem;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 1rem;
  font-family: 'Segoe UI', sans-serif;
}

.contact textarea {
  min-height: 120px;
  resize: vertical;
}

.contact button {
  background: #1e4620;
  color: #fff;
  padding: 1rem;
  border: none;
  border-radius: 8px;
  font-size: 1.1rem;
  cursor: pointer;
  transition: background 0.3s ease;
}

.contact button:hover {
  background: #2b7031;
}

.form-status {
  margin-top: 1rem;
  color: #1e4620;
  font-weight: 600;
}

/* === FOOTER === */
footer {
  background: #1e4620;
  color: #fff;
  text-align: center;
  padding: 1rem;
}

/* === RESPONSIVE DESIGN === */
@media (max-width: 768px) {
  header.hero {
    height: 75vh;
    background-position: 50% 40%;
  }

  .hero-content h1 {
    white-space: normal;
    font-size: 2.2rem;
  }

  .hero-content p {
    font-size: 1.1rem;
  }

  .about-container {
    flex-direction: column;
    text-align: center;
  }

  .about-text {
    text-align: center;
  }
}
