/* ==========================================================================
   Om Developers Pvt. Ltd. — Site Stylesheet
   Brand: navy + gold on warm off-white. Premium real-estate feel.
   ========================================================================== */

:root {
  --navy: #0f1e3d;
  --navy-soft: #1b2f55;
  --gold: #c9a227;
  --gold-light: #e3c45c;
  --cream: #f5efe6;
  --cream-dark: #ece3d4;
  --ink: #1a1a1a;
  --muted: #6b6b6b;
  --white: #ffffff;
  --shadow: 0 10px 30px rgba(15, 30, 61, 0.12);
  --shadow-lg: 0 20px 50px rgba(15, 30, 61, 0.22);
  --radius: 14px;
  --maxw: 1180px;
  --font-display: 'Cinzel', Georgia, 'Times New Roman', serif;
  --font-body: 'Josefin Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --ease-lux: cubic-bezier(0.22, 1, 0.36, 1);
}

/* Reset / base */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
picture { display: contents; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; line-height: 1.22; color: var(--navy); letter-spacing: 0.005em; }
.feature h3, .project-card__body h3, .contact-item h4, .footer h4 { letter-spacing: 0.02em; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section { padding: 84px 0; }
.section--tight { padding: 56px 0; }
.bg-cream-dark { background: var(--cream-dark); }
.bg-navy { background: var(--navy); color: var(--cream); }
.bg-navy h1, .bg-navy h2, .bg-navy h3 { color: var(--white); }
.text-center { text-align: center; }

/* Typography helpers */
.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 14px;
}
.section-title { font-size: clamp(1.9rem, 3.5vw, 2.8rem); margin-bottom: 16px; }
.section-lead { color: var(--muted); max-width: 640px; font-size: 1.06rem; }
.text-center .section-lead { margin-inline: auto; }
.gold-rule { width: 70px; height: 3px; background: var(--gold); border: none; margin: 18px 0 26px; }
.text-center .gold-rule { margin-inline: auto; }

/* Buttons — luxury treatment */
.btn {
  position: relative; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 32px; border-radius: 50px;
  font-family: var(--font-body);
  font-weight: 600; font-size: 0.82rem; letter-spacing: 0.14em; text-transform: uppercase;
  cursor: pointer; border: 1.5px solid transparent;
  transition: color 0.4s var(--ease-lux), background 0.4s var(--ease-lux),
              border-color 0.4s var(--ease-lux), box-shadow 0.4s var(--ease-lux),
              transform 0.4s var(--ease-lux);
}
.btn svg { width: 18px; height: 18px; flex: none; }

/* Primary gold CTA — gradient + glow + shine sweep */
.btn--gold {
  color: var(--navy);
  background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 50%, #b08d1f 100%);
  box-shadow: 0 6px 18px rgba(201, 162, 39, 0.35), inset 0 1px 0 rgba(255,255,255,.4);
}
.btn--gold::before {
  content: ''; position: absolute; top: 0; left: -120%; width: 60%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.55), transparent);
  transform: skewX(-20deg); transition: left 0.6s var(--ease-lux);
}
.btn--gold:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(201, 162, 39, 0.5), inset 0 1px 0 rgba(255,255,255,.5);
}
.btn--gold:hover::before { left: 130%; }
.btn--gold:active { transform: translateY(-1px); }

.btn--outline { border-color: var(--gold); color: var(--gold); background: transparent; }
.btn--outline:hover { background: var(--gold); color: var(--navy); transform: translateY(-2px); box-shadow: 0 8px 20px rgba(201,162,39,.3); }
.btn--ghost-light { border-color: rgba(255,255,255,.55); color: #fff; backdrop-filter: blur(2px); }
.btn--ghost-light:hover { background: rgba(255,255,255,.95); color: var(--navy); transform: translateY(-2px); border-color: #fff; }

/* Visible focus ring for keyboard nav */
.btn:focus-visible, .nav__links a:focus-visible, .footer__social a:focus-visible {
  outline: 2px solid var(--gold); outline-offset: 3px;
}

/* ============================ Navbar ============================ */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(245, 239, 230, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(15,30,61,.08);
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 74px; }
.nav__brand { display: flex; align-items: center; gap: 12px; }
.nav__brand img { height: 46px; width: 46px; border-radius: 50%; object-fit: cover; }
.nav__brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.nav__brand-name { font-family: var(--font-display); font-weight: 700; color: var(--navy); font-size: 1.12rem; }
.nav__brand-sub { font-size: 0.66rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); }
.nav__links { display: flex; align-items: center; gap: 30px; list-style: none; }
.nav__links a { font-weight: 500; font-size: 0.95rem; color: var(--navy); position: relative; padding: 4px 0; }
.nav__links a::after {
  content: ''; position: absolute; left: 0; bottom: -2px; width: 0; height: 2px;
  background: var(--gold); transition: width 0.25s ease;
}
.nav__links a:hover::after, .nav__links a.active::after { width: 100%; }
.nav__links a.active { color: var(--gold); }
/* Dropdown submenu */
.nav__item--has-sub { position: relative; }
.nav__item--has-sub > a { display: inline-flex; align-items: center; gap: 5px; }
.nav__caret { width: 14px; height: 14px; transition: transform 0.3s var(--ease-lux); }
.nav__sub {
  position: absolute; top: calc(100% + 14px); left: 50%; transform: translateX(-50%) translateY(8px);
  min-width: 230px; list-style: none; padding: 8px;
  background: var(--cream); border: 1px solid rgba(15,30,61,.08);
  border-top: 3px solid var(--gold);
  border-radius: 12px; box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transition: all 0.3s var(--ease-lux); z-index: 110;
}
.nav__sub::before { content: ''; position: absolute; top: -8px; left: 0; right: 0; height: 8px; }
.nav__sub li { width: 100%; }
.nav__sub a {
  display: block; padding: 11px 16px; border-radius: 8px;
  font-size: 0.9rem; font-weight: 500; color: var(--navy);
  transition: background 0.25s var(--ease-lux), color 0.25s var(--ease-lux); white-space: nowrap;
}
.nav__sub a::after { display: none; }
.nav__sub a:hover { background: var(--navy); color: var(--gold); }
/* reveal on hover (desktop) + keyboard focus-within */
.nav__item--has-sub:hover > .nav__sub,
.nav__item--has-sub:focus-within > .nav__sub {
  opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0);
}
.nav__item--has-sub:hover > a .nav__caret,
.nav__item--has-sub.open > a .nav__caret { transform: rotate(180deg); }

.nav__cta { margin-left: 10px; }
.nav__cta .btn { padding: 11px 24px; font-size: 0.72rem; letter-spacing: 0.12em; }
.nav__cta .btn::after { display: none; }
.nav__toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav__toggle span { display: block; width: 26px; height: 2px; background: var(--navy); margin: 5px 0; transition: 0.3s; }

/* ============================ Hero ============================ */
.hero {
  position: relative; min-height: 88vh; display: flex; align-items: center;
  color: #fff; overflow: hidden;
}
.hero__bg { position: absolute; inset: 0; background-size: cover; background-position: center; z-index: -2; }
.hero::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(120deg, rgba(15,30,61,.82) 0%, rgba(15,30,61,.55) 55%, rgba(15,30,61,.30) 100%);
}
.hero__inner { max-width: 720px; padding: 60px 0; }
.hero h1 { color: #fff; font-size: clamp(2.4rem, 5.5vw, 4rem); margin-bottom: 22px; }
.hero p { font-size: 1.18rem; color: rgba(255,255,255,.92); margin-bottom: 32px; max-width: 560px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 16px; }

/* Page banner (interior pages) */
.banner { position: relative; padding: 96px 0 70px; color: #fff; overflow: hidden; }
.banner__bg { position: absolute; inset: 0; background-size: cover; background-position: center; z-index: -2; }
.banner::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(15,30,61,.7), rgba(15,30,61,.85)); }
.banner h1 { color: #fff; font-size: clamp(2rem, 4.5vw, 3rem); }
.banner .crumbs { color: var(--gold-light); font-size: 0.9rem; margin-top: 10px; letter-spacing: 0.04em; }
.banner .crumbs a:hover { color: #fff; }

/* ============================ Cards / grids ============================ */
.grid { display: grid; gap: 28px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--white); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }

/* Project card */
.project-card__media { position: relative; aspect-ratio: 16/10; overflow: hidden; }
.project-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.project-card:hover .project-card__media img { transform: scale(1.06); }
.project-card__tag {
  position: absolute; top: 16px; left: 16px; background: var(--gold); color: var(--navy);
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 6px 14px; border-radius: 50px;
}
.project-card__body { padding: 26px; }
.project-card__body h3 { font-size: 1.45rem; margin-bottom: 6px; }
.project-card__loc { color: var(--gold); font-size: 0.9rem; font-weight: 600; margin-bottom: 12px; }
.project-card__body p { color: var(--muted); font-size: 0.96rem; margin-bottom: 18px; }

/* Feature / USP tiles */
.feature { background: var(--white); border-radius: var(--radius); padding: 30px 26px; box-shadow: var(--shadow); }
.feature__icon {
  width: 56px; height: 56px; border-radius: 14px; display: grid; place-items: center;
  background: var(--navy); color: var(--gold); margin-bottom: 18px;
  box-shadow: 0 6px 16px rgba(15,30,61,.18);
}
.feature__icon svg { width: 26px; height: 26px; stroke: var(--gold); stroke-width: 1.6; fill: none; }
.feature h3 { font-size: 1.16rem; margin-bottom: 8px; }
.feature p { color: var(--muted); font-size: 0.94rem; }

/* Facility chips list */
.facility-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px 32px; list-style: none; }
.facility-list li { display: flex; align-items: center; gap: 12px; font-weight: 500; }
.facility-list li::before {
  content: '✓'; flex: none; width: 26px; height: 26px; border-radius: 50%;
  background: var(--gold); color: var(--navy); display: grid; place-items: center;
  font-size: 0.8rem; font-weight: 700;
}

/* Spec stats */
.specs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.spec { text-align: center; background: var(--cream); border-radius: var(--radius); padding: 28px 18px; }
.spec__num { font-family: var(--font-display); font-size: 2.1rem; color: var(--gold); font-weight: 700; }
.spec__label { color: var(--muted); font-size: 0.9rem; margin-top: 4px; }

/* Location distances */
.distances { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.distance {
  background: var(--white); border-radius: var(--radius); padding: 24px 16px; text-align: center;
  box-shadow: var(--shadow); border-top: 4px solid var(--gold);
}
.distance__km { font-family: var(--font-display); font-size: 1.8rem; color: var(--navy); font-weight: 700; }
.distance__place { text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.82rem; color: var(--muted); margin-top: 4px; font-weight: 600; }

/* Split (text + image) */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split > picture, .split > img { display: block; width: 100%; }
.split img {
  border-radius: var(--radius); box-shadow: var(--shadow-lg);
  width: 100%; height: auto; aspect-ratio: 5 / 4; object-fit: cover;
}

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.gallery figure { margin: 0; border-radius: var(--radius); overflow: hidden; cursor: pointer; box-shadow: var(--shadow); aspect-ratio: 4/3; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.45s ease; }
.gallery figure:hover img { transform: scale(1.07); }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 1000; background: rgba(10,16,30,.94); display: none; align-items: center; justify-content: center; }
.lightbox.open { display: flex; }
.lightbox img { max-width: 92vw; max-height: 86vh; border-radius: 8px; box-shadow: var(--shadow-lg); }
.lightbox__btn {
  position: absolute; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.3);
  color: #fff; width: 52px; height: 52px; border-radius: 50%; font-size: 1.5rem; cursor: pointer;
  display: grid; place-items: center; transition: background 0.2s;
}
.lightbox__btn:hover { background: var(--gold); color: var(--navy); border-color: var(--gold); }
.lightbox__prev { left: 24px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 24px; top: 50%; transform: translateY(-50%); }
.lightbox__close { top: 24px; right: 24px; width: 46px; height: 46px; }

/* CTA band */
.cta-band { background: linear-gradient(120deg, var(--navy) 0%, var(--navy-soft) 100%); color: #fff; text-align: center; }
.cta-band h2 { color: #fff; font-size: clamp(1.8rem, 3.5vw, 2.6rem); margin-bottom: 12px; }
.cta-band p { color: rgba(255,255,255,.85); margin-bottom: 28px; font-size: 1.08rem; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.contact-info { display: grid; gap: 22px; }
.contact-item { display: flex; gap: 16px; align-items: flex-start; }
.contact-item__icon {
  flex: none; width: 48px; height: 48px; border-radius: 12px; background: var(--navy); color: var(--gold);
  display: grid; place-items: center; font-size: 1.2rem;
}
.contact-item__icon svg { width: 22px; height: 22px; stroke: var(--gold); stroke-width: 1.6; fill: none; }
.contact-item h4 { margin-bottom: 2px; font-size: 1.05rem; }
.contact-item p, .contact-item a { color: var(--muted); font-size: 0.96rem; }
.contact-item a:hover { color: var(--gold); }

.form { background: var(--white); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow); }
.form .field { margin-bottom: 18px; }
.form label { display: block; font-weight: 600; font-size: 0.88rem; margin-bottom: 6px; color: var(--navy); }
.form input, .form textarea {
  width: 100%; padding: 12px 14px; border: 1px solid #d8cdba; border-radius: 10px;
  font-family: inherit; font-size: 0.96rem; background: var(--cream); transition: border 0.2s;
}
.form input:focus, .form textarea:focus { outline: none; border-color: var(--gold); }
.form textarea { resize: vertical; min-height: 120px; }

/* About values */
.value { text-align: center; padding: 10px; }
.value__num { font-family: var(--font-display); font-size: 2.6rem; color: var(--gold); }

/* ============================ Footer ============================ */
.footer { background: var(--navy); color: rgba(255,255,255,.78); padding: 60px 0 26px; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr; gap: 40px; margin-bottom: 40px; }
.footer__brand { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.footer__brand img { height: 50px; width: 50px; border-radius: 50%; object-fit: cover; }
.footer__brand-name { font-family: var(--font-display); color: #fff; font-size: 1.2rem; }
.footer p { font-size: 0.92rem; line-height: 1.7; }
.footer h4 { color: #fff; font-size: 1.05rem; margin-bottom: 16px; }
.footer ul { list-style: none; display: grid; gap: 10px; }
.footer ul a, .footer ul li { font-size: 0.92rem; }
.footer ul a:hover { color: var(--gold); }
.footer__social { display: flex; gap: 12px; margin-top: 14px; }
.footer__social a {
  width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255,255,255,.25);
  display: grid; place-items: center; transition: 0.25s;
}
.footer__social a:hover { background: var(--gold); color: var(--navy); border-color: var(--gold); }
.footer__social svg { width: 18px; height: 18px; }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.12); padding-top: 22px; text-align: center; font-size: 0.85rem; }
.footer__bottom a:hover { color: var(--gold); }

/* ============================ Responsive ============================ */
@media (max-width: 920px) {
  .nav__toggle { display: block; }
  .nav__links {
    position: fixed; top: 74px; right: 0; height: calc(100vh - 74px); width: 270px;
    flex-direction: column; align-items: flex-start; gap: 6px; padding: 28px;
    background: var(--cream); box-shadow: var(--shadow-lg); transform: translateX(100%);
    transition: transform 0.3s ease;
  }
  .nav__links.open { transform: translateX(0); }
  .nav__links a { padding: 10px 0; width: 100%; }
  .nav__cta { margin: 8px 0 0; }
  /* Mobile dropdown: inline, tap to expand */
  .nav__sub {
    position: static; transform: none; opacity: 1; visibility: visible;
    min-width: 0; box-shadow: none; border: none; border-left: 2px solid var(--gold);
    border-radius: 0; background: transparent; padding: 0 0 0 14px; margin: 2px 0 6px;
    max-height: 0; overflow: hidden; transition: max-height 0.3s var(--ease-lux);
  }
  .nav__item--has-sub.open > .nav__sub { max-height: 200px; }
  .nav__item--has-sub:hover > .nav__sub { transform: none; } /* disable hover-reveal on mobile */
  .nav__item--has-sub:not(.open) > .nav__sub { opacity: 0; visibility: hidden; }
  .nav__sub a { padding: 8px 0; }
  .split, .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .grid--3, .grid--4, .distances { grid-template-columns: repeat(2, 1fr); }
  .specs { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .section { padding: 56px 0; }
  .grid--2, .grid--3, .grid--4, .gallery, .facility-list, .distances, .footer__grid { grid-template-columns: 1fr; }
  .hero { min-height: 80vh; }
  .hero__actions .btn { width: 100%; justify-content: center; }
  .lightbox__prev { left: 10px; } .lightbox__next { right: 10px; }
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
  .btn--gold::before { display: none; }
  .card:hover, .btn:hover { transform: none; }
}
