/* =============================================
   SUNSTATE LAWN & LANDSCAPE — styles.css
   ============================================= */

/* ---- Reset & Base ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Nunito', sans-serif;
  background: #f8f4ed;
  color: #1c2415;
  line-height: 1.7;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5 {
  font-family: 'Bebas Neue', cursive;
  letter-spacing: 0.04em;
  line-height: 1.1;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
ul { list-style: none; }

/* ---- Container ---- */
.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---- Buttons ---- */
.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 4px;
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.22s ease;
  border: 2px solid transparent;
  text-align: center;
}

.btn-primary {
  background: #5a9e3f;
  color: #fff;
  border-color: #5a9e3f;
}
.btn-primary:hover {
  background: #4a8833;
  border-color: #4a8833;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(90,158,63,0.35);
}

.btn-outline {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.6);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.12);
  border-color: #fff;
}

.btn-sm { padding: 10px 22px; font-size: 0.9rem; }
.btn-full { width: 100%; }

/* ---- Section Typography ---- */
.section-eyebrow {
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #5a9e3f;
  margin-bottom: 10px;
}

.section-heading {
  font-family: 'Bebas Neue', cursive;
  font-size: clamp(2.6rem, 5vw, 4rem);
  color: #1c3b1e;
  margin-bottom: 16px;
}

.section-sub {
  font-size: 1.1rem;
  color: #4a5a40;
  max-width: 600px;
  margin-bottom: 48px;
  font-weight: 600;
}

/* ---- Fade-up Animations ---- */
.fade-up {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* =============================================
   NAV
   ============================================= */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(28, 59, 30, 0.96);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: box-shadow 0.3s;
}
.site-header.scrolled {
  box-shadow: 0 2px 20px rgba(0,0,0,0.25);
}

.nav-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-family: 'Bebas Neue', cursive;
  font-size: 1.5rem;
  letter-spacing: 0.06em;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 8px;
}
.logo-icon { color: #5a9e3f; font-size: 1.1rem; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}
.nav-links li a {
  color: rgba(255,255,255,0.85);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.03em;
  transition: color 0.2s;
}
.nav-links li a:hover { color: #fff; }

.nav-cta {
  background: #5a9e3f !important;
  color: #fff !important;
  padding: 9px 22px;
  border-radius: 4px;
  font-size: 0.9rem !important;
  transition: background 0.2s, transform 0.2s !important;
}
.nav-cta:hover {
  background: #4a8833 !important;
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: all 0.3s;
}

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

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 40%;
  transform: scale(1.04);
  transition: transform 8s ease;
}
.hero:hover .hero-bg { transform: scale(1); }

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(28,59,30,0.88) 0%,
    rgba(28,59,30,0.72) 50%,
    rgba(28,59,30,0.55) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1160px;
  margin: 0 auto;
  padding: 120px 24px 80px;
  max-width: 740px;
  padding-left: 24px;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
  box-sizing: border-box;
}

/* reposition left */
.hero-content {
  max-width: 1160px;
  width: 100%;
  padding: 120px 24px 80px;
}

.hero-eyebrow {
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: 0.82rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #d4c49a;
  margin-bottom: 16px;
}

.hero-headline {
  font-family: 'Bebas Neue', cursive;
  font-size: clamp(4rem, 9vw, 8rem);
  color: #fff;
  line-height: 0.95;
  margin-bottom: 24px;
  text-shadow: 0 4px 24px rgba(0,0,0,0.3);
  max-width: 700px;
}

.hero-sub {
  font-size: 1.2rem;
  color: rgba(255,255,255,0.88);
  max-width: 540px;
  margin-bottom: 40px;
  font-weight: 600;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* =============================================
   STATS BAR
   ============================================= */
.stats-bar {
  background: #1c3b1e;
  padding: 32px 24px;
}

.stats-inner {
  max-width: 1160px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}

.stat-item {
  flex: 1;
  min-width: 160px;
  text-align: center;
  padding: 16px 24px;
}

.stat-number {
  display: block;
  font-family: 'Bebas Neue', cursive;
  font-size: 3rem;
  color: #5a9e3f;
  line-height: 1;
  letter-spacing: 0.04em;
}

.stat-label {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #d4c49a;
  margin-top: 4px;
}

.stat-divider {
  width: 1px;
  height: 60px;
  background: rgba(212,196,154,0.25);
  flex-shrink: 0;
}

/* =============================================
   SERVICES
   ============================================= */
.services {
  padding: 100px 0;
  background: #f8f4ed;
}

.services-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.service-row {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 28px;
  align-items: flex-start;
  padding: 32px 0;
  border-bottom: 1px solid rgba(28,59,30,0.1);
}
.service-row:last-of-type { border-bottom: none; }

.service-icon-wrap {
  padding-top: 4px;
}
.service-icon-wrap svg {
  width: 56px;
  height: 56px;
}

.service-text h3 {
  font-family: 'Bebas Neue', cursive;
  font-size: 1.8rem;
  color: #1c3b1e;
  margin-bottom: 8px;
  letter-spacing: 0.04em;
}

.service-text p {
  font-size: 1rem;
  color: #4a5a40;
  font-weight: 600;
  max-width: 620px;
}

/* Before/After Callout */
.before-after-callout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  background: #eef4e8;
  border-radius: 8px;
  overflow: hidden;
  margin: 16px 0;
  border: 1px solid rgba(90,158,63,0.2);
}

.ba-image-wrap img {
  width: 100%;
  height: 320px;
  object-fit: cover;
}

.ba-content {
  padding: 40px;
}

.ba-badge {
  display: inline-block;
  background: #5a9e3f;
  color: #fff;
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 3px;
  margin-bottom: 16px;
}

.ba-content h3 {
  font-family: 'Bebas Neue', cursive;
  font-size: 2.2rem;
  color: #1c3b1e;
  margin-bottom: 12px;
  letter-spacing: 0.04em;
}

.ba-content p {
  font-size: 0.98rem;
  color: #4a5a40;
  font-weight: 600;
  margin-bottom: 24px;
}

/* =============================================
   ABOUT
   ============================================= */
.about {
  padding: 100px 0;
  background: #eef4e8;
}

.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

.about-image img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  border-radius: 6px;
  box-shadow: 0 16px 48px rgba(28,59,30,0.2);
}

.about-content .section-heading {
  margin-bottom: 20px;
}

.about-content > p {
  font-size: 1rem;
  color: #4a5a40;
  font-weight: 600;
  margin-bottom: 32px;
}

.about-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 36px;
}

.about-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.97rem;
  color: #1c2415;
  font-weight: 600;
}

.check-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  min-width: 22px;
  background: #5a9e3f;
  color: #fff;
  border-radius: 50%;
  font-size: 0.75rem;
  font-weight: 800;
  margin-top: 2px;
}

/* =============================================
   REVIEWS
   ============================================= */
.reviews {
  padding: 100px 0;
  background: #f8f4ed;
}

.reviews .section-heading,
.reviews .section-eyebrow {
  text-align: center;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 48px;
}

.review-card {
  background: #fff;
  border-radius: 8px;
  padding: 32px;
  border: 1px solid rgba(28,59,30,0.1);
  box-shadow: 0 2px 16px rgba(28,59,30,0.07);
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: transform 0.25s, box-shadow 0.25s;
}
.review-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 28px rgba(28,59,30,0.12);
}

.review-stars {
  color: #f5a623;
  font-size: 1.1rem;
  letter-spacing: 2px;
}

.review-text {
  font-size: 0.97rem;
  color: #2a3a22;
  font-weight: 600;
  line-height: 1.65;
  flex: 1;
  font-style: italic;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.review-avatar {
  width: 40px;
  height: 40px;
  min-width: 40px;
  background: #1c3b1e;
  color: #d4c49a;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.8rem;
}

.review-author strong {
  display: block;
  font-size: 0.9rem;
  color: #1c3b1e;
}

.review-author span {
  font-size: 0.8rem;
  color: #7a8a72;
  font-weight: 600;
}

.google-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  color: #7a8a72;
  font-weight: 700;
  border-top: 1px solid rgba(28,59,30,0.08);
  padding-top: 14px;
}
.google-badge svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

/* =============================================
   CONTACT
   ============================================= */
.contact {
  padding: 100px 0;
  background: #1c3b1e;
}

.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 72px;
  align-items: flex-start;
}

.contact-info .section-eyebrow { color: #d4c49a; }
.contact-info .section-heading { color: #fff; }

.contact-info > p {
  color: rgba(255,255,255,0.75);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 36px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-detail {
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255,255,255,0.85);
  font-weight: 700;
}
.contact-detail svg {
  width: 20px;
  height: 20px;
  stroke: #5a9e3f;
  flex-shrink: 0;
}
.contact-detail a { color: #fff; }
.contact-detail a:hover { color: #5a9e3f; }

/* Form */
.contact-form-wrap {
  background: #fff;
  border-radius: 8px;
  padding: 40px;
}

.form-row.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 20px;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: #1c3b1e;
  margin-bottom: 6px;
  text-transform: uppercase;
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 12px 14px;
  border: 2px solid #d4c49a;
  border-radius: 4px;
  font-family: 'Nunito', sans-serif;
  font-size: 0.97rem;
  font-weight: 600;
  color: #1c2415;
  background: #fff;
  transition: border-color 0.2s, box-shadow 0.2s;
  -webkit-appearance: none;
  appearance: none;
}

.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%231c3b1e' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 12px;
  padding-right: 36px;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #5a9e3f;
  box-shadow: 0 0 0 3px rgba(90,158,63,0.15);
}

.form-group input.error,
.form-group select.error,
.form-group textarea.error {
  border-color: #d04040;
}

.field-error {
  font-size: 0.8rem;
  color: #d04040;
  font-weight: 700;
  margin-top: 4px;
  min-height: 18px;
}

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

/* Success State */
.form-success {
  text-align: center;
  padding: 48px 24px;
}
.success-icon {
  width: 64px;
  height: 64px;
  background: #5a9e3f;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  font-weight: 800;
  margin: 0 auto 20px;
}
.form-success h3 {
  font-family: 'Bebas Neue', cursive;
  font-size: 2.4rem;
  color: #1c3b1e;
  margin-bottom: 12px;
}
.form-success p {
  font-weight: 600;
  color: #4a5a40;
}
.form-success a { color: #5a9e3f; font-weight: 800; }

/* =============================================
   FOOTER
   ============================================= */
.site-footer {
  background: #111d12;
  padding: 72px 0 0;
}

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-brand .logo-icon {
  font-size: 1.5rem;
  color: #5a9e3f;
}
.footer-brand strong {
  display: block;
  font-family: 'Bebas Neue', cursive;
  font-size: 1.4rem;
  color: #fff;
  letter-spacing: 0.05em;
  margin-top: 4px;
  margin-bottom: 12px;
}
.footer-brand p {
  color: rgba(255,255,255,0.55);
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 6px;
}
.footer-brand a {
  color: #5a9e3f;
  font-weight: 700;
  font-size: 1rem;
}

.footer-links h4 {
  font-family: 'Nunito', sans-serif;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  margin-bottom: 16px;
}
.footer-links ul { display: flex; flex-direction: column; gap: 10px; }
.footer-links li a {
  color: rgba(255,255,255,0.7);
  font-weight: 600;
  font-size: 0.9rem;
  transition: color 0.2s;
}
.footer-links li a:hover { color: #5a9e3f; }

.footer-tagline blockquote {
  font-family: 'Bebas Neue', cursive;
  font-size: 1.8rem;
  color: #d4c49a;
  letter-spacing: 0.04em;
  line-height: 1.2;
  border-left: 3px solid #5a9e3f;
  padding-left: 16px;
  margin-bottom: 16px;
}
.footer-tagline p {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.4);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.footer-bottom {
  text-align: center;
  padding: 20px;
}
.footer-bottom p {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.3);
  font-weight: 600;
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1024px) {
  .about-inner { grid-template-columns: 1fr; gap: 48px; }
  .about-image img { height: 380px; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .contact-inner { grid-template-columns: 1fr; gap: 48px; }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 70px; left: 0; right: 0;
    background: #1c3b1e;
    flex-direction: column;
    gap: 0;
    padding: 16px 0;
    border-top: 1px solid rgba(255,255,255,0.1);
  }
  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; }
  .nav-links li a {
    display: block;
    padding: 14px 24px;
    border-bottom: 1px solid rgba(255,255,255,0.07);
    font-size: 1rem;
  }
  .nav-cta { margin: 8px 24px; border-radius: 4px; }
  .nav-toggle { display: flex; }

  .hero-headline { font-size: clamp(3rem, 12vw, 5rem); }

  .stats-inner { flex-direction: column; gap: 0; }
  .stat-divider { width: 60px; height: 1px; }

  .reviews-grid { grid-template-columns: 1fr; }
  .before-after-callout { grid-template-columns: 1fr; }
  .ba-image-wrap img { height: 240px; }
  .ba-content { padding: 28px 24px; }

  .footer-inner { grid-template-columns: 1fr; gap: 36px; }
  .contact-form-wrap { padding: 28px 20px; }
  .form-row.two-col { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; text-align: center; }
  .section-heading { font-size: 2.4rem; }
  .service-row { grid-template-columns: 60px 1fr; gap: 16px; }
}
