/* ══════════════════════════════════════
   COMPLETED PROJECTS SECTION
══════════════════════════════════════ */

.bld-hero {
  position: relative;
  width: 100%;
  height: 220px;
  background-image: url('../img/sectionsbgimage.jpg');
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Poppins', sans-serif;
}
.bld-hero-overlay {
  position: absolute; inset: 0;
  /* background: rgba(20,17,12,0.65); */
}
.bld-hero-content {
  position: relative; z-index: 2; text-align: center;
}
.bld-hero-title {
  font-family: 'Poppins', sans-serif;
  font-size: 35px; font-weight: 400; color: #fff;
  letter-spacing: 2px; text-transform: uppercase; margin-bottom: 14px;
}
.bld-breadcrumb {
  display: flex; align-items: center; justify-content: center;
  gap: 10px; font-size: 12px; letter-spacing: 2px; text-transform: uppercase;
}
.bld-breadcrumb a { color: rgba(255,255,255,0.6); text-decoration: none; transition: color 0.2s; }
.bld-breadcrumb a:hover { color: #e30613; }
.bld-breadcrumb span    { color: #e30613; }
.bld-breadcrumb-dot     { color: #e30613; font-size: 16px; }


.projects-section {
  background: #fff7f7;
  padding: 80px 48px;
  font-family: 'Poppins', sans-serif;
}

/* ── Header ── */
.projects-header {
  text-align: center;
  margin-bottom: 56px;
}

.projects-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: #e30613;
  margin-bottom: 16px;
}
.projects-eyebrow::before,
.projects-eyebrow::after {
  content: '';
  display: block;
  width: 32px; height: 1px;
  background: #e30613;
}

.projects-title {
  font-family: 'Poppins', sans-serif;
  font-size: 42px;
  font-weight: 400;
  color: #181818;
  margin-bottom: 14px;
  line-height: 1.15;
}
.projects-title span {
  color: #e30613;
  font-style: italic;
}

.projects-subtitle {
  font-size: 13px;
  color: #888;
  letter-spacing: 1px;
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ── Grid — 3 columns ── */
.projects-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* ── Card ── */
.project-card {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  background: #1a1a1a;    /* dark bg visible hoga agar image choti ho */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.project-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 30px rgba(0,0,0,0.12);
}

/* ── Image Wrapper — fixed height container ── */
.project-img-wrapper {
  width: 100%;
  height: 360px;
  overflow: hidden;
}

/* ── Image — cover + top position for buildings ── */
.project-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top; /* building ka top dikhega */
  display: block;
  transition: transform 0.5s cubic-bezier(0.2, 0.9, 0.4, 1.1), filter 0.3s ease;
}
.project-card:hover .project-img-wrapper img {
  transform: scale(1.06);
  filter: brightness(0.65);
}

/* ── Overlay ── */
.project-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 16px;
  transition: background 0.3s ease;
  pointer-events: none;
}
.project-card:hover .project-overlay {
  background: rgba(20,17,12,0.28);
}

/* ── + icon — white circle ── */
.project-plus {
  width: 60px; height: 60px;
  border: 2px solid #fff;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transform: scale(0.5) rotate(-45deg);
  transition: opacity 0.3s ease, transform 0.4s cubic-bezier(0.2, 0.9, 0.4, 1.1);
  background: rgba(255,255,255,0.12);
}
.project-card:hover .project-plus {
  opacity: 1;
  transform: scale(1) rotate(0);
}
.project-plus svg {
  stroke: #fff;
  width: 22px; height: 22px;
}

/* ── Caption ── */
.project-caption {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: #fff;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.3s ease 0.08s, transform 0.3s ease 0.08s;
  text-align: center;
}
.project-card:hover .project-caption {
  opacity: 1;
  transform: translateY(0);
}

/* ══════════════════════════════════════
   LIGHTBOX
══════════════════════════════════════ */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.92);
  display: flex;
  justify-content: center;
  align-items: center;
  visibility: hidden;
  opacity: 0;
  transition: visibility 0.3s ease, opacity 0.3s ease;
  z-index: 9999;
  cursor: pointer;
}
.lightbox.active {
  visibility: visible;
  opacity: 1;
}

.lightbox img {
  max-width: 90%;
  max-height: 85%;
  object-fit: contain;
  border: 2px solid #e30613;
  box-shadow: 0 0 40px rgba(0,0,0,0.5);
  cursor: default;
}

.lightbox-close {
  position: absolute;
  top: 28px; right: 36px;
  font-size: 40px;
  font-weight: 300;
  color: #fff;
  cursor: pointer;
  transition: color 0.2s;
  line-height: 1;
  z-index: 10000;
}
.lightbox-close:hover { color: #e30613; }

/* ══════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════ */
@media (max-width: 992px) {
  .projects-section            { padding: 60px 30px; }
  .projects-grid               { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .project-img-wrapper         { height: 300px; }
}

@media (max-width: 576px) {
  .projects-section            { padding: 44px 18px; }
  .projects-grid               { grid-template-columns: 1fr; gap: 16px; }
  .project-img-wrapper         { height: 260px; }
  .projects-title              { font-size: 32px; }
}

/* Viaan Infra red brand theme update */
:root{
  --viaan-red:#e30613;
  --viaan-red-dark:#b8000a;
  --viaan-red-soft:#fff2f3;
  --viaan-dark:#181818;
  --viaan-text:#222222;
}
html, body{font-family:'Poppins', Arial, sans-serif !important;background:#ffffff;color:var(--viaan-text);}
h1,h2,h3,h4,h5,h6,.bld-hero-title,.hero-title,.section-title,.about-title{font-family:'Poppins', Arial, sans-serif !important;font-weight:800;letter-spacing:-0.03em;}
p,li,a,span,button,input,textarea,select{font-family:'Poppins', Arial, sans-serif !important;}
.nav-logo img,.footer-logo img{max-height:82px;object-fit:contain;}
.navbar,.nav-header,.header,.main-header{background:#ffffff !important;border-color:#ffd6d9 !important;box-shadow:0 8px 28px rgba(227,6,19,.08) !important;}
.nav-menu a,.nav-link,.mobile-menu a{color:var(--viaan-dark) !important;font-weight:600;}
.nav-menu a:hover,.nav-link:hover,.nav-menu .active,.nav-link.active{color:var(--viaan-red) !important;}
.bld-hero,.hero,.main-hero,.page-banner,.banner,.inner-banner{background-color:var(--viaan-dark) !important;}
.bld-hero::before,.hero::before,.main-hero::before,.page-banner::before,.banner::before{background:linear-gradient(90deg,rgba(24,24,24,.88),rgba(227,6,19,.55),rgba(24,24,24,.25)) !important;}
.bld-hero-overlay,.hero-overlay,.banner-overlay{background:linear-gradient(90deg,rgba(24,24,24,.86),rgba(227,6,19,.52)) !important;}
.bld-hero-title,.hero-title,.banner-title{color:#ffffff !important;text-shadow:0 4px 18px rgba(0,0,0,.35);}
.bld-hero-subtitle,.hero-subtitle,.banner-subtitle{color:#ffe2e4 !important;}
.btn,.button,.theme-btn,.primary-btn,.read-more,.cta-btn,button[type='submit'],input[type='submit']{background:var(--viaan-red) !important;color:#ffffff !important;border-color:var(--viaan-red) !important;border-radius:6px !important;font-weight:700 !important;box-shadow:0 10px 24px rgba(227,6,19,.22) !important;}
.btn:hover,.button:hover,.theme-btn:hover,.primary-btn:hover,.read-more:hover,.cta-btn:hover,button[type='submit']:hover,input[type='submit']:hover{background:var(--viaan-red-dark) !important;border-color:var(--viaan-red-dark) !important;color:#ffffff !important;}
a{color:var(--viaan-red);} a:hover{color:var(--viaan-red-dark);}
.section-label,.eyebrow,.about-hero-eyebrow,.subtitle,.tagline,.logo-tagline{color:var(--viaan-red) !important;font-weight:700 !important;}
.title-underline,.section-title:after,.heading-line,.divider,.bld-hero-divider{background:var(--viaan-red) !important;border-color:var(--viaan-red) !important;}
.card,.project-card,.service-card,.feature-card,.faq-item,.amenity-card,.blog-card,.contact-card,.team-card{border-color:#ffd6d9 !important;box-shadow:0 12px 32px rgba(227,6,19,.08) !important;}
.card:hover,.project-card:hover,.service-card:hover,.feature-card:hover,.blog-card:hover{box-shadow:0 18px 44px rgba(227,6,19,.16) !important;transform:translateY(-3px);}
.icon,.service-icon,.feature-icon,.contact-icon,i{color:var(--viaan-red) !important;}
footer,.footer{background:#181818 !important;color:#ffffff !important;}
footer a,.footer a{color:#ffe2e4 !important;} footer a:hover,.footer a:hover{color:#ffffff !important;}
footer h1,footer h2,footer h3,footer h4,.footer h1,.footer h2,.footer h3,.footer h4{color:#ffffff !important;}
.footer-bottom,.copyright{border-color:rgba(227,6,19,.35) !important;}
.social-icon, .social a{background:rgba(227,6,19,.12) !important;color:#ffffff !important;border-color:rgba(227,6,19,.35) !important;}
.social-icon:hover,.social a:hover{background:var(--viaan-red) !important;}
input:focus,textarea:focus,select:focus{border-color:var(--viaan-red) !important;box-shadow:0 0 0 3px rgba(227,6,19,.12) !important;outline:none;}
.badge,.counter,.count,.project-status,.highlight{background:var(--viaan-red-soft) !important;color:var(--viaan-red) !important;border-color:#ffd6d9 !important;}
::selection{background:var(--viaan-red);color:#ffffff;}
