:root{
  --max-width:1100px;
  --accent:#0b6b4f;
  --muted:#666;
  --bg:#fff;
  --gap:1.25rem;
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
}

*{box-sizing:border-box}
body{margin:0;color:#111;background:var(--bg);line-height:1.45}
.container{max-width:var(--max-width);margin:0 auto;padding:1rem}

.site-header{border-bottom:4px solid #eee;background:#fff;position:sticky;top:0;z-index:30}
.header-inner{display:flex;align-items:center;gap:1.25rem;padding:.05rem 0}
.brand{align-items:center;text-decoration:none;color:inherit}
.brand img{max-width:var(--max-width)}
.main-nav ul{list-style:none;margin:0;padding:0;display:flex;gap:1rem;border-radius:6px;background:#fff}
.main-nav a{color:inherit;text-decoration:none;padding:.25rem .5rem;border-radius:6px}
.main-nav a:hover{background:#f3f3f3}
.navfloat{width:500px;height:50px;position:relative;left:-380px;top:-15px;}
.nav-toggle{display:none;background:none;border:1px solid #ddd;padding:.35rem;border-radius:6px}

.hero{height:572px;background:#4d6845;background-image:url("../images/landing_banner.jpg");background-repeat:no-repeat;background-position:center;padding:2rem 0}
.hero-inner{background:rgba(255,255,255,0.7);display:grid;grid-template-columns:1fr 420px;gap:2rem;align-items:center}
.hero h1{margin:0 0 .5rem;font-size:clamp(1.6rem,3.6vw,2.25rem)}
.lead{font-size:1.05rem;color:#222}
.muted{color:var(--muted);font-size:.95rem}
.hero-image img{filter: drop-shadow(1px 1px 5px #bbb);width:100%;height:auto;border-radius:10px}
.pages{background:#4d6845;margin-bottom:80px;border-top:2px solid #aaa;border-bottom:1px solid #aaa}
.pages-inner{filter: drop-shadow(0px -10px 15px);background:rgba(255,255,255,0.75);padding:30px;border-bottom:8px solid #3e503a;border-top:8px solid #3e503a}
.services{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:1rem;padding:2rem 1rem}
.services article{background:#4d684525;padding:1rem;border-radius:8px;border:1px solid #f0f0f0}
.spotlight{text-align:center;width:310px;height:auto}
.project-gallery{display:flex;gap:.5rem;flex-wrap:wrap;margin-top:.75rem}
.project-gallery img{flex:1 1 30%;max-width:30%;height:auto;border-radius:6px}

.btn{display:inline-block;padding:.6rem 1rem;border-radius:8px;background:var(--accent);color:#fff;text-decoration:none}
.link-more{color:var(--accent);text-decoration:none}

.site-footer{position:relative;bottom:0px;background-image:url('../images/footer.png');padding-top:4rem;font-size:1rem;text-align:center;height:150px}

.contact-form{max-width:640px}
.contact-form label{display:block;margin-bottom:.75rem}
.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form select,
.contact-form textarea,
.contact-form input[type="file"]{
  width:100%;padding:.5rem;border:1px solid #ddd;border-radius:6px;margin-top:.35rem
}

.note{margin-top:1rem;padding:.75rem;background:#fff7ea;border-left:4px solid #f5c26b;color:#6a4a07;border-radius:6px}

/* responsive */
@media (max-width:900px){
  .hero-inner{grid-template-columns:1fr;gap:1rem}
  .main-nav{display:none}
  .nav-toggle{display:inline-block}
  .project-gallery img{max-width:48%}
}


/* Lightbox overlay + centered image */
.lb-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.55);           /* dim fallback */
  backdrop-filter: blur(6px);             /* soft blur for browsers that support it */
  -webkit-backdrop-filter: blur(6px);
  cursor: zoom-out;
  opacity: 0;
  pointer-events: none;
  transition: opacity .18s ease;
}

/* When shown, make clickable */
.lb-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

/* inner container stops click propagation */
.lb-inner {
  max-width: 92vw;
  max-height: 92vh;
  display:flex;
  align-items:center;
  justify-content:center;
  padding: 1rem;
  box-sizing: border-box;
  cursor: zoom-out; /* so clicking the image doesn't show zoom-out cursor */
}

/* the image itself */
.lb-inner img {
  max-width: 100%;
  max-height: 100%;
  display: block;
  border-radius: 6px;
  transform-origin: center center;
  /* nice drop shadow */
  filter: drop-shadow(0 18px 40px rgba(0,0,0,0.55));
  transition: transform .18s ease, opacity .18s ease;
  will-change: transform, opacity;
  cursor: zoom-out;
}

/* small subtle scale-in */
.lb-inner.open img {
  transform: scale(1);
  opacity: 1;
}

/* Improve hit target on thumbs (optional) */
.project-thumb {
  cursor: zoom-in;
  max-width: 100%;
  height: auto;
  border-radius: 4px;
  /* optional visual spacing */
  margin: .35rem;
  display:inline-block;
}
