.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.properties-header {
  text-align: center;
}

.view-more-btn {
  display: block;
  margin-left: auto;
  margin-right: auto;
}


:root {
  --bg-dark: #ccd1e7;
  --text-main: #000000;
  --text-muted: #072756;
  --shadow-soft: 0 18px 45px rgba(15, 23, 42, 0.35);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: radial-gradient(circle at top, #b3bdd3, #b3bdd3);
  color: var(--text-main);
}

/* MAIN WRAPPER */
.app {
  min-height: 100vh;
}

/* NAVBAR */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 4rem;
  background: radial-gradient(circle at top, #6081c8, #6081c8);
  position: sticky;
  top: 0;
  z-index: 10;
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.logo-circle {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 30%, #60a5fa, #1d4ed8);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 30px rgba(37, 99, 235, 0.6);
}

.logo-mark {
  color: white;
  font-weight: 700;
  font-size: 1.05rem;
}

.logo-text {
  color: #000000;
  font-weight: 800;
  font-size: 1.25rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.8rem;
}

.nav-link {
  color: #000000;
  font-weight: 600;
  font-size: 1.05rem;
  text-decoration: none;
  position: relative;
  padding-bottom: 0.2rem;
}

.nav-link:hover {
  color: #ffffff;
}

.nav-link-active {
  color: #ffffff;
}

.nav-link-active::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.25rem;
  width: 100%;
  height: 2px;
  border-radius: 999px;
  background: #ffffff;
}

.nav-cta {
  text-decoration: none;
  padding: 0.55rem 1.5rem;
  border-radius: 999px;
  border: 2px solid #000000;
  background: transparent;
  color: #000000;
  font-size: 0.9rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.nav-cta:hover {
  background: rgba(255, 255, 255, 0.9);
}

.nav-cta-arrow {
  font-size: 1.1rem;
}

/* HERO */

.hero {
  padding: 3.5rem 4rem 3rem;
}

.hero-content {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}


.hero-title {
  font-size: 3.2rem;
  line-height: 1.1;
  margin: 0 0 0.8rem;
}

.hero-subtitle {
  margin: 0 0 2rem;
  color: var(--text-muted);
}

/* SEARCH BAR */

.search-wrapper {
  display: flex;
  align-items:center;
  max-width: 650px;
  background: #7d93f642;
  border-radius: 999px;
  padding: 0.35rem;
  border: 1px solid rgba(148, 163, 184, 0.6);
  box-shadow: 0 20px 45px rgba(15, 23, 42, 0.9);
}

.search-input-group {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0 1rem;
}

.search-icon {
  font-size: 1rem;
}

.search-input {
  flex: 1;
  border: none;
  outline: none;
  background: transparent;
  color: var(--text-main);
  font-size: 0.95rem;
}

.search-input::placeholder {
  color: #9ca3af;
}

.search-btn {
  border-radius: 999px;
  border: none;
  background: #ffffff;
  color: #1d4ed8;
  padding: 0 2rem;
  font-weight: 600;
  cursor: pointer;
}

/* PRESENT IN */

.cities-section {
  margin-top: 2.2rem;
}

.cities-title {
  margin: 0 0 0.8rem;
  font-size: 1rem;
}
.main-city-card {
  position: relative;
  width: 100%;
  max-width: 600px;
  height: 200px;
  margin: 1.5rem auto 2rem;      /* centers it */
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 20px 45px rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.main-city-bg {
  width: 100%;
  height: 100%;
  background-image: url("https://www.pinnacleproperties4u.com/img/luxury-apartments-for-rent-in-chennai-mumbai-pune-bangalore.jpg");
  background-size: cover;
  background-position: center;
  filter: brightness(0.40);
}

.main-city-info {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: white;
  backdrop-filter: brightness(1.1);
}

.main-city-info h2 {
  margin: 0;
  font-size: 2rem;
  font-weight: 700;
}

.main-city-info p {
  margin-top: 0.4rem;
  font-size: 1rem;
  color: #d1d5db;
}

.cities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1.3rem;
}


.city-card {
  width: 150px;
  height: 120px;
  background: #ffffff;
  border-radius: 22px;
  box-shadow: var(--shadow-soft);
  display: flex;
  /* align-items: center; */
  justify-content: center;
  color: #111827;
  cursor: pointer;
}

.city-info h4 {
  margin: 0 0 0.2rem;
}

.city-info p {
  margin: 0;
  font-size: 0.8rem;
  color: #6b7280;
}

/* FEATURED PROPERTIES */

.properties-section {
  margin-top: 2.5rem;
  padding: 1.5rem 1.25rem 1.75rem;
  border-radius: 24px;
  background: #6f7694;
  border: 1px solid rgba(148, 163, 184, 0.4);
  box-shadow: 0 20px 45px rgba(15, 23, 42, 0.9);
}

.properties-header h3 {
  margin: 0;
  font-size: 1.1rem;
}

.properties-header p {
  margin: 0.3rem 0 1.2rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.properties-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  width: 100%;
}


.property-card {
  background: #000000;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.35);
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.8);
  display: flex;
  flex-direction: column;
  cursor: pointer;
}

.property-image {
  height: 110px;
  background-image: url("https://images.unsplash.com/photo-1496307042754-b4aa456c4a2d?auto=format&fit=crop&w=800&q=80");
  background-size: cover;
  background-position: center;
}

.property-content {
  padding: 0.9rem 1rem 1rem;
}

.property-content h4 {
  margin: 0 0 0.3rem;
  font-size: 0.95rem;
  color: #b9bbc2;
}

.property-location {
  margin: 0;
  font-size: 0.8rem;
  color: #9ca3af;
}

.property-price {
  margin: 0.5rem 0 0.4rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: #bfdbfe;
}

.property-tag {
  display: inline-block;
  font-size: 0.75rem;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  background: rgba(34, 197, 94, 0.12);
  color: #bbf7d0;
  border: 1px solid rgba(34, 197, 94, 0.5);
}

.property-tag-premium {
  background: rgba(249, 115, 22, 0.15);
  color: #fed7aa;
  border-color: rgba(249, 115, 22, 0.8);
}

.property-tag-hot {
  background: rgba(248, 113, 113, 0.15);
  color: #fecaca;
  border-color: rgba(248, 113, 113, 0.8);
}

/* VIEW MORE BUTTON */

.view-more-btn {
  margin-top: 1.4rem;
  width: 40%;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.8);
  background: transparent;
  color: var(--text-main);
  padding: 0.7rem 1rem;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
}

/* RESPONSIVE */

@media (max-width: 900px) {
  .nav {
    padding: 1rem 1.2rem;
  }

  .nav-links {
    display: none;
  }

  .hero {
    padding: 2.5rem 1.2rem 2.5rem;
  }
}
/* ============================
   ABOUT US SECTION
============================ */

.about-section {
  margin-top: 3rem;
  padding: 2.5rem 1.5rem 3rem;
  background: #6f7694;
  border: 1px solid rgba(148, 163, 184, 0.3);
  border-radius: 20px;
  box-shadow: 0 20px 45px rgba(15, 23, 42, 0.7);
}

.about-title {
  text-align: center;
  font-size: 1.8rem;
  margin: 0;
}

.about-subtitle {
  text-align: center;
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 700px;
  margin: 0.8rem auto 2rem;
  line-height: 1.6;
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.about-card {
  background: #000000;
  padding: 1.5rem;
  border-radius: 16px;
  border: 1px solid rgba(148, 163, 184, 0.3);
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.7);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.about-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.9);
}

.about-card h3 {
  margin: 0 0 0.6rem;
  color: #ffffff;
  font-size: 1.1rem;
}

.about-card p {
  margin: 0;
  color: #d1d5db;
  font-size: 0.95rem;
  line-height: 1.5;
}
/* =========================================
   SIMPLE GOOGLE-LIKE SEARCH BAR
========================================= */

.simple-search {
  width: 100%;
  max-width: 620px;
  margin: 2rem auto; /* centers it */
  background: white;
  display: flex;
  align-items: center;
  padding: 0.6rem 1rem;
  border-radius: 999px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.15);
  gap: 0.7rem;
}

.simple-search-input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 1rem;
  color: #111;
}

.simple-search-input::placeholder {
  color: #555;
}

.simple-search-btn {
  border: none;
  background: #2563eb;
  color: white;
  padding: 0.45rem 1.2rem;
  border-radius: 999px;
  font-size: 0.95rem;
  cursor: pointer;
  transition: background 0.15s ease;
}

.simple-search-btn:hover {
  background: #1d4ed8;
}

.search-icon {
  font-size: 1rem;
  opacity: 0.6;
}
/* ===========================================
   HORIZONTAL SCROLLING PROPERTY ROW
=========================================== */

.properties-row {
  display: flex;
  gap: 1.3rem;
  overflow-x: auto;
  padding-bottom: 1rem;
  padding-top: 1rem;
  margin-top: 1.2rem;

  /* hide scrollbar for modern UI */
  scrollbar-width: none;            /* Firefox */
}

.properties-row::-webkit-scrollbar {
  display: none;                   /* Chrome / Edge / Safari */
}

.property-card {
  min-width: 260px;        /* fixed width for scrolling */
  flex-shrink: 0;          /* prevents cards from shrinking */
  background: #020617;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.35);
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.8);
  cursor: pointer;
  transition: transform 0.2s ease;
}

.property-card:hover {
  transform: translateY(-4px);
}

.property-image {
  height: 110px;
  background-size: cover;
  background-position: center;
  background-image: url("https://images.unsplash.com/photo-1496307042754-b4aa456c4a2d?auto=format&fit=crop&w=800&q=80");
}

.property-content {
  padding: 0.9rem 1rem;
}
/* ===========================================
                 FOOTER
=========================================== */

.footer {
  margin-top: 3rem;
  background: #6081c8;
  padding: 2rem 1.5rem;
  border-top: 1px solid rgba(148, 163, 184, 0.3);
  text-align: center;
}

.footer-container {
  max-width: 1100px;
  margin: auto;
}

.footer-social {
  display: flex;
  justify-content: center;
  gap: 1.2rem;
  margin-bottom: 1rem;
}

.footer-icon img {
  width: 32px;
  height: 32px;
  filter: brightness(0.9);
  transition: transform 0.2s ease, filter 0.2s ease;
}

.footer-icon img:hover {
  transform: scale(1.12);
  filter: brightness(1.2);
}

.footer-copy {
  margin-top: 1rem;
  font-size: 0.9rem;
  color: #000000;
}
.property-image {
  height: 140px;
  background-size: cover;
  background-position: center;
  border-radius: 14px;
  width: 100%;
}
