/* ========================================================
   THEME PALETTE & CSS VARIABLES
   ======================================================== */
:root {
  --primary-color: #121417;        /* Charcoal / Dark Slate Black */
  --primary-light: #1C1E22;
  --accent-color: #F15A24;         /* Vibrant Bright Orange */
  --accent-hover: #D94814;
  --highlight-color: #FFB800;      /* Warm Golden Yellow */
  --white: #FFFFFF;
  --bg-light: #F8F9FA;             /* Subtle Light Grey */
  --border-color: #E9ECEF;
  --text-dark: #212529;
  --text-muted: #6C757D;
  --font-main: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  --transition: all 0.3s ease;
  --shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-main);
  background-color: var(--white);
  color: var(--text-dark);
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
}

.section-padding {
  padding: 70px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 45px;
}

.section-title h2 {
  font-size: 2.2rem;
  color: var(--primary-color);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.section-title p {
  color: var(--accent-color);
  font-weight: 600;
  font-size: 1.05rem;
  margin-top: 5px;
}

.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 5px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: var(--transition);
}

.btn-primary {
  background-color: var(--accent-color);
  color: var(--white);
}

.btn-primary:hover {
  background-color: var(--accent-hover);
}

.btn-secondary {
  background-color: transparent;
  color: var(--white);
  border: 2px solid var(--white);
}

.btn-secondary:hover {
  background-color: var(--white);
  color: var(--primary-color);
}

/* ========================================================
   HEADER & NAVBAR
   ======================================================== */
header {
  background-color: var(--primary-color);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
}

.logo-container a {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--accent-color); /* Premium Orange circular border */
  display: block;
}

.logo-text {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--white);
}

.logo-text span {
  color: var(--accent-color);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 25px;
}

.nav-links a {
  color: var(--white);
  font-size: 0.95rem;
  font-weight: 500;
  transition: var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--accent-color);
}

.hamburger {
  display: none;
  font-size: 1.6rem;
  color: var(--white);
  cursor: pointer;
}

/* ========================================================
   HERO BANNER
   ======================================================== */
.hero {
  background: linear-gradient(rgba(18, 20, 23, 0.78), rgba(18, 20, 23, 0.78)), 
              url('https://images.unsplash.com/photo-1600585154340-be6161a56a0c?auto=format&fit=crop&w=1600&q=80') center/cover no-repeat;
  min-height: 85vh;
  display: flex;
  align-items: center;
  text-align: center;
  color: var(--white);
}

.hero-content h1 {
  font-size: 3.2rem;
  margin-bottom: 12px;
  letter-spacing: 1px;
}

.hero-content h1 span {
  color: var(--highlight-color);
}

/* ========================================================
   PREMIUM HERO TAGLINE STYLING (DIRECT CSS ONLY)
   ======================================================== */
.hero-tagline {
  display: inline-block;
  font-size: 1.15rem;
  font-style: italic;
  font-weight: 500;
  letter-spacing: 0.8px;
  color: #ffffff;
  
  /* Glassmorphism Capsule Box */
  background: rgba(18, 20, 23, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  
  /* Luxury Gold Borders & Shadow */
  border: 1px solid rgba(255, 184, 0, 0.45);
  border-left: 4px solid var(--accent-color); /* Bright Orange left accent */
  border-right: 4px solid var(--highlight-color); /* Golden Yellow right accent */
  border-radius: 50px;
  padding: 10px 26px;
  margin: 18px auto 30px auto;
  
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4), 
              inset 0 0 12px rgba(255, 184, 0, 0.08);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.7);
}

/* Elegant quotation marks using CSS pseudo-elements */
.hero-tagline::before {
  content: "“ ";
  color: var(--highlight-color);
  font-size: 1.4rem;
  font-family: Georgia, serif;
  line-height: 0;
  vertical-align: -2px;
}

.hero-tagline::after {
  content: " ”";
  color: var(--highlight-color);
  font-size: 1.4rem;
  font-family: Georgia, serif;
  line-height: 0;
  vertical-align: -2px;
}

/* Mobile responsive font */
@media (max-width: 768px) {
  .hero-tagline {
    font-size: 0.95rem;
    padding: 8px 18px;
    letter-spacing: 0.4px;
  }
}

.hero-btns {
  display: flex;
  justify-content: center;
  gap: 15px;
}

/* ========================================================
   STATS BAR
   ======================================================== */
.stats-bar {
  background-color: var(--primary-light);
  color: var(--white);
  padding: 35px 0;
  border-bottom: 4px solid var(--highlight-color);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  text-align: center;
}

.stat-item h3 {
  font-size: 2.2rem;
  color: var(--highlight-color);
}

.stat-item p {
  font-size: 0.95rem;
  color: #adb5bd;
}

/* ========================================================
   REUSABLE DYNAMIC PHOTO GRID (ZERO EXTRA CSS NEEDED)
   ======================================================== */
.dynamic-photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  height: 250px;
  box-shadow: var(--shadow);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.gallery-item:hover img {
  transform: scale(1.08);
}

/* ========================================================
   FEATURED CAROUSEL (PROJECTS PAGE)
   ======================================================== */
.featured-showcase {
  background: var(--white);
  border-radius: 10px;
  box-shadow: var(--shadow);
  overflow: hidden;
  margin-bottom: 50px;
  border: 1px solid var(--border-color);
}

/* ========================================================
   MAIN FEATURED CAROUSEL - AUTO-FIT (NO ZOOM / NO CROP)
   ======================================================== */
.carousel-container {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9; /* Responsive modern aspect ratio */
  max-height: 500px;
  overflow: hidden;
  background-color: #0d0f12; /* Clean dark neutral backdrop */
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-slide.active {
  opacity: 1;
}

.carousel-slide img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain; /* Photo bilkul zoom nahi hogi, puri clear dikhegi */
  object-position: center;
  margin: auto;
  display: block;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(18, 20, 23, 0.65);
  color: var(--white);
  border: none;
  font-size: 1.5rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  z-index: 10;
}

.carousel-btn:hover {
  background-color: var(--accent-color);
}

.carousel-btn.prev { left: 15px; }
.carousel-btn.next { right: 15px; }

.carousel-indicators {
  position: absolute;
  bottom: 15px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}

.indicator-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: var(--transition);
}

.indicator-dot.active {
  background: var(--accent-color);
  width: 25px;
  border-radius: 6px;
}

.featured-details {
  padding: 30px;
}

.badge {
  display: inline-block;
  padding: 5px 12px;
  border-radius: 4px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.badge-featured {
  background: var(--accent-color);
  color: var(--white);
}

.amenities-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0;
}

.amenity-chip {
  background: var(--bg-light);
  border: 1px solid var(--border-color);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.85rem;
  color: var(--text-dark);
}


/* ========================================================
   UNIVERSAL AUTO-FIT CARD & IMAGE SYSTEM
   ======================================================== */

/* Grid layout with equal row heights */
.properties-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
  align-items: stretch; /* Sabhi cards ek samaan unchai me rahenge */
}

/* Card container */
.property-card {
  background: var(--white);
  border-radius: 8px;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
}

/* Photo Wrapper - Automatic aspect ratio (16:9 standard card ratio) */
.property-img,
.card-carousel {
  width: 100%;
  aspect-ratio: 16 / 10; /* Har photo ko automatic uniform box dega */
  overflow: hidden;
  background-color: #1a1c20; /* Blank/loading space ke liye clean neutral dark */
  flex-shrink: 0;
  position: relative;
}

/* Kisi bhi image ko bina stretch ya distortion ke fit karna */
.property-img img,
.card-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Har photo frame me auto-crop hokar clean fit hogi */
  object-position: center;
  display: block;
}

/* Content Area - Auto-align text and bottom buttons */
.property-info {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

/* Bottom Meta & Buttons alignment */
.property-meta {
  margin-top: auto; /* Buttons aur badges hamesha bottom par ek seedh me lock rahenge */
  padding-top: 15px;
  border-top: 1px solid var(--border-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
/* Card Slider Box */
.card-carousel {
  position: relative;
  width: 100%;
  height: 240px; /* Card image height */
  overflow: hidden;
  background-color: #121417;
}

.card-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
  pointer-events: none;
}

.card-slide.active {
  opacity: 1;
  pointer-events: auto;
}

.card-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Reusable Nav Buttons for Cards */
.card-carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(18, 20, 23, 0.7);
  color: var(--white);
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  transition: var(--transition);
  z-index: 5;
}

.card-carousel-btn:hover {
  background: var(--accent-color);
}

.card-carousel-btn.prev {
  left: 10px;
}

.card-carousel-btn.next {
  right: 10px;
}

/* Dots Indicator for Cards */
.card-indicators {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  z-index: 5;
}

.card-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: var(--transition);
}

.card-dot.active {
  background: var(--accent-color);
  width: 18px;
  border-radius: 4px;
}

/* Property Info Content */
.property-info {
  padding: 22px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  justify-content: space-between;
}

/* ========================================================
   ABOUT PAGE & FOUNDER'S SPOTLIGHT
   ======================================================== */
.founder-card {
  display: grid;
  grid-template-columns: 350px 1fr;
  gap: 40px;
  background: var(--bg-light);
  padding: 40px;
  border-radius: 10px;
  border-left: 5px solid var(--accent-color);
  box-shadow: var(--shadow);
  align-items: center;
}

.founder-img-wrapper {
  height: 400px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.founder-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.founder-content h3 {
  font-size: 1.8rem;
  color: var(--primary-color);
}

.founder-designation {
  font-size: 1rem;
  color: var(--accent-color);
  font-weight: 600;
  margin-bottom: 18px;
}

.founder-quote {
  font-size: 1.15rem;
  font-style: italic;
  color: var(--primary-color);
  border-left: 3px solid var(--highlight-color);
  padding-left: 15px;
  margin-bottom: 18px;
}

/* ========================================================
   CONTACT & MAP SECTION
   ======================================================== */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.contact-card, .map-card {
  background: var(--white);
  padding: 30px;
  border-radius: 8px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border-color);
}

.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 6px;
}

.form-group input, 
.form-group select, 
.form-group textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ced4da;
  border-radius: 4px;
  font-family: inherit;
  font-size: 0.95rem;
}

.form-group input:focus, 
.form-group select:focus, 
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent-color);
}

.map-container {
  width: 100%;
  height: 280px;
  border-radius: 6px;
  overflow: hidden;
  margin-top: 20px;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* ========================================================
   FOOTER & WHATSAPP BUTTON
   ======================================================== */
footer {
  background-color: var(--primary-color);
  color: var(--white);
  padding: 60px 0 20px;
  border-top: 3px solid var(--accent-color);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 35px;
  margin-bottom: 40px;
}

.footer-col h4 {
  font-size: 1.15rem;
  margin-bottom: 18px;
  color: var(--highlight-color);
}

.footer-col p {
  color: #adb5bd;
  font-size: 0.92rem;
  margin-bottom: 12px;
}

.footer-col ul li {
  margin-bottom: 8px;
}

.footer-col ul li a {
  color: #adb5bd;
  transition: var(--transition);
}

.footer-col ul li a:hover {
  color: var(--accent-color);
  padding-left: 5px;
}

.social-links {
  display: flex;
  gap: 14px;
  margin-top: 15px;
}

.social-icon {
  width: 38px;
  height: 38px;
  background-color: var(--primary-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  transition: var(--transition);
  border: 1px solid #333;
}

.social-icon:hover {
  background-color: var(--accent-color);
  border-color: var(--accent-color);
}

.copyright {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid #2b2e33;
  color: #868e96;
  font-size: 0.85rem;
}

/* Floating WhatsApp */
.floating-whatsapp {
  position: fixed;
  bottom: 25px;
  right: 25px;
  background-color: #25D366;
  color: var(--white);
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.9rem;
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
  z-index: 999;
  transition: var(--transition);
}

.floating-whatsapp:hover {
  transform: scale(1.1);
  color: var(--white);
}

/* ========================================================
   RESPONSIVE DESIGN
   ======================================================== */
@media (max-width: 900px) {
  .founder-card { grid-template-columns: 1fr; }
  .contact-layout { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .hamburger { display: block; }
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: var(--primary-color);
    flex-direction: column;
    padding: 20px 0;
    display: none;
    border-top: 1px solid #222;
  }
  .nav-links.show { display: flex; }
  .hero-content h1 { font-size: 2.2rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .carousel-container { height: 280px; }
}