:root {
  --primary: #d97706;
  --primary-dark: #b45309;
  --accent: #eab308;
  --accent-light: #fef3c7;
  --bg: #fffbeb;
  --card: #ffffff;
  --text: #1c1917;
  --muted: #78716c;
  --border: #e7e5e4;
  --radius: 1.25rem;
  --shadow: 0 10px 30px rgba(28, 25, 23, 0.08);
}

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

body {
  font-family: 'Poppins', Inter, ui-sans-serif, system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

.hindi-text, .hero-hindi, .hero-hindi-sub {
  font-family: 'Noto Sans Devanagari', 'Poppins', sans-serif;
}

/* ===== NAV ===== */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; justify-content: space-between; align-items: center;
  padding: 1rem 6%;
  background: rgba(255, 251, 235, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.logo { font-weight: 800; font-size: 1.35rem; letter-spacing: -0.02em; }
.logo span { color: var(--primary); }

.nav-links { display: flex; gap: 0.25rem; }
.nav-links a {
  text-decoration: none; color: var(--text); font-weight: 500;
  margin-left: 1.5rem; font-size: 0.9rem; transition: color 0.2s;
}
.nav-links a:hover { color: var(--primary); }

.nav-toggle {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px;
}
.nav-toggle span {
  width: 24px; height: 2px; background: var(--text); border-radius: 2px;
  transition: 0.3s;
}
.nav-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(6px, -6px); }

/* ===== HERO ===== */
.hero {
  position: relative; padding: 10rem 6% 5rem; min-height: 80vh;
  display: flex; align-items: center;
  background: linear-gradient(120deg, #b45309 0%, #d97706 40%, #eab308 100%);
  color: #fff; overflow: hidden;
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.8;
}

.hero-content { position: relative; z-index: 1; max-width: 720px; }

.hero-hindi { font-size: 1.1rem; font-weight: 600; opacity: 0.95; margin-bottom: 0.75rem; }

.hero h1 {
  font-size: 3.4rem; font-weight: 700; line-height: 1.1;
  letter-spacing: -0.03em; margin-bottom: 1.25rem;
}
.hero h1 em { font-family: Georgia, serif; font-weight: 400; font-style: italic; }

.hero p { font-size: 1.1rem; opacity: 0.92; max-width: 560px; margin-bottom: 1rem; }
.hero-hindi-sub { font-size: 1rem; opacity: 0.85; margin-bottom: 2rem; }

.hero-btns { display: flex; gap: 1rem; flex-wrap: wrap; }

.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.9rem 1.75rem; border-radius: 9999px; border: none;
  font-weight: 600; font-size: 0.95rem; cursor: pointer;
  text-decoration: none; transition: transform 0.2s, box-shadow 0.2s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 8px 25px rgba(0,0,0,0.15); }
.btn-primary { background: #fff; color: var(--primary); }
.btn-outline { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,0.6); }
.btn-outline:hover { background: rgba(255,255,255,0.15); }
.btn-dark { background: #1c1917; color: #fff; }

/* ===== SECTIONS ===== */
.section { padding: 5rem 6%; }
.section-alt { background: #fff; }

.section-title { display: flex; flex-direction: column; gap: 0.5rem; margin-bottom: 2.5rem; }
.section-label {
  font-size: 0.8rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.1em; color: var(--primary);
}
.section-title h2 { font-size: 2.25rem; font-weight: 700; letter-spacing: -0.02em; }
.section-title h2 em { font-family: Georgia, serif; font-weight: 400; font-style: italic; color: var(--primary); }
.section-title p { color: var(--muted); max-width: 560px; }

/* ===== PROPERTY CARDS ===== */
.cards-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.5rem;
}

.card {
  background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow);
  overflow: hidden; transition: transform 0.3s, box-shadow 0.3s;
}
.card:hover { transform: translateY(-6px); box-shadow: 0 16px 40px rgba(28,25,23,0.14); }
.card img { width: 100%; height: 220px; object-fit: cover; display: block; transition: transform 0.4s; }
.card:hover img { transform: scale(1.05); }

.card-body { padding: 1.25rem; }
.card .price { font-size: 1.4rem; font-weight: 700; color: var(--primary); margin-bottom: 0.25rem; }
.card h3 { font-size: 1.15rem; font-weight: 600; margin-bottom: 0.5rem; }
.card .meta { color: var(--muted); font-size: 0.9rem; margin-bottom: 0.5rem; }
.card .tags { display: flex; gap: 0.5rem; margin: 0.75rem 0; font-size: 0.8rem; flex-wrap: wrap; }
.tag { background: var(--accent-light); color: var(--primary); padding: 0.2rem 0.65rem; border-radius: 999px; font-weight: 500; }
.card .contact { margin-top: 0.75rem; padding-top: 0.75rem; border-top: 1px solid var(--border); font-size: 0.85rem; color: var(--muted); }

.empty { text-align: center; padding: 4rem; color: var(--muted); }

/* ===== FEATURES ===== */
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; margin-top: 1rem; }
.feature {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 1.75rem; transition: transform 0.3s, box-shadow 0.3s;
}
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.feature-icon { font-size: 2rem; margin-bottom: 0.75rem; }
.feature h4 { margin-bottom: 0.5rem; font-size: 1.1rem; }
.feature p { color: var(--muted); font-size: 0.9rem; margin-bottom: 0.4rem; }
.hindi-text { color: var(--text); font-size: 0.9rem; }

/* ===== CONTACT ===== */
.contact-section { background: linear-gradient(180deg, var(--bg) 0%, #fff 100%); }
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.5rem; }
.contact-card {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 1.75rem; text-align: center; transition: transform 0.3s, box-shadow 0.3s;
}
.contact-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.contact-icon { font-size: 2rem; margin-bottom: 0.75rem; }
.contact-card h4 { margin-bottom: 0.5rem; }
.contact-card p { color: var(--muted); font-size: 0.9rem; margin-bottom: 0.25rem; }
.contact-card a { color: var(--primary); text-decoration: none; }
.contact-card a:hover { text-decoration: underline; }

/* ===== FOOTER ===== */
footer { background: #1c1917; color: #d6d3d1; padding: 3rem 6% 1.5rem; }
.footer-content { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 2rem; margin-bottom: 2rem; }
.footer-brand .logo { color: #fff; margin-bottom: 0.5rem; }
.footer-brand .logo span { color: var(--accent); }
.footer-brand p { font-size: 0.9rem; color: #a8a29e; margin-bottom: 0.5rem; }
.footer-links h5, .footer-contact h5 { color: #fff; margin-bottom: 0.75rem; font-size: 0.95rem; }
.footer-links a { display: block; color: #a8a29e; text-decoration: none; font-size: 0.9rem; padding: 0.25rem 0; transition: color 0.2s; }
.footer-links a:hover { color: var(--accent); }
.footer-contact p { font-size: 0.9rem; color: #a8a29e; margin-bottom: 0.25rem; }
.footer-bottom { border-top: 1px solid #44403c; padding-top: 1.5rem; text-align: center; font-size: 0.85rem; color: #78716c; }

/* ===== ANIMATIONS ===== */
.reveal {
  opacity: 0; transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-content { animation: fadeInUp 1s ease forwards; }

/* ===== ADMIN ===== */
.admin-page { padding-top: 6rem; }
.form-box {
  max-width: 520px; margin: 0 auto 2rem; background: var(--card);
  border-radius: var(--radius); box-shadow: var(--shadow); padding: 2rem;
}
.form-box h2 { margin-bottom: 1.25rem; }
label { display: block; margin-bottom: 0.35rem; font-size: 0.9rem; font-weight: 500; }
input, textarea, select {
  width: 100%; padding: 0.65rem 0.9rem; margin-bottom: 1rem;
  border: 1px solid var(--border); border-radius: 0.75rem; font: inherit; background: #fff;
}
input[type="file"] { padding: 0.45rem; }
.form-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 1rem; }
.message { padding: 0.75rem 1rem; border-radius: 0.75rem; margin-bottom: 1rem; font-size: 0.9rem; display: none; }
.message.show { display: block; }
.message.success { background: #dcfce7; color: #166534; }
.message.error { background: #fee2e2; color: #991b1b; }
.admin-list { max-width: 900px; margin: 0 auto; }
.admin-list .card { display: flex; align-items: center; gap: 1.25rem; padding: 1rem; margin-bottom: 1rem; }
.admin-list .card img { width: 100px; height: 80px; border-radius: 0.75rem; flex-shrink: 0; }
.admin-list .info { flex: 1; }
.admin-list .info h3 { margin-bottom: 0.25rem; }
.admin-list .actions button { background: #fee2e2; color: #b91c1c; border: none; padding: 0.5rem 1rem; border-radius: 0.5rem; cursor: pointer; font-weight: 500; }

/* ===== MOBILE RESPONSIVE ===== */
@media (max-width: 900px) {
  .footer-content { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  nav { padding: 0.75rem 5%; }
  .nav-toggle { display: flex; }
  .nav-links {
    position: fixed; top: 56px; left: 0; right: 0;
    background: rgba(255,251,235,0.98); backdrop-filter: blur(10px);
    flex-direction: column; padding: 1rem 5%; gap: 0;
    border-bottom: 1px solid var(--border);
    transform: translateY(-150%); transition: transform 0.3s ease;
    z-index: 99;
  }
  .nav-links.open { transform: translateY(0); }
  .nav-links a { margin-left: 0; padding: 0.75rem 0; border-bottom: 1px solid var(--border); font-size: 1rem; }
  .nav-links a:last-child { border-bottom: none; }

  .hero { min-height: 70vh; padding: 8rem 5% 4rem; }
  .hero h1 { font-size: 2rem; }
  .hero p { font-size: 1rem; }
  .hero-hindi-sub { font-size: 0.9rem; }
  .hero-btns { flex-direction: column; }
  .btn { width: 100%; justify-content: center; }

  .section { padding: 3rem 5%; }
  .section-title h2 { font-size: 1.6rem; }
  .section-title p { font-size: 0.9rem; }

  .cards-grid { grid-template-columns: 1fr; }
  .features { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }

  .footer-content { grid-template-columns: 1fr; gap: 1.5rem; }
  .footer-bottom { font-size: 0.75rem; }

  .form-row { grid-template-columns: 1fr; }
  .admin-list .card { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 1.6rem; }
  .hero-hindi { font-size: 0.95rem; }
  .section-title h2 { font-size: 1.35rem; }
  .feature { padding: 1.25rem; }
  .contact-card { padding: 1.25rem; }
  .card img { height: 180px; }
}
