:root{
  --gold:#f7c000;
  --dark:#111218;
  --muted:#6b6f76;
  --max-width:1150px;
}

*{box-sizing:border-box}

html,body{
  margin:0;
  font-family:'Poppins',system-ui,Arial,Helvetica,sans-serif;
  background:#fff;
  color:var(--dark);
}

img{max-width:100%;display:block}
a{text-decoration:none;color:inherit}

.container{
  max-width:var(--max-width);
  margin:0 auto;
  padding:0 20px;
}

/* ================= HEADER ================= */
.site-header{
  position:sticky;
  top:0;
  background:#fff;
  border-bottom:1px solid #eee;
  z-index:100;
}

.header-inner{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:20px;
  padding:18px 0;
}

.brand-logo{font-weight:700;font-size:20px}
.brand-sub{font-size:13px;color:var(--muted)}

.main-nav{display:flex;gap:20px}
.main-nav a{color:var(--muted)}
.main-nav a:hover{color:var(--dark)}

.contact-mini a{font-size:14px;color:var(--muted)}

/* ================= HERO / SLIDER ================= */
.hero-section{
  position:relative;
  height:72vh;
  overflow:hidden;
}

.slider{
  position:relative;
  width:100%;
  height:100%;
}

.slide{
  position:absolute;
  inset:0;
  background-size:cover;
  background-position:center;
  opacity:0;
  transform:scale(1.02);
  transition:all .7s ease;
  display:flex;
  align-items:center;
  justify-content:center;
}

.slide.active{
  opacity:1;
  transform:scale(1);
  z-index:1;
}

.slide-overlay{
  position:absolute;
  inset:0;
  background:linear-gradient(
    180deg,
    rgba(0,0,0,0.45) 0%,
    rgba(0,0,0,0.25) 60%
  );
}

.slide-content{
  position:relative;
  color:#fff;
  text-align:center;
  max-width:900px;
  padding:40px;
}

.slide-content h1{
  font-size:36px;
  margin-bottom:12px;
}

.slide-content p{
  color:rgba(255,255,255,0.9);
}

/* slider controls */
.slider-prev,.slider-next{
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  width:44px;
  height:44px;
  border:none;
  background:#fff;
  border-radius:8px;
  cursor:pointer;
}

.slider-prev{left:20px}
.slider-next{right:20px}

.slider-dots{
  position:absolute;
  bottom:18px;
  left:50%;
  transform:translateX(-50%);
  display:flex;
  gap:8px;
}

.dot{
  width:10px;
  height:10px;
  border-radius:50%;
  background:rgba(255,255,255,0.5);
}

.dot.active{background:var(--gold)}

/* ================= SECTIONS ================= */
.section{padding:70px 0}

.btn{
  background:var(--gold);
  padding:12px 18px;
  border-radius:8px;
  font-weight:600;
}

/* ================= GRIDS ================= */
.services-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:24px;
}

.projects-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:20px;
}

.service-card,
.project-card{
  background:#fff;
  border-radius:12px;
  overflow:hidden;
  box-shadow:0 8px 24px rgba(0,0,0,0.06);
}

.service-card img,
.project-card img{
  height:180px;
  width:100%;
  object-fit:cover;
}

.project-body{padding:14px}

/* ================= VIDEO MODAL ================= */
.video-modal{
  position:fixed;
  inset:0;
  background:rgba(0,0,0,0.75);
  display:none;
  align-items:center;
  justify-content:center;
  z-index:200;
}

.video-content{
  width:80%;
  max-width:800px;
  background:#000;
  padding:10px;
  border-radius:12px;
}
.video-content video{width:100%}

.close-btn{
  position:absolute;
  top:-12px;
  right:-12px;
  width:36px;
  height:36px;
  background:var(--gold);
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
}

/* ================= RESPONSIVE ================= */
@media(max-width:1024px){
  .services-grid{grid-template-columns:repeat(2,1fr)}
  .projects-grid{grid-template-columns:repeat(2,1fr)}
}

@media(max-width:640px){
  .services-grid,
  .projects-grid{grid-template-columns:1fr}
  .main-nav{display:none}
  .slide-content h1{font-size:22px}
}
/* ================= RESIDENTIAL PAGE IMAGE ================= */
#residential .projects-grid .project-card img {
  width: 100%;          /* Fill container width */
  height: auto;         /* Maintain aspect ratio */
  max-width: 1080px;    /* Max width */
  max-height: 1071px;   /* Max height */
  object-fit: contain;  /* Show full image without cropping */
  display: block;
  margin: 0 auto;       /* Center image */
}

/* Video modal adjustments for Residential */
#residential .video-content {
  width: 100%;
  max-width: 478px;
  max-height: 850px;
  background:#000;
  padding:10px;
  border-radius:12px;
  display:flex;
  align-items:center;
  justify-content:center;
}

#residential .video-content video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
/* FLOATING WHATSAPP */
.floating-whatsapp{
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 56px;
  height: 56px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px rgba(0,0,0,0.3);
  z-index: 999;
}

.floating-whatsapp:hover{
  transform: scale(1.08);
}
/* ================= CONTACT SECTION IMPROVED ================= */

#contact .container{
  max-width: 1200px;
}

.contact-grid{
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  margin-top: 30px;
}

/* FORM */
.contact-form{
  background: #ffffff;
  padding: 40px;
  border-radius: 16px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.08);
}

.contact-form input,
.contact-form textarea{
  width: 100%;
  padding: 14px 16px;
  margin-bottom: 16px;
  border-radius: 10px;
  border: 1px solid #ddd;
  font-size: 15px;
}

.contact-form textarea{
  resize: none;
}

.form-row{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-actions{
  display: flex;
  gap: 14px;
  margin-top: 10px;
}

.form-status{
  margin-top: 12px;
  font-size: 14px;
}

/* CONTACT INFO BOX */
.contact-info-box{
  background: #111218;
  color: #fff;
  padding: 40px;
  border-radius: 16px;
}

.contact-info-box h3{
  margin-top: 0;
  margin-bottom: 18px;
}

.contact-info-box a{
  color: #f7c000;
}

.map-wrap{
  margin-top: 18px;
  overflow: hidden;
  border-radius: 12px;
}

.map-wrap iframe{
  width: 100%;
  height: 260px;
  border: 0;
}

/* RESPONSIVE */
@media(max-width:768px){
  .contact-grid{
    grid-template-columns: 1fr;
  }
  .form-row{
    grid-template-columns: 1fr;
  }
}
/* ===== EXTRA LARGE BRAND NAME ===== */

.brand{
  line-height: 1;
}

.brand-logo{
  font-size: 40px;      /* VERY BIG */
  font-weight: 900;
  letter-spacing: 1.5px;
}

.brand-sub{
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 3px;
  color: #6b6f76;
  text-transform: uppercase;
}
@media(max-width:640px){
  .brand-logo{
    font-size: 28px;
  }
  .brand-sub{
    font-size: 14px;
  }
}
/* IMAGE POPUP */
.image-modal{
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.75);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 999;
}

.image-modal img{
  max-width: 90%;
  max-height: 90%;
  border-radius: 12px;
}

.image-modal .close-btn{
  position: absolute;
  top: 20px;
  right: 25px;
  font-size: 32px;
  color: white;
  cursor: pointer;
}
/* ===============================
   PROJECTS – PROFESSIONAL BUILDER STYLE
   =============================== */

.projects-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(300px,1fr));
  gap:28px;
}

.project-card{
  background:#0d0d0d;
  border-radius:12px;
  overflow:hidden;
  box-shadow:0 15px 40px rgba(0,0,0,0.5);
  transition:transform .3s ease;
}

.project-card:hover{
  transform:translateY(-6px);
}

/* FIXED IMAGE FRAME */
.project-card .project-img{
  width:100%;
  height:320px;          /* 🔥 KEY POINT */
  object-fit:contain;   /* 🔥 Image FULL visible */
  background:#000;
  padding:10px;
}

/* Text */
.project-body{
  padding:18px;
}

.project-body h4{
  color:#f5c16c;
  margin-bottom:6px;
}

.project-body p{
  color:#ccc;
  font-size:14px;
}
/* =================================
   ONLY PROJECT IMAGES FIX
   ================================= */

.projects-grid .project-card img.project-image{
  width:100%;
  height:300px;          /* fixed professional frame */
  object-fit:contain;   /* image full ga kanipinchali */
  background:#000;      /* black frame – builder look */
  padding:8px;
  display:block;
}
/* ===============================
   PROJECT IMAGE POPUP
   =============================== */

.project-popup{
  position:fixed;
  inset:0;
  background:rgba(0,0,0,0.9);
  display:none;
  align-items:center;
  justify-content:center;
  z-index:9999;
}

.project-popup img{
  max-width:90%;
  max-height:90%;
  border-radius:10px;
  box-shadow:0 0 40px rgba(255,255,255,0.2);
}

.popup-close{
  position:absolute;
  top:20px;
  right:30px;
  font-size:40px;
  color:#fff;
  cursor:pointer;
  font-weight:bold;
}

