/* ==========================================================
   GLOBAL DESIGN SETTINGS
   These variables are reused by every HTML page. Change a
   color, maximum page width, or corner radius here to update
   the whole website consistently.
   ========================================================== */
:root {
  --black: #0a0a0a;
  --soft-black: #141414;
  --white: #ffffff;
  --off-white: #f6f7f4;
  --green: #8dff00;
  --green-dark: #63b800;
  --gray: #b8b8b8;
  --text: #252525;
  --line: #dedede;
  --max: 1180px;
  --radius: 18px;
}

/* Base browser reset and default typography for all pages. */
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: inherit;
}
button,
input,
select,
textarea {
  font: inherit;
}

/* Accessibility: styles the .skip-link found near the top of every HTML file. */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--green);
  color: var(--black);
  padding: 0.7rem 1rem;
  z-index: 9999;
}
.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

/* Shared layout helpers used throughout all six HTML pages. */
.container {
  width: min(var(--max), 92%);
  margin-inline: auto;
}
.section {
  padding: 5.5rem 0;
}
.section.alt {
  background: var(--off-white);
}
.kicker {
  color: var(--green-dark);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  font-weight: 800;
}
h1,
h2,
h3 {
  line-height: 1.12;
  margin: 0 0 1rem;
}
h1 {
  font-size: clamp(2.7rem, 7vw, 5.8rem);
}
h2 {
  font-size: clamp(2rem, 4.4vw, 3.4rem);
}
h3 {
  font-size: 1.35rem;
}
p {
  margin: 0 0 1rem;
}
.lead {
  font-size: 1.15rem;
  max-width: 760px;
  color: #4e4e4e;
}
.muted {
  color: #666;
}

/*
   SHARED HEADER AND NAVIGATION
   Matches <header class="site-header"> in every HTML file.
   On small screens, script.js toggles the .open class on .site-nav.
*/
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(10, 10, 10, 0.96);
  color: var(--white);
  border-bottom: 1px solid #262626;
}
.nav-wrap {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  font-weight: 900;
  letter-spacing: 0.04em;
}
.brand img {
  width: 58px;
  height: 58px;
  object-fit: contain;
  background: white;
  border-radius: 50%;
}
.brand span {
  font-size: 1rem;
}
.site-nav {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}
.site-nav a {
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 700;
}
.site-nav a:hover,
.site-nav a.active {
  color: var(--green);
}
.menu-toggle {
  display: none;
  background: none;
  border: 0;
  color: white;
  font-size: 1.8rem;
  cursor: pointer;
}

/* Reusable buttons and links: combine .btn with .dark or .outline as needed. */
.btn {
  display: inline-block;
  border: 0;
  border-radius: 999px;
  padding: 0.9rem 1.25rem;
  background: var(--green);
  color: var(--black);
  text-decoration: none;
  font-weight: 900;
  cursor: pointer;
}
.btn:hover {
  background: #a2ff35;
  transform: translateY(-1px);
}
.btn.dark {
  background: var(--black);
  color: var(--white);
}
.btn.outline {
  background: transparent;
  border: 1px solid var(--white);
  color: var(--white);
}

/* Home page only: hero and banner sections in index.html. */
.hero {
  color: var(--white);
  background: radial-gradient(
    circle at 80% 20%,
    #202020 0,
    #0a0a0a 44%,
    #050505 100%
  );
  padding: 5rem 0 3rem;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2.8rem;
  align-items: center;
}
.hero h1 span {
  color: var(--green);
}
.hero .lead {
  color: #d6d6d6;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.5rem;
}
.hero-logo {
  background: #fff;
  border-radius: 28px;
  padding: 1rem;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
}
.banner-strip {
  background: #0d0d0d;
  padding: 1rem 0 0;
}
.banner-strip img {
  width: 100%;
  border-radius: 18px 18px 0 0;
}

/* Interior-page heading shared by all pages except index.html. */
.page-hero {
  background: var(--black);
  color: white;
  padding: 4.4rem 0;
  border-bottom: 4px solid var(--green);
}
.page-hero p {
  color: #d5d5d5;
  max-width: 760px;
}

/* Reusable grids and cards used by service, detail, and project pages. */
.grid {
  display: grid;
  gap: 1.25rem;
}
.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}
.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
}
.card.dark {
  background: var(--soft-black);
  color: white;
  border-color: #2a2a2a;
}
.card.dark p {
  color: #cfcfcf;
}
.service-card {
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 5px;
  background: var(--green);
}
.service-card ul {
  padding-left: 1.2rem;
}

/* FAQ accordion in details.html; the native <details> tags need no JavaScript. */
.faq-list {
  display: grid;
  gap: 0.8rem;
}
details {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1rem 1.1rem;
  background: white;
}
summary {
  font-weight: 800;
  cursor: pointer;
}
details p {
  margin: 0.8rem 0 0;
  color: #555;
}

/* Service-area panel in details.html. */
.service-area {
  background: linear-gradient(135deg, #101010, #202020);
  color: white;
  border-radius: 24px;
  padding: 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  align-items: center;
}
/*
  INTERACTIVE SERVICE-AREA MAP

  Used in:
  - details.html
  - landscape-services.html
  - construction-services.html

  The iframe itself comes from Google My Maps.
*/
.service-map {
  width: 100%;
  min-height: 350px;
  overflow: hidden;
  border: 2px solid var(--green);
  border-radius: 18px;
  background: #171717;
}

.service-map iframe {
  display: block;
  width: 100%;
  min-height: 350px;
  border: 0;
}
/* Project placeholders in projects.html. */
.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.project-photo {
  aspect-ratio: 4/3;
  border-radius: 16px;
  background: #e9e9e9;
  border: 1px dashed #aaa;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 1rem;
  color: #666;
}

/* Contact information and #quote-form layout in contact.html. */
.contact-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 2rem;
}
.contact-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
}
.contact-list li {
  margin: 0.85rem 0;
}
.contact-list a {
  font-weight: 800;
}
form {
  background: var(--off-white);
  border-radius: 20px;
  padding: 1.5rem;
  border: 1px solid var(--line);
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
label {
  display: block;
  font-weight: 800;
  margin: 0 0 0.35rem;
}
input,
select,
textarea {
  width: 100%;
  border: 1px solid #c9c9c9;
  border-radius: 10px;
  padding: 0.85rem;
  background: white;
}
textarea {
  min-height: 150px;
  resize: vertical;
}
.field {
  margin-bottom: 1rem;
}
.form-note {
  font-size: 0.9rem;
  color: #666;
}
.status {
  margin-top: 1rem;
  font-weight: 700;
}

/* Shared green call-to-action section near the bottom of every HTML page. */
.cta {
  background: var(--green);
  color: var(--black);
  padding: 3.5rem 0;
}
.cta-row {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  align-items: center;
}

/* Shared footer used by every HTML page. */
.site-footer {
  background: #050505;
  color: white;
  padding: 3rem 0 1.2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
  gap: 2rem;
}
.footer-grid a {
  color: #d5d5d5;
  text-decoration: none;
}
.footer-grid a:hover {
  color: var(--green);
}
.footer-bottom {
  border-top: 1px solid #242424;
  margin-top: 2rem;
  padding-top: 1rem;
  color: #aaa;
  font-size: 0.9rem;
}

/*
   RESPONSIVE LAYOUTS
   These rules rearrange navigation, grids, forms, and the footer
   for tablets and phones. script.js works with .site-nav.open below.
*/
@media (max-width: 900px) {
  .hero-grid,
  .contact-grid,
  .service-area,
  .grid-3,
  .grid-2,
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .gallery {
    grid-template-columns: repeat(2, 1fr);
  }
  .menu-toggle {
    display: block;
  }
  .site-nav {
    display: none;
    position: absolute;
    top: 82px;
    left: 0;
    right: 0;
    background: #0a0a0a;
    padding: 1rem 4%;
    flex-direction: column;
    align-items: flex-start;
    border-top: 1px solid #222;
  }
  .site-nav.open {
    display: flex;
  }
}
@media (max-width: 600px) {
  .section {
    padding: 4rem 0;
  }
  .gallery,
  .form-grid {
    grid-template-columns: 1fr;
  }
  .cta-row {
    align-items: flex-start;
    flex-direction: column;
  }
  .brand span {
    display: none;
  }
}
