:root{
  --bg: #0b1220;
  --card: #FFFFFF;
  --text: #111111;
  --muted: #374151;
  --brand: #4f7cff;
  --brand2: #22c55e;
  --border: rgba(255,255,255,0.10);
  --shadow: 0 16px 40px rgba(0,0,0,0.35);
  --radius: 18px;
  --max: 1100px;
}

*{ box-sizing: border-box; }
html,body{ margin:0; padding:0; font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif; background: #F5F6F7 }
a{ color: inherit; text-decoration: none; }
img{ max-width:100%; display:block; }

.container{ width: min(var(--max), 92%); margin: 0 auto; }

.nav{
  position: sticky; top:0; z-index: 50;
  backdrop-filter: blur(10px);
  background: #FFFFFF;
  border-bottom: 1px solid rgba(0,0,0,0.08);
}
.nav-inner{
  display:flex; align-items:center; justify-content: space-between;
  padding: 14px 0;
}
.brand{
  display:flex; gap:10px; align-items:center; font-weight: 800; letter-spacing: .2px;
}
.logo{
  width: auto; height: 100px; border-radius: 10px;
  background: linear-gradient(135deg, var(--brand), var(--brand2));
  box-shadow: var(--shadow);
}
.logo-img{
  height: 78px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
}
.nav-links{ display:flex; gap:18px; align-items:center; }
.nav-links a{
  color: #374151; font-weight: 500;
  padding: 8px 10px; border-radius: 10px;
}
.nav-links a:hover{ background: rgba(255,255,255,0.06); color: var(--text); }

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:12px 20px;
  border-radius:12px;
  background:#C40000;
  color:#FFFFFF;
  font-weight:700;
  border:0;
  cursor:pointer;
  text-decoration:none;
  transition:0.2s ease;
  box-shadow: 0 10px 24px rgba(0,0,0,0.15);
}


.nav-links .btn{
  display:inline-flex; 
  align-items:center; 
  justify-content:center;
  padding: 12px 16px; 
  border-radius: 10px;
  background: #C40000;
  transition: 0.2s ease;
  color: #FFFFFF; 
  font-weight: 700;
  border: 0; 
  cursor:pointer;
  transition:0.2s ease;
  box-shadow: 0 10px 24px rgba(79,124,255,0.25);
}
.btn.secondary{
  background: #F3F4F6;
  box-shadow: none;
  border: 1px solid #E5E7EB;
  color: #111111;
}
.btn:hover{
  background: #A80000; 
  color: #FFFFFF; 
  transform: translateY(-1px);
}

.hero{
  padding: 64px 0 30px;
}
.hero-grid{
  display:grid; gap: 22px;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: stretch;
}
@media (max-width: 900px){
  .hero-grid{ grid-template-columns: 1fr; }
  .nav-links{ flex-wrap: wrap; justify-content: flex-end; }
}
.card{
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.hero-card{ padding: 28px; }
.kicker{ color: var(--muted); font-weight: 600; }
h1{ font-size: clamp(32px, 4vw, 48px); margin: 10px 0 10px; line-height: 1.08; }
.subhead{ color: var(--muted); font-size: 16px; line-height: 1.55; max-width: 58ch; }

.hero-actions{ display:flex; gap:12px; flex-wrap: wrap; margin-top: 18px; }
.badges{ display:flex; flex-wrap:wrap; gap:10px; margin-top: 16px; }
.badge{
  padding: 8px 12px; 
  border-radius: 999px;
  background: #F3F4F6;
  border: 1px solid #E5E7EB;
  color: #374151;
  font-weight: 600;
  font-size: 14px;
}

.side-card{ padding: 18px; }
.side-card h3{ margin: 0 0 10px; }
.info{
  display:grid; gap:12px;
}
.info-row{
  display:flex; align-items:flex-start; justify-content: space-between; gap:10px;
  padding: 12px; border-radius: 14px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
}
.info-row span{ color: #6B7280; font-weight: 600; }
.info-row a{ color: var(--text); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

.section{ padding: 26px 0; }
.section h2{ margin:0 0 10px; font-size: 26px; }

.guide-grid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  align-items: stretch;
}

.guide-image{
  padding: 18px;
}

.guide-image img{
  width:100%;
  border-radius: 12px;
}

.guide-text{
  padding: 22px;
}

.guide-text ul{
  padding-left: 18px;
  line-height: 1.6;
}

@media (max-width: 900px){
  .guide-grid{
    grid-template-columns: 1fr;
  }
}

.grid3{
  display:grid; gap: 14px;
  grid-template-columns: repeat(3, 1fr);
}
@media (max-width: 900px){
  .grid3{ grid-template-columns: 1fr; }
}
.feature{ padding: 18px; }
.feature h3{ margin: 0 0 6px; }
.feature p{ margin:0; color: var(--muted); line-height: 1.6; }

.gallery img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  border-radius: 14px;
}


.gallery{
  display:grid; 
  gap: 12px;
  grid-template-columns: repeat(3, 1fr);
}
@media (max-width: 900px){
  .gallery{ grid-template-columns: 1fr; }
}
.thumb{
  overflow:hidden;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.04);
}
.thumb .ph{
  height: 210px;
  display:flex; align-items:center; justify-content:center;
  color: rgba(255,255,255,0.45);
  font-weight: 700;
  background:
    linear-gradient(135deg, rgba(79,124,255,0.22), rgba(34,197,94,0.12));
}
.thumb .cap{
  padding: 12px;
  color: var(--muted);
  border-top: 1px solid var(--border);
}

.form{
  padding: 18px;
}
label{ display:block; font-weight:700; margin: 12px 0 6px; }
input, textarea{
  width: 100%;
  padding: 12px 12px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.04);
  color: var(--text);
  outline: none;
}
textarea{ min-height: 130px; resize: vertical; }

.footer{
  margin-top: 40px;
  padding: 24px 0;
  border-top: 1px solid var(--border);
  color: var(--muted);
}
.small{ font-size: 13px; color: var(--muted); }



.suppliers {
  text-align: center;
}

.supplier-logos {
  margin-top: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 50px;
  flex-wrap: wrap;
}

.supplier-logos img {
  height: 60px;
  width: auto;
  opacity: 1;
  filter: grayscale(0%);
  transition: 0.25s ease;
}

.supplier-logos img:hover {
  opacity: 1;
  filter: grayscale(0%);
  transform: translateY(-2px);
}






.project-card{
  display:block;
  overflow:hidden;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background:#fff;
  transition: 0.2s ease;
}

.project-card img{
  width:100%;
  height:220px;
  object-fit:cover;
}

.project-card:hover{
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(0,0,0,0.15);
}

.project-info{
  padding:12px;
  font-weight:600;
  color: var(--text);
}


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

@media (max-width: 900px) {
  .projects-grid {
    grid-template-columns: 1fr;
  }
}




.lightbox {
  display: none;
  position: fixed;
  z-index: 999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.85);
  align-items: center;
  justify-content: center;
}

.lightbox-content {
  max-width: 90%;
  max-height: 85%;
  border-radius: 10px;
}

.lightbox-close {
  position: absolute;
  top: 25px;
  right: 35px;
  font-size: 40px;
  color: white;
  cursor: pointer;
}

.lightbox-nav span {
  position: absolute;
  top: 50%;
  font-size: 40px;
  color: white;
  cursor: pointer;
  padding: 10px;
  user-select: none;
}

.prev { left: 20px; }
.next { right: 20px; }




@media (max-width: 768px) {

  .nav-inner {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }

  .brand {
    justify-content: center;
    text-align: center;
  }

  .nav-links {
    flex-direction: column;
    width: 100%;
    align-items: center;
    gap: 8px;
  }

  .nav-links a {
    width: 100%;
    text-align: center;
  }

  .logo-img {
    height: 60px;
  }

}





@media (max-width: 768px) {

  .projects-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .project-card img {
    height: 240px;
  }

  .section {
    padding: 20px 0;
  }

  h1 {
    font-size: 28px;
  }

  h2 {
    font-size: 22px;
  }

}




@media (max-width: 768px) {

  body {
    font-size: 16px;
    line-height: 1.6;
  }

  .hero-card {
    padding: 20px;
  }

  .feature {
    padding: 16px;
  }

}



@media (max-width: 768px) {

  .btn {
    width: 100%;
    padding: 14px;
  }

}


@media (max-width: 768px) {

  .nav-inner {
    padding: 8px 0;
  }

  .logo-img {
    height: 48px;
  }

  .brand div div:first-child {
    font-size: 14px;
  }

  .brand .small {
    font-size: 11px;
  }

}


@media (max-width: 768px) {

  .nav-links .btn {
    padding: 8px 12px;
    font-size: 14px;
  }
}



@media (max-width: 768px) {

  .brand .small {
    display: none;
  }

}



/* Hide menu button on desktop */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 26px;
  cursor: pointer;
}

/* Mobile styles */
@media (max-width: 768px) {

  .nav-inner {
    justify-content: space-between;
    align-items: center;
  }

  .brand .small {
    display: none;
  }

  .logo-img {
    height: 45px;
  }

  .menu-toggle {
    display: block;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    width: 100%;
    background: #ffffff;
    padding: 12px 0;
    border-top: 1px solid #eee;
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links a {
    width: 100%;
    text-align: center;
    padding: 12px 0;
  }

}




.hero-image {
  position: relative;
  height: 85vh;
  background: url("assets/residential-projects/Job12/RES2.jpeg") center/cover no-repeat;
  display: flex;
  align-items: center;
  border-radius: 20px;
  overflow: hidden;
  margin: 20px auto;
  width: min(1200, 95%);
}

.hero-overlay {
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to right,
    rgba(0,0,0,0.65) 0%,
    rgba(0,0,0,0.55) 40%,
    rgba(0,0,0,0.25) 70%,
    rgba(0,0,0,0.1) 100%
  );
  display: flex;
  align-items: center;
}

.hero-content {
  color: white;
}

.hero-text {
  max-width: 600px;
}

.hero-text .kicker {
  color: white;
  opacity: 0.9;
}


.hero-text h1 {
  color: white;
}

.hero-text .subhead {
  color: #e5e5e5;
}

/* Mobile */
@media (max-width: 768px) {
  .hero-image {
    height: 70vh;
    text-align: center;
  }

  .hero-overlay {
    background: rgba(0,0,0,0.6);
  }

  .hero-text {
    max-width: 100%;
  }
}
