/* Clean consolidated stylesheet for Priydeep Real Estate */
/* Fonts: a modern sans + elegant display for headings */
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;700;800&family=Playfair+Display:wght@400;600;700&display=swap");

:root {
  --max-width: 1200px;
  --radius: 12px;
  --bg: #f4f5f6; /* page background */
  --bg-image: url("images/karmabhumi-2.jpg");
  --surface: #ffffff; /* surfaces/cards */
  --muted: #6b6f74; /* secondary copy */
  --accent: #3a6b8a; /* primary CTA */
  --accent-2: #9aa0a6; /* secondary accent */
  --glass-border: rgba(0, 0, 0, 0.06);
  --shadow-1: 0 6px 20px rgba(36, 41, 46, 0.06);
  --shadow-2: 0 18px 40px rgba(36, 41, 46, 0.08);
}

* {
  box-sizing: border-box;
}
html,
body {
  height: 100%;
}
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto,
    "Helvetica Neue", Arial;
  color: #22262a;
  background-color: var(--bg);
  background-image: linear-gradient(
      rgba(245, 246, 247, 0.65),
      rgba(245, 246, 247, 0.65)
    ),
    var(--bg-image);
  background-repeat: no-repeat;
  background-position: center top;
  background-size: cover;
  backdrop-filter: blur(2.5px);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.5;
  font-size: 16px;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
  background: rgba(255, 255, 255, 0.6);
  border-radius: 18px;
  box-shadow: 0 6px 32px rgba(36, 41, 46, 0.08);
  backdrop-filter: blur(2.5px);
}

/* Header / Nav */
header {
  background: var(--surface);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 18px rgba(36, 41, 46, 0.06);
}
nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 8px 24px;
  min-height: 44px;
  background: var(--surface);
  box-shadow: 0 4px 18px rgba(36, 41, 46, 0.06);
}
.logo {
  font-family: "Playfair Display", serif;
  font-weight: 900;
  font-size: 2.1rem;
  letter-spacing: 1.5px;
  color: var(--accent);
  text-transform: uppercase;
  background: none;
  padding: 0;
  margin: 0;
  display: flex;
  align-items: center;
}
.main-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 8px 24px;
  min-height: 44px;
  background: var(--surface);
  box-shadow: 0 4px 18px rgba(36, 41, 46, 0.06);
}
@media (max-width: 900px) {
  .main-nav {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 10px 8px;
  }
  .logo {
    font-size: 1.2rem;
    margin-bottom: 4px;
  }
  .nav-links {
    gap: 10px;
    font-size: 1rem;
  }
}
@media (max-width: 600px) {
  .main-nav {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: 6px 4px;
  }
  .logo {
    font-size: 1rem;
    margin-bottom: 2px;
  }
  .nav-links {
    gap: 6px;
    font-size: 0.95rem;
  }
}
.nav-links {
  list-style: none;
  display: flex;
  gap: 28px;
  margin: 0;
  padding: 0;
  align-items: center;
}
.nav-links a {
  color: #22262a;
  text-decoration: none;
  font-weight: 600;
  padding: 8px 10px;
  border-radius: 8px;
  transition: all 0.18s;
}
.nav-links a:hover,
.nav-links a:focus {
  background: rgba(58, 107, 138, 0.06);
  color: var(--accent);
  outline: none;
}
.burger {
  display: none;
  border: 0;
  background: transparent;
  padding: 8px;
  cursor: pointer;
}
.burger span,
.burger div {
  width: 28px;
  height: 3px;
  background: #22262a;
  margin: 5px 0;
  border-radius: 3px;
  transition: all 0.2s;
  display: block;
}

/* Mobile nav - when active */
.nav-links.nav-active {
  position: fixed;
  right: 0;
  top: 0;
  height: 100vh;
  width: 70%;
  max-width: 320px;
  background: var(--surface);
  flex-direction: column;
  align-items: flex-start;
  padding: 80px 20px;
  box-shadow: -8px 0 30px rgba(0, 0, 0, 0.08);
  transform: translateX(0);
  display: flex;
}
.nav-links {
  transition: transform 0.4s ease;
}

/* Burger toggle animation */
.burger.toggle .line1 {
  transform: rotate(-45deg) translate(-5px, 6px);
}
.burger.toggle .line2 {
  opacity: 0;
}
.burger.toggle .line3 {
  transform: rotate(45deg) translate(-5px, -6px);
}

@media (max-width: 760px) {
  .nav-links {
    display: none;
  }
  .nav-links.nav-active {
    display: flex;
  }
}

/* Ghost button style */
.btn-ghost {
  background: transparent;
  border: 1px solid rgba(34, 38, 42, 0.06);
  padding: 10px 14px;
  border-radius: 10px;
  color: var(--muted);
  cursor: pointer;
}

/* Ensure decorative hero elements never intercept pointer events */
.hero-gradient-anim,
.hero-overlay,
.floating-accent {
  pointer-events: none;
}

/* tilt-inner should not create a focusable layer */
.tilt-inner {
  outline: none;
}

/* Ensure tilt wrapper doesn't block interactions: wrapper is non-interactive but its children are */
.tilt-inner {
  pointer-events: none;
}
.tilt-inner * {
  pointer-events: auto;
}

/* Hero */
.hero {
  position: relative;
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
  /* Add background image with overlay */
  background: linear-gradient(rgba(30, 41, 59, 0.45), rgba(30, 41, 59, 0.45)),
    url("images/background.jpeg") center center/cover no-repeat;
}
.hero-bg {
  display: none;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background-image: linear-gradient(
      180deg,
      rgba(0, 0, 0, 0.42),
      rgba(0, 0, 0, 0.22)
    ),
    url("images/land_plot_aerial_view.jpg");
  background-size: cover, cover;
  background-position: center center, center center;
  pointer-events: none;
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: var(--max-width);
  padding: 48px 20px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.headline {
  font-family: "Playfair Display", serif;
  color: #fff;
  font-size: clamp(30px, 4.6vw, 56px);
  margin: 0 0 6px 0;
  line-height: 1.02;
  letter-spacing: -0.02em;
  text-shadow: 0 8px 28px rgba(0, 0, 0, 0.5);
}
.subhead {
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(15px, 1.6vw, 18px);
  margin: 0 0 12px 0;
  max-width: 560px;
}
.hero-actions {
  display: flex;
  gap: 14px;
  align-items: center;
}

/* Animated subtle shifting gradient on hero */
.hero-gradient-anim {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  mix-blend-mode: overlay;
  background: linear-gradient(
    120deg,
    rgba(58, 107, 138, 0.07),
    rgba(255, 122, 89, 0.06),
    rgba(154, 160, 166, 0.04)
  );
  background-size: 300% 300%;
  animation: gradientShift 12s linear infinite;
}
@keyframes gradientShift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

/* button micro-interactions */
.btn {
  position: relative;
}
.btn:before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  opacity: 0;
  transition: opacity 0.25s, transform 0.35s;
}
.btn:hover:before {
  opacity: 0.06;
  transform: scale(1.02);
}
.btn:active {
  transform: translateY(1px) scale(0.998);
}

/* Listing tilt support */
.listing-item[data-tilt] {
  transform-style: preserve-3d;
  will-change: transform;
}
.listing-item .tilt-inner {
  transition: transform 0.18s cubic-bezier(0.2, 0.9, 0.3, 1);
  transform-origin: center;
}

/* Staggered reveal helper */
.reveal {
  opacity: 0;
  transform: translateY(14px) scale(0.995);
  transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.2, 0.9, 0.3, 1);
}
.reveal.show {
  opacity: 1;
  transform: none;
}
.reveal[data-delay] {
  transition-delay: var(--reveal-delay, 0ms);
}

/* Floating accent element */
.floating-accent {
  position: absolute;
  right: 6%;
  top: 18%;
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: radial-gradient(
    circle at 30% 30%,
    rgba(255, 122, 89, 0.18),
    rgba(58, 107, 138, 0.12)
  );
  filter: blur(18px);
  pointer-events: none;
  z-index: 1;
  transform: translateZ(0);
  animation: floatAccent 6s ease-in-out infinite;
}
@keyframes floatAccent {
  0% {
    transform: translateY(0) scale(1);
  }
  50% {
    transform: translateY(8px) scale(1.02);
  }
  100% {
    transform: translateY(0) scale(1);
  }
}

/* Search */
.search-bar {
  display: flex;
  align-items: center;
  gap: 0;
}
.search-bar input {
  padding: 12px 14px;
  border-radius: 8px 0 0 8px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  min-width: 220px;
}
.search-bar button {
  padding: 12px 16px;
  border-radius: 0 8px 8px 0;
  border: 0;
  background: linear-gradient(90deg, var(--accent), #2e6a86);
  color: #fff;
  font-weight: 700;
  cursor: pointer;
}
.search-bar button:focus {
  outline: 3px solid rgba(58, 107, 138, 0.14);
  outline-offset: 2px;
}

.quick-stats {
  display: flex;
  gap: 18px;
  align-items: center;
}
.stat-number {
  font-weight: 700;
  color: #fff;
}
.stat-label {
  color: rgba(255, 255, 255, 0.9);
}

/* Listing grid */
.listing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  max-width: var(--max-width);
  margin: 36px auto;
  padding: 0 20px;
}
.listing-item {
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(18, 21, 24, 0.08);
  border-radius: 18px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.28s ease, box-shadow 0.28s;
  box-shadow: 0 10px 36px rgba(18, 22, 24, 0.1);
  backdrop-filter: blur(1.5px);
}
.listing-item:focus-within,
.listing-item:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-2);
}
.listing-item .media {
  width: 100%;
  height: 180px;
  overflow: hidden;
}
.listing-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s ease;
}
.listing-item:hover img {
  transform: scale(1.06);
}
.listing-body {
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.listing-body h3 {
  margin: 0;
  font-family: "Playfair Display", serif;
  color: #1f2933;
  font-size: 1.05rem;
}
.listing-body p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}
.btn {
  display: inline-block;
  padding: 10px 14px;
  border-radius: 8px;
  text-decoration: none;
  border: 0;
  cursor: pointer;
}
.btn.primary {
  background: linear-gradient(90deg, #ff7a59, #ff5a86);
  color: white;
}
.btn.ripple {
  position: relative;
  overflow: hidden;
}
.btn.ripple::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  transform: scale(0);
  background: rgba(255, 255, 255, 0.35);
  width: 100px;
  height: 100px;
  left: 50%;
  top: 50%;
  opacity: 0;
  pointer-events: none;
  transition: transform 0.6s ease, opacity 0.6s ease;
}
.btn.ripple.animate::after {
  transform: scale(6);
  opacity: 1;
  left: var(--x);
  top: var(--y);
}

.badge {
  display: inline-block;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.95);
  font-weight: 700;
}

/* CTA and subtle animations */
.btn-cta {
  background: linear-gradient(90deg, #ff7a59, #ff5a86);
  color: #fff;
  padding: 12px 20px;
  border-radius: 12px;
  border: 0;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 12px 40px rgba(255, 122, 89, 0.12);
}
.btn-cta:focus {
  outline: 3px solid rgba(58, 107, 138, 0.12);
  outline-offset: 3px;
}

/* Reveal animation helper */
.reveal {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.show {
  opacity: 1;
  transform: none;
}

/* Footer */
footer {
  background: var(--surface);
  padding: 28px 20px;
  text-align: center;
  color: #22262a;
  box-shadow: 0 -4px 14px rgba(36, 41, 46, 0.04);
}

/* Utility */
.scroll-down {
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
}

/* Accessibility */
.main-nav a:focus,
.main-nav button:focus,
.logo:focus {
  outline: 3px solid rgba(58, 107, 138, 0.12);
  outline-offset: 4px;
}

/* Responsive tweaks */
@media (max-width: 900px) {
  .listing-grid {
    gap: 18px;
  }
  .hero-content {
    padding: 28px 16px;
  }
  .search-bar input {
    min-width: 140px;
  }
}

/* Responsive Navbar */
@media (max-width: 900px) {
  .main-nav {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 10px 8px;
  }
  .logo {
    font-size: 1.2rem;
    margin-bottom: 4px;
  }
  .nav-links {
    gap: 10px;
    font-size: 1rem;
  }
}
@media (max-width: 600px) {
  .main-nav {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: 6px 4px;
  }
  .logo {
    font-size: 1rem;
    margin-bottom: 2px;
  }
  .nav-links {
    gap: 6px;
    font-size: 0.95rem;
  }
}

/* Responsive Hero Section */
.hero-content.container {
  padding: 1.5rem 1rem;
  border-radius: 12px;
  max-width: 98vw;
}
.headline {
  font-size: 2.2rem;
}
@media (max-width: 600px) {
  .hero-content.container {
    padding: 1rem 0.5rem;
    border-radius: 8px;
  }
  .headline {
    font-size: 1.3rem;
  }
  .subhead {
    font-size: 1rem;
  }
}

/* Responsive Listing Grid */
.listing-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
}
.listing-item {
  flex: 1 1 300px;
  max-width: 340px;
  min-width: 220px;
  box-sizing: border-box;
  margin: 0;
}
@media (max-width: 900px) {
  .listing-grid {
    gap: 14px;
  }
  .listing-item {
    max-width: 48vw;
    min-width: 160px;
  }
}
@media (max-width: 600px) {
  .listing-grid {
    flex-direction: column;
    gap: 10px;
  }
  .listing-item {
    max-width: 100%;
    min-width: 0;
  }
}

/* Responsive Contact & About Sections */
.about-us,
.contact-us {
  padding: 1.5rem 1rem;
  max-width: 98vw;
  margin: 0 auto;
  border-radius: 12px;
}
@media (max-width: 600px) {
  .about-us,
  .contact-us {
    padding: 1rem 0.5rem;
    border-radius: 8px;
  }
}

/* Small polish */
.no-results {
  padding: 12px;
  margin-top: 12px;
  color: #b44;
  font-weight: 700;
  text-align: center;
}

/* Enhanced hero section styles */
.hero .headline {
  font-family: "Playfair Display", serif;
  font-size: 3.2rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -1px;
  text-shadow: 0 4px 24px rgba(30, 41, 59, 0.18);
  margin-bottom: 0.5rem;
}
.hero .subhead {
  font-family: "Inter", sans-serif;
  font-size: 1.25rem;
  color: #f3f4f6;
  font-weight: 400;
  margin-bottom: 1.5rem;
  text-shadow: 0 2px 8px rgba(30, 41, 59, 0.1);
}
.hero-actions .btn.primary {
  background: linear-gradient(90deg, #ff7a59, #ff5a86);
  color: #fff;
  font-weight: 600;
  font-size: 1.08rem;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 12px rgba(255, 90, 134, 0.1);
}
.hero-actions .btn {
  font-family: "Inter", sans-serif;
}
.hero-stats {
  color: #fff;
  font-family: "Inter", sans-serif;
  font-size: 1.08rem;
  font-weight: 500;
  text-shadow: 0 2px 8px rgba(30, 41, 59, 0.1);
}
.hero-stats strong {
  font-family: "Playfair Display", serif;
  font-size: 1.25rem;
  color: #ffe6d6;
  font-weight: 700;
}

/* Button styles update */
.btn,
.btn-ghost,
.btn-cta {
  background: #fff !important;
  color: #111 !important;
  border: 1.5px solid #e0e0e0;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(36, 41, 46, 0.04);
  transition: background 0.2s, color 0.2s, border 0.2s;
}
.btn:hover,
.btn-ghost:hover,
.btn-cta:hover {
  background: #f3f3f3 !important;
  color: #000 !important;
  border-color: #bdbdbd;
}

/* Contact Us button and Trusted Since 2000 badge */
.btn-ghost,
.badge {
  background: #fff !important;
  color: #111 !important;
  border: 1.5px solid #e0e0e0;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(36, 41, 46, 0.04);
}
/* Search button */
.btn.primary,
.btn-cta {
  background: orange !important;
  color: #fff !important;
  border: none;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(255, 140, 0, 0.1);
}
.btn.primary:hover,
.btn-cta:hover {
  background: #ff8800 !important;
}

/* End stylesheet */
