/* ────────────────────────────────────────────────
   AASHIYANA RESIDENCES — Premium CSS Design System
   ──────────────────────────────────────────────── */

/* ── TOKENS ── */
:root {
  --navy: #0F172A;
  --navy-mid: #1E293B;
  --gold: #D4AF37;
  --gold-light: #E8C84A;
  --gold-dim: rgba(212,175,55,0.18);
  --white: #FFFFFF;
  --off-white: #F8F7F4;
  --text: #111827;
  --text-muted: #64748B;
  --border: rgba(212,175,55,0.15);
  --glass: rgba(255,255,255,0.04);
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 24px 64px rgba(15,23,42,0.12);
  --shadow-hover: 0 32px 80px rgba(15,23,42,0.2);
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Jost', system-ui, sans-serif;
  --transition: all 0.4s cubic-bezier(0.25,0.46,0.45,0.94);
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
select, input, textarea {
  font-family: var(--font-body);
  font-size: 1rem;
  outline: none;
}
ul { list-style: none; }

/* ── TYPOGRAPHY ── */
.section-label {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
  display: block;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 400;
  line-height: 1.12;
  color: var(--navy);
  margin-bottom: 1rem;
}
.section-title em { font-style: italic; color: var(--gold); }
.section-sub {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 560px;
}

/* ── CONTAINER ── */
.container { max-width: 1240px; margin: 0 auto; padding: 0 2rem; }
.section { padding: 6rem 0; }
.section-header { text-align: center; margin-bottom: 3.5rem; }
.section-header .section-sub { margin: 0 auto; }

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.85rem 2rem;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  border-radius: 50px;
  transition: var(--transition);
  white-space: nowrap;
}
.btn-primary {
  background: var(--gold);
  color: var(--navy);
}
.btn-primary:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(212,175,55,0.35);
}
.btn-ghost {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.35);
}
.btn-ghost:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--white);
}
.btn-outline {
  background: transparent;
  color: var(--navy);
  border: 1.5px solid var(--navy);
}
.btn-outline:hover {
  /* background: var(--navy); */
  color: var(--white);
  transform: translateY(-2px);
}
.btn-full { width: 100%; justify-content: center; }
.btn-sm { padding: 0.5rem 1.2rem; font-size: 0.8rem; }

/* ── NAVIGATION ── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 1.25rem 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: var(--transition);
}
.nav.scrolled {
  background: rgba(15,23,42,0.97);
  backdrop-filter: blur(20px);
  padding: 0.9rem 2.5rem;
  box-shadow: 0 1px 0 rgba(212,175,55,0.15);
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--white);
}
.logo-icon {
  font-size: 1.5rem;
  color: var(--gold);
  line-height: 1;
}
.logo-text {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 500;
  letter-spacing: 0.01em;
}

.logo-text em { font-style: italic; color: var(--gold); }
.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav-links a {
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: rgba(255,255,255,0.8);
  transition: color 0.2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--gold); }
.nav-cta {
  background: var(--gold) !important;
  color: var(--navy) !important;
  padding: 0.55rem 1.3rem;
  border-radius: 50px;
  font-weight: 600 !important;
  letter-spacing: 0.03em;
}
.nav-cta:hover { background: var(--gold-light) !important; }
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}
.nav-hamburger span {
  width: 22px;
  height: 1.5px;
  background: var(--white);
  transition: var(--transition);
  display: block;
}
.nav-mobile-menu {
  display: none;
  position: fixed;
  top: 65px; left: 0; right: 0;
  background: rgba(15,23,42,0.98);
  backdrop-filter: blur(20px);
  padding: 1.5rem 2rem;
  flex-direction: column;
  gap: 1rem;
  z-index: 999;
  border-bottom: 1px solid var(--border);
}
.nav-mobile-menu a {
  color: rgba(255,255,255,0.8);
  font-size: 1rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.nav-mobile-menu.open { display: flex; }

/* ── HERO ── */
.hero {
  min-height: 100vh;
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 7rem 2rem 4rem;
}
.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(212,175,55,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(212,175,55,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
}
.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  animation: float 8s ease-in-out infinite;
}
.hero-orb-1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(212,175,55,0.12) 0%, transparent 70%);
  top: -200px; right: -100px;
  animation-delay: 0s;
}
.hero-orb-2 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(212,175,55,0.08) 0%, transparent 70%);
  bottom: -100px; left: 10%;
  animation-delay: -3s;
}
.hero-orb-3 {
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(255,255,255,0.04) 0%, transparent 70%);
  top: 40%; left: 50%;
  animation-delay: -6s;
}
@keyframes float {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-30px) scale(1.05); }
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 820px;
  text-align: center;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(212,175,55,0.1);
  border: 1px solid rgba(212,175,55,0.3);
  color: var(--gold);
  padding: 0.45rem 1.1rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 2rem;
}
.badge-dot {
  width: 6px; height: 6px;
  background: var(--gold);
  border-radius: 50%;
  animation: pulse-dot 2s infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3.2rem, 8vw, 6.5rem);
  font-weight: 300;
  line-height: 1.06;
  color: var(--white);
  margin-bottom: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.title-line { display: block; }
.title-gold { color: var(--gold); font-style: italic; }
.hero-sub {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.75;
  margin-bottom: 2.5rem;
  font-weight: 300;
}
.hero-actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 4rem;
  flex-wrap: wrap;
}
.hero-stats {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}
.stat { text-align: center; }
.stat-num {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 500;
  color: var(--gold);
  display: block;
  line-height: 1;
}
.stat-label {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: 0.3rem;
  display: block;
}
.stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(212,175,55,0.2);
}
.hero-scroll-hint {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255,255,255,0.35);
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
.scroll-line {
  width: 1px;
  height: 50px;
  background: linear-gradient(to bottom, rgba(212,175,55,0.5), transparent);
  animation: scroll-pulse 1.8s ease-in-out infinite;
}
@keyframes scroll-pulse {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  51% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ── MARQUEE ── */
.marquee-wrap {
  background: var(--navy-mid);
  overflow: hidden;
  padding: 0.85rem 0;
  border-top: 1px solid rgba(212,175,55,0.1);
  border-bottom: 1px solid rgba(212,175,55,0.1);
}
.marquee-track {
  display: flex;
  white-space: nowrap;
  animation: marquee 30s linear infinite;
  gap: 1.5rem;
}
.marquee-track span {
  color: rgba(255,255,255,0.5);
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.marquee-track .sep { color: var(--gold); opacity: 0.5; }
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ── ABOUT ── */
.about { background: var(--off-white); }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.about-img-wrap {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/5;
}
.about-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}
.about-img-wrap:hover img { transform: scale(1.04); }
.about-img-accent {
  position: absolute;
  bottom: -2px; right: -2px;
  width: 60%;
  height: 60%;
  border: 2px solid var(--gold);
  border-radius: 0 0 var(--radius) 0;
  opacity: 0.4;
  pointer-events: none;
}
.about-visual { position: relative; }
.about-badge-float {
  position: absolute;
  bottom: 2rem;
  left: -2rem;
  background: var(--white);
  border-radius: var(--radius-sm);
  padding: 1rem 1.4rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  box-shadow: 0 20px 60px rgba(15,23,42,0.12);
  border: 1px solid var(--border);
}
.float-icon { font-size: 2rem; }
.float-num {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--navy);
  line-height: 1;
}
.float-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 0.2rem;
}
.about-para {
  font-size: 1.05rem;
  color: #374151;
  line-height: 1.8;
  margin-bottom: 1.25rem;
  font-weight: 300;
}
.about-pillars {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-top: 2rem;
}
.pillar {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--navy);
}
.pillar-icon {
  width: 22px; height: 22px;
  background: var(--gold);
  color: var(--navy);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 700;
  flex-shrink: 0;
}

/* ── PROPERTY CARDS ── */
.properties-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 2rem;
}
.property-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  cursor: pointer;
  border: 1px solid rgba(0,0,0,0.05);
}
.property-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}
.card-img-wrap {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
}
.card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.7s ease;
}
.property-card:hover .card-img-wrap img { transform: scale(1.06); }
.card-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: var(--gold);
  color: var(--navy);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.3rem 0.8rem;
  border-radius: 50px;
}
/* Update your existing badge style */
.card-type-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(15,23,42,0.75);
  color: var(--white);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  padding: 0.3rem 0.8rem;
  border-radius: 50px;
  backdrop-filter: blur(10px);
  
  /* CRITICAL FIX: Forces this badge to sit on top of the hover animation layer */
  z-index: 15; 
}

/* Add or update this for the Featured badge as well */
.card-badge {
  position: absolute;
  top: 1rem;
  left: 1rem; /* Usually sits on the left side */
  z-index: 15; /* CRITICAL FIX: Keeps it matching the top layer */
}
.card-body { padding: 1.6rem; }
.card-location {
  font-size: 0.75rem;
  color: var(--gold);
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 0.4rem;
}
.card-name {
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 500;
  color: var(--navy);
  margin-bottom: 0.75rem;
  line-height: 1.2;
}
.card-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.25rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.card-specs {
  display: flex;
  gap: 1.2rem;
  margin-bottom: 1.4rem;
  flex-wrap: wrap;
}
.card-spec {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.8rem;
  color: #4B5563;
}
.card-spec-icon { font-size: 0.85rem; }
.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(0,0,0,0.07);
  padding-top: 1.1rem;
}
.card-price {
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 600;
  color: var(--navy);
}
.card-cta {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 0.04em;
  display: flex;
  align-items: center;
  gap: 0.3rem;
  transition: gap 0.2s;
}
.property-card:hover .card-cta { gap: 0.5rem; }

/* ── WHY US ── */
.why-us { background: var(--navy); position: relative; overflow: hidden; }
.why-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(212,175,55,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(212,175,55,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
}
.why-us .section-title { color: var(--white); }
.why-us .section-label { color: var(--gold); }
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
  position: relative;
  z-index: 1;
}
.why-card {
  background: var(--glass);
  border: 1px solid rgba(212,175,55,0.12);
  border-radius: var(--radius);
  padding: 2.2rem;
  transition: var(--transition);
  backdrop-filter: blur(10px);
}
.why-card:hover {
  border-color: rgba(212,175,55,0.35);
  background: rgba(212,175,55,0.05);
  transform: translateY(-4px);
}
.why-icon {
  font-size: 2.2rem;
  margin-bottom: 1.1rem;
  display: block;
}
.why-card h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 500;
  color: var(--white);
  margin-bottom: 0.6rem;
}
.why-card p {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.7;
}

/* ── TESTIMONIALS ── */
.testimonials { background: var(--off-white); }
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
}
.testimonial-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem;
  border: 1px solid rgba(0,0,0,0.06);
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
  transition: var(--transition);
}
.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.stars {
  color: var(--gold);
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
}
.testimonial-card > p {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 300;
  font-style: italic;
  color: #374151;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}
.author-avatar {
  width: 42px; height: 42px;
  background: linear-gradient(135deg, var(--navy), var(--navy-mid));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  flex-shrink: 0;
}
.author-name {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--navy);
}
.author-desc {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 0.15rem;
}

/* ── CONTACT ── */
.contact { background: var(--white); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 5rem;
  align-items: start;
}
.contact-desc {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 2rem;
  font-weight: 300;
}
.contact-details { display: flex; flex-direction: column; gap: 1.2rem; margin-bottom: 2rem; }
.contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.3rem;
  background: var(--off-white);
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  transition: var(--transition);
}
.contact-item:hover {
  border-color: var(--gold);
  background: rgba(212,175,55,0.05);
}
.contact-icon { font-size: 1.3rem; }
.ci-label { font-size: 0.7rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.1em; }
.ci-value { font-weight: 500; color: var(--navy); font-size: 0.92rem; margin-top: 0.15rem; }
.social-links { display: flex; gap: 0.85rem; }
.social-link {
  width: 40px; height: 40px;
  background: var(--off-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy-mid);
  transition: var(--transition);
  border: 1px solid rgba(0,0,0,0.07);
}
.social-link svg { width: 16px; height: 16px; }
.social-link:hover {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
  transform: translateY(-2px);
}
.contact-form-wrap {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2.5rem;
  box-shadow: var(--shadow);
  border: 1px solid rgba(0,0,0,0.06);
}
.contact-form { display: flex; flex-direction: column; gap: 1.1rem; }
.form-group { display: flex; flex-direction: column; gap: 0.4rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group label {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.form-group input,
.form-group select,
.form-group textarea {
  padding: 0.85rem 1rem;
  border: 1.5px solid #E5E7EB;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  color: var(--text);
  background: var(--off-white);
  transition: border-color 0.2s;
  resize: none;
  width: 100%;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--gold);
  background: var(--white);
}
.form-success {
  text-align: center;
  padding: 3rem 1rem;
}
.success-icon {
  width: 60px; height: 60px;
  background: var(--gold);
  color: var(--navy);
  border-radius: 50%;
  font-size: 1.5rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}
.form-success h3 {
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--navy);
}
.form-success p { color: var(--text-muted); margin-top: 0.5rem; }

/* ── SECTION CTA ── */
.section-cta { text-align: center; margin-top: 3rem; }

/* ── FOOTER ── */
.footer {
  background: var(--navy);
  padding: 4rem 0 2rem;
  border-top: 1px solid rgba(212,175,55,0.1);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
.footer-tagline {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.05rem;
  color: rgba(255,255,255,0.45);
  margin-top: 1rem;
  line-height: 1.6;
}
.footer-col h4 {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.2rem;
}
.footer-col ul { display: flex; flex-direction: column; gap: 0.7rem; }
.footer-col li a, .footer-contact-list li {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.5);
  transition: color 0.2s;
  line-height: 1;
}
.footer-col li a:hover { color: var(--gold); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.07);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.footer-bottom p { font-size: 0.8rem; color: rgba(255,255,255,0.3); }

/* ── WHATSAPP FLOAT ── */
.whatsapp-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 999;
  width: 58px; height: 58px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 30px rgba(37,211,102,0.4);
  transition: var(--transition);
}
.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 12px 40px rgba(37,211,102,0.55);
}
.whatsapp-float svg { width: 28px; height: 28px; color: var(--white); fill: var(--white); }
.whatsapp-tooltip {
  position: absolute;
  right: 70px;
  background: var(--navy);
  color: var(--white);
  font-size: 0.78rem;
  padding: 0.4rem 0.9rem;
  border-radius: 6px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
}
.whatsapp-float:hover .whatsapp-tooltip { opacity: 1; }

/* ── MODAL ── */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.75);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s;
  backdrop-filter: blur(6px);
}
.modal-overlay.open {
  opacity: 1;
  pointer-events: all;
}
.modal {
  background: var(--white);
  border-radius: var(--radius);
  max-width: 820px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  transform: scale(0.95) translateY(20px);
  transition: transform 0.35s cubic-bezier(0.25,0.46,0.45,0.94);
  scrollbar-width: thin;
  scrollbar-color: var(--gold) transparent;
}
.modal-overlay.open .modal {
  transform: scale(1) translateY(0);
}
.modal-close {
  position: sticky;
  top: 1rem;
  float: right;
  margin: 1rem 1rem 0 0;
  width: 36px; height: 36px;
  background: var(--off-white);
  border-radius: 50%;
  font-size: 0.85rem;
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  z-index: 10;
}
.modal-close:hover { background: #E5E7EB; }
.modal-images {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 0.5rem;
  margin-bottom: 0;
  height: 300px;
}
.modal-img-main { border-radius: var(--radius) var(--radius) 0 0; overflow: hidden; grid-row: 1 / 3; }
.modal-img-main img { width: 100%; height: 100%; object-fit: cover; }
.modal-img-thumb { overflow: hidden; }
.modal-img-thumb:first-of-type { border-radius: 0 var(--radius) 0 0; }
.modal-img-thumb:last-child { border-radius: 0 0 var(--radius) 0; }
.modal-img-thumb img { width: 100%; height: 100%; object-fit: cover; }
.modal-info { padding: 2rem 2.5rem 2.5rem; }
.modal-location {
  font-size: 0.78rem;
  color: var(--gold);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}
.modal-name {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 500;
  color: var(--navy);
  margin-bottom: 0.5rem;
  line-height: 1.1;
}
.modal-price {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 1.5rem;
}
.modal-specs {
  display: flex;
  gap: 1.5rem;
  padding: 1.2rem 0;
  border-top: 1px solid #F3F4F6;
  border-bottom: 1px solid #F3F4F6;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}
.modal-spec {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.modal-spec-val {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 500;
  color: var(--navy);
}
.modal-spec-label { font-size: 0.72rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.08em; }
.modal-desc {
  font-size: 0.95rem;
  color: #4B5563;
  line-height: 1.75;
  margin-bottom: 1.5rem;
  font-weight: 300;
}
.modal-amenities-title {
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 0.8rem;
}
.amenities-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2rem;
}
.amenity-tag {
  background: var(--off-white);
  border: 1px solid rgba(0,0,0,0.07);
  padding: 0.35rem 0.85rem;
  border-radius: 50px;
  font-size: 0.8rem;
  color: #374151;
}
.modal-actions {
  display: flex;
  gap: 0.85rem;
  flex-wrap: wrap;
}

/* ── LISTINGS PAGE ── */
.listings-page { background: var(--off-white); }
.listings-hero {
  background: var(--navy);
  padding: 8rem 0 3.5rem;
  position: relative;
  overflow: hidden;
}
.listings-hero-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(212,175,55,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(212,175,55,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
}
.listings-hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 300;
  color: var(--white);
  margin-bottom: 0.75rem;
  position: relative;
}
.listings-hero-title em { font-style: italic; color: var(--gold); }
.listings-hero-sub {
  font-size: 1rem;
  color: rgba(255,255,255,0.5);
  font-weight: 300;
  position: relative;
}
.filters-section {
  background: var(--white);
  padding: 2rem 0;
  border-bottom: 1px solid rgba(0,0,0,0.07);
  position: sticky;
  top: 65px;
  z-index: 100;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}
.search-bar-wrap {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--off-white);
  border: 1.5px solid #E5E7EB;
  border-radius: 50px;
  padding: 0.7rem 1.25rem;
  margin-bottom: 1rem;
  transition: border-color 0.2s;
}
.search-bar-wrap:focus-within { border-color: var(--gold); }
.search-icon { font-size: 1rem; color: var(--text-muted); }
.search-input {
  background: none;
  border: none;
  flex: 1;
  font-size: 0.92rem;
  color: var(--text);
}
.search-input::placeholder { color: var(--text-muted); }
.filters-row {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  flex-wrap: wrap;
}
.filter-select {
  padding: 0.6rem 1rem;
  border: 1.5px solid #E5E7EB;
  border-radius: 50px;
  background: var(--off-white);
  font-size: 0.82rem;
  color: var(--text);
  cursor: pointer;
  transition: border-color 0.2s;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%236B7280'%3E%3Cpath fill-rule='evenodd' d='M5.293 7.293a1 1 0 011.414 0L10 10.586l3.293-3.293a1 1 0 111.414 1.414l-4 4a1 1 0 01-1.414 0l-4-4a1 1 0 010-1.414z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.6rem center;
  background-size: 14px;
  padding-right: 2rem;
}
.filter-select:focus { border-color: var(--gold); outline: none; }
.results-count {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 0.75rem;
}
.listings-grid-section { background: var(--off-white); padding: 3rem 0 5rem; }
.no-results {
  text-align: center;
  padding: 5rem 2rem;
  grid-column: 1 / -1;
}
.no-results-icon { font-size: 3rem; margin-bottom: 1rem; }
.no-results h3 {
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--navy);
}
.no-results p { color: var(--text-muted); margin: 0.5rem 0 1.5rem; }

/* ── REVEAL ANIMATIONS ── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .about-grid { grid-template-columns: 1fr; gap: 3rem; }
  .about-visual { max-width: 500px; margin: 0 auto; }
  .about-badge-float { left: 0; }
  .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .hero-title { font-size: clamp(2.4rem, 10vw, 4rem); }
  .properties-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-stats { gap: 1.2rem; }
  .stat-divider { height: 30px; }
  .modal-images { grid-template-columns: 1fr; height: 220px; }
  .modal-img-thumb { display: none; }
  .modal-img-main { grid-row: auto; border-radius: var(--radius) var(--radius) 0 0; }
  .filters-row { flex-wrap: wrap; }
  .filter-select { flex: 1; min-width: 140px; }
  .about-badge-float { position: relative; bottom: auto; left: auto; margin-top: 1rem; }
  .about-img-wrap { aspect-ratio: 4/3; }
  .section { padding: 4rem 0; }
  .modal-info { padding: 1.5rem; }
  .modal-actions { flex-direction: column; }
  .modal-actions .btn { width: 100%; justify-content: center; }
}
@media (max-width: 480px) {
  .container { padding: 0 1.25rem; }
  .hero { padding: 6rem 1.25rem 3rem; }
  .btn { padding: 0.75rem 1.5rem; font-size: 0.82rem; }
  .hero-actions { flex-direction: column; align-items: center; }
  .hero-actions .btn { width: 100%; justify-content: center; }
}

/* Slider & Position References */
.slider-container {
  position: relative;
  overflow: hidden;
}

.image-track {
  display: flex;
  width: 100%;
  height: 100%;
  overflow-x: scroll;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
}

.image-track::-webkit-scrollbar {
  display: none; /* Hide default scrollbar tracks cleanly */
}

.image-track img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  flex-shrink: 0;
  scroll-snap-align: start;
}

/* Precise Floating Control Buttons Setup */
.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.9);
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}
.prev-btn { left: 12px; }
.next-btn { right: 12px; }

/* Modal Elements Layout Layer sheets */
/* ────────────────────────────────────────────────
   MODAL CORE ENGINE & OVERLAY LAYER
   ──────────────────────────────────────────────── */

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s cubic-bezier(0.25, 1, 0.5, 1);
  backdrop-filter: blur(6px);
}

/* Supports both .open and .active state injections cleanly */
.modal-overlay.open,
.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-container {
  background: var(--white);
  width: 90%;
  max-width: 850px;
  max-height: 88vh;
  border-radius: var(--radius);
  position: relative;
  overflow-y: auto;
  transform: scale(0.95) translateY(15px);
  transition: transform 0.35s cubic-bezier(0.25, 1, 0.5, 1);
  box-shadow: var(--shadow-hover);
}

.modal-overlay.open .modal-container,
.modal-overlay.active .modal-container {
  transform: scale(1) translateY(0);
}

.modal-close-btn {
  position: absolute;
  top: 15px;
  right: 15px;
  font-size: 22px;
  border: none;
  background: var(--white);
  color: var(--navy);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  transition: var(--transition);
}
.modal-close-btn:hover { background: var(--off-white); color: var(--gold); }

/* ── MODAL INNER CONTENT & METRICS ── */
.modal-slider-wrapper { padding: 20px 20px 0 20px; }
.modal-content-body { padding: 25px 30px 35px 30px; }

.modal-metrics-grid { 
  display: grid; 
  grid-template-columns: repeat(4, 1fr); 
  border-top: 1px solid #f0f0f4; 
  border-bottom: 1px solid #f0f0f4; 
  padding: 15px 0; 
  margin: 20px 0; 
}
.metric-item { display: flex; flex-direction: column; }
.metric-value { font-size: 20px; font-weight: 600; color: var(--navy); }
.metric-label { font-size: 11px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.05em; }

.modal-amenities-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }

/* ────────────────────────────────────────────────
   UNIVERSAL SLIDER & IMAGE TRACK LOCOMOTION
   ──────────────────────────────────────────────── */

/* 1. Shared Image Track properties across both sliders */
.image-track {
  display: flex;
  width: 100%;
  height: 100%;
  overflow-x: scroll;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
}
.image-track::-webkit-scrollbar { display: none; }
.image-track img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  flex-shrink: 0;
  scroll-snap-align: start;
}

/* 2. CARD SLIDER SPECIFIC CONFIG */
.card-img-wrap.slider-container {
  position: relative;
  overflow: hidden;
  height: 240px; 
  z-index: 1;    
}
.card-body {
  position: relative;
  z-index: 5; /* Forces the text content block context over the images */
  cursor: pointer;
}

/* 3. MODAL SLIDER SPECIFIC CONFIG */
.modal-carousel-height {
  height: 380px; 
  border-radius: 12px;
  position: relative;
  overflow: hidden;
}

/* 4. ABSOLUTE POSITIONED FLOATING ARROWS */
.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.9);
  border: none;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
  transition: var(--transition);
}
.slider-btn:hover { background: var(--white); color: var(--gold); }
.prev-btn { left: 16px; }
.next-btn { right: 16px; }

/* ────────────────────────────────────────────────
   RESPONSIVE MEDIA QUERIES
   ──────────────────────────────────────────────── */

@media(max-width: 768px) {
  .modal-metrics-grid { grid-template-columns: repeat(2, 1fr); gap: 15px; }
  .modal-carousel-height { height: 240px; }
  .modal-content-body { padding: 20px; }
  .prev-btn { left: 12px; }
  .next-btn { right: 12px; }
}

.dropdown {
  position: relative;
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  backdrop-filter: blur(12px);

  min-width: 200px;
  margin-top: 0;

  background: var(--navy);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;

  padding: 0.5rem 0;
  list-style: none;

  box-shadow: 0 12px 30px rgba(0,0,0,0.25);
  z-index: 100;
}

.dropdown:hover .dropdown-menu {
  display: block;
}

.dropdown-menu a {
  display: block;
  padding: 0.75rem 1.25rem;

  color: rgba(255,255,255,0.8);
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 0.04em;

  transition: all 0.2s ease;
}

.dropdown-menu a:hover {
  color: var(--gold);
  background: rgba(255,255,255,0.04);
}

/* Container to handle centering */
.logo-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin: 25px 0; /* Adds 25px of space above and below the logo */
}

/* Desktop default */
/* Desktop default */
.hero-logo {
  height: 600px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  border-radius: 20px;
  display: inline-block; /* Allows text-align: center to work perfectly */
  margin: 20px auto;     /* Adds vertical space and centers it */
}

/* Mobile responsive fix */
@media (max-width: 768px) {
  .hero-logo {
    height: auto;
    width: 80%;         /* Increased from 60% to make it larger */
    max-width: 320px;   /* Increased from 250px to allow more growth */
  }
}