/* ============================================
   Enrique Landscape LLC — styles.css
   Mobile-first, green + earth tone palette
   ============================================ */

:root {
  --green-dark: #1e4620;
  --green: #2e7d32;
  --green-light: #e8f2e8;
  --cream: #faf7f0;
  --accent: #c98f3d;      /* warm earth accent */
  --text: #2b2b2b;
  --text-light: #5c6b5c;
  --white: #ffffff;
  --radius: 10px;
  --shadow: 0 4px 16px rgba(30, 70, 32, 0.12);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Open Sans', Arial, sans-serif;
  color: var(--text);
  background: var(--cream);
  line-height: 1.6;
}

img { max-width: 100%; display: block; }

.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

h1, h2, h3 {
  font-family: 'Merriweather', Georgia, serif;
  color: var(--green-dark);
  line-height: 1.25;
}

h2 { font-size: 1.75rem; margin-bottom: 1rem; }
h3 { font-size: 1.15rem; margin-bottom: 0.5rem; }

.center { text-align: center; }

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.section { padding: 3.5rem 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 0.8rem 1.6rem;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  text-align: center;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow); }

.btn-primary { background: var(--green); color: var(--white); }
.btn-primary:hover { background: var(--green-dark); }

.btn-secondary {
  background: var(--white);
  color: var(--green-dark);
  border: 2px solid var(--green);
}

.btn-nav {
  background: var(--green);
  color: var(--white);
  padding: 0.5rem 1.1rem;
  font-size: 0.9rem;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.6rem;
  padding-bottom: 0.6rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
}

.brand-logo {
  height: 46px;
  width: 46px;
  object-fit: cover;
  border-radius: 50%;
}

.brand-name {
  font-family: 'Merriweather', Georgia, serif;
  font-weight: 900;
  font-size: 1.05rem;
  color: var(--green-dark);
}

.brand-llc { color: var(--accent); font-size: 0.8em; }

.site-nav {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--white);
  flex-direction: column;
  padding: 1rem 1.25rem 1.25rem;
  gap: 0.75rem;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}
.site-nav.open { display: flex; }

.site-nav a {
  text-decoration: none;
  color: var(--text);
  font-weight: 600;
  white-space: nowrap;
}
.site-nav a:hover { color: var(--green); }

/* Hamburger */
.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  width: 24px;
  height: 3px;
  background: var(--green-dark);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  background: url('../images/work-01.jpg') center/cover no-repeat;
  color: var(--white);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(20, 45, 22, 0.72), rgba(20, 45, 22, 0.55));
}

.hero-content {
  position: relative;
  text-align: center;
  padding-top: 4rem;
  padding-bottom: 4rem;
}

.hero h1 {
  color: var(--white);
  font-size: 2rem;
  margin-bottom: 1rem;
}

.hero-sub {
  font-size: 1.1rem;
  max-width: 620px;
  margin: 0 auto 1.75rem;
  opacity: 0.95;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: center;
  margin-bottom: 1.5rem;
}

.hero-trust { font-size: 0.9rem; opacity: 0.85; }

/* ---------- About ---------- */
.about-grid {
  display: grid;
  gap: 2rem;
  align-items: center;
}

.about-points {
  list-style: none;
  margin-top: 1.25rem;
}
.about-points li {
  padding-left: 1.75rem;
  position: relative;
  margin-bottom: 0.6rem;
  font-weight: 600;
}
.about-points li::before {
  content: "✔";
  position: absolute;
  left: 0;
  color: var(--green);
}

.about-photo {
  width: 100%;
  max-width: 680px;
  aspect-ratio: 4 / 3;
  margin: 0 auto;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.about-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* ---------- Services ---------- */
.services { background: var(--green-light); }

.services-grid {
  display: grid;
  gap: 1.25rem;
  margin-top: 2rem;
  grid-template-columns: 1fr;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
  transition: transform 0.15s ease;
}
.service-card:hover { transform: translateY(-4px); }

.service-icon {
  width: 44px;
  height: 44px;
  margin-bottom: 0.75rem;
  color: var(--green);
}
.service-icon svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.service-card p { color: var(--text-light); font-size: 0.95rem; }

/* ---------- Packages ---------- */
.packages-grid {
  display: grid;
  gap: 1.25rem;
  margin-top: 2rem;
  grid-template-columns: 1fr;
}

.package-card {
  background: var(--white);
  border: 1px solid #e3ddd0;
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem;
  text-align: center;
}

.package-card.featured {
  border: 2px solid var(--green);
  background: var(--green-light);
}

.price {
  color: var(--green-dark);
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
}
.price strong { font-size: 1.3rem; }

.package-card p:last-child { color: var(--text-light); font-size: 0.95rem; }

.packages-note {
  text-align: center;
  margin-top: 1.5rem;
  font-size: 0.9rem;
  color: var(--text-light);
  font-style: italic;
}

/* ---------- Gallery ---------- */
.gallery { background: var(--white); }

.gallery-grid {
  display: grid;
  gap: 0.75rem;
  margin-top: 2rem;
  grid-template-columns: repeat(2, 1fr);
}

.gallery-grid figure {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--green-light);
}

.gallery-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.2s ease;
}
.gallery-grid img:hover { transform: scale(1.03); }

.gallery-note { text-align: center; margin-top: 1.5rem; }
.gallery-note a { color: var(--green); font-weight: 700; }

/* ---------- Testimonials ---------- */
.testimonials { background: var(--green-light); }

.testimonials-grid {
  display: grid;
  gap: 1.25rem;
  margin-top: 2rem;
  grid-template-columns: 1fr;
}

.testimonial {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem;
  box-shadow: var(--shadow);
}

.testimonial p {
  font-style: italic;
  margin-bottom: 1rem;
}

.testimonial cite {
  display: block;
  margin-top: 1.25rem;
  font-style: normal;
  font-weight: 700;
  color: var(--green-dark);
  font-size: 0.9rem;
}

/* ---------- CTA / Contact ---------- */
.cta {
  background: var(--green-dark);
  color: var(--white);
  padding: 3.5rem 0;
  text-align: center;
}

.cta h2 { color: var(--white); }
.cta a { color: #bfe3bf; font-weight: 700; }

.cta-inner > p { max-width: 560px; margin: 0 auto 1.75rem; }

.cta-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: center;
  margin-bottom: 2rem;
}
.cta .btn-secondary {
  background: var(--white);
  border-color: var(--white);
  color: var(--green-dark);
}
.cta .btn-primary {
  background: var(--green);
  color: var(--white);
}
.cta .btn-primary:hover {
  background: #378f3c;
  color: var(--white);
}
.cta .btn-secondary:hover {
  background: var(--green-light);
  color: var(--green-dark);
}

.contact-details p { margin-bottom: 0.3rem; font-size: 0.95rem; }

/* ---------- Footer ---------- */
.site-footer {
  background: #153016;
  color: #cfd8cf;
  text-align: center;
  padding: 2rem 0 5.5rem; /* extra bottom padding for mobile call bar */
  font-size: 0.9rem;
}
.site-footer a { color: #bfe3bf; }
.copyright { margin-top: 0.75rem; opacity: 0.7; }

/* ---------- Sticky mobile call bar ---------- */
.mobile-call-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  gap: 0.5rem;
  padding: 0.6rem 1rem;
  background: var(--white);
  box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.15);
}
.mobile-call-bar .btn {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.7rem;
}
.mobile-call-bar svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---------- Error page ---------- */
.error-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 3rem 0;
  background: var(--cream);
}
.error-content {
  max-width: 680px;
  text-align: center;
}
.error-content > img {
  width: 112px;
  height: 112px;
  margin: 0 auto 1.5rem;
  border-radius: 50%;
  object-fit: cover;
}
.error-content h1 {
  margin-bottom: 1rem;
  font-size: 2rem;
}
.error-content > p:not(.eyebrow) {
  margin-bottom: 1.5rem;
  color: var(--text-light);
}

/* ============================================
   Larger screens
   ============================================ */
@media (min-width: 640px) {
  .hero-actions, .cta-actions { flex-direction: row; justify-content: center; }
  .services-grid, .packages-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  h2 { font-size: 2rem; }
  .hero h1 { font-size: 2.6rem; }
}

@media (min-width: 1100px) {
  /* Desktop nav */
  .nav-toggle { display: none; }
  .site-nav {
    display: flex;
    position: static;
    flex-direction: row;
    align-items: center;
    gap: 1.5rem;
    padding: 0;
    box-shadow: none;
    background: transparent;
  }

  .about-grid { grid-template-columns: minmax(0, 1.1fr) minmax(420px, 1fr); gap: 3rem; }
  .about-photo { max-width: none; margin: 0; }
  .services-grid { grid-template-columns: repeat(3, 1fr); }
  .packages-grid { grid-template-columns: repeat(4, 1fr); }
  .testimonials-grid { grid-template-columns: repeat(3, 1fr); }
  .hero h1 { font-size: 3rem; }

  /* Hide sticky call bar on desktop */
  .mobile-call-bar { display: none; }
  .site-footer { padding-bottom: 2rem; }
}
