/*
Theme Name: Aashiana Estate
Theme URI: https://demo.arwaj.com.pk
Author: Arwaj
Description: Simple one-page Pakistani real estate theme with a Contact Us button.
Version: 1.0.0
License: GPL-2.0-or-later
Text Domain: aashiana-estate
*/

:root {
  --green: #0b6b3a;
  --green-dark: #084d29;
  --gold: #c9a227;
  --ink: #1b1f23;
  --muted: #5f6b76;
  --bg: #f6f8f7;
  --white: #fff;
  --radius: 14px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.container { width: min(1180px, 92%); margin: 0 auto; }
section { padding: 80px 0; }
.section-title { text-align: center; margin-bottom: 44px; }
.section-title h2 { font-size: 2rem; color: var(--green-dark); }
.section-title p { color: var(--muted); margin-top: 6px; }

.btn {
  display: inline-block; padding: 12px 26px; border-radius: 999px;
  font-weight: 600; border: 2px solid transparent; cursor: pointer;
  transition: .2s; font-size: 1rem;
}
.btn-gold { background: var(--gold); color: #1b1500; }
.btn-gold:hover { background: #b38f1c; }
.btn-green { background: var(--green); color: #fff; }
.btn-green:hover { background: var(--green-dark); }
.btn-outline { border-color: #fff; color: #fff; }
.btn-outline:hover { background: #fff; color: var(--green-dark); }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50; background: #fff;
  box-shadow: 0 2px 12px rgba(0,0,0,.07);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.logo { font-size: 1.5rem; font-weight: 800; color: var(--green); }
.logo span { color: var(--gold); }
.main-nav { display: flex; align-items: center; gap: 28px; }
.main-nav a.nav-link { font-weight: 500; color: var(--ink); }
.main-nav a.nav-link:hover { color: var(--green); }
.menu-toggle { display: none; background: none; border: 0; font-size: 1.8rem; cursor: pointer; color: var(--green); }

/* Hero */
.hero {
  min-height: 82vh; display: flex; align-items: center; color: #fff;
  background:
    linear-gradient(120deg, rgba(8,77,41,.88), rgba(8,77,41,.55)),
    url("https://images.unsplash.com/photo-1564013799919-ab600027ffc6?auto=format&fit=crop&w=1600&q=70") center/cover,
    var(--green-dark);
}
.hero h1 { font-size: clamp(2rem, 5vw, 3.4rem); line-height: 1.15; max-width: 720px; }
.hero p { font-size: 1.15rem; max-width: 560px; margin: 18px 0 30px; opacity: .95; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.search-box {
  margin-top: 40px; background: #fff; border-radius: var(--radius); padding: 16px;
  display: grid; grid-template-columns: repeat(4, 1fr) auto; gap: 12px; max-width: 900px;
}
.search-box select {
  padding: 12px; border: 1px solid #dde3e0; border-radius: 10px; font-size: .95rem; background: #fff; color: var(--ink);
}

/* Stats */
.stats { background: var(--green); color: #fff; padding: 36px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); text-align: center; gap: 20px; }
.stats strong { display: block; font-size: 2rem; color: var(--gold); }

/* Properties */
.properties { background: var(--bg); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.card {
  background: #fff; border-radius: var(--radius); overflow: hidden;
  box-shadow: 0 6px 20px rgba(0,0,0,.07); transition: .25s;
}
.card:hover { transform: translateY(-5px); }
.card-img { height: 210px; background-size: cover; background-position: center; background-color: #cfd8d3; position: relative; }
.badge {
  position: absolute; top: 14px; left: 14px; background: var(--gold); color: #1b1500;
  font-size: .78rem; font-weight: 700; padding: 4px 12px; border-radius: 999px;
}
.card-body { padding: 20px; }
.price { color: var(--green); font-weight: 800; font-size: 1.3rem; }
.card-body h3 { margin: 6px 0 4px; font-size: 1.1rem; }
.loc { color: var(--muted); font-size: .92rem; }
.meta { display: flex; gap: 16px; margin-top: 14px; padding-top: 14px; border-top: 1px solid #edf0ee; font-size: .88rem; color: var(--muted); }

/* Cities */
.city {
  height: 220px; border-radius: var(--radius); color: #fff; display: flex; align-items: flex-end;
  padding: 20px; background-size: cover; background-position: center; background-color: var(--green-dark);
  position: relative; overflow: hidden;
}
.city::before { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 30%, rgba(0,0,0,.75)); }
.city div { position: relative; }
.city h3 { font-size: 1.4rem; }
.city span { font-size: .9rem; opacity: .9; }

/* Why us */
.why { background: var(--bg); }
.feature { text-align: center; padding: 30px 22px; background: #fff; border-radius: var(--radius); box-shadow: 0 6px 20px rgba(0,0,0,.05); }
.feature .ico { font-size: 2.4rem; margin-bottom: 10px; }
.feature h3 { color: var(--green-dark); margin-bottom: 6px; }
.feature p { color: var(--muted); font-size: .95rem; }

/* CTA */
.cta { background: linear-gradient(120deg, var(--green-dark), var(--green)); color: #fff; text-align: center; }
.cta h2 { font-size: 2rem; margin-bottom: 10px; }
.cta p { margin-bottom: 26px; opacity: .92; }

/* Footer */
.site-footer { background: #0f1a14; color: #c4cfc8; padding: 50px 0 20px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1.3fr; gap: 30px; }
.site-footer h4 { color: #fff; margin-bottom: 12px; }
.site-footer li { list-style: none; margin-bottom: 8px; }
.site-footer a:hover { color: var(--gold); }
.copy { text-align: center; margin-top: 36px; padding-top: 18px; border-top: 1px solid #243229; font-size: .88rem; }

/* Generic pages (Contact Us etc.) */
.page-wrap { padding: 60px 0; min-height: 60vh; }
.page-wrap h1 { color: var(--green-dark); margin-bottom: 24px; }

/* Responsive */
@media (max-width: 900px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .search-box { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .menu-toggle { display: block; }
  .main-nav {
    display: none; position: absolute; top: 72px; left: 0; right: 0; background: #fff;
    flex-direction: column; padding: 20px; gap: 16px; box-shadow: 0 10px 20px rgba(0,0,0,.08);
  }
  .main-nav.open { display: flex; }
  .grid-3 { grid-template-columns: 1fr; }
  section { padding: 56px 0; }
}
