:root{
  /* --green: #1fa35b; */
  --green: #44f213;
  /* --green-dark: #148347; */
  --green-dark: #2e9f0e;

  --bg: #ffffff;
  --text: #0f1a14;
  --muted: #4a6155;

  --card: #f6faf7;
  --card-strong: #ffffff;

  --border: rgba(0,0,0,0.10);

  --dark: #0b0f0d;
  --dark-2: #101814;
  --dark-border: rgba(255,255,255,0.10);

  --shadow: 0 12px 30px rgba(0,0,0,0.07);
}

*{ box-sizing: border-box; }

body{
  margin: 0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
}

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

.container{
  width: min(1100px, 92%);
  margin: 0 auto;
}

/* =========================
   HEADER (DARK)
========================= */

.site-header{
  background: var(--dark);
  border-bottom: 1px solid var(--dark-border);
  padding: 16px 0;
  position: sticky;
  top: 0;
  z-index: 50;
}

.header-inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.logo{
  font-weight: 800;
  font-size: 18px;
  color: #ffffff;
  letter-spacing: 0.2px;
}

.logo-mark{
  color: var(--green);
  margin-right: 6px;
}

.main-nav{
  display: flex;
  gap: 14px;
  align-items: center;
}

.main-nav a{
  color: rgba(255,255,255,0.82);
  font-weight: 600;
  font-size: 14px;
}

.main-nav a:hover{
  color: #ffffff;
}

.main-nav a.active{
  color: var(--green);
}

/* =========================
   HERO
========================= */

.hero{
  padding: 60px 0 30px;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 24px;
  align-items: start;
}

.hero h1{
  font-size: clamp(28px, 3vw, 44px);
  line-height: 1.1;
  margin: 0 0 12px;
}

.lead{
  font-size: 18px;
  color: var(--muted);
  line-height: 1.6;
}

.hero-actions{
  margin-top: 18px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.trust{
  margin-top: 18px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 14px;
}

/* =========================
   SECTIONS + CARDS
========================= */

.section{
  padding: 40px 0;
}

.section-header{
  margin-bottom: 18px;
}

.card{
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 18px;
  box-shadow: var(--shadow);
}

.hero-card{
  background: linear-gradient(180deg, rgba(31,163,91,0.12), rgba(246,250,247,1));
  border: 1px solid rgba(31,163,91,0.35);
  border-radius: 18px;
  padding: 18px;
  box-shadow: var(--shadow);
}

.grid-2{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.grid-3{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

/* =========================
   BUTTONS
========================= */

.btn{
  display: inline-block;
  padding: 10px 14px;
  border-radius: 12px;
  font-weight: 700;
  border: 1px solid transparent;
  font-size: 14px;
}

.btn-primary{
  background: var(--green);
  color: #04170b;
}

.btn-primary:hover{
  background: var(--green-dark);
}

.btn-secondary{
  background: #ffffff;
  border: 1px solid var(--border);
  color: var(--text);
}

.btn-secondary:hover{
  border-color: rgba(31,163,91,0.35);
}

.btn-outline{
  border: 1px solid rgba(31,163,91,0.6);
  background: transparent;
  color: #ffffff;
}

.btn-outline:hover{
  border-color: rgba(31,163,91,0.9);
  color: #ffffff;
}

/* =========================
   TEXT LINKS / LISTS
========================= */

.text-link{
  color: var(--green-dark);
  font-weight: 700;
}

.checklist{
  padding-left: 18px;
  color: var(--muted);
}

.muted{ color: var(--muted); }

/* =========================
   PAGE HEADER
========================= */

.page-header{
  padding: 50px 0 10px;
}

/* =========================
   FORMS
========================= */

.form{
  display: grid;
  gap: 12px;
}

label{
  font-weight: 600;
  font-size: 14px;
}

input, textarea{
  width: 100%;
  padding: 10px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: #ffffff;
  color: var(--text);
  margin-top: 6px;
}

input:focus, textarea:focus{
  outline: none;
  border-color: rgba(31,163,91,0.6);
  box-shadow: 0 0 0 4px rgba(31,163,91,0.12);
}

.alert{
  padding: 10px 12px;
  border-radius: 12px;
  margin-bottom: 12px;
  border: 1px solid var(--border);
}

.alert.success{
  border-color: rgba(31,163,91,0.55);
  background: rgba(31,163,91,0.12);
}

.alert.error{
  border-color: rgba(255,60,60,0.5);
  background: rgba(255,60,60,0.10);
}

/* Honeypot anti spam */
.honeypot{
  position: absolute;
  left: -9999px;
  top: -9999px;
  height: 0;
  width: 0;
  overflow: hidden;
}

/* =========================
   BREADCRUMBS
========================= */

.breadcrumbs ol{
  list-style: none;
  padding: 0;
  margin: 0 0 12px;
  display: flex;
  gap: 8px;
  color: var(--muted);
  font-size: 14px;
}

.breadcrumbs a{
  color: var(--muted);
}

.breadcrumbs a:hover{
  color: var(--green-dark);
}

/* =========================
   CTA SECTION
========================= */

.cta{
  background: linear-gradient(90deg, rgba(31,163,91,0.08), rgba(0,0,0,0.03));
  border: 1px solid rgba(31,163,91,0.25);
  border-radius: 22px;
  padding: 26px;
  margin: 20px 0 50px;
  box-shadow: var(--shadow);
}

.cta h2{
  margin: 0 0 8px;
}

/* =========================
   FOOTER (DARK)
========================= */

.site-footer{
  background: var(--dark);
  border-top: 1px solid var(--dark-border);
  margin-top: 50px;
  padding: 30px 0;
  color: rgba(255,255,255,0.88);
}

.footer-inner{
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 18px;
}

.footer-title{
  margin: 0 0 10px;
  color: #ffffff;
}

.footer-links{
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
}

.footer-links a{
  color: rgba(255,255,255,0.70);
}

.footer-links a:hover{
  color: var(--green);
}

.footer-bottom{
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--dark-border);
}

.footer-bottom .muted{
  color: rgba(255,255,255,0.60);
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 900px){
  .hero{ grid-template-columns: 1fr; }
  .grid-2, .grid-3{ grid-template-columns: 1fr; }
  .footer-inner{ grid-template-columns: 1fr; }
}


.honeypot{
  position: absolute;
  left: -9999px;
  top: -9999px;
  height: 0;
  width: 0;
  overflow: hidden;
}

.breadcrumbs ol{
  list-style: none;
  padding: 0;
  margin: 0 0 12px;
  display: flex;
  gap: 8px;
  color: var(--muted);
  font-size: 14px;
}

.breadcrumbs a{
  color: var(--muted);
}

.breadcrumbs a:hover{
  color: var(--green);
}

.logo{
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 18px;
  color: #ffffff;
}

.logo-img{
  height: 34px;
  width: auto;
  display: block;
}

.logo-text{
  display: inline-block;
}

.tagline{
  font-size: 18px;
  font-weight: 700;
  margin: 10px 0 6px;
}

.subline{
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.2px;
}

/* =========================
   PORTFOLIO THUMB GALLERY
========================= */
.portfolio-card h2{
  margin-top: 0;
}

.portfolio-thumbs{
  margin-top: 12px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.thumb{
  border: 1px solid var(--border);
  background: #fff;
  padding: 0;
  border-radius: 14px;
  overflow: hidden;
  cursor: pointer;
  width: 78px;
  height: 58px;
  box-shadow: var(--shadow);
}

.thumb img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.thumb:hover{
  border-color: rgba(31,163,91,0.45);
}

.thumb-more{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  color: var(--green-dark);
  background: var(--card);
  padding: 0 10px;
  width: auto;
}

/* =========================
   LIGHTBOX
========================= */
.lightbox{
  position: fixed;
  inset: 0;
  display: none;
  z-index: 9999;
}

.lightbox.open{
  display: block;
}

.lightbox-backdrop{
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.65);
}

.lightbox-content{
  position: relative;
  width: min(1000px, 92%);
  margin: 6vh auto 0;
  background: #0b0f0d;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 22px;
  padding: 14px;
  box-shadow: 0 18px 60px rgba(0,0,0,0.35);
  color: #fff;
}

.lightbox-content img{
  width: 100%;
  height: min(70vh, 680px);
  object-fit: contain;
  border-radius: 16px;
  background: #000;
}

.lightbox-close{
  position: absolute;
  top: 12px;
  right: 12px;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.15);
  background: rgba(255,255,255,0.08);
  color: #fff;
  cursor: pointer;
  font-size: 16px;
}

.lightbox-close:hover{
  border-color: rgba(31,163,91,0.6);
}

.lightbox-nav{
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  border: 1px solid rgba(255,255,255,0.15);
  background: rgba(255,255,255,0.08);
  color: #fff;
  width: 42px;
  height: 52px;
  border-radius: 14px;
  cursor: pointer;
  font-size: 28px;
  line-height: 1;
}

.lightbox-nav:hover{
  border-color: rgba(31,163,91,0.6);
}

.lightbox-nav.prev{ left: 10px; }
.lightbox-nav.next{ right: 10px; }

.lightbox-footer{
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 10px 4px 0;
  color: rgba(255,255,255,0.80);
  font-size: 14px;
}

.lb-title{
  font-weight: 700;
  color: #fff;
}

.lb-count{
  color: rgba(255,255,255,0.70);
}

.hero-card-img{
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 16px;
  margin-top: 14px;
  border: 1px solid rgba(31,163,91,0.25);
}

/* =========================
   PORTFOLIO CARD LAYOUT
========================= */

.portfolio-main-img{
  display: block;
  margin-top: 12px;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.portfolio-main-img img{
  width: 100%;
  height: 170px;
  object-fit: cover;
  display: block;
}

.portfolio-actions{
  margin-top: 14px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

/* thumbnails already exist from previous gallery CSS */

.badges{
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 10px;
}

.badge{
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: #fff;
  font-size: 12px;
  font-weight: 700;
  color: var(--text);
}

.project-cta-row{
  margin-top: 16px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.project-gallery{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-top: 12px;
}

.project-thumb{
  border: 1px solid var(--border);
  background: #fff;
  padding: 0;
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  box-shadow: var(--shadow);
}

.project-thumb img{
  width: 100%;
  height: 140px;
  object-fit: cover;
  display: block;
}

.testimonial blockquote{
  margin: 10px 0 10px;
  font-size: 18px;
  line-height: 1.6;
  font-weight: 700;
}

.nav-toggle{
  display: none;
  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.06);
  color: #fff;
  font-size: 22px;
  font-weight: 900;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  cursor: pointer;
}

/* Mobile menu behaviour */
@media (max-width: 900px){

  .nav-toggle{
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .main-nav{
    display: none;
    position: absolute;
    top: 72px; /* below the header */
    right: 4%;
    left: 4%;
    background: #0b0f0d;
    border: 1px solid rgba(255,255,255,0.10);
    border-radius: 18px;
    padding: 12px;
    flex-direction: column;
    gap: 10px;
    z-index: 999;
  }

  .main-nav.open{
    display: flex;
  }

  .main-nav a{
    padding: 10px 12px;
    border-radius: 12px;
  }

  .main-nav a:hover{
    background: rgba(255,255,255,0.06);
  }

  /* Contact button fits nicely in the menu */
  .main-nav .btn{
    width: 100%;
    text-align: center;
  }

  /* Make header positioning work for absolute menu */
  .header-inner{
    position: relative;
  }
}

/* .main-nav a:first-child{ */
  /* color: var(--green); */
/* } */
