:root {
  --brickline-red: #A32020;
  --brickline-dark: #1a1a1a;
  --soft-grey: #f7f7f7;
  --white: #ffffff;
}
* { box-sizing: border-box; }
body { font-family: 'DM Sans', sans-serif; color: var(--brickline-dark); line-height: 1.7; margin: 0; background:#fff; }
h1,h2,h3,h4,h5 { font-weight: 800; }
.site-header { background: #fff; border-bottom: 1px solid rgba(0,0,0,0.06); position: sticky; top: 0; z-index: 1000; }
.main-navbar { padding: 14px 0; }
.navbar-brand img { height: 62px; width: auto; }
.navbar .nav-link { color: var(--brickline-dark) !important; font-weight: 700; text-transform: uppercase; font-size: 13px; letter-spacing: 1px; padding: 10px 14px !important; }
.navbar .nav-link.active { color: var(--brickline-red) !important; }
.navbar-toggler { border: 0; }
.navbar-toggler:focus { box-shadow: none; }
.navbar-toggler-icon { background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(26,26,26,0.95)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e"); }
.dropdown-menu { border:none; border-radius:14px; box-shadow:0 18px 40px rgba(0,0,0,0.10); padding:12px 0; }
.dropdown-item { font-weight:600; padding:10px 18px; }
.dropdown-item:hover { background:#f8f2f2; color:var(--brickline-red); }
@media (min-width: 992px) {
  .navbar .dropdown:hover .dropdown-menu { display:block; margin-top:0; }
  .navbar .dropdown-toggle::after { transition: transform .2s ease; }
  .navbar .dropdown:hover .dropdown-toggle::after { transform: rotate(180deg); }
}
.btn-nav { display: inline-block; background: var(--brickline-red); color: #fff; padding: 12px 18px; font-size: 13px; font-weight: 800; text-transform: uppercase; text-decoration: none; border-radius: 10px; }
.btn-nav:hover { color:#fff; background:#000; }
.hero { background: linear-gradient(rgba(0,0,0,.58), rgba(0,0,0,.58)), url('images/page-header-bg.jpg') center/cover no-repeat; color: #fff; padding: 96px 0; }
.hero h1 { font-size: clamp(2.3rem, 5vw, 4rem); margin-bottom: 12px; }
.hero p { max-width: 820px; font-size: 1.05rem; margin: 0 auto; color: rgba(255,255,255,0.88); }
.section-pad { padding: 84px 0; }
.section-tag { color: var(--brickline-red); text-transform: uppercase; font-weight: 800; letter-spacing: 2px; font-size: 13px; display: inline-block; margin-bottom: 14px; }
.section-title { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 15px; }
.lead-text { color: #666; max-width: 760px; }
.project-stack { display:grid; gap:32px; }
.transformation-card {
  position: relative;
  background: linear-gradient(180deg, #ffffff 0%, #faf7f7 100%);
  border: 1px solid rgba(163,32,32,0.08);
  border-radius: 28px;
  padding: 34px;
  box-shadow: 0 18px 45px rgba(0,0,0,0.06);
}
.transformation-head { display:flex; flex-wrap:wrap; justify-content:space-between; gap:16px; align-items:end; margin-bottom:28px; }
.transformation-head h3 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin:0; }
.transformation-head p { max-width:620px; margin:0; color:#676767; }
.project-meta { display: flex; flex-wrap: wrap; gap: 10px; }
.project-tag { display: inline-flex; align-items: center; padding: 8px 14px; border-radius: 999px; background: rgba(163,32,32,0.08); color: var(--brickline-red); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; }
.before-after-grid { display:grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap:24px; }
.visual-panel {
  position: relative;
  min-height: 430px;
  border-radius: 24px;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  box-shadow: 0 16px 36px rgba(0,0,0,0.14);
}
.visual-panel::after {
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(180deg, rgba(0,0,0,0.08) 0%, rgba(0,0,0,0.65) 100%);
}
.visual-label {
  position:absolute;
  top:18px;
  left:18px;
  z-index:2;
  padding:9px 14px;
  border-radius:999px;
  background:rgba(255,255,255,0.92);
  color:#111;
  font-size:12px;
  font-weight:800;
  letter-spacing:1.4px;
  text-transform:uppercase;
}
.visual-caption {
  position:absolute;
  left:24px;
  right:24px;
  bottom:22px;
  z-index:2;
  color:#fff;
}
.visual-caption h4 { margin:0 0 8px; font-size:1.35rem; }
.visual-caption p { margin:0; color:rgba(255,255,255,0.84); max-width:440px; }
.details-row { margin-top:26px; display:grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap:20px; }
.info-box { background: #fff; border-radius: 20px; padding: 24px; height: 100%; border:1px solid rgba(0,0,0,0.06); }
.info-box h5 { margin-bottom: 14px; }
.scope-list { list-style: none; padding: 0; margin: 0; }
.scope-list li { position: relative; padding-left: 28px; margin-bottom: 12px; }
.scope-list li::before { content: "\f058"; font-family: "Font Awesome 6 Free"; font-weight: 900; color: var(--brickline-red); position: absolute; left: 0; top: 2px; }
.showcase-block + .showcase-block { margin-top: 34px; }
.showcase-head { display:flex; align-items:end; justify-content:space-between; gap:16px; flex-wrap:wrap; margin-bottom:20px; }
.showcase-head h3 { margin:0; font-size: clamp(1.35rem, 3vw, 1.8rem); }
.showcase-head p { margin:0; color:#686868; max-width:560px; }
.gallery-wrap { display:grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap:24px; }
.gallery-tile {
  position:relative;
  border-radius:24px;
  overflow:hidden;
  min-height:320px;
  background-size:cover;
  background-position:center;
  box-shadow:0 14px 36px rgba(0,0,0,0.1);
}
.gallery-tile::after {
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(180deg, rgba(255,255,255,0.02), rgba(0,0,0,0.14));
  opacity:0;
  transition: opacity .25s ease;
}
.gallery-tile:hover::after { opacity:1; }
.cta-strip { background: #111; color: #fff; border-radius: 28px; padding: 42px; }
.footer { background: #111; color: rgba(255,255,255,0.75); padding: 26px 0; text-align: center; font-size: 14px; }
@media (max-width: 991.98px) {
  .before-after-grid, .details-row, .gallery-wrap { grid-template-columns:1fr; }
  .transformation-card { padding:26px; }
  .visual-panel { min-height:360px; }
}


.lightbox-trigger {
  border: 0;
  padding: 0;
  width: 100%;
  cursor: pointer;
}

.lightbox-trigger:focus-visible {
  outline: none;
  outline-offset: 0;
}

.project-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.88);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 30px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  z-index: 2000;
}

.project-lightbox.is-open {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-stage {
  max-width: min(1100px, 84vw);
  width: 100%;
  text-align: center;
}

#lightboxImage {
  max-width: 100%;
  max-height: 78vh;
  width: auto;
  height: auto;
  border-radius: 18px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4);
}

.lightbox-caption {
  color: rgba(255,255,255,0.92);
  font-size: 0.98rem;
  margin-top: 14px;
}

.lightbox-close,
.lightbox-nav {
  border: 0;
  background: rgba(255,255,255,0.12);
  color: #fff;
  width: 52px;
  height: 52px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.lightbox-close {
  position: absolute;
  top: 22px;
  right: 22px;
  font-size: 2rem;
  line-height: 1;
}

.lightbox-close:hover,
.lightbox-nav:hover {
  background: rgba(255,255,255,0.22);
  transform: translateY(-1px);
}

@media (max-width: 767.98px) {
  .project-lightbox {
    padding: 18px;
  }

  .lightbox-stage {
    max-width: 100%;
  }

  .lightbox-nav {
    position: absolute;
    bottom: 24px;
  }

  .lightbox-prev {
    left: 24px;
  }

  .lightbox-next {
    right: 24px;
  }
}


.bg-house-before { background-image: url('../images/bef.jpg'); }
.bg-house-after { background-image: url('../images/kitchen.jpg'); }
.bg-metro-before { background-image: url('../images/before.jpg'); }
.bg-metro-after { background-image: url('../images/house.jpg'); }
.gallery-img-1 { background-image: url('../images/1.jpg'); }
.gallery-img-2 { background-image: url('../images/2.jpg'); }
.gallery-img-3 { background-image: url('../images/3.jpg'); }
.gallery-img-4 { background-image: url('../images/4.jpg'); }
.gallery-img-5 { background-image: url('../images/5.jpg'); }
.gallery-img-6 { background-image: url('../images/6.jpg'); }


.hero-projects {
  position: relative;
  background: linear-gradient(rgba(0,0,0,.60), rgba(0,0,0,.80)), url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?q=80&w=2000') center/cover no-repeat;
  padding: 110px 0 170px;
  overflow: hidden;
}
.hero-projects::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(163,32,32,0.18), rgba(0,0,0,0));
}
.hero-projects-content {
  position: relative;
  z-index: 2;
}
.text-white { color: #fff !important; }
.hero-projects-banner {
  position: relative;
  z-index: 2;
  margin: 44px auto 0;
  max-width: 980px;
  min-height: 360px;
}
.hero-projects-card {
  position: absolute;
  background-size: cover;
  background-position: center;
  border-radius: 26px;
  box-shadow: 0 22px 60px rgba(0,0,0,0.22);
  border: 1px solid rgba(255,255,255,0.18);
}
.hero-projects-card-main {
  inset: 0 140px 0 140px;
}
.hero-projects-card-small {
  width: 210px;
  height: 250px;
  bottom: -26px;
}
.hero-projects-card-left {
  left: 20px;
}
.hero-projects-card-right {
  right: 20px;
  top: 30px;
}
@media (max-width: 991.98px) {
  .hero-projects { padding: 90px 0 120px; }
  .hero-projects-banner { min-height: 280px; max-width: 100%; }
  .hero-projects-card-main { inset: 0 80px; }
  .hero-projects-card-small { width: 150px; height: 180px; }
}
@media (max-width: 767.98px) {
  .hero-projects { padding: 80px 0 80px; }
  .hero-projects-banner { min-height: auto; display: grid; gap: 14px; margin-top: 28px; }
  .hero-projects-card { position: relative; width: 100%; height: 200px; inset: auto; left: auto; right: auto; top: auto; bottom: auto; }
}


.footer-logo{max-width:180px !important;max-height:64px !important;width:auto !important;height:auto !important;display:block;}
.u-inline-041{margin-top:40px;padding-top:25px;border-top:1px solid rgba(255,255,255,0.12);text-align:center;opacity:0.8;}


.project-page-header {
  padding: 180px 0 120px;
  margin-top: 0;
  position: relative;
  background: linear-gradient(rgba(0,0,0,0.60), rgba(0,0,0,0.80)), url('../images/contact-project-banner.jpg') center/cover no-repeat;
  color: #fff;
  text-align: center;
}

.project-page-header-content {
  max-width: 920px;
}

.project-page-header h1 {
  font-size: clamp(2.3rem, 5vw, 4rem);
  margin-bottom: 12px;
}

.project-page-header p {
  max-width: 820px;
  margin: 0 auto;
  color: rgba(255,255,255,0.88);
}

.project-breadcrumb-wrap {
  margin-top: 24px;
}

.project-breadcrumb {
  gap: 8px;
}

.project-breadcrumb .breadcrumb-item,
.project-breadcrumb .breadcrumb-item.active,
.project-breadcrumb .breadcrumb-item + .breadcrumb-item::before {
  color: rgba(255,255,255,0.88);
}

.project-breadcrumb a {
  color: #fff;
  text-decoration: none;
}

.project-breadcrumb a:hover {
  color: #fff;
  text-decoration: underline;
}

@media (max-width: 991.98px) {
  .project-page-header {
    padding: 150px 0 95px;
  }
}

@media (max-width: 767.98px) {
  .project-page-header {
    padding: 130px 0 80px;
  }
}


.project-page-header {
  background: linear-gradient(rgba(0,0,0,.60), rgba(0,0,0,.78)), url('../images/contact-project-banner.jpg') center/cover no-repeat;
  color: #fff;
  padding: 180px 0 120px;
}
.project-page-header .section-tag,
.project-page-header .breadcrumb a,
.project-page-header .breadcrumb-item + .breadcrumb-item::before,
.project-page-header .breadcrumb-item.active {
  color: rgba(255,255,255,0.88);
}
.projects-detail-section {
  padding: 84px 0;
}
.project-footer {
  background: #111;
  color: rgba(255,255,255,0.78);
  padding: 56px 0 42px;
}
.project-footer .footer-logo {
  max-width: 180px;
  height: auto;
}
.project-footer h5 {
  color: #fff;
  margin-bottom: 16px;
  font-size: 1.05rem;
}
.project-footer p,
.project-footer li {
  margin-bottom: 10px;
}
.project-footer a {
  color: rgba(255,255,255,0.78);
  text-decoration: none;
}
.project-footer a:hover {
  color: #fff;
}
.project-footer ul {
  padding-left: 0;
  margin: 0;
  list-style: none;
}
