/* ============================================================
   J. Rodriguez Landscaping — Main Stylesheet
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,wght@0,400;0,600;0,700;1,400;1,700&family=Plus+Jakarta+Sans:wght@400;500;600;700&display=swap');

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

:root {
  --green-dark:   #1a3a1a;
  --green:        #2d6a2d;
  --green-mid:    #3d8b3d;
  --green-light:  #e8f5e8;
  --gold:         #c8a84b;
  --cream:        #faf8f4;
  --text:         #1c2b1c;
  --text-muted:   #5a6e5a;
  --white:        #ffffff;
  --shadow:       0 4px 24px rgba(0,0,0,.12);
  --radius:       12px;
  --transition:   .25s ease;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  color: var(--text);
  background: var(--cream);
  line-height: 1.6;
}

h1,h2,h3,h4 { font-family: 'Fraunces', Georgia, serif; line-height: 1.15; }

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

img { display: block; max-width: 100%; }

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

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
  text-decoration: none;
}
.btn-primary   { background: var(--green); color: var(--white); }
.btn-primary:hover { background: var(--green-dark); }
.btn-outline   { background: rgba(255,255,255,.12); color: var(--white); border-color: rgba(255,255,255,.4); backdrop-filter: blur(6px); }
.btn-outline:hover { background: rgba(255,255,255,.22); }
.btn-lg { padding: 18px 36px; font-size: 1.1rem; }

/* ── NAVBAR ── */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: background var(--transition), box-shadow var(--transition);
  padding: 0 24px;
}
.navbar.scrolled {
  background: rgba(250,248,244,.96);
  backdrop-filter: blur(12px);
  box-shadow: 0 2px 16px rgba(0,0,0,.08);
}
.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  max-width: 1180px;
  margin: 0 auto;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
}
.logo-icon { width: 32px; height: 32px; color: var(--white); flex-shrink: 0; }
.logo-text  { display: flex; flex-direction: column; }
.logo-name  { font-family: 'Fraunces', serif; font-size: 1.35rem; font-weight: 700; color: var(--white); text-shadow: 0 1px 4px rgba(0,0,0,.3); line-height: 1; }
.logo-sub   { font-size: .65rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.8); }
.nav-links  { display: flex; align-items: center; gap: 32px; }
.nav-links a {
  font-size: .9rem;
  font-weight: 500;
  color: rgba(255,255,255,.9);
  text-shadow: 0 1px 3px rgba(0,0,0,.3);
  transition: color var(--transition);
}
.nav-links a:hover { color: var(--white); }
.navbar.scrolled .logo-name,
.navbar.scrolled .logo-sub,
.navbar.scrolled .nav-links a { color: var(--text); text-shadow: none; }
.navbar.scrolled .logo-icon   { color: var(--green); }
.navbar.scrolled .logo-sub    { color: var(--text-muted); }
.navbar.scrolled .nav-btn     { background: var(--green) !important; color: var(--white) !important; border-color: var(--green) !important; }
.nav-btn { padding: 10px 20px; font-size: .9rem; }
.hamburger { display: none; background: none; border: none; cursor: pointer; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--white); margin: 5px 0; transition: var(--transition); }
.navbar.scrolled .hamburger span { background: var(--text); }
.mobile-menu {
  display: none;
  background: var(--white);
  padding: 16px 24px 24px;
  border-top: 1px solid rgba(0,0,0,.06);
}
.mobile-menu.open { display: block; }
.mobile-menu a {
  display: block;
  padding: 14px 0;
  font-weight: 500;
  border-bottom: 1px solid rgba(0,0,0,.06);
  color: var(--text);
}
.mobile-menu a:last-child { border-bottom: none; }
.mobile-menu .btn { margin-top: 16px; width: 100%; justify-content: center; }

/* ── HERO ── */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  padding-top: 76px;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(26,58,26,.85) 0%, rgba(26,58,26,.55) 50%, rgba(0,0,0,.35) 100%);
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
  padding: 60px 0;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 99px;
  background: rgba(45,106,45,.3);
  border: 1px solid rgba(45,106,45,.5);
  color: var(--white);
  font-size: .85rem;
  font-weight: 500;
  letter-spacing: .04em;
  margin-bottom: 24px;
  backdrop-filter: blur(6px);
}
.hero h1 {
  font-size: clamp(3rem, 7vw, 5.5rem);
  color: var(--white);
  font-weight: 700;
  margin-bottom: 24px;
  text-shadow: 0 2px 16px rgba(0,0,0,.35);
}
.hero h1 em { font-style: italic; }
.hero p {
  font-size: 1.2rem;
  color: rgba(255,255,255,.9);
  margin-bottom: 36px;
  max-width: 560px;
  text-shadow: 0 1px 6px rgba(0,0,0,.25);
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* ── TRUST BAR ── */
.trust-bar {
  background: var(--green-dark);
  padding: 18px 0;
}
.trust-bar .container {
  display: flex;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  font-weight: 600;
  font-size: .95rem;
}
.trust-item svg { color: #7ec87e; }

/* ── SECTION SHARED ── */
section { padding: 88px 0; }
.section-label {
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--green-mid);
  margin-bottom: 12px;
}
.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--text);
  margin-bottom: 16px;
}
.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 620px;
}
.section-header { margin-bottom: 56px; }
.section-header.centered { text-align: center; }
.section-header.centered .section-subtitle { margin: 0 auto; }

/* ── SERVICES ── */
.services-section { background: var(--white); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}
.service-card {
  background: var(--cream);
  border: 1px solid rgba(0,0,0,.07);
  border-radius: var(--radius);
  padding: 28px;
  transition: transform var(--transition), box-shadow var(--transition);
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.service-icon {
  width: 48px; height: 48px;
  background: var(--green-light);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
  color: var(--green);
}
.service-card h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 8px; }
.service-card p  { font-size: .9rem; color: var(--text-muted); }

/* ── ABOUT ── */
.about-section { background: var(--cream); }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
.about-img-wrap {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 4/5;
  box-shadow: var(--shadow);
}
.about-img-wrap img { width: 100%; height: 100%; object-fit: cover; }
.about-badge {
  position: absolute;
  bottom: 24px; right: -24px;
  background: var(--green);
  color: var(--white);
  padding: 16px 24px;
  border-radius: var(--radius);
  text-align: center;
  box-shadow: var(--shadow);
}
.about-badge .num  { font-family: 'Fraunces', serif; font-size: 2rem; font-weight: 700; line-height: 1; display: block; }
.about-badge .lbl  { font-size: .75rem; opacity: .85; }
.about-content .section-subtitle { margin-bottom: 28px; }
.about-text { font-size: 1rem; color: var(--text-muted); margin-bottom: 16px; line-height: 1.8; }
.feature-list { list-style: none; display: flex; flex-direction: column; gap: 12px; margin: 24px 0 36px; }
.feature-list li { display: flex; align-items: center; gap: 12px; font-weight: 500; }
.feature-list li svg { color: var(--green); flex-shrink: 0; }

/* ── WHY US ── */
.why-section {
  background: var(--green-dark);
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.why-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('images/services-mulch.jpg');
  background-size: cover;
  background-position: center;
  opacity: .1;
}
.why-section .container { position: relative; }
.why-section .section-label { color: #7ec87e; }
.why-section .section-title { color: var(--white); }
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 32px;
}
.why-card { text-align: center; }
.why-icon {
  width: 64px; height: 64px;
  background: rgba(255,255,255,.1);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
  color: #7ec87e;
}
.why-card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 8px; }
.why-card p  { font-size: .9rem; color: rgba(255,255,255,.7); }

/* ── CONTACT ── */
.contact-section { background: var(--white); }
.contact-grid {
  display: grid;
  grid-template-columns: 2fr 3fr;
  gap: 64px;
  align-items: start;
}
.contact-info h3 { font-size: 1.6rem; margin-bottom: 12px; }
.contact-info p  { color: var(--text-muted); margin-bottom: 36px; }
.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 28px;
}
.contact-detail-icon {
  width: 44px; height: 44px;
  background: var(--green-light);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  color: var(--green);
}
.contact-detail h4 { font-size: 1rem; font-weight: 700; margin-bottom: 4px; }
.contact-detail a,
.contact-detail span { font-size: .95rem; color: var(--text-muted); display: block; transition: color var(--transition); }
.contact-detail a:hover { color: var(--green); }

/* ── FORM ── */
.form-card {
  background: var(--cream);
  border: 1px solid rgba(0,0,0,.07);
  border-radius: 20px;
  padding: 40px;
  box-shadow: var(--shadow);
}
.form-card h3 { font-size: 1.6rem; margin-bottom: 28px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 20px; }
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-size: .875rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--text);
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid rgba(0,0,0,.12);
  border-radius: 8px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: .95rem;
  color: var(--text);
  background: var(--white);
  transition: border-color var(--transition);
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--green); box-shadow: 0 0 0 3px rgba(45,106,45,.1); }
.form-group textarea { resize: vertical; min-height: 110px; }
.form-group .error { color: #c0392b; font-size: .8rem; margin-top: 4px; }
.form-submit { width: 100%; padding: 16px; font-size: 1.05rem; border: none; }
.form-note { text-align: center; font-size: .78rem; color: var(--text-muted); margin-top: 12px; }
.form-success {
  text-align: center;
  padding: 40px;
}
.form-success .check-icon {
  width: 64px; height: 64px;
  background: var(--green-light);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
  color: var(--green);
}
.form-success h3 { font-size: 1.8rem; margin-bottom: 8px; }
.form-success p  { color: var(--text-muted); }
.alert { padding: 12px 16px; border-radius: 8px; margin-bottom: 16px; font-size: .9rem; }
.alert-error { background: #fde8e8; color: #c0392b; border: 1px solid #f5c6c6; }

/* ── FOOTER ── */
.footer {
  background: var(--green-dark);
  color: var(--white);
  padding: 72px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 56px;
}
.footer-brand .logo-name,
.footer-brand .logo-sub { text-shadow: none; }
.footer-brand .logo-sub { color: rgba(255,255,255,.55); }
.footer-brand p { color: rgba(255,255,255,.65); font-size: .9rem; margin-top: 20px; line-height: 1.8; }
.footer h4 { font-family: 'Fraunces', serif; font-size: 1.1rem; margin-bottom: 20px; }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-links li { color: rgba(255,255,255,.65); font-size: .9rem; }
.footer-contact { list-style: none; display: flex; flex-direction: column; gap: 14px; }
.footer-contact li { display: flex; align-items: flex-start; gap: 10px; color: rgba(255,255,255,.7); font-size: .9rem; }
.footer-contact svg { color: #7ec87e; flex-shrink: 0; margin-top: 1px; }
.footer-contact a { color: inherit; transition: color var(--transition); }
.footer-contact a:hover { color: var(--white); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: .82rem;
  color: rgba(255,255,255,.45);
  flex-wrap: wrap;
  gap: 8px;
}

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .nav-links, .nav-btn { display: none; }
  .hamburger { display: block; }
  .about-grid  { grid-template-columns: 1fr; gap: 40px; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-grid  { grid-template-columns: 1fr; gap: 32px; }
  .form-row     { grid-template-columns: 1fr; }
  .form-card    { padding: 28px 20px; }
  .about-badge  { right: 0; }
  .trust-bar .container { gap: 24px; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

/* ── SCROLL FADE ANIMATION ── */
.fade-in { opacity: 0; transform: translateY(28px); transition: opacity .65s ease, transform .65s ease; }
.fade-in.visible { opacity: 1; transform: none; }
