/* Bayou Blades Lawncare, LLC — shared styles */
:root {
  --green-deep: #1B4332;
  --green-mid: #2D6A4F;
  --green-light: #40916C;
  --green-accent: #52B788;
  --green-pale: #D8F3DC;
  --cream: #F8F5F0;
  --cream-dark: #EDE8DF;
  --text: #1A1A1A;
  --text-muted: #4A4A4A;
  --white: #FFFFFF;
  --shadow: 0 4px 20px rgba(27, 67, 50, 0.12);
  --radius: 10px;
  --max: 1100px;
  --header-h: 68px;
  --font: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--cream);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

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

a { color: var(--green-mid); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--green-deep); }

h1, h2, h3 {
  font-weight: 700;
  line-height: 1.25;
  color: var(--green-deep);
  margin-top: 0;
}

h1 { font-size: clamp(1.85rem, 4vw, 2.6rem); margin-bottom: 0.75rem; }
h2 { font-size: clamp(1.45rem, 3vw, 1.9rem); margin-bottom: 0.85rem; }
h3 { font-size: 1.15rem; margin-bottom: 0.5rem; }

p { margin: 0 0 1rem; color: var(--text-muted); }
p:last-child { margin-bottom: 0; }

.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* Skip link */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--green-deep);
  color: var(--white);
  padding: 0.75rem 1rem;
  z-index: 1000;
}
.skip-link:focus { left: 1rem; top: 1rem; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--green-deep);
  color: var(--white);
  box-shadow: 0 2px 12px rgba(0,0,0,0.15);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
  gap: 1rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--white);
  text-decoration: none;
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: 0.02em;
}
.logo:hover { color: var(--green-pale); }
.logo-mark {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
}
.logo-sub {
  display: block;
  font-size: 0.68rem;
  font-weight: 500;
  opacity: 0.85;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.nav-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 2px solid rgba(255,255,255,0.35);
  border-radius: 8px;
  background: transparent;
  color: var(--white);
  cursor: pointer;
}
.nav-toggle:focus-visible {
  outline: 3px solid var(--green-accent);
  outline-offset: 2px;
}
.nav-toggle-bars {
  display: block;
  width: 22px;
  height: 2px;
  background: currentColor;
  box-shadow: 0 -7px 0 currentColor, 0 7px 0 currentColor;
}

.site-nav {
  position: absolute;
  top: var(--header-h);
  left: 0;
  right: 0;
  background: var(--green-deep);
  padding: 0.5rem 0 1rem;
  display: none;
  border-top: 1px solid rgba(255,255,255,0.12);
}
.site-nav.is-open { display: block; }

.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}
.site-nav a {
  display: block;
  padding: 0.85rem 1.25rem;
  color: var(--white);
  text-decoration: none;
  font-weight: 500;
  min-height: 48px;
}
.site-nav a:hover,
.site-nav a[aria-current="page"] {
  background: rgba(255,255,255,0.1);
  color: var(--green-pale);
}
.site-nav a[aria-current="page"] { font-weight: 700; }

.header-call {
  display: none;
}

@media (min-width: 800px) {
  .nav-toggle { display: none; }
  .site-nav {
    position: static;
    display: block !important;
    padding: 0;
    border: none;
    background: transparent;
  }
  .site-nav ul {
    flex-direction: row;
    align-items: center;
    gap: 0.15rem;
  }
  .site-nav a {
    padding: 0.5rem 0.75rem;
    border-radius: 6px;
    min-height: auto;
    font-size: 0.95rem;
  }
  .header-call {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-left: 0.5rem;
    padding: 0.55rem 1rem;
    background: var(--green-accent);
    color: var(--green-deep);
    font-weight: 700;
    text-decoration: none;
    border-radius: 8px;
    white-space: nowrap;
    min-height: 44px;
  }
  .header-call:hover {
    background: var(--green-pale);
    color: var(--green-deep);
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 1.5rem;
  min-height: 52px;
  font-family: inherit;
  font-size: 1.05rem;
  font-weight: 700;
  text-decoration: none;
  border-radius: 8px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.btn:focus-visible {
  outline: 3px solid var(--green-accent);
  outline-offset: 3px;
}
.btn-primary {
  background: var(--green-accent);
  color: var(--green-deep);
}
.btn-primary:hover {
  background: var(--green-pale);
  color: var(--green-deep);
}
.btn-secondary {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.7);
}
.btn-secondary:hover {
  background: rgba(255,255,255,0.12);
  color: var(--white);
}
.btn-outline {
  background: transparent;
  color: var(--green-deep);
  border-color: var(--green-mid);
}
.btn-outline:hover {
  background: var(--green-pale);
  color: var(--green-deep);
}
.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

/* Hero */
.hero {
  position: relative;
  background: linear-gradient(145deg, #1B4332 0%, #2D6A4F 55%, #40916C 100%);
  color: var(--white);
  padding: 3.5rem 0 4rem;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 90% 20%, rgba(82,183,136,0.25), transparent 60%),
    radial-gradient(ellipse 50% 40% at 10% 80%, rgba(216,243,220,0.08), transparent 50%);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 2rem;
  align-items: center;
}
@media (min-width: 800px) {
  .hero-inner { grid-template-columns: 1.2fr 0.8fr; gap: 3rem; }
  .hero { padding: 4.5rem 0 5rem; }
}
.hero h1 { color: var(--white); }
.hero .lead {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.92);
  max-width: 36ch;
}
.hero-photo {
  display: flex;
  justify-content: center;
}
.hero-photo img {
  width: 100%;
  max-width: 560px;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 14px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.28);
  border: 3px solid rgba(216, 243, 220, 0.35);
}
.hero-with-bg {
  background:
    linear-gradient(145deg, rgba(27, 67, 50, 0.92) 0%, rgba(45, 106, 79, 0.88) 55%, rgba(64, 145, 108, 0.85) 100%),
    url("images/hero-lawn.jpg") center / cover no-repeat;
}

/* Photo gallery */
.photo-gallery {
  display: grid;
  gap: 0.85rem;
  grid-template-columns: 1fr;
}
@media (min-width: 560px) {
  .photo-gallery { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 900px) {
  .photo-gallery { grid-template-columns: repeat(3, 1fr); }
}
.gallery-item {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--white);
}
.gallery-item img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}
@media (min-width: 800px) {
  .gallery-item img { height: 240px; }
}

/* Services with photos */
.service-block-media {
  display: grid;
  gap: 1.25rem;
  align-items: center;
}
@media (min-width: 700px) {
  .service-block-media {
    grid-template-columns: 1.2fr 0.8fr;
  }
}
.service-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
}
@media (min-width: 700px) {
  .service-img { height: 180px; }
}

/* About photos */
.about-layout {
  display: grid;
  gap: 2rem;
  align-items: start;
}
@media (min-width: 800px) {
  .about-layout {
    grid-template-columns: 1.15fr 0.85fr;
  }
}
.about-photos {
  display: grid;
  gap: 1rem;
}
.about-photos img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
@media (min-width: 800px) {
  .about-photos img { height: 240px; }
}

/* Sections */
main { flex: 1; }

.section {
  padding: 3rem 0;
}
.section-alt {
  background: var(--cream-dark);
}
.section-green {
  background: var(--green-deep);
  color: var(--white);
}
.section-green h2,
.section-green h3 { color: var(--white); }
.section-green p { color: rgba(255,255,255,0.88); }

.section-header {
  max-width: 40rem;
  margin-bottom: 2rem;
}
.section-header .eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--green-light);
  margin-bottom: 0.4rem;
}

/* Cards / grid */
.card-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}
@media (min-width: 560px) {
  .card-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 900px) {
  .card-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
}

.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
  border: 1px solid rgba(27, 67, 50, 0.06);
}
.card-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 0.85rem;
  color: var(--green-mid);
}
.card h3 { margin-bottom: 0.4rem; }
.card p { font-size: 0.98rem; }

.area-list {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
  list-style: none;
  margin: 0;
  padding: 0;
}
@media (min-width: 600px) {
  .area-list { grid-template-columns: repeat(3, 1fr); }
}
.area-item {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.5rem;
  text-align: center;
  box-shadow: var(--shadow);
  border-top: 4px solid var(--green-light);
}
.area-item strong {
  display: block;
  font-size: 1.2rem;
  color: var(--green-deep);
  margin-bottom: 0.35rem;
}
.area-item span {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* CTA band */
.cta-band {
  text-align: center;
  padding: 3rem 0;
}
.cta-band h2 { margin-bottom: 0.5rem; }
.cta-band .btn-group { justify-content: center; }

/* Page hero (inner pages) */
.page-hero {
  background: linear-gradient(135deg, var(--green-deep), var(--green-mid));
  color: var(--white);
  padding: 2.5rem 0 2.75rem;
}
.page-hero h1 { color: var(--white); margin-bottom: 0.5rem; }
.page-hero p {
  color: rgba(255,255,255,0.9);
  max-width: 42ch;
  margin: 0;
  font-size: 1.1rem;
}

/* Contact */
.contact-grid {
  display: grid;
  gap: 2rem;
}
@media (min-width: 800px) {
  .contact-grid { grid-template-columns: 1fr 1.2fr; align-items: start; }
}

.contact-info {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow);
}
.contact-info dl {
  margin: 0;
}
.contact-info dt {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--green-light);
  margin-top: 1.25rem;
}
.contact-info dt:first-child { margin-top: 0; }
.contact-info dd {
  margin: 0.25rem 0 0;
  font-size: 1.1rem;
}
.contact-info a {
  color: var(--green-deep);
  font-weight: 600;
  text-decoration: none;
}
.contact-info a:hover { text-decoration: underline; }
.phone-large {
  font-size: 1.35rem !important;
}

.form-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow);
}
.form-card h2 { margin-bottom: 0.35rem; }
.form-intro {
  margin-bottom: 1.5rem !important;
  font-size: 0.98rem;
}

.form-group {
  margin-bottom: 1.15rem;
}
.form-group label {
  display: block;
  font-weight: 600;
  color: var(--green-deep);
  margin-bottom: 0.35rem;
  font-size: 0.95rem;
}
.form-group .optional {
  font-weight: 400;
  color: var(--text-muted);
  font-size: 0.85rem;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 0.9rem;
  font-family: inherit;
  font-size: 1rem;
  color: var(--text);
  background: var(--cream);
  border: 2px solid var(--cream-dark);
  border-radius: 8px;
  min-height: 48px;
  transition: border-color 0.15s;
}
.form-group textarea {
  min-height: 120px;
  resize: vertical;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--green-light);
  background: var(--white);
}
.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%231B4332' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}
.form-note {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin: 0.75rem 0 0;
}

/* Thank you */
.thank-you {
  text-align: center;
  padding: 4rem 0;
  max-width: 32rem;
  margin: 0 auto;
}
.thank-you .check {
  width: 72px;
  height: 72px;
  margin: 0 auto 1.5rem;
  color: var(--green-light);
}

/* About content */
.prose {
  max-width: 42rem;
}
.prose p { font-size: 1.05rem; }

.feature-list {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
}
.feature-list li {
  position: relative;
  padding: 0.65rem 0 0.65rem 2rem;
  border-bottom: 1px solid var(--cream-dark);
  color: var(--text-muted);
}
.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1rem;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--green-accent);
  box-shadow: 0 0 0 4px var(--green-pale);
}

/* Services detail */
.service-block {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.75rem;
  margin-bottom: 1.25rem;
  box-shadow: var(--shadow);
  border-left: 4px solid var(--green-light);
}
.service-block h3 { margin-bottom: 0.4rem; }
.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.5rem;
}
.badge {
  display: inline-block;
  padding: 0.4rem 0.85rem;
  background: var(--green-pale);
  color: var(--green-deep);
  font-weight: 600;
  font-size: 0.9rem;
  border-radius: 999px;
}

/* Footer */
.site-footer {
  background: #12261c;
  color: rgba(255,255,255,0.85);
  padding: 2.5rem 0 1.5rem;
  margin-top: auto;
}
.footer-grid {
  display: grid;
  gap: 1.75rem;
  margin-bottom: 2rem;
}
@media (min-width: 600px) {
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
}
.site-footer h3 {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 0.75rem;
}
.site-footer p,
.site-footer li {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.78);
  margin: 0 0 0.4rem;
}
.site-footer a {
  color: var(--green-accent);
  text-decoration: none;
}
.site-footer a:hover { text-decoration: underline; color: var(--green-pale); }
.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.footer-brand {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--white);
  margin-bottom: 0.5rem;
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 1.25rem;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
}

/* Utilities */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}
