/* JP Infra Developers - Premium Real Estate Theme
   Clean, compact CSS */

/* ========== VARIABLES ========== */
:root {
  --orange: #FFA626;
  --orange-soft: rgba(255, 166, 38, 0.12);
  --black: #111827;
  --white: #FFFFFF;
  --bg: #F6F6F7;
  --grey: #6B7280;
  --grey-light: #E5E7EB;
  --shadow-soft: 0 8px 24px rgba(15, 23, 42, 0.08);
  --radius: 10px;
  --transition: all 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--black);
  line-height: 1.6;
  background-color: var(--white);
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

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

.section {
  padding: 80px 0;
}

.section-title {
  font-size: 2.3rem;
  font-weight: 600;
  text-align: center;
  margin-bottom: 45px;
  position: relative;
}

.section-title::after {
  content: '';
  width: 70px;
  height: 3px;
  background: var(--orange);
  display: block;
  margin: 14px auto 0;
  border-radius: 999px;
}

/* ========== BUTTONS ========== */
.btn {
  display: inline-block;
  padding: 12px 28px;
  background: var(--orange);
  color: var(--black);
  border-radius: 999px;
  font-weight: 500;
  font-size: 0.95rem;
  border: 1px solid var(--orange);
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(255, 166, 38, 0.35);
  transition: var(--transition);
}

.btn:hover {
  background: var(--black);
  color: var(--white);
  border-color: var(--black);
  transform: translateY(-2px);
}

.btn-secondary {
  background: transparent;
  color: var(--black);
  border-color: var(--black);
  box-shadow: none;
}

.btn-secondary:hover {
  background: var(--black);
  color: var(--white);
}

/* ========== HEADER + NAVBAR ========== */

/* Wrapper: top bar + nav */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--white);
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.05);
}

/* Top bar */
.top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 40px;
  background: #0B1120;
  color: #F9FAFB;
  font-size: 0.82rem;
}

.top-bar-left,
.top-bar-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.top-bar-item a {
  color: #F9FAFB;
}

.top-bar-item a:hover {
  text-decoration: underline;
}

/* Top bar socials */
.top-social-icons {
  display: flex;
  align-items: center;
  gap: 8px;
}

.top-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #F9FAFB;
  transition: transform 0.15s ease, background 0.15s ease;
}

.top-social-link svg {
  display: block;
}

.top-social-link:hover {
  transform: translateY(-1px) scale(1.06);
  background: rgba(255, 255, 255, 0.2);
}

.top-social-link.whatsapp {
  color: #25D366;
}

/* Main navbar */
.navbar {
  background-color: var(--white);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 12px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  height: 48px;
  width: auto;
}

/* Brand */
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.04em;
}

.brand-tagline {
  font-size: 0.75rem;
  color: var(--grey);
}

/* Nav menu */
.nav-menu {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 26px;
}

.nav-link {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--black);
  position: relative;
  padding-bottom: 3px;
}

.nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--orange);
  transition: width 0.25s ease;
}

.nav-link:hover::after {
  width: 100%;
}

.nav-cta {
  padding: 8px 18px;
  border-radius: 999px;
  border: 1px solid var(--orange);
  color: var(--orange);
  font-size: 0.9rem;
}

.nav-cta:hover {
  background: var(--orange);
  color: var(--black);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.hamburger span {
  width: 24px;
  height: 2px;
  background: var(--black);
  transition: var(--transition);
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* ========== HERO ========== */
.hero {
  min-height: 90vh;
  background: linear-gradient(120deg, rgba(15,23,42,0.75), rgba(0,0,0,0.45)),
              url('https://images.unsplash.com/photo-1512917774080-9991f1c4c750?w=1920') center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--white);
}

.hero-content {
  max-width: 850px;
  padding: 0 20px;
}

.hero h1 {
  font-size: 3.1rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.hero p {
  font-size: 1.15rem;
  font-weight: 300;
  margin-bottom: 26px;
  opacity: 0.9;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
  margin-top: 18px;
  font-size: 0.9rem;
}

.hero-meta-item {
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
}

/* ========== GENERIC REAL ESTATE ELEMENTS ========== */

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.75rem;
  background: var(--orange-soft);
  color: var(--black);
}

.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--orange);
}

.stats-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 24px;
}

.stat-item {
  flex: 1 1 160px;
  padding: 14px 18px;
  border-radius: var(--radius);
  background: #FFFFFF;
  box-shadow: var(--shadow-soft);
  text-align: left;
}

.stat-label {
  font-size: 0.78rem;
  color: var(--grey);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin-bottom: 4px;
}

.stat-value {
  font-size: 1.1rem;
  font-weight: 600;
}

/* ========== PROPERTIES GRID ========== */

/* ===== PROPERTIES (Cards) ===== */

.properties-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
}

.property-card {
  background: #ffffff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 18px 45px rgba(15,23,42,0.10);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  position: relative;
  display: flex;
  flex-direction: column;
}

.property-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 65px rgba(15,23,42,0.18);
}

.property-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.property-info {
  padding: 18px 22px 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}

.property-name {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.property-location {
  font-size: 0.9rem;
  color: #6b7280;
}

.property-desc {
  font-size: 0.88rem;
  color: #6b7280;
  margin-top: 4px;
}

/* footer area: button niche */
.property-footer {
  margin-top: 14px;
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

/* View Details button styling inside card */
.property-card .btn.btn-property {
  padding: 10px 26px;
  border-radius: 999px;
  font-size: 0.9rem;
  box-shadow: 0 14px 30px rgba(255,166,38,0.55);
}





.badge-ready-move {
  color: #047857;
  border: 1px solid #22c55e;
}

.badge-possession-soon {
  color: #1d4ed8;
  border: 1px solid #60a5fa;
}

.badge-sold-out {
  color: #991b1b;
  border: 1px solid #fecaca;
  background: #fef2f2;
}

/* ========== MEDIA COVERAGE / GALLERY CARDS ========== */

.media-coverage {
  background: var(--bg);
}

.media-grid,
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
}

.media-card,
.gallery-item {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  cursor: pointer;
  transition: var(--transition);
  position: relative;
}

.media-card:hover,
.gallery-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 32px rgba(15,23,42,0.18);
}

.media-image,
.gallery-item img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.media-caption {
  padding: 14px;
  text-align: center;
  font-weight: 500;
  font-size: 0.95rem;
}

/* Slider */
.media-slider {
  position: relative;
  overflow: hidden;
  margin-top: 28px;
}

.slider-container {
  display: flex;
  gap: 22px;
  transition: transform 0.5s ease;
}

.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: var(--orange);
  color: var(--black);
  border: none;
  cursor: pointer;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 24px rgba(255,166,38,0.4);
}

.slider-arrow:hover {
  background: var(--black);
  color: var(--white);
}

.slider-arrow.prev { left: 6px; }
.slider-arrow.next { right: 6px; }

/* ========== AMENITIES ========== */

.amenities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 22px;
  margin-top: 24px;
}

.amenity-item {
  text-align: center;
  padding: 16px;
  border-radius: var(--radius);
  transition: var(--transition);
}

.amenity-item:hover {
  background: var(--bg);
  transform: translateY(-4px);
}

.amenity-image {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: var(--radius);
  margin-bottom: 10px;
}

.amenity-name {
  font-weight: 500;
  font-size: 0.95rem;
}

/* ========== CONTACT ========== */

.contact {
  background: var(--bg);
}

.contact-container {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 40px;
}

.contact-form {
  background: var(--white);
  padding: 32px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  margin-bottom: 6px;
  font-weight: 500;
  font-size: 0.9rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 10px 12px;
  border-radius: 6px;
  border: 1px solid var(--grey-light);
  font-family: inherit;
  font-size: 0.95rem;
  transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--orange);
  box-shadow: 0 0 0 3px var(--orange-soft);
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

.contact-info h3 {
  font-size: 1.6rem;
  margin-bottom: 18px;
}

.contact-details {
  margin-bottom: 24px;
}

.contact-item {
  display: flex;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 0.92rem;
}

.contact-item strong {
  min-width: 90px;
}

/* ========== FOOTER ========== */

.footer {
  background: #020617;
  color: #CBD5F5;
  padding: 32px 0 18px;
  text-align: center;
}

.footer-content {
  margin-bottom: 14px;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin: 18px 0;
}

.social-link {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: rgba(15,23,42,0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.social-link:hover {
  background: var(--orange);
  transform: translateY(-3px);
}

.footer p {
  font-size: 0.85rem;
  color: #9CA3AF;
}

/* ========== ABOUT PAGE ========== */

.about-content {
  max-width: 850px;
  margin: 0 auto 40px;
  text-align: center;
}

.about-content p {
  font-size: 1rem;
  color: var(--grey);
  margin-bottom: 14px;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 22px;
}

.value-card {
  background: var(--bg);
  padding: 22px;
  border-radius: var(--radius);
  text-align: left;
  transition: var(--transition);
}

.value-card:hover {
  background: var(--white);
  box-shadow: var(--shadow-soft);
  transform: translateY(-4px);
}

.value-card h3 {
  font-size: 1.1rem;
  color: var(--orange);
  margin-bottom: 6px;
}

/* ========== PROPERTY DETAIL PAGE ========== */

.property-hero {
  height: 55vh;
  background-size: cover;
  background-position: center;
  position: relative;
}

.property-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.75), transparent);
}

.property-hero-content {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  max-width: 1100px;
  width: 100%;
  color: var(--white);
  padding: 0 20px;
}

.property-hero-content h1 {
  font-size: 2.3rem;
}

.property-details {
  padding: 50px 0;
}

.property-overview {
  max-width: 800px;
  margin: 0 auto 30px;
}

.property-overview .location {
  color: var(--orange);
  font-weight: 500;
  margin-bottom: 10px;
}

.highlights {
  background: var(--bg);
  padding: 24px;
  border-radius: var(--radius);
  margin: 26px 0;
}

.highlights h3 {
  margin-bottom: 12px;
}

.highlights ul {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 10px;
  font-size: 0.9rem;
}

.highlights li::before {
  content: '✓';
  color: var(--orange);
  font-weight: 700;
  margin-right: 6px;
}

.property-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
}

.property-gallery-grid img {
  height: 220px;
  object-fit: cover;
  border-radius: var(--radius);
  cursor: pointer;
  transition: var(--transition);
}

.property-gallery-grid img:hover {
  transform: scale(1.03);
  box-shadow: 0 12px 26px rgba(255,166,38,0.35);
}

/* ========== RESPONSIVE ========== */

@media (max-width: 900px) {
  .top-bar {
    padding: 6px 16px;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }

  .nav-container {
    padding: 10px 16px;
  }

  .brand-text {
    display: none;
  }

  .nav-menu {
    position: fixed;
    left: -100%;
    top: 80px;
    width: 100%;
    background: var(--white);
    flex-direction: column;
    padding: 26px 0;
    gap: 18px;
    text-align: center;
    box-shadow: 0 12px 28px rgba(15,23,42,0.2);
    transition: 0.3s;
  }

  .nav-menu.active {
    left: 0;
  }

  .hamburger {
    display: flex;
  }

  .hero h1 {
    font-size: 2.3rem;
  }

  .hero p {
    font-size: 1rem;
  }

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

@media (max-width: 600px) {
  .section {
    padding: 60px 0;
  }

  .hero {
    min-height: 80vh;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .section-title {
    font-size: 1.9rem;
  }

  .top-bar-left {
    flex-wrap: wrap;
  }
}

/* Property status badges */
.badge.status-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(255, 255, 255, 0.96);
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  box-shadow: 0 6px 16px rgba(15,23,42,0.18);
}

/* Different colors by status text */
.badge-new-launch {
  color: #b45309;
  border: 1px solid var(--orange);
}

.badge-ready-move {
  color: #047857;
  border: 1px solid #22c55e;
}

.badge-possession-soon {
  color: #1d4ed8;
  border: 1px solid #60a5fa;
}

.badge-sold-out {
  color: #991b1b;
  border: 1px solid #fecaca;
  background: #fef2f2;
}

/* Image wrapper for hover zoom */
.property-media {
  overflow: hidden;
}

/* Zoom effect */
.property-card:hover .property-image {
  transform: scale(1.06);
}

.property-image {
  transition: transform 0.4s ease;
}

/* Price line */
.property-price {
  font-size: 0.9rem;
  color: #4b5563;
  margin-top: 4px;
}
.property-price span {
  font-weight: 600;
  color: var(--orange);
}

/* Footer row in card */
.property-footer {
  margin-top: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}

/* WhatsApp mini button */
.property-whatsapp {
  width: 38px;
  height: 38px;
  border-radius: 999px;
  background: #e5f9ed;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #bbf7d0;
  transition: var(--transition);
}
.property-whatsapp:hover {
  background: #22c55e;
  border-color: #16a34a;
}
.property-whatsapp:hover svg path:first-child {
  fill: #ffffff;
}

/* Gradient status badges */
.badge.status-badge {
  position: absolute;
  top: 16px;
  left: 18px;
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #ffffff;
  border: none;
}

/* Variants */
.badge-new-launch {
  background: linear-gradient(135deg, #f97316, #facc15);
}

.badge-ready-move {
  background: linear-gradient(135deg, #22c55e, #16a34a);
}

.badge-possession-soon {
  background: linear-gradient(135deg, #3b82f6, #1d4ed8);
}

.badge-sold-out {
  background: linear-gradient(135deg, #f97373, #b91c1c);
}
