/* ============================================
   THE GRAND RESIDENCES — Premium CSS
   ============================================ */

:root {
  --gold: #C9A84C;
  --gold-light: #E2C97E;
  --gold-dark: #9B7B2A;
  --black: #0A0A0A;
  --dark: #111111;
  --dark-2: #1A1A1A;
  --dark-3: #222222;
  --white: #FFFFFF;
  --off-white: #F5F0E8;
  --beige: #E8DFC8;
  --beige-light: #F2EDE0;
  --gray: #888888;
  --gray-light: #BBBBBB;

  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'Montserrat', sans-serif;
  --font-body: 'Poppins', sans-serif;

  --transition: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --transition-fast: 0.2s ease;
  --transition-slow: 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ===== RESET ===== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background-color: var(--dark);
  color: var(--white);
  overflow-x: hidden;
  line-height: 1.6;
}

img { display: block; width: 100%; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; }

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 40px;
}

/* ===== PRELOADER ===== */
#preloader {
  position: fixed;
  inset: 0;
  background: var(--black);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.8s ease, visibility 0.8s ease;
}

#preloader.hidden {
  opacity: 0;
  visibility: hidden;
}

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

.preloader-logo {
  font-family: var(--font-serif);
  font-size: clamp(1.2rem, 3vw, 2rem);
  font-weight: 700;
  letter-spacing: 6px;
  color: var(--gold);
  animation: fadeInUp 0.8s ease forwards;
  margin-bottom: 20px;
}

.preloader-line {
  width: 200px;
  height: 1px;
  background: var(--dark-3);
  margin: 0 auto;
  overflow: hidden;
}

.preloader-line span {
  display: block;
  height: 100%;
  background: var(--gold);
  animation: lineGrow 1.5s ease forwards 0.3s;
  width: 0;
}

@keyframes lineGrow {
  to { width: 100%; }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ===== NAVIGATION ===== */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 20px 0;
  transition: all var(--transition);
}

#navbar.scrolled {
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(20px);
  padding: 12px 0;
  border-bottom: 1px solid rgba(201, 168, 76, 0.2);
}

.nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.logo-main {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 3px;
  color: var(--gold);
}

.logo-sub {
  font-family: var(--font-sans);
  font-size: 0.62rem;
  letter-spacing: 2px;
  color: var(--gray-light);
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gray-light);
  transition: color var(--transition-fast);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width var(--transition-fast);
}

.nav-links a:hover, .nav-links a.active {
  color: var(--gold);
}

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

.nav-cta {
  background: var(--gold) !important;
  color: var(--black) !important;
  padding: 10px 22px !important;
  font-weight: 700 !important;
  letter-spacing: 1px !important;
  transition: background var(--transition-fast) !important;
}

.nav-cta:hover {
  background: var(--gold-light) !important;
}

.nav-cta::after { display: none !important; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 5px;
}

.hamburger span {
  display: block;
  width: 25px;
  height: 2px;
  background: var(--white);
  transition: all var(--transition-fast);
}

/* ===== SCROLL REVEAL ===== */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== BUTTONS ===== */
.btn-gold {
  display: inline-block;
  background: var(--gold);
  color: var(--black);
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 16px 36px;
  transition: all var(--transition-fast);
  position: relative;
  overflow: hidden;
}

.btn-gold::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s ease;
}

.btn-gold:hover::before {
  left: 100%;
}

.btn-gold:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(201, 168, 76, 0.4);
}

.btn-outline {
  display: inline-block;
  border: 1px solid rgba(201, 168, 76, 0.6);
  color: var(--gold);
  background: transparent;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 15px 35px;
  transition: all var(--transition-fast);
}

.btn-outline:hover {
  background: rgba(201, 168, 76, 0.1);
  border-color: var(--gold);
  transform: translateY(-2px);
}

.btn-gold-sm {
  display: inline-block;
  background: var(--gold);
  color: var(--black);
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 11px 24px;
  transition: all var(--transition-fast);
}

.btn-gold-sm:hover {
  background: var(--gold-light);
  transform: translateY(-1px);
}

.btn-outline-sm {
  display: inline-block;
  border: 1px solid rgba(201, 168, 76, 0.5);
  color: var(--gold);
  background: transparent;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 10px 22px;
  transition: all var(--transition-fast);
  cursor: pointer;
}

.btn-outline-sm:hover {
  background: rgba(201, 168, 76, 0.1);
  border-color: var(--gold);
}

.full-width { width: 100%; text-align: center; }

/* ===== SECTION COMMON ===== */
.section-eyebrow {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
  display: block;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 700;
  line-height: 1.1;
  color: var(--dark);
  margin-bottom: 40px;
}

.section-title em {
  font-style: italic;
  color: var(--gold);
}

.section-title.light {
  color: var(--white);
}

.section-sub {
  font-size: 1.05rem;
  color: var(--gray);
  max-width: 600px;
  margin-bottom: 60px;
  line-height: 1.8;
}

.section-sub.light {
  color: rgba(255,255,255,0.7);
}

/* ===== HERO SECTION ===== */
.hero-section {
  position: relative;
  height: 100vh;
  min-height: 700px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: -20%;
  background: url('https://images.unsplash.com/photo-1545324418-cc1a3fa10c00?w=1920&q=90') center/cover no-repeat;
  will-change: transform;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.3) 0%,
    rgba(0,0,0,0.5) 50%,
    rgba(0,0,0,0.85) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 20px;
  max-width: 1000px;
}

.hero-badge {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid rgba(201, 168, 76, 0.4);
  padding: 8px 20px;
  margin-bottom: 28px;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(3.5rem, 9vw, 8rem);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -1px;
  color: var(--white);
  margin-bottom: 28px;
}

.hero-title .line {
  display: block;
}

.hero-title .italic {
  font-style: italic;
  color: var(--gold);
}

.hero-sub {
  font-family: var(--font-body);
  font-size: clamp(0.95rem, 1.5vw, 1.15rem);
  font-weight: 300;
  color: rgba(255,255,255,0.8);
  line-height: 1.8;
  margin-bottom: 28px;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}

.hero-tag {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 40px;
}

.hero-ctas {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 60px;
}

.hero-scroll-indicator {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  font-family: var(--font-sans);
  font-size: 0.62rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
}

.scroll-line {
  width: 1px;
  height: 50px;
  background: linear-gradient(to bottom, rgba(201,168,76,0.8), transparent);
  animation: scrollPulse 1.5s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.4; transform: scaleY(0.8); }
  50% { opacity: 1; transform: scaleY(1); }
}

/* Hero Bottom Strip */
.hero-bottom-strip {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(10px);
  border-top: 1px solid rgba(201, 168, 76, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 40px;
  gap: 0;
}

.strip-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  flex: 1;
  min-width: 120px;
}

.strip-number {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--gold);
}

.strip-label {
  font-family: var(--font-sans);
  font-size: 0.65rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
}

.strip-divider {
  width: 1px;
  height: 40px;
  background: rgba(201, 168, 76, 0.3);
  flex-shrink: 0;
}

/* ===== ABOUT SECTION ===== */
.about-section {
  background: var(--off-white);
  padding: 120px 0;
  position: relative;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-lead {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-style: italic;
  color: var(--dark);
  line-height: 1.7;
  margin-bottom: 28px;
  border-left: 3px solid var(--gold);
  padding-left: 24px;
}

.about-body {
  font-size: 0.98rem;
  color: #555;
  line-height: 1.85;
  margin-bottom: 20px;
}

.about-highlights {
  margin-top: 40px;
  padding: 32px;
  background: white;
  border: 1px solid rgba(201, 168, 76, 0.2);
}

.highlights-title {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 20px;
  letter-spacing: 1px;
}

.highlights-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.highlights-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  color: #444;
  font-family: var(--font-sans);
  font-weight: 500;
}

.gold-dot {
  width: 7px;
  height: 7px;
  background: var(--gold);
  border-radius: 50%;
  flex-shrink: 0;
}

.about-img-wrap {
  position: relative;
  overflow: hidden;
}

.about-img {
  height: 600px;
  object-fit: cover;
  transition: transform 0.8s ease;
}

.about-img-wrap:hover .about-img {
  transform: scale(1.03);
}

.about-img-badge {
  position: absolute;
  bottom: 30px;
  left: -1px;
  background: var(--black);
  color: var(--gold);
  padding: 20px 28px;
  font-family: var(--font-sans);
  font-size: 0.62rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: flex-start;
}

.badge-line {
  width: 30px;
  height: 1px;
  background: var(--gold);
}

.about-section .section-title {
  color: var(--dark);
  margin-bottom: 40px;
}

/* ===== CONFIGURATIONS ===== */
.config-section {
  position: relative;
  padding: 120px 0;
  overflow: hidden;
}

.config-bg {
  position: absolute;
  inset: 0;
  background: var(--dark);
  background-image:
    radial-gradient(circle at 20% 50%, rgba(201, 168, 76, 0.05) 0%, transparent 60%),
    radial-gradient(circle at 80% 50%, rgba(201, 168, 76, 0.05) 0%, transparent 60%);
}

.config-section .container { position: relative; }

.config-section .section-eyebrow,
.config-section .section-title {
  text-align: center;
}

.config-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 20px;
}

.config-card {
  position: relative;
  border: 1px solid rgba(201, 168, 76, 0.15);
  background: rgba(255,255,255,0.03);
  transition: all var(--transition);
  overflow: hidden;
}

.config-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform var(--transition);
}

.config-card:hover::before {
  transform: scaleX(1);
}

.config-card:hover {
  border-color: rgba(201, 168, 76, 0.4);
  background: rgba(255,255,255,0.06);
  transform: translateY(-8px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}

.config-card.featured {
  border-color: rgba(201, 168, 76, 0.4);
  background: rgba(201, 168, 76, 0.05);
}

.config-card.featured::before {
  transform: scaleX(1);
}

.config-featured-label {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--gold);
  color: var(--black);
  font-family: var(--font-sans);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 5px 12px;
}

.config-card-inner {
  padding: 40px 32px;
}

.config-icon {
  margin-bottom: 20px;
}

.config-type {
  font-family: var(--font-sans);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
}

.config-name {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 16px;
}

.config-area {
  font-family: var(--font-serif);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 4px;
}

.config-area span {
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--gray);
  font-family: var(--font-sans);
}

.config-divider {
  height: 1px;
  background: rgba(201, 168, 76, 0.2);
  margin: 20px 0;
}

.config-features {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 28px;
}

.config-features span {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  color: var(--gray-light);
  padding-left: 14px;
  position: relative;
}

.config-features span::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--gold);
  font-size: 0.6rem;
}

.config-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* ===== AMENITIES ===== */
.amenities-section {
  background: var(--off-white);
  padding: 120px 0;
}

.amenities-section .section-eyebrow,
.amenities-section .section-title,
.amenities-section .section-sub {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
  display: block;
}

.amenities-section .section-title {
  color: var(--dark);
}

.amenities-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: auto;
  gap: 16px;
}

.amenity-card {
  position: relative;
  height: 280px;
  overflow: hidden;
  cursor: pointer;
  background-image: var(--img);
  background-size: cover;
  background-position: center;
}

.amenity-card.large {
  grid-column: span 2;
}

.amenity-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.3) 60%, transparent 100%);
  transition: background var(--transition);
}

.amenity-card:hover .amenity-overlay {
  background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.6) 60%, rgba(0,0,0,0.3) 100%);
}

.amenity-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px;
  transition: transform var(--transition);
}

.amenity-card:hover .amenity-content {
  transform: translateY(-8px);
}

.amenity-icon {
  font-size: 1.6rem;
  margin-bottom: 8px;
  display: block;
  transform: scale(0.8);
  transition: transform var(--transition);
}

.amenity-card:hover .amenity-icon {
  transform: scale(1);
}

.amenity-name {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 6px;
}

.amenity-desc {
  font-family: var(--font-body);
  font-size: 0.78rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.5;
  opacity: 0;
  transform: translateY(10px);
  transition: all var(--transition);
}

.amenity-card:hover .amenity-desc {
  opacity: 1;
  transform: translateY(0);
}

.amenities-full-list {
  margin-top: 40px;
  text-align: center;
  font-family: var(--font-sans);
  font-size: 0.82rem;
  color: var(--gray);
  letter-spacing: 1px;
  padding: 20px;
  border: 1px solid rgba(201, 168, 76, 0.2);
  background: white;
}

/* ===== KIDS SECTION ===== */
.kids-section {
  position: relative;
  padding: 160px 0;
  overflow: hidden;
}

.kids-bg {
  position: absolute;
  inset: -20%;
  background: url('https://images.unsplash.com/photo-1558618666-fcd25c85cd64?w=1920&q=80') center/cover no-repeat;
  will-change: transform;
}

.kids-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.6) 100%);
}

.kids-inner {
  position: relative;
  z-index: 2;
  max-width: 700px;
}

.kids-features {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 40px;
}

.kids-feature {
  background: rgba(201, 168, 76, 0.15);
  border: 1px solid rgba(201, 168, 76, 0.3);
  color: var(--white);
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 500;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  gap: 8px;
  backdrop-filter: blur(8px);
  transition: all var(--transition-fast);
}

.kids-feature:hover {
  background: rgba(201, 168, 76, 0.25);
  border-color: var(--gold);
}

/* ===== ROOFTOP SECTION ===== */
.rooftop-section {
  background: var(--off-white);
  padding: 120px 0;
}

.rooftop-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.rooftop-img {
  height: 560px;
  object-fit: cover;
  transition: transform 0.8s ease;
}

.rooftop-visual {
  position: relative;
  overflow: hidden;
}

.rooftop-visual:hover .rooftop-img {
  transform: scale(1.04);
}

.rooftop-img-label {
  position: absolute;
  bottom: 28px;
  right: 0;
  background: var(--gold);
  color: var(--black);
  font-family: var(--font-serif);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  padding: 14px 28px;
}

.rooftop-section .section-title {
  color: var(--dark);
}

.rooftop-body {
  font-size: 1rem;
  color: #555;
  line-height: 1.85;
  margin-bottom: 40px;
}

.rooftop-amenities {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.rooftop-amenity {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  background: white;
  border: 1px solid rgba(201, 168, 76, 0.15);
  transition: all var(--transition-fast);
}

.rooftop-amenity:hover {
  border-color: rgba(201, 168, 76, 0.4);
  background: var(--beige-light);
}

.ra-icon {
  font-size: 1.3rem;
}

.rooftop-amenity span {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--dark);
  letter-spacing: 0.5px;
}

/* ===== FLOOR PLANS ===== */
.floorplans-section {
  position: relative;
  padding: 120px 0;
  overflow: hidden;
}

.fp-bg {
  position: absolute;
  inset: 0;
  background: var(--dark-2);
  background-image:
    radial-gradient(ellipse at center, rgba(201, 168, 76, 0.04) 0%, transparent 70%);
}

.floorplans-section .container { position: relative; }
.floorplans-section .section-eyebrow,
.floorplans-section .section-title {
  text-align: center;
}

.fp-tabs {
  display: flex;
  justify-content: center;
  gap: 4px;
  margin-bottom: 50px;
  border: 1px solid rgba(201, 168, 76, 0.2);
  display: inline-flex;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
}

.fp-tab {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gray);
  padding: 14px 32px;
  cursor: pointer;
  transition: all var(--transition-fast);
  background: transparent;
  border: none;
}

.fp-tab:hover {
  color: var(--gold);
  background: rgba(201, 168, 76, 0.05);
}

.fp-tab.active {
  background: var(--gold);
  color: var(--black);
}

.fp-panels { position: relative; }

.fp-panel {
  display: none;
}

.fp-panel.active {
  display: block;
  animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.fp-plan-wrap {
  display: flex;
  justify-content: center;
}

.fp-plan-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(201, 168, 76, 0.2);
  max-width: 800px;
  width: 100%;
  padding: 40px;
}

.fp-plan-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 30px;
}

.fp-plan-type {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--white);
}

.fp-plan-area {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 2px;
  color: var(--gold);
  text-transform: uppercase;
}

.fp-plan-visual {
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(201, 168, 76, 0.1);
  height: 380px;
  margin-bottom: 28px;
  position: relative;
  overflow: hidden;
}

.fp-plan-drawing {
  position: absolute;
  inset: 20px;
}

.fp-room {
  position: absolute;
  border: 1px solid rgba(201, 168, 76, 0.5);
  background: rgba(201, 168, 76, 0.04);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition-fast);
}

.fp-room:hover {
  background: rgba(201, 168, 76, 0.1);
}

.fp-room span {
  font-family: var(--font-sans);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 1px;
  color: rgba(201, 168, 76, 0.8);
  text-transform: uppercase;
  text-align: center;
  padding: 4px;
}

.fp-plan-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
}

/* ===== LOCATION SECTION ===== */
.location-section {
  background: var(--off-white);
  padding: 120px 0;
}

.location-section .section-title {
  color: var(--dark);
}

.location-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.location-map {
  overflow: hidden;
  border: 2px solid rgba(201, 168, 76, 0.2);
}

.location-map iframe {
  display: block;
}

.location-points {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.loc-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 22px 0;
  border-bottom: 1px solid rgba(201, 168, 76, 0.15);
  transition: all var(--transition-fast);
}

.loc-card:first-child {
  padding-top: 0;
}

.loc-card:hover {
  padding-left: 8px;
}

.loc-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background: rgba(201, 168, 76, 0.08);
  border: 1px solid rgba(201, 168, 76, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
}

.loc-info h4 {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 4px;
  letter-spacing: 0.5px;
}

.loc-info p {
  font-size: 0.82rem;
  color: #666;
  line-height: 1.5;
}

.loc-address {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-top: 24px;
  padding: 24px;
  background: var(--dark);
  color: rgba(255,255,255,0.7);
  font-size: 0.85rem;
  line-height: 1.7;
}

.loc-addr-icon {
  font-size: 1.3rem;
  flex-shrink: 0;
}

.loc-address strong {
  display: block;
  color: var(--gold);
  font-family: var(--font-serif);
  font-size: 1rem;
  margin-bottom: 4px;
}

/* ===== DEVELOPER SECTION ===== */
.developer-section {
  position: relative;
  padding: 160px 0;
  overflow: hidden;
}

.dev-bg {
  position: absolute;
  inset: -20%;
  background: url('https://images.unsplash.com/photo-1486325212027-8081e485255e?w=1920&q=80') center/cover no-repeat;
  will-change: transform;
}

.dev-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(0,0,0,0.92) 50%, rgba(0,0,0,0.6) 100%);
}

.developer-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.dev-body {
  font-size: 0.98rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.85;
  margin-bottom: 20px;
}

.dev-stats {
  display: flex;
  gap: 40px;
  margin: 40px 0;
  padding: 32px 0;
  border-top: 1px solid rgba(201, 168, 76, 0.2);
  border-bottom: 1px solid rgba(201, 168, 76, 0.2);
}

.dev-stat-number {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--gold);
}

.dev-stat-label {
  font-family: var(--font-sans);
  font-size: 0.65rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-top: 4px;
}

.dev-img {
  height: 500px;
  object-fit: cover;
  filter: grayscale(20%) contrast(1.1);
  transition: all 0.8s ease;
}

.dev-visual:hover .dev-img {
  filter: grayscale(0%) contrast(1.05);
}

.dev-visual {
  position: relative;
  overflow: hidden;
}

.dev-logo-frame {
  position: absolute;
  bottom: 30px;
  right: 30px;
  background: rgba(0,0,0,0.9);
  border: 1px solid rgba(201, 168, 76, 0.4);
  padding: 20px 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.dev-logo-text {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 4px;
  color: var(--gold);
}

.dev-logo-line {
  width: 40px;
  height: 1px;
  background: var(--gold);
}

.dev-logo-sub {
  font-family: var(--font-sans);
  font-size: 0.6rem;
  letter-spacing: 4px;
  color: rgba(255,255,255,0.6);
  text-transform: uppercase;
}

/* ===== CONTACT SECTION ===== */
.contact-section {
  background: var(--dark);
  padding: 120px 0;
  border-top: 1px solid rgba(201, 168, 76, 0.15);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: start;
}

.contact-section .section-title {
  color: var(--white);
  margin-bottom: 24px;
}

.contact-sub {
  font-size: 0.98rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.8;
  margin-bottom: 48px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: padding-left var(--transition-fast);
}

.contact-detail:hover {
  padding-left: 8px;
}

.cd-icon {
  font-size: 1.3rem;
  width: 42px;
  height: 42px;
  background: rgba(201, 168, 76, 0.1);
  border: 1px solid rgba(201, 168, 76, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.cd-label {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.62rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 4px;
}

.cd-value {
  display: block;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.8);
  line-height: 1.5;
}

/* Contact Form */
.contact-form-wrap {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(201, 168, 76, 0.15);
  padding: 48px;
}

.form-title {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 32px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(201, 168, 76, 0.15);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

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

.form-group label {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.9rem;
  padding: 14px 18px;
  outline: none;
  transition: border-color var(--transition-fast);
  -webkit-appearance: none;
  appearance: none;
}

.form-group select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23C9A84C' stroke-width='2' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

.form-group select option {
  background: var(--dark-2);
  color: var(--white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--gold);
  background: rgba(201, 168, 76, 0.05);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(255,255,255,0.3);
}

.form-group textarea {
  resize: vertical;
}

.form-disclaimer {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.35);
  margin-top: 14px;
  line-height: 1.6;
  text-align: center;
}

.form-success {
  text-align: center;
  padding: 60px 40px;
}

.success-icon {
  width: 70px;
  height: 70px;
  background: var(--gold);
  color: var(--black);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: 700;
  margin: 0 auto 24px;
}

.form-success h3 {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  color: var(--white);
  margin-bottom: 12px;
}

.form-success p {
  color: rgba(255,255,255,0.6);
}

/* ===== FOOTER ===== */
.footer {
  background: var(--black);
  border-top: 1px solid rgba(201, 168, 76, 0.2);
}

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

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 60px;
}

.footer-logo {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: 3px;
  color: var(--gold);
  margin-bottom: 6px;
}

.footer-dev {
  font-family: var(--font-sans);
  font-size: 0.68rem;
  letter-spacing: 2px;
  color: var(--gray);
  text-transform: uppercase;
  margin-bottom: 20px;
}

.footer-tagline {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.7;
  margin-bottom: 16px;
}

.footer-rera {
  font-family: var(--font-sans);
  font-size: 0.65rem;
  letter-spacing: 1.5px;
  color: var(--gold);
  border: 1px solid rgba(201, 168, 76, 0.3);
  display: inline-block;
  padding: 6px 14px;
}

.footer-links-col h4 {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 24px;
}

.footer-links-col ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links-col li {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.5;
  transition: color var(--transition-fast);
}

.footer-links-col a:hover {
  color: var(--gold);
}

.footer-cta-col h4 {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}

.footer-cta-col p {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.4);
  margin-bottom: 24px;
}

.footer-btn {
  display: block;
  margin-bottom: 12px;
  text-align: center;
}

.footer-bottom {
  padding: 40px 0;
}

.footer-disclaimer {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.3);
  line-height: 1.8;
  margin-bottom: 28px;
  padding: 20px;
  border: 1px solid rgba(255,255,255,0.06);
  background: rgba(255,255,255,0.02);
}

.footer-disclaimer strong {
  color: var(--gold);
  display: block;
  margin-bottom: 8px;
}

.footer-copy {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  color: rgba(255,255,255,0.25);
  letter-spacing: 0.5px;
}

/* ===== FLOATING CTA ===== */
.floating-ctas {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 900;
  display: flex;
  flex-direction: column;
  gap: 12px;
  opacity: 0;
  transform: translateY(20px);
  transition: all var(--transition);
}

.floating-ctas.visible {
  opacity: 1;
  transform: translateY(0);
}

.float-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 20px;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: all var(--transition-fast);
  box-shadow: 0 4px 20px rgba(0,0,0,0.4);
}

.float-btn.call {
  background: var(--gold);
  color: var(--black);
}

.float-btn.call:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(201, 168, 76, 0.4);
}

.float-btn.enquire {
  background: var(--dark);
  color: var(--gold);
  border: 1px solid rgba(201, 168, 76, 0.4);
}

.float-btn.enquire:hover {
  background: rgba(201, 168, 76, 0.1);
  transform: translateY(-2px);
}

/* ===== FLOOR PLAN MODAL ===== */
.fp-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0,0,0,0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-fast);
  backdrop-filter: blur(10px);
}

.fp-modal.open {
  opacity: 1;
  visibility: visible;
}

.fp-modal-inner {
  background: var(--dark-2);
  border: 1px solid rgba(201, 168, 76, 0.2);
  max-width: 800px;
  width: 90%;
  max-height: 80vh;
  overflow-y: auto;
  position: relative;
  padding: 50px;
}

.fp-modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  background: rgba(201, 168, 76, 0.1);
  border: 1px solid rgba(201, 168, 76, 0.3);
  color: var(--gold);
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.fp-modal-close:hover {
  background: var(--gold);
  color: var(--black);
}

/* ===== PARALLAX SECTION ===== */
.parallax-section { position: relative; overflow: hidden; }

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--black); }
::-webkit-scrollbar-thumb { background: var(--gold-dark); }
::-webkit-scrollbar-thumb:hover { background: var(--gold); }

/* ===== SELECTION ===== */
::selection {
  background: var(--gold);
  color: var(--black);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1100px) {
  .config-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .amenities-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .amenity-card.large {
    grid-column: span 2;
  }
}

@media (max-width: 900px) {
  .about-grid,
  .rooftop-grid,
  .developer-inner,
  .contact-grid,
  .location-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .about-img, .rooftop-img, .dev-img {
    height: 400px;
  }

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

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

  .hero-bottom-strip {
    flex-wrap: wrap;
    gap: 20px;
    padding: 20px;
  }

  .strip-divider { display: none; }
}

@media (max-width: 768px) {
  .container { padding: 0 24px; }

  .nav-links {
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 280px;
    background: var(--black);
    flex-direction: column;
    padding: 80px 40px;
    gap: 28px;
    border-left: 1px solid rgba(201, 168, 76, 0.2);
    z-index: 999;
  }

  .nav-links.open {
    display: flex;
    animation: slideInRight 0.3s ease;
  }

  @keyframes slideInRight {
    from { transform: translateX(100%); }
    to { transform: translateX(0); }
  }

  .nav-links a {
    font-size: 1rem;
  }

  .hamburger { display: flex; }

  .about-section,
  .config-section,
  .amenities-section,
  .rooftop-section,
  .location-section,
  .contact-section {
    padding: 80px 0;
  }

  .kids-section,
  .developer-section {
    padding: 100px 0;
  }

  .config-grid {
    grid-template-columns: 1fr 1fr;
  }

  .amenities-grid {
    grid-template-columns: 1fr 1fr;
  }

  .amenity-card.large {
    grid-column: span 2;
  }

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

  .hero-title {
    font-size: clamp(2.5rem, 12vw, 4rem);
  }

  .dev-stats {
    flex-wrap: wrap;
    gap: 24px;
  }

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

  .footer-copy {
    flex-direction: column;
    text-align: center;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .contact-form-wrap {
    padding: 32px 24px;
  }

  .fp-tabs {
    flex-wrap: wrap;
  }

  .fp-plan-actions {
    flex-direction: column;
  }

  .floating-ctas {
    bottom: 20px;
    right: 20px;
  }
}

@media (max-width: 480px) {
  .config-grid {
    grid-template-columns: 1fr;
  }

  .amenities-grid {
    grid-template-columns: 1fr;
  }

  .amenity-card.large {
    grid-column: span 1;
  }

  .hero-ctas {
    flex-direction: column;
    align-items: center;
  }

  .rooftop-amenities {
    grid-template-columns: 1fr;
  }

  .fp-plan-visual {
    height: 260px;
  }
}
