/* ═══════════════════════════════════════════════════════════════
   LATEST.CSS — All-Project-Page Sections
   Covers: NRI Hero, Property Cards, Filter, Pagination,
   Localities, Stages, SEO Content, CTA Modal
   ═══════════════════════════════════════════════════════════════ */

/* ─── NRI HERO ──────────────────────────────────────────────── */
.nri-hero {
  position: relative;
  background:
    linear-gradient(135deg, rgba(25,25,25,0.92) 0%, rgba(25,25,25,0.80) 100%),
    url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?w=1600&q=80') center/cover no-repeat;
  padding: 80px 0 60px;
  text-align: center;
}
.nri-hero h1 {
  font-family: var(--ff-serif);
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 600;
  color: var(--white);
  margin-bottom: 16px;
}
.nri-hero h1 span { color: var(--gold); }
.nri-hero p {
  font-size: 15px;
  line-height: 1.8;
  color: var(--text-muted);
  max-width: 640px;
  margin: 0 auto 28px;
}
.container-lg {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}
.mt-4 { margin-top: 24px; }
.mt-3 { margin-top: 16px; }

/* ─── FILTER BAR ────────────────────────────────────────────── */
.filter-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 36px;
}
.filter-btn {
  background: transparent;
  border: 1px solid var(--border-gold);
  color: rgba(255,255,255,0.7);
  font-family: var(--ff-sans);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 8px 18px;
  cursor: pointer;
  transition: all 0.2s;
}
.filter-btn:hover,
.filter-btn.active {
  background: var(--gold);
  color: var(--dark);
  border-color: var(--gold);
}

/* ─── PROPERTY CARDS (newsBox) ──────────────────────────────── */
.properties-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.newsBox {
  background: var(--dark3);
  border: 1px solid rgba(255,255,255,0.07);
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
}
.newsBox:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}
.newsBox .img-fluid {
  position: relative;
  height: 210px;
  overflow: hidden;
}
.newsBox .img-fluid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}
.newsBox:hover .img-fluid img { transform: scale(1.06); }

.prop-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 4px 10px;
}
.badge-new  { background: #1a7f5a; color: #fff; }
.badge-uc   { background: #b07020; color: #fff; }
.badge-rtm  { background: #1a5f9a; color: #fff; }

.prop-rera {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(25,25,25,0.78);
  font-size: 9px;
  color: rgba(255,255,255,0.55);
  padding: 5px 12px;
  letter-spacing: 0.04em;
}
.newsBox article {
  padding: 18px 20px 20px;
}
.newsBox article .heading h4 {
  font-family: var(--ff-serif);
  font-size: 20px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 4px;
}
.prop-loc {
  font-size: 11px;
  color: var(--gold);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 5px;
}
.prop-loc i { font-size: 10px; }
.prop-meta-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  padding-top: 12px;
  border-top: 1px solid rgba(255,255,255,0.08);
  margin-top: 4px;
}
.prop-config-label {
  font-size: 10px;
  color: rgba(255,255,255,0.4);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.prop-config-val {
  font-size: 13px;
  color: var(--white);
  font-weight: 500;
  margin-top: 2px;
}
.prop-price-label {
  font-size: 10px;
  color: rgba(255,255,255,0.4);
  text-align: right;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.prop-price {
  font-family: var(--ff-serif);
  font-size: 22px;
  font-weight: 700;
  color: var(--gold);
  text-align: right;
}
.prop-price.sm { font-size: 16px; font-style: italic; }

/* ─── PAGINATION ────────────────────────────────────────────── */
.pagination {
  display: flex;
  gap: 6px;
  justify-content: center;
  margin-top: 48px;
  flex-wrap: wrap;
}
.pg-btn {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-gold);
  background: transparent;
  color: rgba(255,255,255,0.6);
  font-size: 13px;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
}
.pg-btn:hover,
.pg-btn.active {
  background: var(--gold);
  color: var(--dark);
  border-color: var(--gold);
}
.pg-btn.wide {
  width: auto;
  padding: 0 14px;
  font-size: 12px;
  letter-spacing: 0.06em;
}

/* ─── LOCALITIES ────────────────────────────────────────────── */
.localities-wrap {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}
.locBlock {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border-gold);
  padding: 22px 18px;
  cursor: pointer;
  transition: background 0.25s, transform 0.25s;
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-decoration: none;
}
.locBlock:hover {
  background: rgba(201,155,111,0.12);
  transform: translateY(-3px);
}
.locBlock .loc-icon { font-size: 22px; }
.locBlock .loc-name {
  font-family: var(--ff-serif);
  font-size: 17px;
  color: var(--white);
  font-weight: 600;
}
.locBlock .loc-sub {
  font-size: 11px;
  color: rgba(255,255,255,0.5);
  line-height: 1.5;
}
.locBlock .loc-arrow {
  color: var(--gold);
  font-size: 16px;
  margin-top: 6px;
}

/* ─── STAGES (3-col image grid) ─────────────────────────────── */
.stages-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.stage-card {
  position: relative;
  height: 320px;
  overflow: hidden;
  cursor: pointer;
}
.stage-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.55);
  transition: transform 0.5s, filter 0.35s;
}
.stage-card:hover img {
  transform: scale(1.07);
  filter: brightness(0.7);
}
.stage-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(25,25,25,0.92) 0%, transparent 55%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 26px;
}
.stage-tag {
  background: var(--gold);
  color: var(--dark);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 4px 10px;
  width: fit-content;
  margin-bottom: 10px;
}
.stage-name {
  font-family: var(--ff-serif);
  font-size: 24px;
  font-weight: 600;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 8px;
}
.stage-desc {
  font-size: 12px;
  color: rgba(255,255,255,0.65);
  line-height: 1.6;
}
.stage-arrow {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(201,155,111,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  transition: background 0.2s;
  font-style: normal;
}
.stage-card:hover .stage-arrow {
  background: var(--gold);
  color: var(--dark);
}

/* ─── SEO CONTENT ───────────────────────────────────────────── */
.seo-section { background: var(--dark); }
.seo-section article h3 {
  font-family: var(--ff-serif);
  font-size: 22px;
  color: var(--gold);
  margin: 28px 0 10px;
}
.seo-section article p {
  font-size: 14px;
  line-height: 1.9;
  color: rgba(255,255,255,0.65);
  margin-bottom: 14px;
}
.seo-divider {
  width: 100%;
  height: 1px;
  background: rgba(255,255,255,0.07);
  margin: 36px 0;
}

/* ─── CTA SECTION ───────────────────────────────────────────── */
.se-cta {
  background: linear-gradient(135deg, #1a1106 0%, #2d1f0a 50%, #1a1106 100%);
  border-top: 1px solid var(--border-gold);
  text-align: center;
}
.se-cta h2 {
  font-family: var(--ff-serif);
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 600;
  color: var(--white);
  margin-bottom: 8px;
}

/* ─── ENQUIRY MODAL ─────────────────────────────────────────── */
.se-modal-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.75);
  z-index: 2000;
}
.se-modal-backdrop.show { display: block; }

.se-modal {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2001;
  width: 90%;
  max-width: 740px;
  background: var(--dark2);
  border: 1px solid var(--border-gold);
  overflow: hidden;
}
.se-modal.show { display: block; }

.se-modal__inner {
  display: flex;
  min-height: 420px;
}
.se-modal__left {
  flex: 1;
  background:
    linear-gradient(135deg, rgba(201,155,111,0.15), rgba(25,25,25,0.95)),
    url('https://images.unsplash.com/photo-1600596542815-ffad4c1539a9?w=600&q=80') center/cover;
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.se-modal__left h3 {
  font-family: var(--ff-serif);
  font-size: 24px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 10px;
}
.se-modal__left p {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 20px;
}
.se-modal__left ul { padding: 0; }
.se-modal__left ul li {
  font-size: 13px;
  color: rgba(255,255,255,0.8);
  margin-bottom: 8px;
  list-style: none;
}
.se-modal__right {
  flex: 1;
  padding: 32px 28px;
  position: relative;
}
.se-modal__close {
  position: absolute;
  top: 12px;
  right: 14px;
  background: none;
  border: none;
  color: var(--gold);
  font-size: 28px;
  cursor: pointer;
  line-height: 1;
}
.se-modal__form-hint {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 20px;
}
.se-modal__right label {
  display: block;
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: 0.06em;
  margin-bottom: 5px;
  text-transform: uppercase;
}
.se-modal__right input,
.se-modal__right textarea {
  width: 100%;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--border-gold);
  color: var(--white);
  font-family: var(--ff-sans);
  font-size: 13px;
  padding: 10px 12px;
  outline: none;
  transition: border-color 0.2s;
  margin-bottom: 2px;
}
.se-modal__right input:focus,
.se-modal__right textarea:focus { border-color: var(--gold); }
.se-modal__right textarea { min-height: 70px; resize: vertical; }
.se-modal__terms {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 12px 0;
  font-size: 11px;
  color: var(--text-muted);
}
.se-modal__terms input[type="checkbox"] {
  accent-color: var(--gold);
  width: 14px;
  height: 14px;
}
.se-modal__terms a { color: var(--gold); }
.w-100 { width: 100%; }
.justify-content-center { justify-content: center; }
.mt-2 { margin-top: 12px; }

/* ─── CONTACT ROW (budget select style) ─────────────────────── */
.contact-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 20px;
}
.contact-row > * { flex: 1 1 240px; }

/* ─── RESPONSIVE ────────────────────────────────────────────── */
@media (max-width: 992px) {
  .properties-grid { grid-template-columns: repeat(2, 1fr); }
  .localities-wrap { grid-template-columns: repeat(2, 1fr); }
  .stages-grid { grid-template-columns: 1fr; }
  .se-modal__inner { flex-direction: column; }
  .se-modal__left { min-height: 160px; }
}
@media (max-width: 600px) {
  .properties-grid { grid-template-columns: 1fr; }
  .localities-wrap { grid-template-columns: 1fr; }
  .stage-card { height: 260px; }
}