/* Naa Bhoomi - Simplified Design System (matches wireframe) */
@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;600;700;800&family=Plus+Jakarta+Sans:wght@400;500;600;700&display=swap');

:root {
  --color-forest: #123C2A;
  --color-forest-dark: #0B2E21;
  --color-agri: #3F7D3A;
  --color-leaf: #52B788;
  --color-sand: #D8C3A5;
  --color-sand-light: #F4EBD9;
  --color-offwhite: #F7F5EF;
  --color-charcoal: #202522;
  --color-sungold: #E5A93C;
  --color-border: rgba(18, 60, 42, 0.12);
  --shadow-md: 0 8px 24px rgba(18, 60, 42, 0.08);
  --shadow-gold: 0 8px 30px rgba(229, 169, 60, 0.25);
}

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

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: var(--color-offwhite);
  color: var(--color-charcoal);
  line-height: 1.6;
}

h1, h2, h3, .font-heading {
  font-family: 'Manrope', 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.glass-nav {
  background: rgba(247, 245, 239, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
}

.dotted-underline {
  display: inline-block;
  border-bottom: 3px dotted var(--color-sungold);
  padding-bottom: 6px;
}

.hero-gradient-overlay {
  background: linear-gradient(180deg, rgba(11, 46, 33, 0.75) 0%, rgba(18, 60, 42, 0.45) 45%, rgba(11, 46, 33, 0.85) 100%);
}

.card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 1.25rem;
  box-shadow: var(--shadow-md);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(18, 60, 42, 0.14);
}

.btn-gold {
  background: linear-gradient(135deg, #E5A93C 0%, #D4A373 100%);
  color: var(--color-forest);
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 9999px;
  font-weight: 700;
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: var(--shadow-gold);
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 10px 25px rgba(229, 169, 60, 0.4); }

.btn-outline {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255,255,255,0.7);
  padding: 0.75rem 1.5rem;
  border-radius: 9999px;
  font-weight: 700;
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.btn-outline:hover { background: rgba(255,255,255,0.12); border-color: #fff; }

.choose-btn {
  border: 1px solid var(--color-border);
  background: var(--color-sand-light);
  color: var(--color-forest);
  padding: 0.35rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.7rem;
  font-weight: 600;
  transition: all 0.2s ease;
}
.choose-btn:hover, .choose-btn.active {
  background: var(--color-agri);
  color: #fff;
  border-color: var(--color-agri);
}

/* Safety-net layout rules for the property grid & filter bar.
   These guarantee correct stacking on mobile even if the Tailwind
   CDN's runtime compiler is slow to pick up dynamically-injected
   classes (e.g. on a slow mobile connection). */
#property-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  width: 100%;
}
@media (min-width: 640px) {
  #property-list { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 768px) {
  #property-list { grid-template-columns: repeat(3, 1fr); }
}

#property-list .card {
  width: 100%;
  min-width: 0;
}

.filter-bar-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}
@media (min-width: 640px) {
  .filter-bar-grid { grid-template-columns: repeat(4, 1fr); }
}

::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: #EBE7DC; }
::-webkit-scrollbar-thumb { background: var(--color-agri); border-radius: 4px; }
