*{
  margin:0;
  padding:0;
  box-sizing:border-box;
}

html{
  scroll-behavior:smooth;
}

body{
  font-family:Arial,Helvetica,sans-serif;
  background:#f5f2ec;
  color:#171717;
  line-height:1.6;
}

a{
  text-decoration:none;
  color:inherit;
}

/* =========================
   HEADER
========================= */

header{
  position:fixed;
  top:0;
  left:0;
  width:100%;
  z-index:1000;
  background:rgba(10,10,10,.94);
  backdrop-filter:blur(12px);
  border-bottom:1px solid rgba(255,255,255,.1);
}

.nav{
  max-width:1200px;
  min-height:92px;
  margin:auto;
  padding:0 25px;
  display:flex;
  align-items:center;
  justify-content:space-between;
}


.logo{
  display:flex;
  align-items:center;
  justify-content:center;
  width:210px;
  height:72px;
  position:relative;
  flex-shrink:0;
  transition:transform .35s ease, filter .35s ease;
}

.logo::after{
  content:"";
  position:absolute;
  inset:8px 18px;
  border-radius:50%;
  background:radial-gradient(circle, rgba(212,164,72,.16), transparent 68%);
  filter:blur(8px);
  opacity:.65;
  pointer-events:none;
  animation:logoAura 3.8s ease-in-out infinite;
}

.logo-image{
  position:relative;
  z-index:1;
  display:block;
  width:205px;
  max-width:100%;
  height:auto;
  max-height:70px;
  object-fit:contain;
  object-position:center;
  filter:drop-shadow(0 0 5px rgba(212,164,72,.25));
  transition:transform .4s cubic-bezier(.2,.8,.2,1), filter .4s ease;
  animation:logoReveal .9s cubic-bezier(.2,.8,.2,1) both;
}

.logo:hover{
  transform:translateY(-1px);
}

.logo:hover .logo-image{
  transform:scale(1.035);
  filter:drop-shadow(0 0 9px rgba(212,164,72,.48));
}

@keyframes logoReveal{
  from{opacity:0; transform:scale(.92) translateY(-5px); filter:blur(2px) drop-shadow(0 0 0 rgba(212,164,72,0));}
  to{opacity:1; transform:scale(1) translateY(0); filter:drop-shadow(0 0 5px rgba(212,164,72,.25));}
}

@keyframes logoAura{
  0%,100%{opacity:.38; transform:scale(.96);}
  50%{opacity:.72; transform:scale(1.04);}
}

nav{
  display:flex;
  gap:24px;
  color:#fff;
  font-size:13px;
}

nav a{
  transition:.3s;
}

nav a:hover{
  color:#d4a448;
}

/* =========================
   HERO
========================= */

.hero{
  min-height:100vh;
  padding:150px 7% 80px;
  display:flex;
  align-items:center;
  color:#fff;

  background:
  linear-gradient(
    90deg,
    rgba(0,0,0,.94),
    rgba(0,0,0,.5)
  ),
  radial-gradient(
    circle at 70% 40%,
    #4b3b20,
    #111 55%,
    #050505
  );
}

.hero-content{
  max-width:720px;
}

.eyebrow{
  color:#d4a448;
  font-size:11px;
  font-weight:bold;
  letter-spacing:3px;
  margin-bottom:18px;
}

.hero h1{
  font-family:Georgia,serif;
  font-size:clamp(45px,7vw,78px);
  line-height:1.05;
  margin-bottom:25px;
}

.hero h1 span{
  color:#d4a448;
}

.hero p{
  max-width:600px;
  color:#ddd;
  font-size:17px;
  line-height:1.8;
}

.buttons{
  margin-top:30px;
}

.btn{
  display:inline-block;
  padding:14px 22px;
  border:1px solid #aaa;
  color:#fff;
  font-size:12px;
  font-weight:bold;
  margin-right:8px;
  margin-top:8px;
  transition:.3s;
}

.btn.gold{
  background:#d4a448;
  border-color:#d4a448;
  color:#111;
}

.btn:hover{
  transform:translateY(-3px);
}

/* =========================
   GENERAL
========================= */

section{
  padding:100px 6%;
}

.container{
  max-width:1150px;
  margin:auto;
}

.section-title{
  font-family:Georgia,serif;
  font-size:clamp(42px,6vw,68px);
  line-height:1.05;
  margin-bottom:25px;
}

.section-title span{
  color:#d4a448;
}

.dark{
  background:#101010;
  color:#fff;
}

.section-head{
  margin-bottom:45px;
}

.section-head p{
  max-width:650px;
  color:#999;
}

/* =========================
   ABOUT
========================= */

.about-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:70px;
  align-items:center;
}

.about-text{
  color:#666;
  line-height:1.9;
}

/* =========================
   OWNER
========================= */

.owner-section{
  margin-top:55px;
  display:grid;
  grid-template-columns:360px 1fr;
  gap:50px;
  align-items:center;
  padding-top:45px;
  border-top:1px solid #ddd;
}

.owner-photo{
  width:100%;
  height:420px;
  object-fit:cover;
  object-position:center;
  display:block;
  border:8px solid #fff;
  box-shadow:0 18px 45px rgba(0,0,0,.16);
}

.owner-info{
  max-width:600px;
}

.owner-label{
  color:#9b712d;
  font-size:10px;
  letter-spacing:3px;
  font-weight:bold;
  margin-bottom:12px;
}

.owner-info h3{
  font-family:Georgia,serif;
  font-size:42px;
  line-height:1.15;
  margin-bottom:8px;
}

.owner-role{
  color:#9b712d;
  font-size:13px;
  font-weight:bold;
  margin-bottom:20px;
}

.owner-info p{
  color:#666;
  line-height:1.9;
  font-size:15px;
}

/* =========================
   PROJECT GRID
========================= */

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

.project-card{
  background:#181818;
  border:1px solid #2c2c2c;
  overflow:hidden;
  transition:.35s;
}

.project-card:hover{
  transform:translateY(-8px);
  border-color:#d4a448;
  box-shadow:0 18px 45px rgba(0,0,0,.35);
}

.project-image{
  height:230px;
  display:flex;
  align-items:center;
  justify-content:center;
  position:relative;

  background:
  linear-gradient(
    135deg,
    #3b3b3b,
    #111
  );
}

.project-number{
  position:absolute;
  top:15px;
  left:15px;
  border:1px solid #777;
  padding:5px 9px;
  font-size:10px;
  color:#fff;
}

.image-placeholder{
  text-align:center;
  color:#d4a448;
  font-family:Georgia,serif;
  font-size:22px;
  padding:20px;
}

.project-body{
  padding:24px;
}

.badge{
  display:inline-block;
  color:#d4a448;
  font-size:9px;
  letter-spacing:2px;
  font-weight:bold;
  margin-bottom:10px;
}

.project-body h3{
  font-family:Georgia,serif;
  font-size:24px;
  margin-bottom:10px;
}

.project-body p{
  color:#999;
  font-size:13px;
  margin-bottom:20px;
}

.project-location{
  color:#d4a448 !important;
  font-weight:bold;
  font-size:13px;
  margin-top:-4px;
  margin-bottom:20px !important;
}

.gallery-btn{
  display:inline-block;
  color:#d4a448;
  border:1px solid #d4a448;
  padding:10px 14px;
  font-size:11px;
  font-weight:bold;
  transition:.3s;
}

.gallery-btn:hover{
  background:#d4a448;
  color:#111;
}

/* =========================
   ONGOING
========================= */

.ongoing-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:22px;
}

.ongoing-card{
  background:#fff;
  padding:35px;
  border:1px solid #ddd;
  min-height:200px;
  transition:.3s;
}

.ongoing-card:hover{
  transform:translateY(-5px);
  box-shadow:0 15px 35px rgba(0,0,0,.1);
}

.ongoing-card h3{
  font-family:Georgia,serif;
  font-size:30px;
  margin:20px 0;
}

.ongoing-card a{
  color:#9b712d;
  font-weight:bold;
  font-size:12px;
}

/* =========================
   UPCOMING
========================= */

.upcoming-section{
  background:#eeeae2;
}

.upcoming-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:20px;
}

.upcoming-card{
  position:relative;
  background:#fff;
  border:1px solid #ddd;
  padding:30px 25px;
  min-height:240px;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  transition:.35s;
}

.upcoming-card:hover{
  transform:translateY(-7px);
  border-color:#d4a448;
  box-shadow:0 15px 35px rgba(0,0,0,.1);
}

.upcoming-number{
  position:absolute;
  top:18px;
  right:18px;
  color:#aaa;
  font-size:12px;
}

.location-icon{
  font-size:28px;
  margin-bottom:20px;
}

.upcoming-card h3{
  font-family:Georgia,serif;
  font-size:24px;
  line-height:1.2;
  margin-bottom:8px;
}

.location{
  color:#777;
  font-size:13px;
}

.prebook{
  display:inline-block;
  margin-top:25px;
  background:#111;
  color:#fff;
  padding:12px 15px;
  text-align:center;
  font-size:11px;
  font-weight:bold;
  transition:.3s;
}

.prebook:hover{
  background:#d4a448;
  color:#111;
}

/* =========================
   WHY CHOOSE US
========================= */

.why-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:20px;
  margin-top:45px;
}

.why-box{
  border-top:1px solid #333;
  padding-top:20px;
}

.why-box strong{
  color:#d4a448;
}

.why-box h3{
  margin:15px 0 8px;
}

.why-box p{
  color:#999;
  font-size:13px;
}

/* =========================
   CONTACT
========================= */

.contact{
  background:#d4a448;
  color:#111;
}

.contact h2{
  font-family:Georgia,serif;
  font-size:clamp(40px,6vw,65px);
  max-width:750px;
  line-height:1.1;
  margin-bottom:25px;
}

.contact-info{
  margin:20px 0;
  font-weight:bold;
}

.dark-btn{
  background:#111;
  border-color:#111;
}

footer{
  background:#090909;
  color:#777;
  padding:25px 6%;
  text-align:center;
  font-size:11px;
}

/* =========================
   MOBILE
========================= */


@media(max-width:900px){
  .logo{width:175px;height:68px;}
  .logo-image{width:170px;max-height:64px;}


  nav{
    display:none;
  }

  .about-grid{
    grid-template-columns:1fr;
    gap:30px;
  }

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

  .upcoming-grid{
    grid-template-columns:1fr 1fr;
  }

  .why-grid{
    grid-template-columns:1fr 1fr;
  }

  .owner-section{
    grid-template-columns:300px 1fr;
    gap:35px;
  }

  .owner-photo{
    height:360px;
  }
}

@media(max-width:550px){
  .logo{width:158px;height:62px;}
  .logo-image{width:153px;max-height:58px;}


  section{
    padding:70px 5%;
  }

  .projects,
  .ongoing-grid,
  .upcoming-grid,
  .why-grid{
    grid-template-columns:1fr;
  }

  .hero{
    padding:130px 5% 70px;
  }

  .hero h1{
    font-size:48px;
  }

  .project-image{
    height:210px;
  }

  .owner-section{
    grid-template-columns:1fr;
    gap:30px;
    margin-top:40px;
  }

  .owner-photo{
    height:420px;
  }

  .owner-info h3{
    font-size:34px;
  }
}

/* =========================
   PREMIUM ONGOING PROJECTS
========================= */
.ongoing-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:28px;
}

.ongoing-card{
  position:relative;
  overflow:hidden;
  padding:0;
  min-height:0;
  background:#fff;
  border:1px solid #e5e1d8;
  border-radius:2px;
  box-shadow:0 12px 35px rgba(0,0,0,.08);
  transition:transform .45s cubic-bezier(.2,.8,.2,1), box-shadow .45s ease, border-color .45s ease;
}

.ongoing-card:hover{
  transform:translateY(-8px);
  border-color:#caa04a;
  box-shadow:0 25px 55px rgba(0,0,0,.16);
}

.ongoing-card .ongoing-photo{
  position:relative;
  height:290px;
  overflow:hidden;
  background:#151515;
}

.ongoing-card .ongoing-photo img{
  width:100%;
  height:100%;
  display:block;
  object-fit:cover;
  object-position:center;
  transform:scale(1.01);
  transition:transform .8s cubic-bezier(.2,.7,.2,1), filter .6s ease;
}

.ongoing-card:hover .ongoing-photo img{
  transform:scale(1.07);
  filter:saturate(1.05) contrast(1.03);
}

.ongoing-card .ongoing-photo::after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(180deg,rgba(0,0,0,.05) 25%,rgba(0,0,0,.72) 100%);
  pointer-events:none;
}

.ongoing-card .ongoing-number{
  position:absolute;
  top:18px;
  left:18px;
  z-index:2;
  min-width:38px;
  height:38px;
  display:grid;
  place-items:center;
  border:1px solid rgba(255,255,255,.55);
  background:rgba(10,10,10,.38);
  backdrop-filter:blur(8px);
  -webkit-backdrop-filter:blur(8px);
  color:#fff;
  font-size:10px;
  letter-spacing:1px;
}

.ongoing-card .ongoing-label{
  position:absolute;
  right:18px;
  top:18px;
  z-index:2;
  padding:8px 12px;
  border:1px solid rgba(212,164,72,.65);
  background:rgba(12,12,12,.52);
  backdrop-filter:blur(8px);
  -webkit-backdrop-filter:blur(8px);
  color:#e2b75d;
  font-size:9px;
  font-weight:700;
  letter-spacing:1.8px;
}

.ongoing-card .ongoing-photo-title{
  position:absolute;
  left:24px;
  right:24px;
  bottom:22px;
  z-index:2;
  color:#fff;
  font-family:Georgia,serif;
  font-size:27px;
  line-height:1.1;
  text-shadow:0 3px 15px rgba(0,0,0,.45);
}

.ongoing-card .ongoing-content{
  padding:25px 27px 28px;
}

.ongoing-card .badge{
  margin:0 0 10px;
  color:#a77a2d;
}

.ongoing-card h3{
  margin:0 0 9px;
  font-family:Georgia,serif;
  font-size:27px;
  line-height:1.15;
  color:#171717;
}

.ongoing-card .location{
  margin:0 0 20px;
  color:#777;
  font-size:13px;
  line-height:1.6;
}

.ongoing-card .ongoing-actions{
  display:flex;
  align-items:center;
  gap:18px;
  flex-wrap:wrap;
}

.ongoing-card .ongoing-actions .gallery-btn{
  margin:0;
}

.ongoing-card .ongoing-actions .enquire-btn{
  color:#171717;
  font-size:11px;
  font-weight:700;
  letter-spacing:.5px;
  transition:color .3s ease;
}

.ongoing-card .ongoing-actions .enquire-btn:hover{
  color:#a77a2d;
}

@media(max-width:700px){
  .ongoing-grid{
    grid-template-columns:1fr;
    gap:22px;
  }

  .ongoing-card .ongoing-photo{
    height:245px;
  }

  .ongoing-card .ongoing-photo-title{
    font-size:24px;
  }

  .ongoing-card .ongoing-content{
    padding:22px;
  }
}


/* FINAL PREMIUM MS PROMOTERS LOGO */
.logo img, .brand-logo img, .site-logo img, header img.logo, header .logo img {
  display:block !important;
  width:clamp(155px, 17vw, 235px) !important;
  height:auto !important;
  max-height:92px !important;
  object-fit:contain !important;
  object-position:center !important;
  opacity:1 !important;
  visibility:visible !important;
  filter:none !important;
  mix-blend-mode:normal !important;
  border-radius:0 !important;
}
.logo, .brand-logo, .site-logo {
  display:flex !important;
  align-items:center !important;
  visibility:visible !important;
  opacity:1 !important;
}


/* ===== FINAL MS LAND PROMOTERS & BUILDERS LOGO ===== */
header .logo img,
header img.logo,
.logo img,
.brand-logo img,
.site-logo img,
header .brand img {
  width: clamp(260px, 32vw, 460px) !important;
  max-width: 460px !important;
  height: auto !important;
  max-height: 135px !important;
  display: block !important;
  object-fit: contain !important;
  object-position: center !important;
  visibility: visible !important;
  opacity: 1 !important;
  filter: none !important;
  mix-blend-mode: normal !important;
  border: 0 !important;
  box-shadow: none !important;
}

header .logo,
header .brand-logo,
header .site-logo,
header .brand {
  display: flex !important;
  align-items: center !important;
  min-width: 260px !important;
  visibility: visible !important;
  opacity: 1 !important;
}

@media (max-width: 700px) {
  header .logo img,
  header img.logo,
  .logo img,
  .brand-logo img,
  .site-logo img,
  header .brand img {
    width: min(86vw, 360px) !important;
    max-width: 360px !important;
    max-height: 115px !important;
  }

  header .logo,
  header .brand-logo,
  header .site-logo,
  header .brand {
    min-width: 0 !important;
  }
}


/* ===== EXTRA LARGE PREMIUM HEADER LOGO ===== */
header .logo img,
header img.logo,
.logo img,
.brand-logo img,
.site-logo img,
header .brand img {
  width: clamp(340px, 42vw, 600px) !important;
  max-width: 600px !important;
  height: auto !important;
  max-height: 170px !important;
  display: block !important;
  object-fit: contain !important;
  object-position: center !important;
  visibility: visible !important;
  opacity: 1 !important;
  filter: none !important;
  mix-blend-mode: normal !important;
}

header .logo,
header .brand-logo,
header .site-logo,
header .brand {
  min-width: 340px !important;
}

@media (max-width: 700px) {
  header .logo img,
  header img.logo,
  .logo img,
  .brand-logo img,
  .site-logo img,
  header .brand img {
    width: min(96vw, 460px) !important;
    max-width: 460px !important;
    max-height: 145px !important;
  }

  header .logo,
  header .brand-logo,
  header .site-logo,
  header .brand {
    min-width: 0 !important;
    width: 100% !important;
    justify-content: center !important;
  }
}


/* ===== LOWER LOGO POSITION ===== */
header .logo,
header .brand-logo,
header .site-logo,
header .brand {
  transform: translateY(18px) !important;
}

header .logo img,
header img.logo,
.logo img,
.brand-logo img,
.site-logo img,
header .brand img {
  transform: translateY(18px) !important;
}

@media (max-width:700px) {
  header .logo,
  header .brand-logo,
  header .site-logo,
  header .brand,
  header .logo img,
  header img.logo,
  .logo img,
  .brand-logo img,
  .site-logo img,
  header .brand img {
    transform: translateY(12px) !important;
  }
}


/* ===== COMPLETED PROJECT PHOTOS ===== */
.project-image img{
  width:100%;
  height:100%;
  display:block;
  object-fit:contain !important;
  object-position:center;
  background:#111;
  transition:filter .5s ease;
}
.project-card:hover .project-image img{
  transform:none !important;
  filter:saturate(1.03) contrast(1.02);
}
.project-image::after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(180deg,rgba(0,0,0,.04) 30%,rgba(0,0,0,.38) 100%);
  pointer-events:none;
}

/* ===== KANDHAN AVENUE FULL IMAGE DISPLAY ===== */
.ongoing-card:first-child .ongoing-photo img{
  object-fit:contain !important;
  object-position:center !important;
  background:#fff !important;
  transform:none !important;
}
.ongoing-card:first-child:hover .ongoing-photo img{
  transform:none !important;
  filter:none !important;
}

/* VETRI VELAVAN AVENUE - FULL IMAGE DISPLAY */
.ongoing-card:nth-child(2) .ongoing-photo img{
  object-fit:contain !important;
  object-position:center !important;
  background:#111;
}


/* ===== SUPPLIED ONGOING PROJECT IMAGES: FULL IMAGE, NO CROP / NO ZOOM ===== */
.ongoing-card:nth-child(2) .ongoing-photo img,
.ongoing-card:nth-child(4) .ongoing-photo img{
  object-fit:contain !important;
  object-position:center !important;
  background:#fff !important;
  transform:none !important;
  filter:none !important;
}
.ongoing-card:nth-child(2):hover .ongoing-photo img,
.ongoing-card:nth-child(3):hover .ongoing-photo img,
.ongoing-card:nth-child(4):hover .ongoing-photo img{
  transform:none !important;
  filter:none !important;
}

/* ===== SRI SUNDARAM AVENUE: EXACT FULL IMAGE, NO CROP / NO ZOOM ===== */
.ongoing-card:nth-child(3) .ongoing-photo img{
  width:100% !important;
  height:100% !important;
  object-fit:contain !important;
  object-position:center !important;
  background:#fff !important;
  transform:none !important;
  filter:none !important;
}



/* =========================
   UPCOMING PROJECT GALLERY
   Full image only: no crop / no zoom
========================= */
.upcoming-gallery {
  margin: 0 0 50px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.upcoming-gallery-item {
  margin: 0;
  background: #fff;
  border: 1px solid #ddd;
  padding: 10px;
  overflow: hidden;
  transition: .3s;
}

.upcoming-gallery-item:hover {
  border-color: #d4a448;
  box-shadow: 0 12px 28px rgba(0,0,0,.10);
}

.upcoming-gallery-item img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  object-fit: contain;
  object-position: center;
  transform: none !important;
  transition: none !important;
}

.upcoming-gallery-item figcaption {
  padding: 10px 4px 2px;
  color: #777;
  font-size: 11px;
  text-align: center;
  letter-spacing: .3px;
}

.upcoming-gallery-note {
  margin: -25px 0 28px;
  color: #777;
  font-size: 12px;
}

@media(max-width:550px){
  .upcoming-gallery {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}