/*
  EVRENNA STUDIO TEMPLATE — LOCAL SERVICE PREMIUM
  Demo client: Greenway Landscaping (fictional example)

  To adapt this template for a new client:
  1. Replace business name, city, phone, and email in all HTML files.
  2. Replace images in /images using the same filenames (hero.png, after-1.png … after-6.png).
  3. Update service names and service area lists.
  4. Update testimonials, or remove them if the client has none yet.
  5. Update Google Maps embeds on index.html and contact.html.
  6. Remove optional sections (before/after, pricing) if not included in the client package.

  Color system:
  --green-dark   #1e3a2e  (primary brand / nav / headings)
  --green-mid    #2e5c40  (hover states / trust bar)
  --green-light  #4a8c5c  (accents / borders)
  --gold         #c9a84c  (CTA buttons / labels)
  --cream        #f8f5ee  (section backgrounds)
  --text         #1a1a1a
  --text-light   #555
*/

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

:root {
  --green-dark:  #1e3a2e;
  --green-mid:   #2e5c40;
  --green-light: #4a8c5c;
  --gold:        #c9a84c;
  --gold-light:  #e8c96e;
  --cream:       #f8f5ee;
  --cream-dark:  #ede8dd;
  --text:        #1a1a1a;
  --text-light:  #555;
  --white:       #ffffff;
  --radius:      6px;
  --shadow:      0 4px 20px rgba(0,0,0,0.12);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Georgia', serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
}

/* ── Typography ── */
h1, h2, h3, h4 {
  font-family: 'Georgia', serif;
  line-height: 1.2;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
h3 { font-size: 1.25rem; }
p  { font-size: 1rem; }

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

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

/* ── Utility ── */
.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section-label {
  display: inline-block;
  font-family: sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
}

.section-heading {
  color: var(--green-dark);
  margin-bottom: 1rem;
}

.section-sub {
  color: var(--text-light);
  font-size: 1.05rem;
  max-width: 560px;
}

.btn {
  display: inline-block;
  padding: 0.85rem 2rem;
  border-radius: var(--radius);
  font-family: sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: all 0.2s ease;
  border: 2px solid transparent;
}

.btn-primary {
  background: var(--gold);
  color: var(--green-dark);
  border-color: var(--gold);
}
.btn-primary:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(201,168,76,0.4);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}
.btn-outline:hover {
  background: var(--white);
  color: var(--green-dark);
}

/* ── Nav ── */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--green-dark);
  border-bottom: 2px solid var(--green-mid);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.nav-logo {
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.nav-logo .wordmark {
  font-family: 'Georgia', serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.02em;
}
.nav-logo .tagline-mini {
  font-family: sans-serif;
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  color: var(--gold);
  text-transform: uppercase;
  margin-top: 2px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}
.nav-links a {
  font-family: sans-serif;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.8);
  transition: color 0.2s;
}
.nav-links a:hover,
.nav-links a.active { color: var(--gold); }

.nav-cta {
  padding: 0.55rem 1.25rem !important;
  font-size: 0.82rem !important;
  background: var(--gold);
  color: var(--green-dark) !important;
  border-radius: var(--radius);
}
.nav-cta:hover {
  background: var(--gold-light) !important;
  color: var(--green-dark) !important;
}

/* ── Hero ── */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('images/hero.png');
  background-size: cover;
  background-position: center 60%;
  filter: brightness(0.45);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 680px;
}

.hero-content h1 {
  color: var(--white);
  margin-bottom: 1.25rem;
}
.hero-content h1 span { color: var(--gold); }

.hero-content p {
  color: rgba(255,255,255,0.85);
  font-size: 1.15rem;
  margin-bottom: 2rem;
  max-width: 520px;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-badge {
  position: absolute;
  bottom: 2.5rem;
  right: 2rem;
  z-index: 1;
  background: rgba(30,58,46,0.9);
  border: 1px solid var(--gold);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  text-align: center;
  backdrop-filter: blur(4px);
}
.hero-badge .badge-num {
  font-size: 2rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}
.hero-badge .badge-label {
  font-family: sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.8);
  margin-top: 4px;
}

/* ── Trust Bar ── */
.trust-bar {
  background: var(--green-mid);
  padding: 1.1rem 0;
}
.trust-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  flex-wrap: wrap;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
}
.trust-item .dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
}

/* ── Sections general ── */
.section { padding: 6rem 0; }
.section-alt { background: var(--cream); }
.section-dark { background: var(--green-dark); }

/* ── Services grid ── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem 1.75rem;
  border: 1px solid var(--cream-dark);
  transition: transform 0.2s, box-shadow 0.2s;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.service-icon {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--cream);
  border: 2px solid var(--green-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
}

.service-card h3 {
  color: var(--green-dark);
  margin-bottom: 0.5rem;
}
.service-card p {
  color: var(--text-light);
  font-size: 0.93rem;
}

/* ── Photo Gallery ── */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: 0.75rem;
  margin-top: 3rem;
}

.gallery-item {
  overflow: hidden;
  border-radius: var(--radius);
  position: relative;
}
.gallery-item img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.gallery-item:hover img { transform: scale(1.04); }

.gallery-item.wide {
  grid-column: span 2;
}
.gallery-item.wide img { height: 320px; }

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(30,58,46,0.7) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.3s;
  display: flex;
  align-items: flex-end;
  padding: 1rem;
}
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-overlay span {
  font-family: sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--white);
}

/* ── Why Choose Us ── */
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  margin-top: 2rem;
}

.why-image {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.why-image img {
  width: 100%;
  height: 460px;
  object-fit: cover;
}

.why-list {
  list-style: none;
  margin-top: 2rem;
}
.why-list li {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.75rem;
}
.why-icon {
  width: 44px; height: 44px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--green-dark);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}
.why-text h4 { color: var(--green-dark); margin-bottom: 0.2rem; font-size: 1rem; }
.why-text p  { color: var(--text-light); font-size: 0.9rem; }

/* ── Testimonials ── */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}

.testimonial-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius);
  padding: 2rem;
}

.stars { color: var(--gold); font-size: 1rem; letter-spacing: 2px; margin-bottom: 1rem; }

.testimonial-card p {
  color: rgba(255,255,255,0.85);
  font-size: 0.97rem;
  font-style: italic;
  margin-bottom: 1.5rem;
}

.reviewer {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.reviewer-avatar {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--green-mid);
  border: 2px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: sans-serif;
  font-weight: 700;
  color: var(--gold);
  font-size: 0.9rem;
}
.reviewer-name {
  font-family: sans-serif;
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--white);
}
.reviewer-location {
  font-family: sans-serif;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.55);
}

/* ── Service Areas ── */
.areas-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
  margin-top: 3rem;
}

.areas-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem;
  list-style: none;
  margin-top: 1.5rem;
}
.areas-list li {
  font-family: sans-serif;
  font-size: 0.9rem;
  color: var(--text);
  padding: 0.5rem 0.75rem;
  background: var(--cream);
  border-radius: 4px;
  border-left: 3px solid var(--green-light);
}

.map-wrapper {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 3px solid var(--cream-dark);
}
.map-wrapper iframe {
  display: block;
  width: 100%;
  height: 360px;
  border: none;
}

/* ── CTA Banner ── */
.cta-banner {
  background: var(--green-mid);
  padding: 4rem 0;
  text-align: center;
}
.cta-banner h2 { color: var(--white); margin-bottom: 1rem; }
.cta-banner p  { color: rgba(255,255,255,0.8); margin-bottom: 2rem; font-size: 1.05rem; }

/* ── Footer ── */
.site-footer {
  background: #111f17;
  padding: 3.5rem 0 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  margin-bottom: 2rem;
}
.footer-brand .wordmark {
  font-size: 1.3rem;
  font-family: 'Georgia', serif;
  color: var(--white);
  margin-bottom: 0.75rem;
}
.footer-brand p {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.5);
  max-width: 240px;
  line-height: 1.7;
}
.footer-col h4 {
  font-family: sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 0.5rem; }
.footer-col ul li a {
  font-family: sans-serif;
  font-size: 0.87rem;
  color: rgba(255,255,255,0.6);
  transition: color 0.2s;
}
.footer-col ul li a:hover { color: var(--white); }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: sans-serif;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.35);
  flex-wrap: wrap;
  gap: 0.5rem;
}

/* ── Contact Page ── */
.contact-hero {
  background: var(--green-dark);
  padding: 5rem 0 4rem;
}
.contact-hero h1 { color: var(--white); margin-bottom: 0.75rem; }
.contact-hero p  { color: rgba(255,255,255,0.7); font-size: 1.1rem; max-width: 500px; }

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 4rem;
  padding: 5rem 0;
  align-items: start;
}

.contact-info-box {
  background: var(--cream);
  border-radius: var(--radius);
  padding: 2rem;
  margin-top: 2rem;
}
.contact-info-box h3 {
  color: var(--green-dark);
  margin-bottom: 1.25rem;
  font-size: 1.1rem;
}
.info-row {
  display: flex;
  gap: 0.85rem;
  margin-bottom: 1.25rem;
  align-items: flex-start;
}
.info-icon {
  width: 38px; height: 38px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--green-dark);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
}
.info-text strong {
  display: block;
  font-family: sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--green-dark);
  margin-bottom: 2px;
}
.info-text span {
  font-size: 0.93rem;
  color: var(--text-light);
}

/* ── Quote Form ── */
.quote-form-wrapper {
  background: var(--white);
  border: 1px solid var(--cream-dark);
  border-radius: var(--radius);
  padding: 2.5rem;
  box-shadow: var(--shadow);
}
.quote-form-wrapper h2 {
  color: var(--green-dark);
  font-size: 1.6rem;
  margin-bottom: 0.5rem;
}
.quote-form-wrapper .form-sub {
  color: var(--text-light);
  font-size: 0.93rem;
  margin-bottom: 2rem;
}

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

.form-group {
  margin-bottom: 1.25rem;
}
.form-group label {
  display: block;
  font-family: sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--green-dark);
  margin-bottom: 0.4rem;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--cream-dark);
  border-radius: var(--radius);
  font-family: sans-serif;
  font-size: 0.93rem;
  color: var(--text);
  background: var(--cream);
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--green-light);
  box-shadow: 0 0 0 3px rgba(74,140,92,0.15);
  background: var(--white);
}
.form-group textarea { resize: vertical; min-height: 130px; }

.form-submit {
  width: 100%;
  padding: 1rem;
  font-size: 1rem;
  margin-top: 0.5rem;
}

/* ── Services page ── */
.page-hero {
  background: var(--green-dark);
  padding: 5rem 0 4rem;
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0; right: 0;
  height: 60px;
  background: var(--white);
  clip-path: ellipse(60% 100% at 50% 100%);
}
.page-hero h1 { color: var(--white); margin-bottom: 0.75rem; }
.page-hero p  { color: rgba(255,255,255,0.7); font-size: 1.1rem; max-width: 520px; }

.services-detail-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.service-detail-card {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--cream-dark);
  transition: transform 0.2s, box-shadow 0.2s;
}
.service-detail-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.service-detail-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}
.service-detail-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.5rem;
  height: 130px;
  background: var(--cream);
  border-bottom: 1px solid var(--cream-dark);
}
.service-detail-body {
  padding: 1.5rem;
  background: var(--white);
}
.service-detail-body h3 { color: var(--green-dark); margin-bottom: 0.5rem; }
.service-detail-body p  { color: var(--text-light); font-size: 0.92rem; margin-bottom: 1rem; }
.service-tag {
  display: inline-block;
  font-family: sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  background: var(--cream);
  color: var(--green-dark);
  border: 1px solid var(--cream-dark);
  border-radius: 100px;
  padding: 0.2rem 0.65rem;
  margin-right: 0.3rem;
  margin-bottom: 0.3rem;
}

.pricing-strip {
  background: var(--cream);
  border-radius: var(--radius);
  padding: 3rem;
  margin-top: 5rem;
  text-align: center;
}
.pricing-strip h2 { color: var(--green-dark); margin-bottom: 0.75rem; }
.pricing-strip p  { color: var(--text-light); margin-bottom: 2rem; }
.pricing-items {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}
.pricing-item {
  text-align: center;
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.5rem 2rem;
  min-width: 160px;
  border: 1px solid var(--cream-dark);
}
.pricing-item .price {
  font-size: 2rem;
  font-weight: 700;
  color: var(--green-dark);
  line-height: 1;
}
.pricing-item .price-unit {
  font-family: sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-top: 4px;
}
.pricing-item .price-label {
  font-family: sans-serif;
  font-size: 0.82rem;
  color: var(--green-mid);
  font-weight: 700;
  margin-top: 0.4rem;
}

/* ── Before / After (optional section) ── */
.before-after-section { padding: 5rem 0; background: var(--cream); }

.before-after-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 3rem;
}

.ba-card {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--white);
}

.ba-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  position: relative;
}

.ba-images img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.ba-label {
  position: absolute;
  top: 0.6rem;
  font-family: sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.25rem 0.6rem;
  border-radius: 3px;
}
.ba-label.before {
  left: 0.6rem;
  background: rgba(0,0,0,0.55);
  color: var(--white);
}
.ba-label.after {
  left: calc(50% + 0.6rem);
  background: var(--green-mid);
  color: var(--white);
}

.ba-divider {
  position: absolute;
  top: 0; bottom: 0;
  left: 50%;
  width: 3px;
  background: var(--white);
  transform: translateX(-50%);
  z-index: 1;
}

.ba-caption {
  padding: 1rem 1.25rem;
  font-family: sans-serif;
  font-size: 0.82rem;
  color: var(--text-light);
  border-top: 1px solid var(--cream-dark);
}
.ba-caption strong { color: var(--green-dark); }

.optional-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--cream-dark);
  color: var(--text-light);
  border: 1px dashed #ccc;
  border-radius: 100px;
  padding: 0.2rem 0.75rem;
  margin-bottom: 0.75rem;
}

/* ── Responsive ── */
@media (max-width: 900px) {
  .why-grid, .areas-grid, .contact-layout { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .gallery-item.wide { grid-column: span 2; }
}
@media (max-width: 640px) {
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-item.wide { grid-column: span 1; }
  .gallery-item.wide img { height: 240px; }
  .nav-links { display: none; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .form-row { grid-template-columns: 1fr; }
  .hero-badge { display: none; }
  .areas-list { grid-template-columns: 1fr; }
}
