/* ── ECOCARE SHARED STYLES 2026 ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --green-dark: #0d3b2e;
  --green-mid: #1a5c45;
  --green-accent: #4a7c59;
  --cream: #f5f0e8;
  --cream-light: #faf7f2;
  --gold: #c8a96e;
  --white: #ffffff;
  --text-dark: #1a1a1a;
  --text-mid: #4a4a4a;
  --text-light: #8a8a8a;
  --font-display: 'Barlow Condensed', sans-serif;
  --font-body: 'Inter', sans-serif;
}

html { scroll-behavior: smooth; }
body { font-family: var(--font-body); background: var(--cream-light); color: var(--text-dark); line-height: 1.6; }

/* NAV */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: transparent; height: 80px; padding: 0 32px;
  display: flex; align-items: center; justify-content: space-between;
  pointer-events: none; transition: background 0.3s ease, box-shadow 0.3s ease;
}
nav.scrolled { background: #0d3b2e; box-shadow: 0 2px 12px rgba(0,0,0,0.25); }
nav a, nav button { pointer-events: auto; }
.nav-hamburger { background: none; border: none; color: var(--white); font-size: 28px; cursor: pointer; padding: 8px 12px; line-height: 1; transition: opacity 0.2s; }
.nav-hamburger:hover { opacity: 0.75; }

/* MENU OVERLAY */
.menu-overlay { position: fixed; inset: 0; z-index: 200; background: #080f0c; display: flex; flex-direction: column; opacity: 0; visibility: hidden; transition: opacity 0.35s ease, visibility 0.35s ease; }
.menu-overlay.open { opacity: 1; visibility: visible; }
.menu-close { position: absolute; top: 24px; right: 32px; background: none; border: none; color: var(--white); font-size: 32px; cursor: pointer; line-height: 1; padding: 8px; z-index: 1; transition: opacity 0.2s; }
.menu-close:hover { opacity: 0.7; }
.menu-content { padding: 100px 64px 64px; overflow-y: auto; flex: 1; max-width: 900px; }
.menu-item { border-bottom: 1px solid rgba(255,255,255,0.1); padding: 28px 0; display: flex; align-items: flex-start; gap: 28px; }
.menu-num { font-family: var(--font-display); font-size: 13px; font-weight: 800; color: var(--gold); letter-spacing: 0.08em; padding-top: 8px; flex-shrink: 0; min-width: 28px; }
.menu-item-body { flex: 1; }
.menu-link { font-family: var(--font-display); font-size: clamp(36px, 5.5vw, 58px); font-weight: 800; color: var(--white); text-transform: uppercase; text-decoration: none; line-height: 1; letter-spacing: -0.01em; transition: color 0.2s; display: block; }
.menu-link:hover { color: var(--gold); }
.menu-subs { margin-top: 20px; display: flex; flex-direction: column; gap: 10px; }
.menu-subs a { font-size: 12px; font-weight: 600; color: rgba(255,255,255,0.45); text-transform: uppercase; letter-spacing: 0.12em; text-decoration: none; transition: color 0.2s; }
.menu-subs a:hover { color: rgba(255,255,255,0.85); }
body.menu-open { overflow: hidden; }

/* SECTION BASE */
section { padding: 96px 64px; }
.section-eyebrow { font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--text-light); margin-bottom: 12px; font-weight: 600; }
.section-eyebrow.gold { color: var(--gold); }
.section-title { font-family: var(--font-display); font-size: clamp(36px, 4.5vw, 60px); font-weight: 800; text-transform: uppercase; line-height: 1; margin-bottom: 20px; }
.section-title.white { color: var(--white); }
.section-body { font-size: 16px; color: var(--text-mid); max-width: 560px; line-height: 1.7; }
.section-body.white { color: rgba(255,255,255,0.75); }

/* BUTTONS */
.btn-primary { background: var(--green-accent); color: var(--white); padding: 16px 32px; font-size: 13px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; text-decoration: none; display: inline-flex; align-items: center; gap: 12px; transition: background 0.2s; }
.btn-primary:hover { background: var(--green-mid); }
.btn-outline { border: 1.5px solid rgba(255,255,255,0.7); color: var(--white); padding: 16px 32px; font-size: 13px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; text-decoration: none; display: inline-flex; align-items: center; gap: 12px; transition: border-color 0.2s, background 0.2s; background: rgba(0,0,0,0.25); }
.btn-outline:hover { border-color: var(--white); background: rgba(255,255,255,0.08); }
.btn-outline-dark { border: 1.5px solid var(--green-dark); color: var(--green-dark); padding: 16px 32px; font-size: 13px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; text-decoration: none; display: inline-flex; align-items: center; gap: 12px; transition: all 0.2s; background: transparent; }
.btn-outline-dark:hover { background: var(--green-dark); color: var(--white); }
.btn-text-link { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--green-dark); font-weight: 700; text-decoration: none; display: inline-flex; align-items: center; gap: 10px; border-bottom: 1.5px solid var(--green-dark); padding-bottom: 4px; }
.arrow { font-size: 18px; }
.view-all-wrap { text-align: center; margin-top: 48px; }

/* PROJECT CARDS */
.projects-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; }
.project-card-link { display: block; text-decoration: none; color: inherit; }
.project-card { position: relative; overflow: hidden; background: var(--green-dark); }
.project-card img { width: 100%; aspect-ratio: 4/3; object-fit: cover; display: block; transition: transform 0.4s ease; }
.project-card:hover img { transform: scale(1.03); }
.project-overlay { position: absolute; bottom: 0; left: 0; right: 0; background: linear-gradient(to top, rgba(13,59,46,0.9) 0%, transparent 100%); padding: 32px 28px 28px; }
.project-tag { font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); font-weight: 600; margin-bottom: 6px; }
.project-title { font-family: var(--font-display); font-size: 22px; font-weight: 800; color: var(--white); text-transform: uppercase; }
.project-suburb { font-size: 12px; color: rgba(255,255,255,0.6); margin-top: 4px; }

/* SUBURB TAGS */
.suburb-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; }
.suburb-tag { border: 1px solid rgba(255,255,255,0.2); color: rgba(255,255,255,0.7); padding: 8px 16px; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; font-weight: 500; transition: all 0.2s; text-decoration: none; display: inline-block; }
.suburb-tag:hover { border-color: var(--gold); color: var(--gold); }

/* FAQ */
.faq-list { margin-top: 64px; max-width: 760px; }
.faq-item { border-top: 1px solid rgba(0,0,0,0.1); padding: 28px 0; }
.faq-item:last-child { border-bottom: 1px solid rgba(0,0,0,0.1); }
.faq-q { font-family: var(--font-display); font-size: 20px; font-weight: 700; color: var(--green-dark); text-transform: uppercase; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq-toggle { font-size: 22px; color: var(--green-accent); flex-shrink: 0; }
.faq-a { font-size: 15px; color: var(--text-mid); line-height: 1.7; margin-top: 16px; display: none; }
.faq-a .read-more { display: inline-block; margin-top: 12px; font-size: 12px; font-weight: 700; color: var(--green-accent); letter-spacing: 0.1em; text-transform: uppercase; text-decoration: none; border-bottom: 1px solid var(--green-accent); padding-bottom: 2px; }
.faq-item.open .faq-a { display: block; }

/* FOOTER */
footer { background: #080f0c; padding: 48px 64px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 24px; }
.footer-brand { display: flex; flex-direction: column; gap: 10px; }
.footer-credit { font-size: 11px; color: rgba(255,255,255,0.3); letter-spacing: 0.08em; }
.footer-copy { font-size: 12px; color: rgba(255,255,255,0.25); letter-spacing: 0.04em; }
.footer-links { display: flex; gap: 24px; list-style: none; flex-wrap: wrap; }
.footer-links a { font-size: 12px; color: rgba(255,255,255,0.35); text-decoration: none; letter-spacing: 0.06em; text-transform: uppercase; }
.footer-links a:hover { color: rgba(255,255,255,0.7); }

/* SERVICE PAGE HERO */
.page-hero { min-height: 60vh; background: var(--green-dark); position: relative; display: flex; align-items: flex-end; padding: 140px 64px 80px; overflow: hidden; }
.page-hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; z-index: 0; }
.page-hero-overlay { position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(13,59,46,0.7) 0%, rgba(13,59,46,0.85) 100%); z-index: 1; }
.page-hero-content { position: relative; z-index: 2; max-width: 800px; }
.page-hero-content h1 { font-family: var(--font-display); font-size: clamp(48px, 7vw, 80px); font-weight: 800; color: var(--white); text-transform: uppercase; line-height: 0.95; margin-bottom: 20px; }
.page-hero-content p { font-size: 18px; color: rgba(255,255,255,0.7); max-width: 560px; line-height: 1.65; margin-bottom: 36px; }

/* SERVICE CONTENT */
.service-content { background: var(--cream-light); }
.service-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; margin-bottom: 80px; }
.service-intro img { width: 100%; aspect-ratio: 4/3; object-fit: cover; display: block; }
.service-features { margin-top: 40px; display: flex; flex-direction: column; gap: 16px; }
.service-feature { display: flex; gap: 16px; align-items: flex-start; }
.feature-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green-accent); margin-top: 7px; flex-shrink: 0; }
.feature-text { font-size: 15px; color: var(--text-mid); line-height: 1.6; }

/* AREA PAGE */
.area-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.area-intro img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }

/* PAGE CTA STRIP */
.cta-strip { background: var(--green-dark); padding: 64px; display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; }
.cta-strip h2 { font-family: var(--font-display); font-size: clamp(28px, 3.5vw, 48px); font-weight: 800; color: var(--white); text-transform: uppercase; line-height: 1; }
.cta-strip p { font-size: 15px; color: rgba(255,255,255,0.65); margin-top: 8px; }
.cta-strip-actions { display: flex; gap: 16px; flex-wrap: wrap; flex-shrink: 0; }

/* REVIEWS SCROLL */
.reviews-scroll-wrap { overflow: hidden; position: relative; }
.reviews-track { display: flex; gap: 16px; animation: scrollReviews 40s linear infinite; width: max-content; }
.reviews-track:hover { animation-play-state: paused; }
.review-pill { background: var(--white); padding: 28px 32px; min-width: 320px; max-width: 360px; flex-shrink: 0; }
.review-pill .review-stars { color: #f5a623; font-size: 14px; margin-bottom: 12px; }
.review-pill .review-text { font-size: 14px; color: var(--text-dark); line-height: 1.65; font-style: italic; margin-bottom: 16px; }
.review-pill .reviewer-name { font-size: 12px; font-weight: 700; color: var(--green-dark); text-transform: uppercase; letter-spacing: 0.06em; }
.review-pill .reviewer-tag { font-size: 11px; color: var(--text-light); margin-top: 2px; }
@keyframes scrollReviews { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* BLOG CARDS */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; margin-top: 64px; }
.blog-card { background: var(--white); text-decoration: none; display: flex; flex-direction: column; transition: background 0.2s; }
.blog-card:hover { background: var(--cream); }
.blog-card-img { width: 100%; aspect-ratio: 16/9; object-fit: cover; display: block; }
.blog-card-body { padding: 32px 28px; flex: 1; display: flex; flex-direction: column; }
.blog-tag { font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--green-accent); font-weight: 700; margin-bottom: 10px; }
.blog-title { font-family: var(--font-display); font-size: 22px; font-weight: 800; color: var(--green-dark); text-transform: uppercase; line-height: 1.1; margin-bottom: 12px; }
.blog-excerpt { font-size: 14px; color: var(--text-mid); line-height: 1.65; flex: 1; }
.blog-read-more { font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--green-accent); font-weight: 700; margin-top: 20px; }

/* FILTER BUTTONS */
.filter-bar { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 40px; }
.filter-btn { padding: 8px 20px; font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; border: 1.5px solid rgba(0,0,0,0.15); background: transparent; color: var(--text-mid); cursor: pointer; transition: all 0.2s; font-family: var(--font-body); }
.filter-btn:hover, .filter-btn.active { background: var(--green-dark); color: var(--white); border-color: var(--green-dark); }

/* WHO WE ARE */
.team-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; margin-top: 64px; }
.team-card { background: var(--cream); padding: 0; overflow: hidden; }
.team-card img { width: 100%; aspect-ratio: 3/4; object-fit: cover; display: block; }
.team-card-body { padding: 36px 32px; }
.team-name { font-family: var(--font-display); font-size: 32px; font-weight: 800; color: var(--green-dark); text-transform: uppercase; margin-bottom: 4px; }
.team-role { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--green-accent); font-weight: 700; margin-bottom: 16px; }
.team-bio { font-size: 15px; color: var(--text-mid); line-height: 1.7; }

/* RESPONSIVE */
@media (max-width: 900px) {
  section { padding: 64px 24px; }
  nav { padding: 0 24px; }
  .menu-content { padding: 88px 24px 48px; }
  .menu-close { right: 24px; }
  .projects-grid { grid-template-columns: 1fr; }
  .service-intro { grid-template-columns: 1fr; gap: 40px; }
  .area-intro { grid-template-columns: 1fr; gap: 40px; }
  .team-grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .page-hero { padding: 120px 24px 60px; }
  .cta-strip { padding: 48px 24px; flex-direction: column; align-items: flex-start; }
  footer { padding: 32px 24px; flex-direction: column; text-align: center; }
}

/* ── GLOBAL HOVER INTERACTIONS ── */

/* All content images — gentle scale on hover */
.service-card-img,
.project-card img,
.blog-card-img,
.team-card img,
.area-card img,
.eco-image img,
.about-image img,
.service-intro img,
.area-intro img {
  transition: transform 0.4s ease;
}
.service-card:hover .service-card-img,
.project-card:hover img,
.blog-card:hover .blog-card-img,
.team-card:hover img {
  transform: scale(1.04);
}
.eco-image:hover img,
.about-image:hover img,
.service-intro > img:hover,
.area-intro > img:hover {
  transform: scale(1.03);
}

/* Service cards — enhance existing hover */
.service-card {
  transition: background 0.2s ease, transform 0.25s ease,
    box-shadow 0.25s ease;
}
.service-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.18);
}

/* Project cards */
.project-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.project-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.22);
}

/* Why EcoCare cards */
.why-card {
  transition: background 0.2s ease, border-top-color 0.2s ease,
    transform 0.25s ease, box-shadow 0.25s ease;
}
.why-card:hover {
  background: rgba(255,255,255,0.07);
  border-top-color: var(--gold);
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.2);
}

/* Review pills */
.review-pill {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  cursor: default;
}
.review-pill:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(0,0,0,0.12);
}

/* Blog cards */
.blog-card {
  transition: background 0.2s ease, transform 0.25s ease,
    box-shadow 0.25s ease;
}
.blog-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 32px rgba(0,0,0,0.1);
}

/* Area cards on /areas/ index */
.area-card {
  transition: background 0.2s ease, border-top-color 0.2s ease,
    transform 0.25s ease;
}
.area-card:hover {
  transform: translateY(-3px);
}

/* Eco stat blocks */
.eco-stat {
  transition: background 0.2s ease, transform 0.25s ease;
}
.eco-stat:hover {
  background: rgba(255,255,255,0.09);
  transform: translateY(-2px);
}

/* Track record / stats (who-we-are stats grid) */
.stat-block,
[style*="background:var(--white)"][style*="padding:40px"] {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.stat-block:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}

/* Value blocks (why section, about) */
.value-block {
  transition: transform 0.25s ease, box-shadow 0.25s ease,
    border-top-color 0.2s ease;
}
.value-block:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
  border-top-color: var(--gold);
}

/* Pricing tier tiles — hover only, no static active state */
.pricing-tile,
[style*="background:var(--white)"][style*="padding:36px"] {
  transition: transform 0.25s ease, box-shadow 0.25s ease,
    border-top-color 0.2s ease;
  border-top: 2px solid transparent;
}
[style*="background:var(--white)"][style*="padding:36px"]:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 36px rgba(0,0,0,0.1);
  border-top-color: var(--green-accent);
}

/* Process steps — confirm existing, add lift */
.process-step {
  transition: border-top-color 0.2s ease, transform 0.25s ease,
    box-shadow 0.25s ease;
}
.process-step:hover {
  border-top-color: var(--green-accent);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.07);
}

/* Team cards */
.team-card {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  overflow: hidden;
}
.team-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 36px rgba(0,0,0,0.12);
}

/* Suburb tags */
.suburb-tag {
  transition: border-color 0.2s ease, color 0.2s ease,
    transform 0.2s ease;
}
.suburb-tag:hover {
  transform: translateY(-1px);
}

/* CTA strip buttons — confirm transition */
.btn-primary,
.btn-outline,
.btn-outline-dark {
  transition: background 0.2s ease, opacity 0.2s ease,
    transform 0.2s ease, box-shadow 0.2s ease;
}
.btn-primary:hover,
.btn-outline:hover,
.btn-outline-dark:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

/* FAQ items — subtle left border on open */
.faq-item {
  transition: padding-left 0.2s ease;
  border-left: 2px solid transparent;
}
.faq-item.open {
  border-left-color: var(--green-accent);
  padding-left: 12px;
}

/* ── END GLOBAL HOVER INTERACTIONS ── */

.service-card,
.project-card,
.blog-card,
.team-card,
.eco-image,
.about-image,
.service-intro > div:last-child,
.area-intro > div:last-child {
  overflow: hidden;
}
