/* ============================================================
   INNER-PAGE.CSS — Jaipur Property Consultant
   Shared layout for ALL inner pages (not homepage).
   Link on every page EXCEPT index.html
   ============================================================ */

/* ===== INNER HERO ===== */
.inner-hero {
  min-height: 380px;
  position: relative;
  display: flex;
  align-items: flex-end;
  padding: 0 0 56px;
  margin-top: 80px; /* header height */
  background: var(--color-primary) center/cover no-repeat;
}
.inner-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(27,42,74,0.55) 0%, rgba(27,42,74,0.92) 100%);
}
.inner-hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
}

/* Breadcrumb */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.breadcrumb a {
  color: rgba(255,255,255,0.6);
  transition: var(--transition);
}
.breadcrumb a:hover { color: var(--color-accent); }
.breadcrumb span   { color: rgba(255,255,255,0.35); }
.breadcrumb .current { color: rgba(255,255,255,0.9); }

/* Inner hero text */
.inner-hero h1     { color: #fff; margin-bottom: 14px; }
.inner-hero-sub {
  font-size: 16px;
  color: rgba(255,255,255,0.78);
  max-width: 580px;
  line-height: 1.7;
  margin-bottom: 24px;
}
.inner-hero-stats {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
}
.inner-hero-stat strong {
  font-family: var(--ff-accent);
  font-size: 28px;
  font-weight: 700;
  color: var(--color-accent);
  display: block;
  line-height: 1;
  margin-bottom: 4px;
}
.inner-hero-stat span {
  font-size: 12px;
  color: rgba(255,255,255,0.65);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ===== FILTER BAR ===== */
.filter-bar {
  background: #fff;
  border-bottom: 1px solid var(--color-border);
  padding: 18px 0;
  position: sticky;
  top: 64px; /* scrolled header height */
  z-index: 100;
  box-shadow: var(--shadow-sm);
}
.filter-bar-inner {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}
.filter-bar select {
  background: var(--color-bg-secondary);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-pill);
  height: 40px;
  padding: 0 14px;
  font-size: 13px;
  font-weight: 500;
  color: var(--color-text-primary);
  cursor: pointer;
  min-width: 140px;
  transition: var(--transition);
}
.filter-bar select:focus,
.filter-bar select:hover {
  border-color: var(--color-accent);
  outline: none;
}
.filter-bar-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--color-text-secondary);
  white-space: nowrap;
}
.filter-count {
  margin-left: auto;
  font-size: 13px;
  color: var(--color-text-secondary);
  white-space: nowrap;
}
.filter-count strong {
  color: var(--color-primary);
  font-weight: 700;
}
@media (max-width: 768px) {
  .filter-bar-inner  { gap: 8px; }
  .filter-bar select { min-width: 120px; font-size: 12px; }
  .filter-count      { display: none; }
}

/* ===== LISTINGS SECTION ===== */
.listings-section { background: var(--color-bg-secondary); padding: 56px 0 80px; }

/* ===== LISTING CARD — INNER PAGE (horizontal on desktop) ===== */
.listing-card-h {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-border);
  display: grid;
  grid-template-columns: 300px 1fr;
  transition: var(--transition);
  cursor: pointer;
}
.listing-card-h:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.listing-card-h-img {
  position: relative;
  overflow: hidden;
  min-height: 220px;
}
.listing-card-h-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.listing-card-h:hover .listing-card-h-img img { transform: scale(1.05); }
.listing-card-h-img .listing-badge {
  position: absolute;
  top: 14px;
  left: 14px;
}
.listing-card-h-img .listing-status {
  position: absolute;
  bottom: 14px;
  left: 14px;
  background: rgba(22,163,74,0.9);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
}
.listing-card-h-body {
  padding: 28px 28px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.listing-card-h-top {}
.listing-card-h-price {
  font-family: var(--ff-accent);
  font-size: 30px;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 6px;
  line-height: 1;
}
.listing-card-h-title {
  font-size: 18px;
  font-weight: 600;
  color: var(--color-text-primary);
  margin-bottom: 6px;
}
.listing-card-h-loc {
  font-size: 14px;
  color: var(--color-text-secondary);
  margin-bottom: 16px;
}
.listing-features-row {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  padding: 14px 0;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  margin-bottom: 16px;
}
.listing-feature-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.listing-feature-item span:first-child {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text-secondary);
  font-weight: 500;
}
.listing-feature-item span:last-child {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-text-primary);
}
.listing-card-h-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.listing-tag {
  background: var(--color-bg-secondary);
  color: var(--color-text-secondary);
  font-size: 12px;
  font-weight: 500;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--color-border);
}
.listing-tag.gold {
  background: var(--color-accent-light);
  color: var(--color-accent-dark);
  border-color: var(--color-accent-light);
}

/* Stack on mobile */
@media (max-width: 768px) {
  .listing-card-h { grid-template-columns: 1fr; }
  .listing-card-h-img { min-height: 200px; max-height: 220px; }
  .listing-card-h-body { padding: 20px; }
}

/* ===== LISTING GRID — vertical cards (used when horizontal doesn't fit) === */
.inner-listings-grid {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* ===== SEO CONTENT BLOCK ===== */
.seo-content { background: var(--color-bg-primary); padding: 72px 0; }
.seo-content-inner { max-width: 860px; margin: 0 auto; }
.seo-content h2   { margin-bottom: 24px; }
.seo-content h3   { margin: 28px 0 12px; font-size: 19px; color: var(--color-primary); }
.seo-content p    { font-size: 16px; line-height: 1.85; color: var(--color-text-secondary); margin-bottom: 18px; }
.seo-content p:last-child { margin-bottom: 0; }
.seo-content p strong  { color: var(--color-text-primary); font-weight: 600; }
.seo-content ul        { margin: 0 0 18px 20px; }
.seo-content ul li     { font-size: 15px; color: var(--color-text-secondary); line-height: 1.8; margin-bottom: 6px; list-style: disc; }

/* ===== COMPACT WHY STRIP ===== */
.why-strip { background: var(--color-bg-dark); padding: 56px 0; }
.why-strip-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
.why-strip-item {}
.why-strip-icon {
  font-size: 28px;
  margin-bottom: 10px;
  color: var(--color-accent);
}
.why-strip-item h4 {
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 6px;
}
.why-strip-item p {
  font-size: 13px;
  color: rgba(255,255,255,0.55);
  line-height: 1.6;
}
@media (max-width: 768px) {
  .why-strip-inner { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .why-strip-inner { grid-template-columns: 1fr; }
}

/* ===== RELATED AREAS / RELATED PAGES STRIP ===== */
.related-strip { background: var(--color-bg-secondary); padding: 56px 0; }
.related-strip h2 { text-align: center; margin-bottom: 36px; }
.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.related-card {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 24px;
  border: 1px solid var(--color-border);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.related-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--color-accent-light);
  transform: translateY(-2px);
}
.related-card-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-accent);
}
.related-card-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--color-primary);
}
.related-card-desc {
  font-size: 13px;
  color: var(--color-text-secondary);
  line-height: 1.6;
}
.related-card .gold-link { margin-top: 4px; }
@media (max-width: 768px) {
  .related-grid { grid-template-columns: 1fr; }
}

/* ===== INNER PAGE FAQ ===== */
.inner-faq { background: var(--color-bg-primary); padding: 72px 0; }
.inner-faq h2 { text-align: center; margin-bottom: 48px; }

/* ===== INNER CTA BANNER ===== */
.inner-cta-banner {
  background: var(--color-bg-dark);
  padding: 64px 0;
  text-align: center;
}
.inner-cta-banner h2 { color: #fff; margin-bottom: 14px; }
.inner-cta-banner p  { color: rgba(255,255,255,0.65); font-size: 16px; max-width: 520px; margin: 0 auto 32px; }
.inner-cta-banner .cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ===== NO RESULTS / INQUIRY CARD ===== */
.inquiry-card {
  background: var(--color-bg-secondary);
  border: 2px dashed var(--color-border);
  border-radius: var(--radius-lg);
  padding: 48px 32px;
  text-align: center;
}
.inquiry-card h3   { margin-bottom: 10px; color: var(--color-primary); }
.inquiry-card p    { color: var(--color-text-secondary); font-size: 15px; margin-bottom: 24px; }

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .inner-hero        { min-height: 320px; }
  .inner-hero-stats  { gap: 20px; }
}
