/* ============================================================
   1000bigha.com — Land Details Page Styles
   ============================================================ */

.details-body { background: var(--bg-light); }

/* ── Property Hero ──────────────────────────────────────────── */
.property-hero {
  position: relative;
  min-height: 540px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  margin-top: 0; /* Merged with transparent navbar */
  overflow: hidden;
}
.property-hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.property-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,24,16,0.95) 0%, rgba(10,24,16,0.4) 60%, transparent);
}
.property-hero-content {
  position: relative;
  z-index: 1;
  padding: calc(var(--nav-height) + 40px) 24px 40px;
  max-width: 1240px;
  width: 100%;
  margin: 0 auto;
}
.property-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--accent);
  color: #fff;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.property-hero-title {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 10px;
}
.property-hero-location {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 15px;
  color: rgba(255,255,255,0.8);
  margin-bottom: 20px;
}
.property-hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 20px; }
.property-hero-stats { display: flex; gap: 20px; flex-wrap: wrap; }
.property-hero-stat {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.15);
  backdrop-filter: blur(8px);
  padding: 8px 14px;
  border-radius: var(--radius-full);
  font-size: 13px;
  color: rgba(255,255,255,0.9);
  font-weight: 500;
}
.property-hero-stat .stat-icon { font-size: 16px; }

/* ── Main Layout ────────────────────────────────────────────── */
.details-layout {
  max-width: 1240px;
  margin: 0 auto;
  padding: 32px 24px;
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 28px;
  align-items: start;
}
.details-main {}
.details-sidebar {
  position: sticky;
  top: calc(var(--nav-height) + 20px);
}

/* Generic section card */
.details-card {
  background: #fff;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  margin-bottom: 20px;
  overflow: hidden;
}
.details-card-header {
  padding: 18px 22px;
  border-bottom: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.details-card-title {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 8px;
}
.details-card-title::before { content: ''; display: block; width: 3px; height: 14px; background: var(--accent); border-radius: 2px; }
.details-card-body { padding: 22px; }

/* ── Intelligence Score ─────────────────────────────────────── */
.intel-score-layout { display: flex; gap: 28px; align-items: center; }
.intel-score-gauge-wrap { position: relative; width: 160px; height: 160px; flex-shrink: 0; }
.intel-score-gauge-wrap svg { position: absolute; top:0; left:0; }
.intel-score-center {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.intel-score-num { font-family: 'DM Serif Display', serif; font-size: 40px; font-weight: 700; color: var(--primary); line-height: 1; }
.intel-score-denom { font-size: 13px; color: var(--text-muted); }
.intel-score-grade { font-size: 11px; color: var(--accent); font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; margin-top: 4px; }
.intel-score-metrics { flex: 1; }
.intel-score-row { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.intel-score-row-label { font-size: 13px; color: var(--text-dark); font-weight: 500; flex: 1; display: flex; align-items: center; gap: 6px; }
.intel-score-row-label::before { content: '✓'; color: #22C55E; font-size: 12px; font-weight: 700; }
.intel-score-row-val { font-size: 13px; color: var(--text-muted); font-weight: 600; width: 70px; text-align: right; }

/* ── Quick Snapshot ─────────────────────────────────────────── */
.snapshot-grid {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 14px;
}
.snapshot-item {
  background: var(--bg-light);
  border-radius: var(--radius-md);
  padding: 16px;
  text-align: center;
  border: 1px solid var(--border);
}
.snapshot-icon { font-size: 22px; margin-bottom: 6px; }
.snapshot-val { font-family: 'DM Serif Display', serif; font-size: 20px; font-weight: 700; color: var(--primary); display: block; }
.snapshot-key { font-size: 11px; color: var(--text-muted); font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; margin-top: 2px; }

/* ── Property Gallery ───────────────────────────────────────── */
.gallery-main { position: relative; border-radius: var(--radius-md); overflow: hidden; aspect-ratio: 16/9; margin-bottom: 10px; cursor: pointer; }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.gallery-main:hover img { transform: scale(1.03); }
.gallery-main-overlay {
  position: absolute;
  bottom: 14px; right: 14px;
  background: rgba(0,0,0,0.65);
  color: #fff;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}
.gallery-main-overlay:hover { background: rgba(0,0,0,0.85); }
.gallery-thumbs { display: grid; grid-template-columns: repeat(4,1fr); gap: 8px; }
.gallery-thumb { border-radius: var(--radius-sm); overflow: hidden; aspect-ratio: 4/3; cursor: pointer; position: relative; }
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; transition: opacity 0.25s; }
.gallery-thumb:hover img { opacity: 0.85; }
.gallery-thumb:last-child { position: relative; }
.gallery-more {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 18px;
  font-weight: 700;
}

/* ── Map ────────────────────────────────────────────────────── */
.details-map {
  width: 100%;
  height: 340px;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border);
}
.details-map iframe { width: 100%; height: 100%; border: none; }
.map-legend {
  display: flex;
  gap: 16px;
  margin-top: 10px;
  flex-wrap: wrap;
}
.map-legend-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--text-muted);
}
.map-legend-dot { width: 10px; height: 10px; border-radius: 50%; }

/* ── Location Advantage ─────────────────────────────────────── */
.location-table { width: 100%; border-collapse: collapse; }
.location-table tr { border-bottom: 1px solid var(--border-light); }
.location-table tr:last-child { border-bottom: none; }
.location-table td { padding: 12px 0; font-size: 14px; }
.location-table td:first-child { display: flex; align-items: center; gap: 10px; font-weight: 500; color: var(--text-dark); }
.location-table td:last-child { text-align: right; font-weight: 600; color: var(--primary); }
.location-icon { font-size: 18px; width: 28px; flex-shrink: 0; }

/* ── Why This Land ──────────────────────────────────────────── */
.why-land-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; }
.why-land-card {
  background: var(--bg-light);
  border-radius: var(--radius-md);
  padding: 20px;
  text-align: center;
  border: 1.5px solid var(--border);
  transition: var(--transition);
}
.why-land-card:hover { border-color: var(--accent); background: var(--accent-pale); }
.why-land-icon { font-size: 28px; margin-bottom: 10px; }
.why-land-name { font-size: 14px; font-weight: 700; color: var(--text-dark); }
.why-land-sub { font-size: 12px; color: var(--text-muted); margin-top: 3px; }

/* ── Document Vault ─────────────────────────────────────────── */
.doc-vault-header {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(34,197,94,0.08);
  border: 1px solid rgba(34,197,94,0.2);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  margin-bottom: 16px;
  font-size: 13px;
  color: #15803D;
  font-weight: 600;
}
.vault-doc-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  border-bottom: 1px solid var(--border-light);
}
.vault-doc-row:last-child { border-bottom: none; }
.vault-doc-info { display: flex; align-items: center; gap: 12px; }
.vault-doc-icon { font-size: 22px; }
.vault-doc-name { font-size: 14px; font-weight: 600; color: var(--text-dark); }
.vault-doc-type { font-size: 11px; color: var(--text-muted); }
.vault-download-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  background: var(--primary);
  color: #fff;
  border-radius: var(--radius-sm);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}
.vault-download-btn:hover { background: var(--primary-light); }

/* ── Investment Potential ───────────────────────────────────── */
.investment-list { display: flex; flex-direction: column; gap: 12px; }
.investment-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px;
  background: var(--bg-light);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
}
.investment-icon { font-size: 22px; flex-shrink: 0; }
.investment-name { font-size: 14px; font-weight: 700; color: var(--text-dark); }
.investment-desc { font-size: 12px; color: var(--text-muted); line-height: 1.55; margin-top: 2px; }

/* ── Accordion ──────────────────────────────────────────────── */
.accordion-item { border-bottom: 1px solid var(--border-light); }
.accordion-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  cursor: pointer;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-dark);
  background: none;
  border: none;
  text-align: left;
  gap: 8px;
}
.accordion-toggle:hover { color: var(--primary); }
.accordion-arrow {
  flex-shrink: 0;
  transition: transform 0.3s ease;
  color: var(--text-muted);
}
.accordion-item.open .accordion-arrow { transform: rotate(180deg); }
.accordion-body { max-height: 0; overflow: hidden; transition: max-height 0.35s ease; }
.accordion-body-inner { padding: 0 0 16px; font-size: 14px; color: var(--text-muted); line-height: 1.75; }

/* ── Enquiry Sidebar ────────────────────────────────────────── */
.enquiry-card {
  background: #fff;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  margin-bottom: 16px;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
@keyframes card-glow {
  0%, 100% { border-color: var(--border); box-shadow: var(--shadow-md); }
  50% { border-color: var(--accent); box-shadow: 0 0 20px rgba(196, 148, 58, 0.4); }
}
.enquiry-card.highlight-pulse {
  animation: card-glow 1.8s ease-in-out;
}
.enquiry-card-header {
  padding: 18px 20px;
  border-bottom: 1px solid var(--border-light);
}
.enquiry-card-header h3 {
  font-family: 'DM Serif Display', serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 4px;
}
.enquiry-card-header p { font-size: 12px; color: var(--text-muted); }
.enquiry-card-body { padding: 18px 20px; }
.enquiry-card-body .form-group { margin-bottom: 12px; }
.enquiry-card-body .form-control { padding: 10px 14px; font-size: 13px; }
.enquiry-submit-btn { width: 100%; padding: 14px; font-size: 15px; margin-top: 4px; }
.enquiry-trust { display: flex; align-items: center; gap: 6px; font-size: 11px; color: var(--text-muted); margin-top: 10px; text-align: center; justify-content: center; }

.why-1000bigha-card {
  background: var(--primary-dark);
  border-radius: var(--radius-md);
  padding: 22px;
  color: #fff;
  margin-bottom: 16px;
}
.why-1000bigha-card h3 { font-family: 'DM Serif Display', serif; font-size: 18px; margin-bottom: 10px; }
.why-1000bigha-card p { font-size: 13px; color: rgba(255,255,255,0.6); margin-bottom: 16px; line-height: 1.7; }
.why-mini-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 16px; }
.why-mini-stat { background: rgba(255,255,255,0.06); border-radius: var(--radius-sm); padding: 12px; }
.why-mini-val { font-family: 'DM Serif Display', serif; font-size: 22px; font-weight: 700; color: var(--accent); display: block; }
.why-mini-lbl { font-size: 11px; color: rgba(255,255,255,0.5); }
.why-trust-list { display: flex; flex-direction: column; gap: 8px; }
.why-trust-item { display: flex; align-items: center; gap: 8px; font-size: 13px; color: rgba(255,255,255,0.7); }
.why-trust-item::before { content: '✓'; color: var(--accent); font-weight: 700; }

/* Quote banner */
.quote-banner {
  position: relative;
  background: var(--primary-dark);
  overflow: hidden;
  padding: 64px 0;
  margin-top: 32px;
}
.quote-banner-bg { position: absolute; inset: 0; }
.quote-banner-bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0.25; }
.quote-banner-content {
  position: relative;
  z-index: 1;
  max-width: 640px;
  margin: 0 auto;
  padding: 0 24px;
  text-align: center;
}
.quote-mark { font-size: 80px; line-height: 0.8; color: var(--accent); font-family: 'DM Serif Display', serif; margin-bottom: 16px; }
.quote-text { font-family: 'DM Serif Display', serif; font-size: clamp(20px, 3vw, 30px); font-style: italic; color: #fff; line-height: 1.45; margin-bottom: 20px; }
.quote-brand { display: flex; align-items: center; justify-content: center; gap: 10px; }
.quote-brand img { height: 28px; }

@media (max-width: 1024px) {
  .details-layout {
    grid-template-columns: 1fr;
    padding: 24px;
  }
  .details-sidebar { position: static; }
  .snapshot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 768px) {
  .details-layout {
    padding: 20px 16px;
    gap: 20px;
  }
  .details-card-body {
    padding: 16px;
  }
  .details-card-header {
    padding: 14px 16px;
  }
  .property-hero-content {
    padding: calc(var(--nav-height) + 24px) 16px 24px;
  }
}
@media (max-width: 640px) {
  .property-hero { min-height: 420px; }
  .intel-score-layout { flex-direction: column; }
  .gallery-thumbs { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .why-land-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .snapshot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .btn {
    white-space: normal;
    text-align: center;
  }
}
@media (max-width: 480px) {
  .why-land-grid { grid-template-columns: minmax(0, 1fr); }
}
