
*{box-sizing:border-box;margin:0;padding:0;font-family:Inter,Arial,sans-serif}
body{background:#fafafa;color:#222;line-height:1.6}
img{max-width:100%;height:auto}
a{text-decoration:none;color:#b9975b}
.container{max-width:1200px;margin:auto;padding:20px}
header,footer{background:#fff}
/* SECTIONS */
.section {
  background: #fff;
  margin-top: 25px;
  padding: 25px;
  border-radius: 16px;
}
.grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:24px}
.card{background:#fff;border-radius:12px;box-shadow:0 8px 24px rgba(0,0,0,.08);overflow:hidden}
.card img{height:180px;object-fit:cover}
.card-body{padding:14px}
/*TRUE FULL-WIDTH FOOTER (SAFE)*/
@media (max-width: 768px) {

  .grid {
    grid-template-columns: 1fr;
    justify-items: center;
  }

  .card {
    width: 92%;
    max-width: 360px;
    text-align: center;
  }

  .card img {
    margin: 0 auto;
    display: block;
  }

  .card-body {
    text-align: center;
  }
}
.layout{
	display:grid;
	grid-template-columns:3fr 1fr;
	gap:28px;
	align-items: start; 
}
/* HERO SECTION */
.hero {
  height: 260px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-image: url("/images/Main_HomePage_Image.jpeg");
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  border-radius: 16px;
  position: relative;
  overflow: hidden;
}

/* DARK OVERLAY FOR TEXT READABILITY */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 0;
}

/* HERO TITLE */
.hero h1 {
  font-size: 36px;
  color: #fff;
  padding: 16px 24px;
  border-radius: 12px;
  z-index: 1;
  text-align: center;
}
@media (max-width: 768px) {
  .hero {
    height: 200px;
    background-image: url("/images/ksone_08_800X500_product.jpg");
  }

  .hero h1 {
    font-size: 24px;
    padding: 12px 16px;
  }
}

form{background:#fff;padding:18px;border-radius:12px;box-shadow:0 8px 24px rgba(0,0,0,.08)}
input,textarea,button{width:100%;padding:10px;margin-bottom:10px;border:1px solid #ccc;border-radius:6px}
button{background:#b9975b;color:#fff;border:none;font-weight:600}
.whatsapp{position:fixed;right:20px;bottom:20px;background:#25d366;color:#fff;
padding:14px;border-radius:50%;font-size:22px;z-index:999}
footer
{padding:30px;margin-top:50px;border-top:1px solid #eee}
@media(max-width:900px){.layout{grid-template-columns:1fr}.hero h1{font-size:26px}}
/* Logo container */
.logo-wrap {
  display: flex;
  align-items: center;
  height: 56px;              /* header height reference */
}

/* Square logo image */
.logo-img {
  height: 95px;              /* visible size */
  width: 95px;               /* forces square */
  object-fit: contain;       /* prevents cropping */
}

/* Optional: padding for breathing space */
.logo-wrap {
  padding: 2px 2px;
}
.site-footer {
  background: #0f172a;
  color: #cbd5f5;
  padding: 30px 20px;
  text-align: center;
}

.site-footer .container {
  max-width: 1200px;
  margin: auto;
}

.footer-link {
  color: #ffffff;
  text-decoration: none;
  font-weight: 600;
}

.footer-link:hover {
  text-decoration: underline;
}

.footer-links {
  margin-top: 10px;
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-links a {
  color: #cbd5f5;
  font-size: 14px;
  text-decoration: none;
}

.footer-links a:hover {
  color: #ffffff;
}
footer,
.site-footer {
  width: 100%;
  margin-left: 0;
  margin-right: 0;
}

.site-footer .container {
  max-width: 1200px;
  margin: 0 auto;
}
/* carousel Main */
.carousel {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 12px;
}

/* KEY FIX */
.carousel-track {
  display: flex;
  width: 100%;
  transition: transform 0.4s ease;
}

.carousel-track img {
  width: 100%;
  min-width: 100%;
  height: auto;
  object-fit: cover;
}

/* DOTS */
.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 10px;
}

.carousel-dots button {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: #cbd5e1;
  cursor: pointer;
}

.carousel-dots button.active {
  background: #2563eb;
}

/* Floor Plan */
.floorplan-wrap {
  text-align: center;
}

.floorplan-img {
  max-width: 100%;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,.1);
}

.floorplan-actions {
  margin-top: 12px;
  margin-bottom:12px;
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-outline {
  padding: 10px 18px;
  border: 1px solid #2563eb;
  color: #2563eb;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 500;
}


/* breadcrumb */
.breadcrumb {
  font-size: 14px;
  margin: 16px 0;
  color: #64748b;
}

.breadcrumb a {
  color: #2563eb;
  text-decoration: none;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

.breadcrumb span {
  margin: 0 6px;
}

.breadcrumb .current {
  color: #0f172a;
  font-weight: 500;
}

@media (max-width: 768px) {
  .breadcrumb {
    white-space: nowrap;
    overflow-x: auto;
  }
}


/* Desktop: sidebar lead form*/
/* DESKTOP DEFAULT */
.mobile-enquire-btn,
.close-btn {
  display: none;
}

/* Right column */
.property-lead {
  width: 360px;
  align-self: stretch;
}

/* FORM VISIBLE & SCROLLS WITH PAGE */
.lead-wrapper {
  position: sticky;
  top: 100px;
  background: transparent;
}

#leadForm {
  background: #fff;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,.1);
}

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

  /* Mobile CTA – NO TRANSFORM */
  .mobile-enquire-btn {
    display: block;
    position: fixed;
    bottom: 1px;
    left: 1px;
    right: 16px;
    background: #2563eb;
    color: #fff;
    padding: 14px;
    border-radius: 999px;
    border: none;
    z-index: 2000;
    touch-action: manipulation;
  }

  /* Overlay – NO OPACITY / NO FLEX */
  .lead-wrapper {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    display: none;          /* 🔑 KEY FIX */
    z-index: 1500;
  }

  .lead-wrapper.active {
    display: block;
  }

  /* Popup Form */
  #leadForm {
    position: absolute;
    bottom: 30px;
    left: 0;
    right: 0;
    background: #fff;
    border-radius: 16px 16px 0 0;
    padding: 25px;
    max-height: 150vh;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    touch-action: manipulation;
  }

  /* Close Button */
  .close-btn {
    display: block;
    position: absolute;
    top: 12px;
    right: 20px;
    font-size: 25px;
    background: none;
    border: none;          /* 🔑 FIXED */
    color: #000;
    z-index: 10;
    cursor: pointer;
    touch-action: manipulation;
  }
}
/* CALL NOW BUTTON (OPTIONAL) */
.call-now-btn {
  position: fixed;
  bottom: 80px;
  right: 1px;
  background: #16a34a;
  color: #fff;
  padding: 14px;
  border-radius: 50%;
  font-size: 20px;
  z-index: 1800;
  text-decoration: none;
  touch-action: manipulation;
}

/* CSS (SQUEEZED PREVIEW) */

.floorplan-thumb {
  max-width: 420px;   /* controls thumbnail size */
  margin: 0 auto;
  text-align: center;
}

.floorplan-thumb img {
  width: 100%;
  height: auto;       /* keeps full image proportion */
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0,0,0,.12);
  cursor: zoom-in;
  transition: transform .25s ease;
}

.floorplan-thumb img:hover {
  transform: scale(1.02);
}

.click-note {
  font-size: 14px;
  color: #64748b;
  margin-top: 8px;
}

@media (max-width: 768px) {
  .floorplan-thumb {
    max-width: 100%;
    padding: 0 12px;
  }
}