/* ===================================
   Green Valley Landscaping - Styles
   =================================== */

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

:root {
  --green-dark: #2C5F2D;
  --green-mid:   #4A7C4E;
  --green-light: #7BA87B;
  --earth-dark:  #3D2B1F;
  --earth-mid:   #6B4F3A;
  --cream:       #F5F0E8;
  --white:       #FFFFFF;
  --stone:       #D4C4A8;
  --stone-light: #EDE8DE;
}

html {
  scroll-behavior: smooth;
}

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

/* ===== NAVBAR ===== */
.navbar {
  background: var(--white);
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  position: sticky;
  top: 0;
  z-index: 100;
}

.navbar-logo {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--green-dark);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.navbar-logo .leaf {
  font-size: 1.5rem;
}

.navbar-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.navbar-links a {
  color: var(--earth-dark);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.2s;
}

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

.navbar-phone {
  background: var(--green-dark);
  color: white;
  padding: 0.5rem 1.1rem;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  transition: background 0.2s;
}

.navbar-phone:hover {
  background: var(--green-mid);
}

@media (max-width: 768px) {
  .navbar-links { display: none; }
  .navbar { padding: 1rem 1.25rem; }
}

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('https://pub-629428d185ca4960a0a73c850d32294b.r2.dev/generated-images/company_134661/d6e96614-0af4-4930-86dc-b8b5b54387e0.jpg');
  background-size: cover;
  background-position: center;
  filter: brightness(0.55);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(44,95,45,0.6) 0%, rgba(61,43,31,0.3) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 2rem;
  max-width: 760px;
}

.hero-badge {
  display: inline-block;
  background: rgba(255,255,255,0.18);
  border: 1px solid rgba(255,255,255,0.35);
  color: white;
  padding: 0.4rem 1rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  margin-bottom: 1.5rem;
  backdrop-filter: blur(4px);
}

.hero h1 {
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  color: white;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1rem;
}

.hero p {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: rgba(255,255,255,0.9);
  margin-bottom: 2rem;
  font-weight: 400;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-primary {
  background: var(--green-dark);
  color: white;
  padding: 0.85rem 2rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
  transition: background 0.2s, transform 0.15s;
  box-shadow: 0 4px 16px rgba(44,95,45,0.3);
}

.btn-primary:hover {
  background: var(--green-mid);
  transform: translateY(-1px);
}

.btn-secondary {
  background: white;
  color: var(--green-dark);
  padding: 0.85rem 2rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
  transition: background 0.2s, transform 0.15s;
}

.btn-secondary:hover {
  background: var(--stone-light);
  transform: translateY(-1px);
}

/* ===== HERO RATING BADGE ===== */
.hero-rating-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(255,255,255,0.15);
  border: 1.5px solid rgba(255,255,255,0.4);
  color: #F4B942;
  padding: 0.4rem 1rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-bottom: 1.25rem;
  backdrop-filter: blur(6px);
  text-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

/* ===== SECTION SETUP ===== */
.section {
  padding: 5rem 2rem;
}

.section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 3rem;
}

.section-label {
  display: inline-block;
  background: var(--green-light);
  color: white;
  padding: 0.3rem 0.85rem;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.section-header h2 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  color: var(--earth-dark);
  margin-bottom: 0.75rem;
  line-height: 1.2;
}

.section-header p {
  color: #777;
  font-size: 1.05rem;
  line-height: 1.7;
}

/* ===== SERVICES ===== */
.services {
  background: var(--white);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.service-card {
  background: var(--cream);
  border-radius: 12px;
  padding: 2rem 1.5rem;
  text-align: center;
  border: 1px solid var(--stone-light);
  transition: transform 0.2s, box-shadow 0.2s;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(44,95,45,0.12);
}

.service-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  display: block;
}

.service-card h3 {
  color: var(--green-dark);
  font-size: 1.15rem;
  margin-bottom: 0.6rem;
  font-weight: 700;
}

.service-card p {
  color: #666;
  font-size: 0.9rem;
  line-height: 1.6;
}

.service-list {
  list-style: none;
  margin-top: 0.75rem;
  text-align: left;
}

.service-list li {
  color: #555;
  font-size: 0.88rem;
  padding: 0.25rem 0;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.service-list li::before {
  content: '✓';
  color: var(--green-mid);
  font-weight: 700;
  font-size: 0.85rem;
}

@media (max-width: 900px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 500px) {
  .services-grid { grid-template-columns: 1fr; }
}

/* ===== ABOUT ===== */
.about {
  background: var(--stone-light);
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  max-width: 1100px;
  margin: 0 auto;
  align-items: center;
}

.about-text h3 {
  color: var(--green-dark);
  font-size: 1.8rem;
  margin-bottom: 1rem;
  line-height: 1.25;
}

.about-text p {
  color: #555;
  font-size: 1rem;
  margin-bottom: 1rem;
  line-height: 1.75;
}

.about-values {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 1.5rem;
}

.value-item {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
}

.value-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.value-item strong {
  display: block;
  color: var(--earth-dark);
  font-size: 0.95rem;
  margin-bottom: 0.2rem;
}

.value-item span {
  color: #777;
  font-size: 0.85rem;
}

.about-img {
  border-radius: 12px;
  overflow: hidden;
  position: relative;
}

.placeholder-img {
  background: var(--stone);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 340px;
  color: var(--earth-mid);
  font-size: 1rem;
  font-weight: 500;
}

@media (max-width: 768px) {
  .about-content { grid-template-columns: 1fr; gap: 2rem; }
  .about-values { grid-template-columns: 1fr; }
}

/* ===== GALLERY ===== */
.gallery {
  background: var(--white);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, 240px);
  gap: 1rem;
  max-width: 1100px;
  margin: 0 auto;
}

.gallery-item {
  background: var(--stone-light);
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-item .placeholder-img {
  border-radius: 10px;
  width: 100%;
  height: 100%;
  font-size: 0.9rem;
  color: #999;
  background: #e8e4d8;
}

.gallery-item:nth-child(1) { grid-column: span 2; }

@media (max-width: 768px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: auto;
  }
  .gallery-item:nth-child(1) { grid-column: span 2; }
}

@media (max-width: 480px) {
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-item:nth-child(1) { grid-column: span 1; }
}

/* ===== TESTIMONIALS ===== */
.testimonials {
  background: var(--green-dark);
  color: white;
}

.testimonials .section-label {
  background: rgba(255,255,255,0.2);
}

.testimonials .section-header h2 {
  color: white;
}

.testimonials .section-header p {
  color: rgba(255,255,255,0.75);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 1100px;
  margin: 0 auto;
}

.testimonial-card {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 12px;
  padding: 2rem;
}

.stars {
  color: #F4B942;
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
}

.testimonial-card blockquote {
  font-size: 0.95rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.9);
  margin-bottom: 1rem;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.author-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--green-mid);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
  color: white;
}

.author-name {
  font-weight: 600;
  font-size: 0.9rem;
}

.author-location {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.6);
}

@media (max-width: 768px) {
  .testimonials-grid { grid-template-columns: 1fr; }
}

/* ===== WHY CHOOSE US ===== */
.why-us { background: var(--cream); }

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  max-width: 1100px;
  margin: 0 auto;
}

.why-card {
  background: var(--white);
  border-radius: 12px;
  padding: 2rem 1.5rem;
  text-align: center;
  border: 1px solid var(--stone-light);
  transition: transform 0.2s, box-shadow 0.2s;
}

.why-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(44,95,45,0.12);
}

.why-icon { font-size: 2.5rem; margin-bottom: 1rem; display: block; }

.why-card h3 {
  color: var(--green-dark);
  font-size: 1.1rem;
  margin-bottom: 0.6rem;
  font-weight: 700;
}

.why-card p { color: #666; font-size: 0.88rem; line-height: 1.6; }

@media (max-width: 900px) { .why-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 500px) { .why-grid { grid-template-columns: 1fr; } }

/* ===== REVIEWS ===== */
.reviews { background: var(--white); }

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 1100px;
  margin: 0 auto;
}

.review-card {
  background: var(--cream);
  border-radius: 12px;
  padding: 2rem;
  border: 1px solid var(--stone-light);
  transition: transform 0.2s, box-shadow 0.2s;
}

.review-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(44,95,45,0.1);
}

.review-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.review-stars { color: #F4B942; font-size: 1.05rem; letter-spacing: 0.05em; }

.review-time { font-size: 0.78rem; color: #aaa; font-weight: 500; }

.review-card blockquote {
  color: #444;
  font-size: 0.93rem;
  line-height: 1.7;
  margin-bottom: 1.25rem;
}

.review-author { display: flex; align-items: center; gap: 0.75rem; }

.review-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--green-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  color: white;
  flex-shrink: 0;
}

.review-name { font-weight: 600; font-size: 0.88rem; color: var(--earth-dark); }
.review-source { font-size: 0.78rem; color: #aaa; }
.reviews-cta { text-align: center; margin-top: 2.5rem; }

.reviews-link {
  display: inline-block;
  background: var(--green-dark);
  color: white;
  padding: 0.7rem 1.5rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  transition: background 0.2s;
}

.reviews-link:hover { background: var(--green-mid); }

@media (max-width: 768px) { .reviews-grid { grid-template-columns: 1fr; } }

/* ===== ABOUT (right-side rating block) ===== */
.about-img-block {
  background: var(--green-dark);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 360px;
}

.about-block-content { text-align: center; color: white; padding: 2rem; }

.about-block-rating {
  font-size: 2.5rem;
  color: #F4B942;
  letter-spacing: 0.1em;
  margin-bottom: 0.5rem;
}

.about-block-score {
  font-size: 4rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 0.25rem;
}

.about-block-count {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.7);
  margin-bottom: 1.5rem;
}

.about-block-phone {
  font-size: 1.3rem;
  font-weight: 700;
}

/* ===== CTA BANNER ===== */
.cta-banner {
  background: var(--stone-light);
  padding: 5rem 2rem;
  text-align: center;
}

.cta-banner h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  color: var(--earth-dark);
  margin-bottom: 1rem;
}

.cta-banner p {
  color: #666;
  font-size: 1.05rem;
  margin-bottom: 2rem;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.cta-phone {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--green-dark);
  text-decoration: none;
  margin-bottom: 0.5rem;
}

.cta-phone:hover {
  color: var(--green-mid);
}

.cta-sub {
  color: #999;
  font-size: 0.85rem;
}

/* ===== CONTACT / QUOTE FORM ===== */
.contact {
  background: var(--white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  max-width: 1100px;
  margin: 0 auto;
}

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

.contact-info p {
  color: #666;
  line-height: 1.75;
  margin-bottom: 2rem;
}

.contact-details {
  list-style: none;
}

.contact-details li {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  margin-bottom: 1.25rem;
  color: #555;
  font-size: 0.95rem;
}

.contact-details .icon {
  font-size: 1.2rem;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.quote-form {
  background: var(--cream);
  border-radius: 12px;
  padding: 2.5rem;
  border: 1px solid var(--stone-light);
}

.quote-form h3 {
  color: var(--earth-dark);
  font-size: 1.3rem;
  margin-bottom: 1.5rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

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

.form-group label {
  display: block;
  font-weight: 600;
  color: var(--earth-dark);
  font-size: 0.88rem;
  margin-bottom: 0.35rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.7rem 0.9rem;
  border: 1.5px solid var(--stone);
  border-radius: 7px;
  font-size: 0.95rem;
  font-family: inherit;
  background: white;
  color: #333;
  transition: border-color 0.2s;
}

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

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

.form-submit {
  width: 100%;
  background: var(--green-dark);
  color: white;
  border: none;
  padding: 0.9rem;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.2s, transform 0.15s;
  margin-top: 0.5rem;
}

.form-submit:hover {
  background: var(--green-mid);
  transform: translateY(-1px);
}

@media (max-width: 768px) {
  .contact-grid { grid-template-columns: 1fr; gap: 2rem; }
  .form-row { grid-template-columns: 1fr; }
  .quote-form { padding: 1.5rem; }
}

/* ===== FOOTER ===== */
.footer {
  background: var(--earth-dark);
  color: rgba(255,255,255,0.7);
  padding: 4rem 2rem 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  max-width: 1100px;
  margin: 0 auto 2.5rem;
}

.footer-brand h3 {
  color: white;
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.6);
}

.footer-col h4 {
  color: white;
  font-size: 0.95rem;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-col ul {
  list-style: none;
}

.footer-col li {
  margin-bottom: 0.6rem;
}

.footer-col a {
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s;
}

.footer-col a:hover {
  color: white;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 1.5rem;
  text-align: center;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.4);
  max-width: 1100px;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: span 2; }
}

@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand { grid-column: span 1; }
}

/* ===== SCROLL ANIMATIONS ===== */
.fade-up {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}