/* ==========================================
   GREEN ROOTS  Gardening Services Website
   ========================================== */

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

:root {
  --green-dark: #2d5a1b;
  --green-mid: #4a8c2a;
  --green-light: #7dc44e;
  --green-pale: #e8f5e1;
  --accent: #f5a623;
  --accent2: #e84393;
  --text-dark: #1a2e0d;
  --text-mid: #4a5a3a;
  --text-light: #8a9a7a;
  --white: #ffffff;
  --off-white: #f9fdf5;
  --section-gap: 90px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "DM Sans", sans-serif;
  color: var(--text-dark);
  background: var(--white);
  overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
  font-family: "Playfair Display", serif;
  line-height: 1.2;
}

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

img {
  max-width: 100%;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Buttons */
.btn-primary {
  display: inline-block;
  background: var(--green-mid);
  color: var(--white);
  padding: 14px 32px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 0.95rem;
  transition:
    background 0.3s,
    transform 0.2s;
  border: none;
  cursor: pointer;
}
.btn-primary:hover {
  background: var(--green-dark);
  transform: translateY(-2px);
}

.btn-ghost {
  display: inline-block;
  border: 2px solid rgba(255, 255, 255, 0.8);
  color: var(--white);
  padding: 13px 30px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.3s;
}
.btn-ghost:hover {
  background: var(--white);
  color: var(--green-dark);
}

/* Section labels */
.section-sub {
  color: var(--green-mid);
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 10px;
}
.section-title {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  color: var(--text-dark);
  margin-bottom: 16px;
}
.section-title span {
  color: var(--green-mid);
}
.section-desc {
  color: var(--text-mid);
  font-style: italic;
  margin-bottom: 50px;
}

/* Reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.delay1 {
  transition-delay: 0.15s;
}
.delay2 {
  transition-delay: 0.3s;
}
.delay3 {
  transition-delay: 0.45s;
}

/* ==========================================
   NAVBAR
   ========================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: transparent;
  transition:
    background 0.4s,
    box-shadow 0.4s;
  padding: 18px 0;
}
.navbar.scrolled {
  background: var(--white);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}
.navbar.scrolled .nav-links a {
  color: var(--text-dark);
}
.navbar.scrolled .logo {
  color: var(--green-dark);
}
.navbar.scrolled .hamburger {
  color: var(--text-dark);
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 40px;
}
.logo {
  font-family: "Playfair Display", serif;
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--white);
  white-space: nowrap;
}
.logo span {
  color: var(--green-light);
}
.nav-links {
  display: flex;
  list-style: none;
  gap: 28px;
  flex: 1;
}
.nav-links a {
  color: rgba(255, 255, 255, 0.92);
  font-weight: 500;
  font-size: 0.93rem;
  transition: color 0.2s;
  position: relative;
}
.nav-links a::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--green-light);
  transition: width 0.3s;
}
.nav-links a:hover::after {
  width: 100%;
}
.btn-nav {
  background: var(--accent);
  color: var(--white);
  padding: 10px 22px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 0.88rem;
  white-space: nowrap;
  transition: background 0.3s;
}
.btn-nav:hover {
  background: #d4901f;
}
.hamburger {
  display: none;
  background: none;
  border: none;
  color: var(--white);
  font-size: 1.6rem;
  cursor: pointer;
  margin-left: auto;
}

/* ==========================================
   HERO
   ========================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: url("https://images.unsplash.com/photo-1416879595882-3373a0480b5b?w=1600&q=80")
    center/cover no-repeat;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(30, 70, 10, 0.82) 0%,
    rgba(45, 90, 27, 0.55) 60%,
    transparent 100%
  );
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 640px;
  margin-left: clamp(24px, 8vw, 140px);
  animation: heroIn 1s ease forwards;
}
@keyframes heroIn {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.hero-badge {
  display: inline-block;
  background: var(--accent);
  color: var(--white);
  padding: 8px 18px;
  border-radius: 20px;
  font-size: 0.83rem;
  font-weight: 600;
  margin-bottom: 24px;
  letter-spacing: 0.5px;
}
.hero-content h1 {
  font-size: clamp(2.8rem, 6vw, 4.8rem);
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 20px;
}
.hero-content h1 span {
  color: var(--green-light);
}
.hero-content p {
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 36px;
}
.hero-btns {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.hero-scroll {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.8rem;
  animation: bounce 2s infinite;
  z-index: 1;
}
@keyframes bounce {
  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }
  50% {
    transform: translateX(-50%) translateY(8px);
  }
}

/* ==========================================
   INTRO CIRCLES
   ========================================== */
.intro {
  padding: var(--section-gap) 0;
  background: var(--off-white);
  text-align: center;
}
.circles-row {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  margin-top: 50px;
}
.circle-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.circle-img {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background-size: cover;
  background-position: center;
  border: 5px solid var(--white);
  box-shadow: 0 8px 30px rgba(74, 140, 42, 0.3);
  transition: transform 0.3s;
}
.circle-img:hover {
  transform: scale(1.06);
}
.circle-card p {
  font-weight: 600;
  color: var(--text-dark);
  text-align: center;
  line-height: 1.4;
}
.ci1 {
  background-image: url("https://images.unsplash.com/photo-1416879595882-3373a0480b5b?w=300&q=80");
}
.ci2 {
  background-image: url("https://images.unsplash.com/photo-1558618666-fcd25c85cd64?w=300&q=80");
}
.ci3 {
  background-image: url("https://images.unsplash.com/photo-1464226184884-fa280b87c399?w=300&q=80");
}
.ci4 {
  background-image: url("https://images.unsplash.com/photo-1444930694458-01babf71870c?w=300&q=80");
}

/* ==========================================
   TECHNIQUES
   ========================================== */
.techniques {
  display: flex;
  min-height: 520px;
}
.techniques-left {
  flex: 0 0 42%;
  background: linear-gradient(
    135deg,
    var(--green-dark) 0%,
    var(--green-mid) 100%
  );
  padding: 70px 50px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
  position: relative;
  overflow: hidden;
}
.techniques-left::before {
  content: "";
  font-size: 200px;
  position: absolute;
  right: -30px;
  bottom: -20px;
  opacity: 0.08;
  line-height: 1;
}
.tag-label {
  display: inline-block;
  background: var(--accent);
  color: var(--white);
  padding: 6px 16px;
  border-radius: 3px;
  font-size: 0.8rem;
  font-weight: 600;
  width: fit-content;
}
.techniques-left h2 {
  font-size: clamp(2rem, 3.5vw, 3rem);
  color: var(--white);
}
.techniques-left p {
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.7;
}
.techniques-right {
  flex: 1;
  background: var(--off-white);
  padding: 70px 50px;
  display: flex;
  flex-direction: column;
  gap: 30px;
  justify-content: center;
}
.tech-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 20px;
  background: var(--white);
  border-radius: 8px;
  border-left: 4px solid var(--green-light);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  transition:
    box-shadow 0.3s,
    transform 0.3s;
}
.tech-item:hover {
  box-shadow: 0 6px 24px rgba(74, 140, 42, 0.15);
  transform: translateX(4px);
}
.tech-icon {
  font-size: 1.8rem;
  flex-shrink: 0;
  margin-top: 2px;
}
.tech-item h4 {
  font-size: 1rem;
  margin-bottom: 5px;
  color: var(--text-dark);
}
.tech-item p {
  color: var(--text-mid);
  font-size: 0.88rem;
  line-height: 1.6;
}

/* ==========================================
   SERVICES
   ========================================== */
.services {
  padding: var(--section-gap) 0;
  background: var(--white);
  text-align: center;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 28px;
  margin-top: 50px;
}
.service-card {
  background: var(--off-white);
  border-radius: 12px;
  overflow: hidden;
  text-align: left;
  transition:
    box-shadow 0.3s,
    transform 0.3s;
  border: 1px solid rgba(74, 140, 42, 0.1);
}
.service-card:hover {
  box-shadow: 0 12px 40px rgba(74, 140, 42, 0.2);
  transform: translateY(-6px);
}
.svc-img {
  height: 200px;
  background-size: cover;
  background-position: center;
}
.service-card h4 {
  font-size: 1.05rem;
  padding: 18px 20px 6px;
  color: var(--text-dark);
}
.service-card p {
  font-size: 0.87rem;
  color: var(--text-mid);
  padding: 0 20px 20px;
  line-height: 1.6;
}
.s1 {
  background-image: url("https://images.unsplash.com/photo-1558618666-fcd25c85cd64?w=500&q=80");
}
.s2 {
  background-image: url("https://images.unsplash.com/photo-1462275646964-a0e3386b89fa?w=500&q=80");
}
.s3 {
  background-image: url("https://images.unsplash.com/photo-1586348943529-beaae6c28db9?w=500&q=80");
}
.s4 {
  background-image: url("https://images.unsplash.com/photo-1592419042139-aca73b80b5b2?w=500&q=80");
}

/* ==========================================
   GALLERY
   ========================================== */
.gallery {
  background: var(--text-dark);
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: 220px 220px;
}
.gal-item {
  background-size: cover;
  background-position: center;
  overflow: hidden;
  position: relative;
  transition: transform 0.4s;
}
.gal-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(45, 90, 27, 0);
  transition: background 0.3s;
}
.gal-item:hover::after {
  background: rgba(45, 90, 27, 0.3);
}
.gal-item:hover {
  transform: scale(1.03);
}
.gi1 {
  background-image: url("https://images.unsplash.com/photo-1416879595882-3373a0480b5b?w=600&q=80");
}
.gi2 {
  background-image: url("https://images.unsplash.com/photo-1585320806297-9794b3e4eeae?w=600&q=80");
}
.gi3 {
  background-image: url("https://images.unsplash.com/photo-1558618666-fcd25c85cd64?w=600&q=80");
}
.gi4 {
  background-image: url("https://images.unsplash.com/photo-1464226184884-fa280b87c399?w=600&q=80");
}
.gi5 {
  background-image: url("https://images.unsplash.com/photo-1592419042139-aca73b80b5b2?w=600&q=80");
}
.gi6 {
  background-image: url("https://images.unsplash.com/photo-1444930694458-01babf71870c?w=600&q=80");
}

/* ==========================================
   FEATURES GRID
   ========================================== */
.features {
  padding: var(--section-gap) 0;
  background: var(--off-white);
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.feat-card {
  background: var(--white);
  padding: 28px;
  border-radius: 10px;
  border: 1px solid rgba(74, 140, 42, 0.12);
  transition:
    box-shadow 0.3s,
    transform 0.3s;
}
.feat-card:hover {
  box-shadow: 0 8px 30px rgba(74, 140, 42, 0.15);
  transform: translateY(-4px);
}
.feat-icon {
  font-size: 2rem;
  margin-bottom: 14px;
}
.feat-card h4 {
  font-size: 0.97rem;
  margin-bottom: 8px;
  color: var(--text-dark);
}
.feat-card p {
  font-size: 0.84rem;
  color: var(--text-mid);
  line-height: 1.6;
}
.feat-highlight {
  background: var(--green-mid);
  color: var(--white);
  border: none;
}
.feat-highlight h4 {
  color: var(--white);
}
.feat-highlight p {
  color: rgba(255, 255, 255, 0.85);
}
.read-more {
  display: inline-block;
  margin-top: 14px;
  color: var(--accent);
  font-weight: 600;
  font-size: 0.85rem;
  transition: color 0.2s;
}
.read-more:hover {
  color: var(--white);
}

/* ==========================================
   PACKAGES
   ========================================== */
.packages {
  background: linear-gradient(135deg, #f5f9f2 0%, #e8f5e1 100%);
  padding: var(--section-gap) 0;
}
.packages-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.packages-left h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  margin-bottom: 16px;
}
.packages-left p {
  color: var(--text-mid);
  line-height: 1.7;
  margin-bottom: 28px;
}
.packages-right {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.pkg-card {
  display: flex;
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition:
    box-shadow 0.3s,
    transform 0.3s;
}
.pkg-card:hover {
  box-shadow: 0 10px 40px rgba(74, 140, 42, 0.2);
  transform: translateX(6px);
}
.pkg-img {
  width: 140px;
  flex-shrink: 0;
  background-size: cover;
  background-position: center;
}
.pkg-body {
  padding: 20px 24px;
  flex: 1;
}
.pkg-body h4 {
  font-size: 1.05rem;
  margin-bottom: 8px;
}
.pkg-body p {
  font-size: 0.85rem;
  color: var(--text-mid);
  line-height: 1.6;
  margin-bottom: 12px;
}
.pkg-price {
  display: inline-block;
  background: var(--green-pale);
  color: var(--green-dark);
  padding: 4px 14px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 700;
}
.pk1 {
  background-image: url("https://images.unsplash.com/photo-1558618666-fcd25c85cd64?w=300&q=80");
}
.pk2 {
  background-image: url("https://images.unsplash.com/photo-1416879595882-3373a0480b5b?w=300&q=80");
}

/* ==========================================
   BENEFITS
   ========================================== */
.benefits {
  padding: var(--section-gap) 0;
  background: var(--white);
  text-align: center;
}
.benefits-layout {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 40px;
  align-items: center;
  margin-top: 50px;
  text-align: left;
}
.benefit-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 20px;
  border-radius: 10px;
  transition: background 0.3s;
  margin-bottom: 16px;
}
.benefit-item:hover {
  background: var(--green-pale);
}
.ben-icon {
  font-size: 2rem;
  flex-shrink: 0;
}
.benefit-item h4 {
  font-size: 1rem;
  margin-bottom: 6px;
}
.benefit-item p {
  font-size: 0.86rem;
  color: var(--text-mid);
  line-height: 1.6;
}
.benefits-center {
  display: flex;
  justify-content: center;
}
.benefit-person {
  font-size: 10rem;
  line-height: 1;
  filter: drop-shadow(0 10px 30px rgba(74, 140, 42, 0.3));
}

/* ==========================================
   CONTACT
   ========================================== */
.contact {
  background: linear-gradient(135deg, var(--green-dark) 0%, #1a3a0a 100%);
  padding: var(--section-gap) 0;
}
.contact-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
.contact-text .section-sub {
  color: var(--green-light);
}
.contact-text h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  color: var(--white);
  margin-bottom: 16px;
}
.contact-text p {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.7;
  margin-bottom: 30px;
}
.contact-details p {
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 10px;
  font-size: 0.93rem;
}
.contact-form {
  background: var(--white);
  padding: 40px;
  border-radius: 16px;
}
.contact-form h3 {
  font-size: 1.4rem;
  margin-bottom: 24px;
  color: var(--text-dark);
}
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid #dde8d0;
  border-radius: 6px;
  font-family: "DM Sans", sans-serif;
  font-size: 0.92rem;
  color: var(--text-dark);
  background: var(--off-white);
  margin-bottom: 14px;
  transition: border-color 0.3s;
  outline: none;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--green-mid);
  background: var(--white);
}
.contact-form button {
  width: 100%;
  font-size: 1rem;
  padding: 16px;
}

/* ==========================================
   FOOTER
   ========================================== */
.footer {
  background: var(--text-dark);
  color: rgba(255, 255, 255, 0.8);
  padding: 60px 0 0;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px 40px;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
  gap: 40px;
}
.footer .logo {
  display: block;
  margin-bottom: 14px;
  font-size: 1.3rem;
}
.footer-col p {
  font-size: 0.87rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 8px;
}
.footer-col h4 {
  color: var(--white);
  font-family: "Playfair Display", serif;
  margin-bottom: 16px;
  font-size: 1rem;
}
.footer-col ul {
  list-style: none;
}
.footer-col ul li {
  margin-bottom: 8px;
}
.footer-col ul a {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.87rem;
  transition: color 0.2s;
}
.footer-col ul a:hover {
  color: var(--green-light);
}
.social-links {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}
.social-links a {
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  transition: background 0.3s;
}
.social-links a:hover {
  background: var(--green-mid);
}
.newsletter {
  display: flex;
  gap: 8px;
  margin-top: 14px;
}
.newsletter input {
  flex: 1;
  padding: 11px 14px;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  font-family: "DM Sans", sans-serif;
  font-size: 0.85rem;
  outline: none;
}
.newsletter input::placeholder {
  color: rgba(255, 255, 255, 0.45);
}
.newsletter button {
  background: var(--green-mid);
  color: var(--white);
  border: none;
  padding: 11px 16px;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.82rem;
  transition: background 0.3s;
  white-space: nowrap;
}
.newsletter button:hover {
  background: var(--green-light);
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  padding: 20px 24px;
}
.footer-bottom p {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.45);
}

/* ==========================================
   MOBILE MENU
   ========================================== */
.nav-mobile-open .nav-links {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(30, 70, 10, 0.97);
  justify-content: center;
  align-items: center;
  gap: 30px;
  z-index: 999;
}
.nav-mobile-open .nav-links a {
  color: var(--white);
  font-size: 1.2rem;
}

/* ==========================================
   RESPONSIVE
   ========================================== */
@media (max-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  :root {
    --section-gap: 60px;
  }
  .nav-links {
    display: none;
  }
  .btn-nav {
    display: none;
  }
  .hamburger {
    display: block;
  }
  .techniques {
    flex-direction: column;
  }
  .techniques-left {
    padding: 50px 24px;
  }
  .techniques-right {
    padding: 40px 24px;
  }
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: 180px 180px 180px;
  }
  .packages-inner {
    grid-template-columns: 1fr;
  }
  .benefits-layout {
    grid-template-columns: 1fr;
  }
  .benefits-center {
    display: none;
  }
  .contact-inner {
    grid-template-columns: 1fr;
  }
  .footer-inner {
    grid-template-columns: 1fr;
  }
  .features-grid {
    grid-template-columns: 1fr;
  }
  .pkg-img {
    width: 100px;
  }
}

@media (max-width: 480px) {
  .gallery-grid {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(6, 180px);
  }
  .services-grid {
    grid-template-columns: 1fr;
  }
  .contact-form {
    padding: 28px 20px;
  }
}
