/* ---- पालीवाल प्रॉपर्टीज — Jodhpur sandstone + blue-city palette ---- */
:root {
  --sandstone: #c8722e;
  --sandstone-dark: #a35a1f;
  --jodhpur-blue: #2b5d8a;
  --jodhpur-blue-dark: #1d4264;
  --cream: #fdf6ec;
  --ink: #2c2418;
  --muted: #6b5d4a;
  --white: #ffffff;
  --shadow: 0 4px 18px rgba(44, 36, 24, 0.12);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: "Mukta", "Noto Sans Devanagari", sans-serif;
  background: var(--cream);
  color: var(--ink);
  line-height: 1.7;
}

img { max-width: 100%; display: block; }

.container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }

/* ---------- Header ---------- */
.topbar {
  background: var(--jodhpur-blue-dark);
  color: #dce9f5;
  font-size: 0.9rem;
  padding: 6px 0;
}
.topbar .container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}
.topbar a { color: #ffd9a8; text-decoration: none; }

header.site-header {
  background: var(--white);
  box-shadow: var(--shadow);
  position: sticky;
  top: 0;
  z-index: 100;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  flex-wrap: wrap;
  gap: 12px;
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-mark {
  width: 52px; height: 52px;
  background: var(--cream);
  border: 2px solid var(--sandstone);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  font-size: 1.5rem; font-weight: 700; color: var(--sandstone-dark);
}
.brand-mark img { width: 100%; height: 100%; object-fit: cover; }
.brand-text h1 { font-size: 1.35rem; color: var(--jodhpur-blue-dark); line-height: 1.2; }
.brand-text p { font-size: 0.85rem; color: var(--muted); }

nav.main-nav ul { display: flex; gap: 6px; list-style: none; flex-wrap: wrap; }
nav.main-nav a {
  text-decoration: none;
  color: var(--ink);
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 8px;
  transition: background 0.2s, color 0.2s;
}
nav.main-nav a:hover { background: #f3e5d3; color: var(--sandstone-dark); }
nav.main-nav a.active { background: var(--sandstone); color: var(--white); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 480px;
  display: flex;
  align-items: center;
  background: var(--jodhpur-blue-dark);
  background-size: cover;
  background-position: center;
}
.hero::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(20, 32, 46, 0.82) 25%, rgba(20, 32, 46, 0.25) 75%);
}
.hero .container { position: relative; z-index: 2; }
.hero-content { max-width: 580px; color: var(--white); padding: 70px 0; }
.hero-content .eyebrow {
  display: inline-block;
  background: var(--sandstone);
  padding: 4px 14px;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 16px;
}
.hero-content h2 { font-size: 2.5rem; line-height: 1.25; margin-bottom: 14px; }
.hero-content p { font-size: 1.1rem; color: #e8eef5; margin-bottom: 26px; }

.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  transition: transform 0.15s, box-shadow 0.15s;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-primary { background: var(--sandstone); color: var(--white); }
.btn-outline { border: 2px solid var(--white); color: var(--white); margin-right: 0; margin-left: 12px; }

/* ---------- Sections ---------- */
section { padding: 64px 0; }
.section-title { text-align: center; margin-bottom: 40px; }
.section-title h3 { font-size: 2rem; color: var(--jodhpur-blue-dark); }
.section-title p { color: var(--muted); max-width: 640px; margin: 8px auto 0; }
.section-title .rule {
  width: 70px; height: 4px;
  background: var(--sandstone);
  border-radius: 4px;
  margin: 14px auto 0;
}

/* Services */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; }
.card {
  background: var(--white);
  border-radius: 14px;
  padding: 28px;
  box-shadow: var(--shadow);
  border-top: 4px solid var(--sandstone);
}
.card .icon { font-size: 2.2rem; margin-bottom: 12px; }
.card h4 { font-size: 1.2rem; color: var(--jodhpur-blue-dark); margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 0.97rem; }

/* Stats strip */
.stats { background: var(--jodhpur-blue); color: var(--white); padding: 40px 0; }
.stats .container { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 24px; text-align: center; }
.stat .num { font-size: 2.4rem; font-weight: 800; color: #ffd9a8; }
.stat .label { font-size: 1rem; color: #dce9f5; }

/* Project cards */
.project-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 28px; }
.project-card {
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}
.project-card img { height: 230px; width: 100%; object-fit: cover; }
.project-body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.project-body h4 { font-size: 1.35rem; color: var(--jodhpur-blue-dark); margin-bottom: 6px; }
.project-body .loc { color: var(--sandstone-dark); font-weight: 600; font-size: 0.95rem; margin-bottom: 10px; }
.project-body p { color: var(--muted); font-size: 0.97rem; margin-bottom: 16px; flex: 1; }
.badge {
  display: inline-block;
  background: #e7f0e7;
  color: #2e6b35;
  border-radius: 999px;
  padding: 3px 12px;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 10px;
  align-self: flex-start;
}

/* Project detail (projects page) */
.project-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: center;
  background: var(--white);
  border-radius: 16px;
  box-shadow: var(--shadow);
  overflow: hidden;
  margin-bottom: 40px;
}
.project-detail img { height: 100%; min-height: 300px; object-fit: cover; }
.project-detail .detail-body { padding: 32px; }
.project-detail h4 { font-size: 1.6rem; color: var(--jodhpur-blue-dark); margin-bottom: 8px; }
.project-detail ul { list-style: none; margin: 14px 0; }
.project-detail ul li { padding: 5px 0 5px 28px; position: relative; color: var(--ink); }
.project-detail ul li::before { content: "✔"; position: absolute; left: 0; color: var(--sandstone); font-weight: 700; }
@media (max-width: 760px) {
  .project-detail { grid-template-columns: 1fr; }
}

/* Map */
.map-wrap {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow);
  margin-top: 24px;
}
.map-wrap iframe { width: 100%; height: 380px; border: 0; display: block; }

/* Why us */
.why { background: #f6ecdd; }
.why-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; }

/* Contact page */
.contact-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 32px; align-items: start; }
@media (max-width: 760px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-card {
  background: var(--white);
  border-radius: 16px;
  box-shadow: var(--shadow);
  padding: 32px;
}
.contact-card h4 { color: var(--jodhpur-blue-dark); font-size: 1.3rem; margin-bottom: 16px; }
.contact-item { display: flex; gap: 14px; margin-bottom: 18px; align-items: flex-start; }
.contact-item .ci-icon {
  width: 44px; height: 44px; flex-shrink: 0;
  background: #f3e5d3; color: var(--sandstone-dark);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
}
.contact-item strong { display: block; color: var(--jodhpur-blue-dark); }
.contact-item a { color: var(--sandstone-dark); text-decoration: none; font-weight: 600; }

.hours-table { width: 100%; border-collapse: collapse; margin-top: 8px; }
.hours-table td { padding: 8px 4px; border-bottom: 1px dashed #e3d5bf; }
.hours-table td:last-child { text-align: left; color: var(--muted); }

/* CTA band */
.cta-band {
  background: linear-gradient(120deg, var(--sandstone-dark), var(--sandstone));
  color: var(--white);
  text-align: center;
  padding: 48px 0;
}
.cta-band h3 { font-size: 1.8rem; margin-bottom: 10px; }
.cta-band p { margin-bottom: 22px; color: #fbeede; }
.cta-band .btn { background: var(--white); color: var(--sandstone-dark); }

/* Footer */
footer {
  background: var(--jodhpur-blue-dark);
  color: #c9d8e6;
  padding: 40px 0 20px;
}
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 28px; margin-bottom: 24px; }
footer h5 { color: var(--white); font-size: 1.05rem; margin-bottom: 12px; }
footer a { color: #ffd9a8; text-decoration: none; }
footer ul { list-style: none; }
footer ul li { padding: 4px 0; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.15); padding-top: 16px; text-align: center; font-size: 0.88rem; }

/* Page banner (inner pages) */
.page-banner {
  background: var(--jodhpur-blue);
  color: var(--white);
  text-align: center;
  padding: 52px 0;
}
.page-banner h2 { font-size: 2.2rem; }
.page-banner p { color: #dce9f5; margin-top: 6px; }

@media (max-width: 600px) {
  .hero-content h2 { font-size: 1.8rem; }
  .hero-content { padding: 48px 0; }
  .btn-outline { margin-left: 0; margin-top: 10px; }

  /* Topbar: blessing and phone centered, address hidden (it's on the contact page & footer) */
  .topbar .container {
    flex-direction: column;
    align-items: center;
    gap: 2px;
    text-align: center;
  }
  .topbar .topbar-address { display: none; }

  /* Header: brand and nav stacked and centered */
  .header-inner {
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 12px 0;
  }
  .brand { flex-direction: column; text-align: center; gap: 6px; }
  .brand-text h1 { font-size: 1.25rem; }
  nav.main-nav ul { justify-content: center; gap: 2px; }
  nav.main-nav a { padding: 7px 12px; font-size: 0.95rem; }

  .page-banner h2 { font-size: 1.7rem; }
  section { padding: 44px 0; }
}
