/* g:\KaranWebsite\chanakya\css\style.css */

/* =========================================
   1. RESET & VARIABLES
   ========================================= */
:root {
  /* Premium Luxury Palette (Skyview Reference) */
  --primary-gold: #b18e4e;
  --primary-gold-hover: #c8a35e;
  --dark-bg: #111111;
  --darker-bg: #0a0a0a;
  --dark-card: #1a1a1a;
  --text-light: #ffffff;
  --text-light-muted: #aaaaaa;

  /* Typography */
  --font-primary: 'Nunito', sans-serif;
  --font-heading: 'Playfair Display', serif;

  /* Sizing */
  --nav-height: 90px;
  --container-width: 1200px;
  --border-radius: 4px;
  /* Sharper edges for luxury feel */
  --transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);

  /* Touch target standard */
  --touch-min: 48px;
}

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body.dark-theme {
  font-family: var(--font-primary);
  line-height: 1.6;
  color: var(--text-light);
  background: var(--dark-bg);
  overflow-x: hidden;
}

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

ul {
  list-style: none;
}

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

/* =========================================
   2. UTILITIES & TYPOGRAPHY
   ========================================= */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
}

.container-fluid {
  width: 100%;
  padding-right: 15px;
  padding-left: 15px;
  margin-right: auto;
  margin-left: auto;
}

@media (min-width: 992px) {
  .px-lg-5 {
    padding-right: 3rem !important;
    padding-left: 3rem !important;
  }
}


/* Basic Grid System Equivalent */
.row {
  display: flex;
  flex-wrap: wrap;
  margin-left: -15px;
  margin-right: -15px;
}

.row.align-items-center {
  align-items: center;
}

.row.justify-content-center {
  justify-content: center;
}

.col-12,
.col-lg-4,
.col-lg-5,
.col-lg-6,
.col-lg-7,
.col-md-6,
.col-4 {
  position: relative;
  width: 100%;
  padding-right: 15px;
  padding-left: 15px;
}

.col-4 {
  flex: 0 0 33.333333%;
  max-width: 33.333333%;
}

@media (min-width: 768px) {
  .col-md-6 {
    flex: 0 0 50%;
    max-width: 50%;
  }
}

@media (min-width: 992px) {
  .col-lg-4 {
    flex: 0 0 33.333333%;
    max-width: 33.333333%;
  }

  .col-lg-5 {
    flex: 0 0 41.666667%;
    max-width: 41.666667%;
  }

  .col-lg-6 {
    flex: 0 0 50%;
    max-width: 50%;
  }

  .col-lg-7 {
    flex: 0 0 58.333333%;
    max-width: 58.333333%;
  }
}

.section {
  padding: 100px 0;
}

.bg-darker {
  background-color: var(--darker-bg);
}

.dark-section {
  background-color: var(--dark-bg);
}

.section-subtitle {
  font-family: var(--font-primary);
  color: var(--primary-gold);
  font-size: 1rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 10px;
  font-weight: 600;
}

.section-title-elegant {
  font-family: var(--font-heading);
  font-size: 3rem;
  line-height: 1.2;
  margin-bottom: 25px;
  font-weight: 600;
  color: #fff;
}

.mb-30 {
  margin-bottom: 30px;
}

.mb-50 {
  margin-bottom: 50px;
}

.mt-30 {
  margin-top: 30px;
}

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

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 30px;
  font-family: var(--font-primary);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 1px;
  border-radius: 30px;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  min-height: var(--touch-min);
  text-transform: uppercase;
}

.btn-gold {
  background: var(--primary-gold);
  color: #fff;
}

.btn-gold:hover {
  background: var(--primary-gold-hover);
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(177, 142, 78, 0.3);
}

.btn-outline-gold {
  background: transparent;
  color: var(--primary-gold);
  border: 1px solid var(--primary-gold);
}

.btn-outline-gold:hover {
  background: var(--primary-gold);
  color: #fff;
}

.btn-outline-white {
  background: transparent;
  color: #fff;
  border: 1px solid #fff;
}

.btn-outline-white:hover {
  background: #fff;
  color: #000;
}

.btn-block {
  width: 100%;
}

/* Animations */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUpAnim 0.8s ease forwards;
}

.fade-left {
  opacity: 0;
  transform: translateX(30px);
  animation: fadeLeftAnim 0.8s ease forwards;
}

.fade-right {
  opacity: 0;
  transform: translateX(-30px);
  animation: fadeRightAnim 0.8s ease forwards;
}

@keyframes fadeUpAnim {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeLeftAnim {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeRightAnim {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* =========================================
   3. HEADER & NAVIGATION
   ========================================= */
.fixed-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--nav-height);
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.8) 0%, transparent 100%);
  z-index: 1000;
  transition: var(--transition);
  border-bottom: none;
}

.fixed-header.scrolled {
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: none;
  height: 80px;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
}

.logo-text {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1.2;
  color: #fff;
  letter-spacing: 2px;
}

.logo-text span {
  display: block;
  font-family: var(--font-primary);
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 4px;
  color: var(--primary-gold);
}

.nav-menu-inner {
  display: flex;
  align-items: center;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 30px;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 600;
  text-transform: uppercase;
  color: #fff;
  letter-spacing: 1px;
  min-height: var(--touch-min);
  display: flex;
  align-items: center;
  position: relative;
}

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

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

.nav-cta-item .nav-link {
  padding: 8px 24px;
  border: 1px solid var(--primary-gold);
  border-radius: 30px;
  color: var(--primary-gold);
}

.nav-cta-item .nav-link::after {
  display: none;
}

.nav-cta-item .nav-link:hover {
  background: var(--primary-gold);
  color: #fff;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.head-call-btn {
  font-weight: 600;
  font-size: 1rem;
  color: #fff;
}

.head-call-btn i {
  color: var(--primary-gold);
  margin-right: 5px;
}

.nav-toggle {
  display: none;
  cursor: pointer;
  width: var(--touch-min);
  height: var(--touch-min);
  align-items: center;
  justify-content: center;
}

.hamburger {
  width: 30px;
  height: 2px;
  background: #fff;
  position: relative;
  transition: var(--transition);
}

.hamburger::before,
.hamburger::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 2px;
  background: #fff;
  left: 0;
  transition: var(--transition);
}

.hamburger::before {
  top: -8px;
}

.hamburger::after {
  top: 8px;
}

.close-menu {
  display: none;
  font-size: 2rem;
  color: #fff;
  position: absolute;
  top: 20px;
  right: 20px;
  cursor: pointer;
}

/* =========================================
   4. PARALLAX HERO SECTION
   ========================================= */
.parallax-hero {
  position: relative;
  height: 100vh;
  min-height: 700px;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 50px;
}

.hero-image-wrap {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 110%;
  /* Extra height for scrolling */
  z-index: 0;
  overflow: hidden;
}

.parallax-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-overlay-dark {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.5) 50%, rgba(0, 0, 0, 0.8) 100%);
}

.artistic-impression-text {
  position: absolute;
  bottom: 20px;
  left: 20px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.85rem;
  font-style: italic;
  font-family: var(--font-primary);
  z-index: 10;
  pointer-events: none;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
  letter-spacing: 0.5px;
}

.hero-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 2;
  gap: 40px;
}

.hero-content {
  flex: 1;
  max-width: 650px;
}

.premium-badge {
  display: inline-block;
  color: var(--primary-gold);
  font-size: 0.9rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 20px;
  position: relative;
  padding-left: 50px;
}

.premium-badge::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 1px;
  background: var(--primary-gold);
}

.hero-title {
  font-family: var(--font-heading);
  font-size: 4rem;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 25px;
  text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
  font-size: 1.25rem;
  margin-bottom: 40px;
  color: #ddd;
  font-weight: 300;
}

.hero-actions {
  display: flex;
  gap: 20px;
}

/* Floating Form */
.hero-form-box {
  background: rgba(20, 20, 20, 0.85);
  backdrop-filter: blur(15px);
  padding: 40px 30px;
  border-radius: 8px;
  border: 1px solid rgba(177, 142, 78, 0.3);
  width: 400px;
  flex-shrink: 0;
}

.form-header {
  text-align: center;
  margin-bottom: 25px;
}

.form-header h3 {
  font-family: var(--font-heading);
  color: #fff;
  font-size: 1.8rem;
  margin-bottom: 5px;
}

.form-header p {
  color: var(--primary-gold);
  font-size: 0.9rem;
}

.premium-form .input-group {
  position: relative;
  margin-bottom: 20px;
}

.premium-form .input-group i {
  position: absolute;
  top: 50%;
  left: 15px;
  transform: translateY(-50%);
  color: var(--primary-gold);
}

.premium-form input {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  padding: 15px 15px 15px 45px;
  color: #fff;
  font-family: var(--font-primary);
  font-size: 1rem;
  transition: var(--transition);
}

.premium-form input:focus {
  outline: none;
  border-bottom-color: var(--primary-gold);
  background: rgba(255, 255, 255, 0.02);
}

/* =========================================
   5. OVERVIEW SECTION
   ========================================= */
.overview-text {
  font-size: 1.1rem;
  color: var(--text-light-muted);
  margin-bottom: 30px;
}

.overview-highlights {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

.overview-highlights li {
  color: #fff;
  font-size: 0.95rem;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.overview-highlights i {
  color: var(--primary-gold);
  margin-top: 4px;
}

.pinned-image-container {
  width: 100%;
  overflow: hidden;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: rgba(10, 10, 10, 0.5);
  /* Subtle dark background framing */
  border-radius: 8px;
  /* Soft rounding */
}

.border-gold {
  border: 2px solid var(--primary-gold);
  /* Refined, thinner elegant border */
  padding: 8px;
  border-radius: 12px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6), 0 0 20px rgba(177, 142, 78, 0.15);
  /* Premium depth and glow */
}

.pinned-image-container img {
  width: 100%;
  height: auto;
  object-fit: contain;
  transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.pinned-image-container:hover img {
  transform: scale(1.03);
}

/* =========================================
   6. AMENITIES SECTION
   ========================================= */
.amenities-luxury-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin-top: 50px;
}

.amenity-card {
  background: var(--dark-card);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--border-radius);
  overflow: hidden;
  text-align: center;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.amenity-card:hover {
  transform: translateY(-10px);
  border-color: rgba(177, 142, 78, 0.4);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.amenity-image {
  width: 100%;
  height: 220px;
  overflow: hidden;
  position: relative;
}

.amenity-impression-text {
  position: absolute;
  bottom: 8px;
  left: 10px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.72rem;
  font-style: italic;
  font-family: var(--font-primary);
  z-index: 5;
  pointer-events: none;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.9);
  letter-spacing: 0.5px;
}

.amenity-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.amenity-card:hover .amenity-image img {
  transform: scale(1.1);
}

.amenity-content {
  padding: 30px 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.amenity-card h4 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  color: #fff;
  margin-bottom: 10px;
}

.amenity-card p {
  color: var(--text-light-muted);
  font-size: 0.9rem;
}

/* =========================================
   7. FLOOR PLANS
   ========================================= */
.plans-luxury-wrapper {
  display: flex;
  flex-direction: column;
  gap: 80px;
}

.plan-item {
  display: flex;
  align-items: center;
  gap: 0;
  background: transparent;
  border: none;
}

.plan-item.reverse {
  flex-direction: row-reverse;
}

.plan-details {
  flex: 1;
  padding: 60px;
  background: var(--dark-card);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--border-radius);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6);
  z-index: 2;
  position: relative;
  max-width: 50%;
}

.plan-item:not(.reverse) .plan-details {
  margin-right: -50px;
}

.plan-item.reverse .plan-details {
  margin-left: -50px;
}

.plan-details h3 {
  font-family: var(--font-heading);
  font-size: 2rem;
  color: var(--primary-gold);
  margin-bottom: 15px;
}

.carpet-area {
  font-size: 1.1rem;
  margin-bottom: 25px;
}

.carpet-area strong {
  color: #fff;
  font-size: 1.3rem;
}

.plan-features {
  margin-bottom: 30px;
}

.plan-features li {
  margin-bottom: 10px;
  color: var(--text-light-muted);
}

/* Consistent dimensions for all floor plans on desktop */
@media (min-width: 992px) {
  .reference-floor-card {
    width: 100%;
    max-width: 440px;
    /* Increased from 396px */
    margin-left: auto;
    margin-right: auto;
    transform: scale(0.96);
    transition: var(--transition);
  }

  .reference-floor-card:hover {
    transform: scale(1);
    box-shadow: 0 10px 40px rgba(177, 142, 78, 0.25);
  }

  .reference-floor-card .blur-img {
    height: 300px;
    /* Increased from 275px */
    object-fit: contain;
    background: #1a1a1a;
  }

  /* Ensure the last row items are centered and spaced nicely */
  .floor-plans-bottom-row {
    margin-top: 20px;
  }
}

.plan-features i {
  color: var(--primary-gold);
  font-size: 0.5rem;
  margin-right: 15px;
  vertical-align: middle;
}

.plan-image {
  flex: 1.2;
  position: relative;
  cursor: pointer;
  overflow: hidden;
  border-radius: var(--border-radius);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  z-index: 1;
}

.plan-image img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  transition: var(--transition);
}

.blurred-overlay img {
  filter: blur(8px) brightness(0.6);
}

.plan-image:hover img {
  filter: blur(4px) brightness(0.5);
  transform: scale(1.05);
}

.unlock-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  pointer-events: none;
}

.unlock-overlay i {
  font-size: 3rem;
  color: var(--primary-gold);
  margin-bottom: 15px;
}

.unlock-overlay span {
  display: block;
  font-family: var(--font-primary);
  font-size: 1.2rem;
  font-weight: 600;
  color: #fff;
  letter-spacing: 1px;
}

/* =========================================
   8. VIDEOS
   ========================================= */
.modern-video-row {
  justify-content: center;
}

.modern-video-wrapper {
  position: relative;
  background: var(--darker-bg);
  border: 1px solid rgba(177, 142, 78, 0.4);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  transition: var(--transition);
  height: 100%;
  display: flex;
  align-items: center;
  padding: 8px;
}

.modern-video-wrapper:hover {
  transform: translateY(-8px);
  border-color: var(--primary-gold);
  box-shadow: 0 20px 40px rgba(177, 142, 78, 0.15);
}

.modern-video {
  width: 100%;
  border-radius: 10px;
  background-color: var(--dark-bg);
  display: block;
  object-fit: cover;
}

/* =========================================
   9. LOCATION & MAP
   ========================================= */
.connectivity-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.conn-item {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 15px;
  background: var(--dark-card);
  border-left: 3px solid var(--primary-gold);
}

.conn-icon {
  width: 50px;
  height: 50px;
  background: rgba(177, 142, 78, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--primary-gold);
  border-radius: 50%;
}

.conn-text h4 {
  font-size: 1.1rem;
  color: #fff;
  margin-bottom: 2px;
}

.conn-text span {
  font-size: 0.85rem;
  color: var(--text-light-muted);
}

.premium-map-wrapper iframe {
  filter: invert(90%) hue-rotate(180deg) contrast(100%);
  /* Create dark mode Google map organically */
}

/* =========================================
   9. FOOTER
   ========================================= */
.premium-footer {
  background: #050505;
  padding-top: 80px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr;
  gap: 50px;
  margin-bottom: 50px;
}

.footer-brand p {
  color: var(--text-light-muted);
  margin-top: 10px;
}

.footer-links h4,
.footer-contact h4 {
  font-family: var(--font-heading);
  color: var(--primary-gold);
  font-size: 1.3rem;
  margin-bottom: 20px;
}

.footer-links ul li {
  margin-bottom: 15px;
}

.footer-links ul li a {
  color: #ddd;
}

.footer-links ul li a:hover {
  color: var(--primary-gold);
  padding-left: 5px;
}

.footer-contact p {
  display: flex;
  gap: 15px;
  color: #ddd;
  margin-bottom: 15px;
  align-items: flex-start;
}

.footer-contact i {
  color: var(--primary-gold);
  margin-top: 5px;
}

.border-top-gold {
  border-top: 1px solid rgba(177, 142, 78, 0.3);
}

.footer-rera {
  padding: 30px 0;
  text-align: center;
}

.rera-content img {
  margin: 0 auto 15px;
}

.rera-content p {
  color: var(--text-light-muted);
  font-size: 0.85rem;
}

.footer-bottom {
  padding: 20px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-bottom a {
  color: var(--primary-gold);
}

.disclaimer {
  font-size: 0.75rem;
  color: #555;
  margin-top: 10px;
}

/* =========================================
   10. FLOATING CTA & POPUPS
   ========================================= */
.floating-contact {
  position: fixed;
  bottom: 30px;
  right: 30px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  z-index: 900;
}

.float-btn {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.float-wa {
  background: #25D366;
  color: #fff;
}

.float-call {
  background: var(--primary-gold);
  color: #fff;
}

.d-block-mobile {
  display: none;
}

/* Exit Intent Premium Popup */
.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  backdrop-filter: blur(5px);
}

.popup-overlay.active {
  opacity: 1;
  visibility: visible;
}

.premium-popup {
  background: var(--darker-bg);
  border: 1px solid rgba(177, 142, 78, 0.3);
  width: 90%;
  max-width: 500px;
  position: relative;
  transform: scale(0.9);
  transition: var(--transition);
}

.popup-overlay.active .premium-popup {
  transform: scale(1);
}

.popup-close {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 2rem;
  color: #fff;
  cursor: pointer;
  z-index: 10;
  line-height: 1;
}

.popup-close:hover {
  color: var(--primary-gold);
}

.popup-header-gold {
  background: rgba(177, 142, 78, 0.1);
  padding: 40px 30px 20px;
  text-align: center;
  border-bottom: 1px solid rgba(177, 142, 78, 0.2);
}

.popup-header-gold h3 {
  font-family: var(--font-heading);
  color: var(--primary-gold);
  font-size: 2rem;
  margin-bottom: 10px;
}

.popup-body {
  padding: 40px 30px;
}

/* =========================================
   11. RESPONSIVE DESIGN
   ========================================= */
@media screen and (max-width: 1200px) {
  .hero-title {
    font-size: 3.2rem;
  }

  .amenities-luxury-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media screen and (max-width: 992px) {
  .hero-container {
    flex-direction: column;
    justify-content: center;
    text-align: center;
  }

  .premium-badge::before {
    display: none;
  }

  .premium-badge {
    padding-left: 0;
  }

  .hero-actions {
    justify-content: center;
  }

  .overview-highlights {
    grid-template-columns: 1fr;
  }

  .plan-item,
  .plan-item.reverse {
    flex-direction: column;
    gap: 30px;
  }

  .plan-details {
    max-width: 100%;
    margin: 0 !important;
    /* Reset overlap */
    padding: 30px 20px;
    box-shadow: none;
  }

  .plan-image {
    width: 100%;
  }

  .plan-image img {
    height: 300px;
    /* Reduce image height on mobile */
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  /* Mobile Nav */
  .d-none-mobile {
    display: none;
  }

  .d-block-mobile {
    display: flex;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background: var(--dark-bg);
    border-left: 1px solid rgba(177, 142, 78, 0.2);
    transition: var(--transition);
    z-index: 1001;
  }

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

  .close-menu {
    display: block;
  }

  .nav-menu-inner {
    height: 100%;
    padding: 80px 30px;
    flex-direction: column;
    align-items: flex-start;
  }

  .nav-list {
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
  }

  .nav-link {
    width: 100%;
    padding: 15px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  }
}

@media screen and (max-width: 768px) {
  .hero.parallax-hero {
    display: block;
    height: auto !important;
    min-height: 100vh;
    padding-top: 140px;
    padding-bottom: 120px;
    overflow: hidden;
  }

  /* Overview text legibility fix */
  .overview-content {
    background: rgba(10, 10, 10, 0.85);
    padding: 30px 20px;
    border-radius: var(--border-radius);
    margin-bottom: 30px;
    border: 1px solid rgba(177, 142, 78, 0.2);
  }

  .hero-container {
    display: block;
    height: auto;
    padding-bottom: 40px;
  }

  .hero-title {
    font-size: 2.2rem;
    margin-bottom: 20px;
  }

  .hero-subtitle {
    font-size: 1.1rem;
    margin-bottom: 25px;
  }

  .premium-badge {
    margin-bottom: 10px;
  }

  .hero-image-wrap {
    height: 100% !important;
    min-height: 100%;
  }

  .parallax-bg {
    height: 100% !important;
    min-height: 100vh;
  }

  .hero-form-box {
    width: 100%;
    padding: 30px 20px;
    margin-top: 40px;
    margin-bottom: 20px;
    position: relative;
    z-index: 10;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .floating-contact {
    right: 15px;
    bottom: 15px;
    gap: 10px;
  }

  .float-btn {
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
  }

  .section-title-elegant {
    font-size: 2.2rem;
  }
}

@media screen and (max-width: 400px) {
  .hero-title {
    font-size: 2.2rem;
  }

  .hero-form-box {
    padding: 25px 15px;
  }
}

@media screen and (max-width: 992px) {
  .hero-image-wrap {
    height: 120% !important;
  }
}

/* --- New Reference Match Floor Plans Styling --- */
.reference-floor-card {
  position: relative;
  border: 1px solid rgba(212, 175, 55, 0.4);
  /* Gold border like reference */
  border-radius: 10px;
  padding: 20px;
  margin-top: 20px;
  /* Space for the top badge */
  cursor: pointer;
  background: transparent;
  transition: all 0.3s ease;
  text-align: center;
  overflow: visible;
  /* Important for the absolutely positioned badge */
}

.reference-floor-card:hover {
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
  background: rgba(30, 30, 35, 0.4);
}

.reference-typology {
  position: absolute;
  top: -15px;
  /* Overlap border */
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--primary-gold);
  color: #fff;
  padding: 5px 25px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 600;
  margin: 0;
  white-space: nowrap;
  z-index: 2;
}

.reference-floor-card .blur-img {
  width: 100%;
  border-radius: 8px;
  transition: filter 0.3s ease, transform 0.3s ease;
}

.reference-floor-card:hover .blur-img {
  filter: blur(2px);
  transform: scale(1.02);
}

.reference-view-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #fff;
  color: #000;
  padding: 10px 40px;
  border-radius: 6px;
  font-size: 16px;
  font-weight: 700;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  margin: 0;
  white-space: nowrap;
  pointer-events: none;
  /* Let clicks pass to the card */
  z-index: 2;
}