/* Elevated Landscapes Inc. — Version 1 / shared site styles (hand-written, no framework) */

:root {
  --green: #6cb209;        /* brand green — backgrounds and accents on dark only */
  --green-text: #4f8107;   /* brand green dark — text on white (4.7:1) */
  --green-deep: #1c3100;
  --charcoal: #3a3c3b;
  --ink: #111111;
  --black: #0b0b0b;
  --olive: #4b5a3a;
  --orange: #f58220;       /* logo shovel handles — small accents only */
  --grey-bg: #f0f2f1;
  --line: #dfdfdf;
  --white: #ffffff;
  --radius: 4px;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
  --font-head: "Roboto Slab", Georgia, serif;
  --font-body: "Roboto", Helvetica, Arial, sans-serif;
  --brand: var(--green-deep);
  --accent: var(--orange);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 114px; }
body { margin: 0; font-family: var(--font-body); font-size: 17px; line-height: 1.65; color: var(--charcoal); background: var(--white); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green-text); }
h1, h2, h3 { font-family: var(--font-head); line-height: 1.2; color: var(--ink); margin: 0 0 0.5em; }
p { margin: 0 0 1em; }
address { font-style: normal; }
ul { margin: 0; padding: 0; list-style: none; }

.container { width: min(1180px, 100% - 40px); margin-inline: auto; }
.narrow { width: min(820px, 100% - 40px); }
.center { text-align: center; }

/* Accessibility baseline */
.skip-link { position: absolute; left: -9999px; top: 0; z-index: 2000; background: var(--brand); color: #fff; padding: 10px 18px; border-radius: 0 0 8px 0; font-weight: 600; }
.skip-link:focus { left: 0; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 2px; }
#main:focus { outline: none; }

/* Buttons */
.btn { display: inline-block; font-family: var(--font-head); font-weight: 700; font-size: 15px; letter-spacing: 0.04em; text-transform: uppercase; text-decoration: none; padding: 12px 22px; border: 2px solid transparent; border-radius: var(--radius); cursor: pointer; transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.2s; }
.btn:hover { transform: translateY(-2px); }
.btn-green { background: var(--green); color: var(--ink); border-color: var(--green); }
.btn-green:hover { background: #7fcc14; border-color: #7fcc14; }
.btn-outline { background: rgba(0, 0, 0, 0.35); color: #fff; border-color: var(--green); }
.btn-outline:hover { background: var(--green); color: var(--ink); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--green-deep); }
.btn-block { width: 100%; text-align: center; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 100; background: var(--black); border-bottom: 3px solid var(--green); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 104px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: #fff; }
.brand { position: relative; z-index: 2; }
.brand img { width: 112px; height: 112px; margin: 0 0 -22px; transform-origin: left center; animation: logoDropIn 1.5s ease-out both; }
@keyframes logoDropIn { 0% { opacity: 0; transform: translateY(-45px) scale(0.6); } 60% { opacity: 1; transform: translateY(0) scale(1.25); } 100% { opacity: 1; transform: none; } }
.brand-name { font-family: var(--font-head); font-weight: 800; font-size: 20px; letter-spacing: 0.02em; text-transform: uppercase; line-height: 1.1; }
.brand-name small { color: var(--green); font-size: 0.8em; }
.site-nav { display: flex; align-items: center; gap: 22px; }
.site-nav > ul { display: flex; align-items: center; gap: 6px; }
.nav-link { display: inline-flex; align-items: center; gap: 6px; background: none; border: 0; color: #fff; font: 600 14px var(--font-head); letter-spacing: 0.06em; text-transform: uppercase; text-decoration: none; padding: 10px 12px; cursor: pointer; border-radius: var(--radius); }
.nav-link:hover, .nav-link.is-active { color: var(--green); }
.nav-cta { margin-left: 8px; padding: 10px 16px; font-size: 14px; white-space: nowrap; }
.nav-phone { display: inline-flex; align-items: center; gap: 8px; color: #fff; text-decoration: none; font-weight: 700; white-space: nowrap; }
.nav-phone svg { color: var(--green); }
.nav-phone:hover { color: var(--green); }
.fb-link { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--green); color: var(--ink); transition: background 0.2s, transform 0.2s; }
.fb-link svg { width: 20px; height: 20px; }
.fb-link:hover { background: #fff; transform: translateY(-2px); }
.footer-fb { display: inline-flex; align-items: center; gap: 10px; margin-top: 6px; font-weight: 500; }
.footer-fb svg { width: 30px; height: 30px; padding: 6px; border-radius: 50%; background: var(--green); color: var(--ink); }

.dropdown { position: relative; }
.dropdown-panel { position: absolute; top: 100%; left: 0; min-width: 170px; background: #1a1a1a; border-top: 3px solid var(--green); box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity 0.2s, transform 0.2s, visibility 0.2s; z-index: 50; }
.dropdown:hover .dropdown-panel, .dropdown:focus-within .dropdown-panel, .dropdown.is-open .dropdown-panel { opacity: 1; visibility: visible; transform: none; }
.dropdown-panel a { display: block; padding: 11px 16px; color: #fff; text-decoration: none; font-size: 14px; }
.dropdown-panel a:hover, .dropdown-panel a[aria-current] { background: var(--green); color: var(--ink); }

.nav-toggle { display: none; width: 46px; height: 46px; background: none; border: 2px solid var(--green); border-radius: var(--radius); cursor: pointer; flex-direction: column; justify-content: center; align-items: center; gap: 5px; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: #fff; transition: transform 0.2s, opacity 0.2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Hero */
.hero { position: relative; min-height: 640px; display: flex; align-items: center; color: #fff; overflow: hidden; padding: 110px 0 170px; }
.hero-slides img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1s ease; }
.hero-slides img.is-active { opacity: 1; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.45) 55%, rgba(0,0,0,0.7) 100%); }
.hero-content { position: relative; text-align: center; }
.eyebrow { display: inline-block; font: 700 14px var(--font-head); letter-spacing: 0.25em; text-transform: uppercase; color: var(--green); background: rgba(0,0,0,0.5); padding: 6px 14px; margin-bottom: 18px; }
.hero h1 { color: #fff; font-size: clamp(32px, 5vw, 56px); font-weight: 800; text-transform: uppercase; max-width: 900px; margin-inline: auto; text-shadow: 0 2px 12px rgba(0,0,0,0.5); }
.hero-sub { font-size: clamp(17px, 2vw, 21px); max-width: 780px; margin: 0 auto 30px; text-shadow: 0 1px 8px rgba(0,0,0,0.6); }
.hero-buttons { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }

.hero-cards { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: -120px; }
.hero-card { display: flex; gap: 16px; background: rgba(17,17,17,0.94); color: #e9e9e9; padding: 26px 24px; border-bottom: 4px solid var(--green); box-shadow: var(--shadow); }
.hero-card h2 { color: #fff; font-size: 20px; text-transform: uppercase; letter-spacing: 0.04em; }
.hero-card p { margin: 0; font-size: 15.5px; }
.hero-card-icon { flex: 0 0 40px; width: 40px; height: 40px; color: var(--green); }

/* Sections */
.section { padding: 90px 0; }
.section-title { font-size: clamp(28px, 3.4vw, 40px); color: var(--green-text); text-transform: uppercase; text-align: center; font-weight: 800; }
.section-title.left { text-align: left; }
.section-intro { text-align: center; max-width: 640px; margin: -4px auto 44px; }
.lead { font-size: 19px; }

.welcome { padding-top: 110px; }

.why { background: var(--grey-bg); }
.why-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: center; }
.why-media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; box-shadow: var(--shadow); }
.why-item { display: flex; gap: 18px; margin-top: 26px; }
.why-item h3 { font-size: 20px; margin-bottom: 6px; }
.why-item p { margin: 0; }
.why-icon { flex: 0 0 48px; width: 48px; height: 48px; border-radius: 50%; background: var(--green); color: var(--ink); display: grid; place-items: center; }
.why-icon svg { width: 22px; height: 22px; }

.service-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 26px; }
.service-card { background: #fff; border: 1px solid var(--line); box-shadow: 0 4px 14px rgba(0,0,0,0.06); display: flex; flex-direction: column; transition: transform 0.25s, box-shadow 0.25s; }
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.service-card img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.service-body { padding: 22px 24px 26px; border-top: 4px solid var(--green); }
.service-body h3 { font-size: 21px; }
.service-body p { margin: 0; font-size: 16px; }
.service-card--wide { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); background: var(--black); color: #d8d8d8; }
.service-card--wide img { height: 100%; aspect-ratio: auto; max-height: 300px; }
.service-card--wide .service-body { border-top: 0; border-left: 4px solid var(--green); display: flex; flex-direction: column; justify-content: center; padding: 30px 40px; }
.service-card--wide h3 { color: #fff; font-size: 26px; }
.service-card--wide p { font-size: 17px; }

.before-after { background: var(--black); color: #ddd; }
.before-after .section-title { color: var(--green); }
.ba-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.ba-pair { margin: 0; }
.ba-images { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.ba-shot { position: relative; }
.ba-shot img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.ba-tag { position: absolute; top: 8px; left: 8px; font-size: 11px !important; padding: 4px 8px !important; background: rgba(0,0,0,0.75); color: #fff; font: 700 13px var(--font-head); letter-spacing: 0.12em; text-transform: uppercase; padding: 6px 12px; }
.ba-tag--after { background: var(--green); color: var(--ink); }
.ba-pair figcaption { margin-top: 12px; text-align: center; font-size: 15px; color: #cfcfcf; }

.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.gallery-grid a { display: block; overflow: hidden; background: #ddd; }
.gallery-grid img { width: 100%; aspect-ratio: 1; object-fit: cover; transition: transform 0.4s; }
.gallery-grid a:hover img { transform: scale(1.06); }

.suppliers { padding: 60px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.supplier-row { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 50px; margin-top: 20px; }
.supplier-row img { max-height: 70px; width: auto; }

.reviews { background: var(--grey-bg); }
.rating-badge { display: flex; justify-content: center; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 40px; font-weight: 500; }
.rating-score { font: 800 30px var(--font-head); color: var(--ink); }
.stars { color: #b85c00; font-size: 22px; letter-spacing: 2px; }
.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 40px; }
.review-card { margin: 0; background: #fff; padding: 28px; border-left: 4px solid var(--green); box-shadow: 0 4px 14px rgba(0,0,0,0.06); display: flex; flex-direction: column; justify-content: space-between; }
.review-card p { font-size: 16px; font-style: italic; }
.review-card footer { font: 700 16px var(--font-head); color: var(--ink); }
.review-card footer::before { content: "★★★★★ "; color: #b85c00; font-size: 13px; letter-spacing: 1px; }

.area-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 50px; align-items: center; }
.town-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 8px 16px; }
.town-list li { position: relative; padding-left: 22px; font-weight: 500; }
.town-list li::before { content: ""; position: absolute; left: 0; top: 0.55em; width: 10px; height: 10px; background: var(--green); border-radius: 50%; }

.quote { background: var(--olive); color: #fff; }
.quote-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 50px; align-items: start; }
.quote h2 { color: #fff; font-size: clamp(30px, 3.6vw, 42px); text-transform: uppercase; font-weight: 800; }
.quote-phone { display: inline-block; font: 800 30px var(--font-head); color: #fff; text-decoration: none; border-bottom: 3px solid var(--green); margin: 6px 0 22px; }
.quote-tagline { font-family: var(--font-head); font-style: italic; color: #e3ecd5; }
.quote-form { background: #fff; color: var(--charcoal); padding: 30px; box-shadow: var(--shadow); display: grid; gap: 14px; }
.quote-form label { display: grid; gap: 6px; font-weight: 600; font-size: 15px; }
.quote-form input, .quote-form select, .quote-form textarea { width: 100%; font: inherit; font-weight: 400; padding: 11px 12px; border: 1px solid #b9bdbb; border-radius: var(--radius); background: #fff; color: var(--ink); }
.quote-form input:focus, .quote-form select:focus, .quote-form textarea:focus { border-color: var(--green-text); outline: 2px solid var(--green); outline-offset: 0; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.hp { position: absolute; left: -9999px; }

/* Footer */
.site-footer { background: var(--black); color: #c9c9c9; padding: 70px 0 0; font-size: 15.5px; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 0.8fr 1fr; gap: 40px; }
.footer-brand img { width: 110px; height: 110px; margin-bottom: 14px; }
.footer-brand p { font-family: var(--font-head); font-style: italic; }
.site-footer h3 { color: var(--green); font-size: 17px; text-transform: uppercase; letter-spacing: 0.06em; }
.site-footer a { color: #e6e6e6; text-decoration: none; }
.site-footer a:hover { color: var(--green); }
.site-footer li { margin-bottom: 6px; }
.hours { margin-top: 12px; }
.footer-bottom { margin-top: 50px; border-top: 1px solid #2a2a2a; padding: 22px 20px 26px; text-align: center; font-size: 13px; color: #a9a9a9; }
.footer-bottom p { margin: 0 0 6px; }
.footer-bottom a { color: #d6d6d6; text-decoration: underline; }
.jp-credit { font-size: 12px; opacity: 0.8; }

.version-badge { position: fixed; bottom: 16px; right: 16px; background: #1c3100; color: #fff; border: 2px solid var(--green); font: 700 11px var(--font-body); letter-spacing: 0.05em; padding: 4px 10px; border-radius: 999px; z-index: 9999; box-shadow: 0 2px 8px rgba(0,0,0,0.3); }

/* Lightbox (built by nav.js) */
.lightbox { position: fixed; inset: 0; z-index: 3000; background: rgba(0,0,0,0.92); display: flex; align-items: center; justify-content: center; padding: 20px; }
.lightbox[hidden] { display: none; }
.lightbox__figure { margin: 0; max-width: min(1100px, 100%); text-align: center; }
.lightbox__figure img { max-height: 82vh; width: auto; margin: 0 auto; }
.lightbox__figure figcaption { color: #ddd; margin-top: 10px; font-size: 15px; }
.lightbox__btn { position: absolute; background: rgba(255,255,255,0.12); color: #fff; border: 0; font-size: 34px; line-height: 1; width: 52px; height: 52px; border-radius: 50%; cursor: pointer; }
.lightbox__btn:hover { background: var(--green); color: var(--ink); }
.lightbox__close { top: 18px; right: 18px; }
.lightbox__prev { left: 18px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 18px; top: 50%; transform: translateY(-50%); }
body.lightbox-open { overflow: hidden; }

/* Scroll reveal — CSS is the no-JS fallback only; nav.js drives it with inline !important */
.jp-reveal { opacity: 0; transform: translateY(80px) scale(0.88); transition: opacity 0.85s cubic-bezier(0.22,1,0.36,1), transform 0.85s cubic-bezier(0.22,1,0.36,1); will-change: opacity, transform; }
.jp-reveal.jp-in { opacity: 1; transform: none; }
.no-js .jp-reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .jp-reveal { transition: none; }
}

/* 404 */
.notfound { min-height: 60vh; display: grid; place-items: center; text-align: center; padding: 90px 20px; }
.notfound h1 { color: var(--green-text); font-size: clamp(34px, 5vw, 54px); text-transform: uppercase; }

/* Responsive */
@media (max-width: 1080px) {
  .nav-phone { display: none; }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .review-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 920px) {
  .nav-toggle { display: flex; }
  .site-nav { position: fixed; inset: 107px 0 auto 0; background: var(--black); flex-direction: column; align-items: stretch; gap: 0; padding: 10px 20px 24px; border-bottom: 3px solid var(--green); max-height: calc(100vh - 107px); overflow-y: auto; transform: translateY(-120%); visibility: hidden; transition: transform 0.3s, visibility 0.3s; }
  .site-nav.is-open { transform: none; visibility: visible; }
  .site-nav > ul { flex-direction: column; align-items: stretch; gap: 0; }
  .site-nav .nav-link { width: 100%; padding: 14px 4px; border-bottom: 1px solid #222; justify-content: space-between; }
  .nav-cta { margin: 16px 0 0; text-align: center; }
  .nav-phone { display: inline-flex; justify-content: center; margin-top: 16px; }
  .fb-link { margin: 16px auto 0; }
  .dropdown-panel { position: static; box-shadow: none; border-top: 0; opacity: 1; visibility: visible; transform: none; display: none; background: #151515; }
  .dropdown.is-open .dropdown-panel { display: block; }
  .dropdown:hover .dropdown-panel { display: none; }
  .dropdown.is-open:hover .dropdown-panel { display: block; }
  .hero-cards { grid-template-columns: 1fr; margin-top: -80px; }
  .why-grid, .area-grid, .quote-grid { grid-template-columns: 1fr; gap: 34px; }
  .why-media img { aspect-ratio: 4 / 3; }
  .ba-list { grid-template-columns: 1fr; max-width: 640px; margin-inline: auto; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .header-inner { min-height: 88px; }
  .brand img { width: 88px; height: 88px; margin-bottom: -18px; }
  .brand-name { font-size: 16px; }
  .site-nav { inset: 91px 0 auto 0; max-height: calc(100vh - 91px); }
  .hero { min-height: 560px; padding: 80px 0 120px; }
  .section { padding: 64px 0; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .review-grid { grid-template-columns: 1fr; }
  .ba-images { gap: 6px; }
  .form-row { grid-template-columns: 1fr; }
  .service-card--wide { grid-template-columns: 1fr; }
  .service-card--wide img { max-height: 260px; }
  .service-card--wide .service-body { border-left: 0; border-top: 4px solid var(--green); padding: 22px 24px 26px; }
  .footer-grid { grid-template-columns: 1fr; }
  .quote-form { padding: 22px; }
}
