/* ===== RESET & BASE ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --green: #1b5e20;
  --green-light: #2e7d32;
  --green-dark: #0d3b12;
  --black: #111111;
  --white: #ffffff;
  --gray: #f5f5f5;
  --text: #333333;
  --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  color: var(--text);
  line-height: 1.6;
  background: var(--white);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

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

/* ===== HEADER ===== */
header {
  background: var(--white);
  box-shadow: var(--shadow);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--green-dark);
}

.logo img {
  height: 195px;
  width: auto;
  display: block;
}


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

nav a {
  font-weight: 600;
  font-size: 2rem;
  color: var(--black);
  transition: color 0.2s;
  position: relative;
}

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

nav a.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--green);
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--black);
}

/* ===== HERO ===== */
.hero {
  background: 
    linear-gradient(rgba(13, 59, 18, 0.65), rgba(27, 94, 32, 0.7)),
    url('../images/hero-bg.jpg') center/cover no-repeat;
  color: var(--white);
  padding: 7rem 0;
  text-align: center;
  min-height: 480px;
  display: flex;
  align-items: center;
}

.hero h1 {
  font-size: 2.8rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

.hero p {
  font-size: 1.25rem;
  max-width: 600px;
  margin: 0 auto 2rem;
  opacity: 0.95;
}

.btn {
  display: inline-block;
  padding: 0.85rem 2rem;
  border-radius: 6px;
  font-weight: 600;
  transition: all 0.2s;
  border: none;
  cursor: pointer;
  font-size: 1rem;
}

.btn-primary {
  background: var(--white);
  color: var(--green-dark);
}

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

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

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

/* ===== SECTIONS ===== */
section {
  padding: 5rem 0;
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title h2 {
  font-size: 2.2rem;
  color: var(--green-dark);
  margin-bottom: 0.5rem;
}

.section-title p {
  color: #666;
  max-width: 600px;
  margin: 0 auto;
}

/* ===== FEATURES / SERVICES PREVIEW ===== */
.features {
  background: var(--gray);
}

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

.feature-card {
  background: var(--white);
  padding: 2rem;
  border-radius: 12px;
  box-shadow: var(--shadow);
  text-align: center;
  transition: transform 0.2s;
}

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

.feature-icon {
  width: 64px;
  height: 64px;
  background: var(--green);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin: 0 auto 1.25rem;
}

.feature-card h3 {
  margin-bottom: 0.75rem;
  color: var(--green-dark);
}

/* ===== SERVICES PAGE ===== */
.services-list {
  display: grid;
  gap: 2rem;
}

.service-item {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 1.5rem;
  background: var(--white);
  padding: 2rem;
  border-radius: 12px;
  box-shadow: var(--shadow);
  border-left: 5px solid var(--green);
}

.service-number {
  width: 60px;
  height: 60px;
  background: var(--green);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  font-weight: 700;
}

.service-item h3 {
  color: var(--green-dark);
  margin-bottom: 0.5rem;
}

.before-after {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-top: 1.5rem;
}

.before-after.large {
  gap: 1.5rem;
}

.ba-item {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0,0,0,0.12);
  background: #f0f0f0;
}

.ba-item img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  display: block;
}

.before-after.large .ba-item img {
  height: 360px;
}

.ba-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(27, 94, 32, 0.88);
  color: white;
  text-align: center;
  padding: 0.55rem;
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.5px;
}

.project-section {
  margin-bottom: 2rem;
}

.project-title {
  color: var(--green-dark);
  font-size: 1.5rem;
  margin-bottom: 1rem;
  text-align: center;
}

@media (max-width: 700px) {
  .before-after,
  .before-after.large {
    grid-template-columns: 1fr;
  }

  .ba-item img,
  .before-after.large .ba-item img {
    height: 260px;
  }
}

/* ===== GALLERY ===== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.gallery-item {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 4/3;
  background: #ddd;
  box-shadow: var(--shadow);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(27, 94, 32, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s;
  color: white;
  font-weight: 600;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

/* Placeholder for gallery images */
.placeholder-img {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #c8e6c9, #81c784);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green-dark);
  font-weight: 600;
  font-size: 1.1rem;
}

/* ===== CONTACT ===== */
.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.contact-info h3 {
  color: var(--green-dark);
  margin-bottom: 1rem;
}

.contact-info p {
  margin-bottom: 0.75rem;
}

.contact-info strong {
  color: var(--black);
}

.contact-form {
  background: var(--gray);
  padding: 2.5rem;
  border-radius: 12px;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.4rem;
  font-weight: 500;
  color: var(--black);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;
  font-family: inherit;
  transition: border-color 0.2s;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--green);
}

.form-group textarea {
  min-height: 140px;
  resize: vertical;
}

.btn-submit {
  background: var(--green);
  color: white;
  width: 100%;
  padding: 1rem;
}

.btn-submit:hover {
  background: var(--green-dark);
}

.form-message {
  margin-top: 1rem;
  padding: 1rem;
  border-radius: 6px;
  display: none;
}

.form-message.success {
  background: #e8f5e9;
  color: var(--green-dark);
  display: block;
}

/* ===== FOOTER ===== */
footer {
  background: var(--black);
  color: #ccc;
  padding: 3rem 0 1.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-grid h4 {
  color: white;
  margin-bottom: 1rem;
}

.footer-grid a {
  display: block;
  margin-bottom: 0.5rem;
  transition: color 0.2s;
}

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

.footer-bottom {
  border-top: 1px solid #333;
  padding-top: 1.5rem;
  text-align: center;
  font-size: 0.9rem;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .logo img {
    height: 120px;
  }

  .menu-toggle {
    display: block;
  }

  nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    box-shadow: var(--shadow);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }

  nav.open {
    max-height: 300px;
  }

  nav ul {
    flex-direction: column;
    padding: 1.5rem;
    gap: 1rem;
  }

  nav a {
    font-size: 1.25rem;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .btn-secondary {
    margin-left: 0;
    margin-top: 1rem;
    display: inline-block;
  }

  .contact-wrapper {
    grid-template-columns: 1fr;
  }

  .service-item {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .service-number {
    margin: 0 auto;
  }
}
