/* ======================================================
 BAT PROJECTS V2 – CINEMATIC GRID
====================================================== */

#bat-portfolio{
  --bat-green:#0f8c52;
  --bat-dark:#071b12;
  --bat-soft:#f5fbf8;
  --bat-line:rgba(0,0,0,.08);
}

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

#bat-project-hero-v2{
  position:relative;
}

#bat-project-hero-v2 .bat-hero-corporate{
  position:relative;
  min-height:78vh;
  display:flex;
  align-items:center;
  overflow:hidden;
  background:#071f14;
}

#bat-project-hero-v2 .bat-hero-bg{
  position:absolute;
  inset:0;
}

#bat-project-hero-v2 .bat-hero-bg img{
  width:100%;
  height:100%;
  object-fit:cover;
  filter:brightness(.52) saturate(1.05);
}

#bat-project-hero-v2 .bat-hero-overlay{
  position:absolute;
  inset:0;
  background:
    linear-gradient(180deg,rgba(0,0,0,.5),rgba(0,0,0,.35)),
    linear-gradient(90deg,rgba(5,40,25,.92) 0%, rgba(5,40,25,.62) 55%, rgba(5,40,25,.15) 100%);
}

#bat-project-hero-v2 .bat-hero-container{
  position:relative;
  z-index:2;
  max-width:1240px;
  margin:0 auto;
  padding:140px 24px 120px;
  color:#fff;
}

#bat-project-hero-v2 .bat-hero-eyebrow{
  font-size:12px;
  letter-spacing:.24em;
  text-transform:uppercase;
  font-weight:700;
  color:#8ff0c4;
  margin-bottom:18px;
}

#bat-project-hero-v2 .bat-hero-title{
  font-size:68px;
  line-height:1.05;
  font-weight:900;
  margin:0 0 22px;
  color:#fff;
}

#bat-project-hero-v2 .bat-hero-title span{
  display:block;
  color:#cffff0;
}

#bat-project-hero-v2 .bat-hero-desc{
  max-width:760px;
  font-size:18px;
  line-height:1.85;
  color:rgba(255,255,255,.92);
  margin-bottom:42px;
}

#bat-project-hero-v2 .bat-hero-metrics{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:22px;
  max-width:860px;
  margin-bottom:42px;
}

#bat-project-hero-v2 .bat-hero-metrics div{
  backdrop-filter:blur(10px);
  background:rgba(255,255,255,.08);
  border:1px solid rgba(255,255,255,.12);
  border-radius:18px;
  padding:20px;
}

#bat-project-hero-v2 .bat-hero-metrics strong{
  display:block;
  font-size:34px;
  margin-bottom:6px;
}

#bat-project-hero-v2 .bat-hero-metrics span{
  font-size:13px;
  opacity:.92;
}

#bat-project-hero-v2 .bat-hero-actions{
  display:flex;
  gap:18px;
  flex-wrap:wrap;
}

#bat-project-hero-v2 .bat-btn-primary,
#bat-project-hero-v2 .bat-btn-outline{
  padding:16px 30px;
  border-radius:999px;
  font-weight:700;
  text-decoration:none;
  transition:.25s;
}

#bat-project-hero-v2 .bat-btn-primary{
  background:linear-gradient(135deg,#21c26c,#0f8c52);
  color:#fff;
  box-shadow:0 18px 40px rgba(15,140,82,.3);
}

#bat-project-hero-v2 .bat-btn-primary:hover{
  transform:translateY(-2px);
}

#bat-project-hero-v2 .bat-btn-outline{
  border:1px solid rgba(255,255,255,.4);
  color:#fff !important;
  background:rgba(255,255,255,.06);
}

/* ======================================================
 PROJECTS
====================================================== */

#bat-portfolio .bat-projects-v2{
  padding:100px 0;
  background:linear-gradient(180deg,#f8fbff,#ffffff);
}

#bat-portfolio .bat-project-v2{
  max-width:1280px;
  margin:0 auto 120px;
  padding:0 24px;
}

#bat-portfolio .bat-project-grid{
  display:grid;
  grid-template-columns:420px 1fr;
  gap:56px;
  align-items:start;
}

#bat-portfolio .bat-project-meta{
  background:#fff;
  border-radius:26px;
  padding:34px 28px;
  border:1px solid var(--bat-line);
  box-shadow:0 30px 80px rgba(0,0,0,.06);
}

#bat-portfolio .bat-project-meta.sticky{
  position:sticky;
  top:120px;
}

#bat-portfolio .bat-project-title{
  margin:0 0 24px;
  font-size:28px;
  line-height:1.25;
  font-weight:800;
  color:#0c5133;
}

#bat-portfolio .bat-meta{
  display:grid;
  gap:14px;
}

#bat-portfolio .bat-meta div{
  display:flex;
  flex-direction:column;
  gap:4px;
  padding-bottom:12px;
  border-bottom:1px dashed rgba(0,0,0,.08);
}

#bat-portfolio .bat-meta span{
  font-size:11px;
  letter-spacing:.14em;
  text-transform:uppercase;
  color:#7b8a8a;
}

#bat-portfolio .bat-meta strong{
  font-size:14px;
  color:#071b12;
}

/* ======================================================
 GALLERY
====================================================== */

#bat-portfolio .bat-gallery-stage{
  position:relative;
  aspect-ratio:16/10;
  overflow:hidden;
  border-radius:28px;
  background:#eef4f0;
  box-shadow:0 30px 90px rgba(0,0,0,.16);
}

#bat-portfolio .bat-gallery-stage img{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  opacity:0;
  transform:scale(1.04);
  transition:opacity .45s ease, transform .7s ease;
}

#bat-portfolio .bat-gallery-stage img.active{
  opacity:1;
  transform:scale(1);
}

#bat-portfolio .bat-gallery-thumbs{
  display:flex;
  gap:12px;
  margin-top:16px;
  flex-wrap:wrap;
}

#bat-portfolio .bat-gallery-thumbs img{
  width:78px;
  height:58px;
  object-fit:cover;
  border-radius:10px;
  border:2px solid transparent;
  cursor:pointer;
  opacity:.65;
  transition:.25s;
}

#bat-portfolio .bat-gallery-thumbs img.active{
  opacity:1;
  border-color:var(--bat-green);
}

#bat-portfolio .bat-gallery-thumbs img:hover{
  opacity:1;
}

/* ======================================================
 MOBILE
====================================================== */

@media(max-width:1024px){

  #bat-portfolio .bat-project-grid{
    grid-template-columns:1fr;
  }

  #bat-portfolio .bat-project-meta.sticky{
    position:relative;
    top:auto;
  }

}

@media(max-width:768px){

  #bat-project-hero-v2 .bat-hero-title{
    font-size:42px;
  }

  #bat-project-hero-v2 .bat-hero-metrics{
    grid-template-columns:repeat(2,1fr);
  }

  #bat-project-hero-v2 .bat-hero-container{
    padding:110px 20px 90px;
  }

  #bat-portfolio .bat-project-v2{
    margin-bottom:80px;
    padding:0 18px;
  }

  #bat-portfolio .bat-gallery-thumbs{
    overflow-x:auto;
    flex-wrap:nowrap;
  }

}