/* ==========================================================================
   Sainik Colony Residences - Luxury 3BHK Real Estate Landing Page Stylesheet
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&display=swap');

/* --- CSS Variables & Design System --- */
:root {
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Color Palette */
  --bg-obsidian: #070B14;
  --bg-navy-dark: #0B1326;
  --bg-navy: #0F172A;
  --bg-card: #1E293B;
  --bg-card-hover: #26334D;
  --bg-light-surface: #F8FAFC;

  /* Luxury Accents */
  --gold-primary: #D4AF37;
  --gold-light: #F6E7B0;
  --gold-dark: #A8841B;
  --gold-gradient: linear-gradient(135deg, #C5A059 0%, #F3E5AB 30%, #C5A059 70%, #9A7B1C 100%);
  --gold-gradient-text: linear-gradient(135deg, #F3E5AB 0%, #D4AF37 50%, #AA771C 100%);
  --gold-glow: 0 10px 30px rgba(212, 175, 55, 0.3);
  
  --emerald-primary: #10B981;
  --emerald-gradient: linear-gradient(135deg, #10B981 0%, #059669 100%);
  --emerald-glow: 0 0 20px rgba(16, 185, 129, 0.35);

  --text-white: #FFFFFF;
  --text-heading: #F8FAFC;
  --text-muted: #94A3B8;
  --text-subtle: #64748B;
  
  --border-glass: rgba(255, 255, 255, 0.12);
  --border-gold: rgba(212, 175, 55, 0.3);
  --bg-glass: rgba(11, 19, 38, 0.82);

  --shadow-subtle: 0 10px 30px rgba(0, 0, 0, 0.35);
  --shadow-floating: 0 20px 50px rgba(0, 0, 0, 0.5);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;
  --radius-pill: 9999px;

  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-normal: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

/* --- Base & Reset --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-obsidian);
  color: var(--text-heading);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
}

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* --- Typography Helpers --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.15;
  color: var(--text-white);
}

.gold-text {
  background: var(--gold-gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  background: rgba(212, 175, 55, 0.12);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-pill);
  color: var(--gold-light);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 3.5rem auto;
}

.section-header h2 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  margin-bottom: 1rem;
}

.section-header p {
  color: var(--text-muted);
  font-size: 1.1rem;
}

/* --- Top Announcement Bar --- */
.top-announcement {
  background: linear-gradient(90deg, #1C1917 0%, #291D03 50%, #1C1917 100%);
  border-bottom: 1px solid var(--border-gold);
  padding: 0.6rem 0;
  font-size: 0.875rem;
  font-weight: 500;
}

.announcement-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.announcement-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--gold-light);
}

.pulsing-dot {
  width: 8px;
  height: 8px;
  background-color: var(--emerald-primary);
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  animation: pulse-ring 1.8s infinite;
}

@keyframes pulse-ring {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.announcement-call {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--text-white);
  font-weight: 600;
  transition: var(--transition-fast);
}

.announcement-call:hover {
  color: var(--gold-primary);
}

/* --- Navigation Header --- */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--bg-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-glass);
  padding: 1rem 0;
  transition: var(--transition-normal);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-icon {
  width: 44px;
  height: 44px;
  background: var(--gold-gradient);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--bg-obsidian);
  font-weight: 800;
  font-size: 1.3rem;
  box-shadow: var(--gold-glow);
}

.brand-text h3 {
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.brand-text span {
  display: block;
  font-size: 0.75rem;
  color: var(--gold-light);
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: var(--transition-fast);
}

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.85rem 1.75rem;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  text-align: center;
  white-space: nowrap;
}

.btn-gold {
  background: var(--gold-gradient);
  color: #070B14;
  font-weight: 700;
  box-shadow: var(--gold-glow);
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 35px rgba(212, 175, 55, 0.45);
}

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

.btn-outline-gold:hover {
  background: rgba(212, 175, 55, 0.12);
  border-color: var(--gold-primary);
  transform: translateY(-2px);
}

.btn-emerald {
  background: var(--emerald-gradient);
  color: var(--text-white);
  box-shadow: var(--emerald-glow);
}

.btn-emerald:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 35px rgba(16, 185, 129, 0.5);
}

.btn-lg {
  padding: 1.1rem 2.25rem;
  font-size: 1.05rem;
}

/* --- Hero Section --- */
.hero {
  position: relative;
  padding: 4rem 0 6rem 0;
  overflow: hidden;
  background: radial-gradient(circle at 50% 0%, rgba(212, 175, 55, 0.15) 0%, transparent 60%),
              radial-gradient(circle at 90% 40%, rgba(16, 185, 129, 0.08) 0%, transparent 50%),
              var(--bg-obsidian);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3.5rem;
  align-items: center;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.location-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1.25rem;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-pill);
  color: var(--gold-light);
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.hero h1 {
  font-size: clamp(2.5rem, 5vw, 3.8rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
  line-height: 1.1;
}

.hero-sub {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  max-width: 620px;
}

.hero-highlights-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.highlight-pill {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  background: rgba(30, 41, 59, 0.6);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  backdrop-filter: blur(10px);
}

.highlight-pill.span-2 {
  grid-column: span 2;
  justify-content: center;
}

.highlight-icon {
  width: 36px;
  height: 36px;
  background: rgba(212, 175, 55, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-primary);
  font-size: 1.1rem;
  flex-shrink: 0;
}

.highlight-info h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-white);
}

.highlight-info p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  align-items: center;
}

/* Hero Visual Card */
.hero-visual {
  position: relative;
}

.hero-card-wrapper {
  position: relative;
  border-radius: var(--radius-lg);
  padding: 8px;
  background: linear-gradient(135deg, rgba(212,175,55,0.4) 0%, rgba(255,255,255,0.05) 50%, rgba(16,185,129,0.3) 100%);
  box-shadow: var(--shadow-floating);
}

.hero-image-frame {
  position: relative;
  border-radius: calc(var(--radius-lg) - 4px);
  overflow: hidden;
  aspect-ratio: 4 / 5;
}

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

.hero-card-wrapper:hover .hero-image-frame img {
  transform: scale(1.03);
}

.hero-badge-overlay {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: rgba(7, 11, 20, 0.88);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-md);
  padding: 0.75rem 1.25rem;
  text-align: center;
  box-shadow: 0 10px 25px rgba(0,0,0,0.5);
}

.hero-badge-overlay .badge-num {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--gold-light);
  line-height: 1;
}

.hero-badge-overlay .badge-lbl {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 0.2rem;
}

.hero-bottom-tag {
  position: absolute;
  bottom: 1.25rem;
  left: 1.25rem;
  right: 1.25rem;
  background: rgba(15, 23, 42, 0.92);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.handover-tag {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.handover-icon {
  width: 40px;
  height: 40px;
  background: var(--emerald-gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}

.handover-text strong {
  display: block;
  color: var(--text-white);
  font-size: 0.95rem;
}

.handover-text span {
  font-size: 0.8rem;
  color: var(--emerald-primary);
  font-weight: 600;
}

/* --- Countdown & Urgency Bar --- */
.urgency-section {
  background: linear-gradient(180deg, var(--bg-obsidian) 0%, var(--bg-navy-dark) 100%);
  border-y: 1px solid var(--border-glass);
  padding: 3rem 0;
}

.urgency-box {
  background: rgba(30, 41, 59, 0.5);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  padding: 2rem 2.5rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  backdrop-filter: blur(16px);
  box-shadow: 0 15px 40px rgba(0,0,0,0.4);
}

.urgency-text h3 {
  font-size: 1.4rem;
  margin-bottom: 0.4rem;
}

.urgency-text p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.countdown-flex {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.countdown-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 70px;
  padding: 0.75rem;
  background: rgba(7, 11, 20, 0.8);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
}

.countdown-num {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--gold-light);
  line-height: 1;
}

.countdown-lbl {
  font-size: 0.7rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 0.4rem;
}

.countdown-colon {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--gold-primary);
}

.inventory-progress {
  min-width: 240px;
}

.inv-label {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.progress-track {
  width: 100%;
  height: 10px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-pill);
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  width: 66.6%;
  background: var(--gold-gradient);
  border-radius: var(--radius-pill);
  transition: width 1s ease-in-out;
}

/* --- Features Section --- */
.features-section {
  padding: 6rem 0;
  background: var(--bg-navy-dark);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.feature-card {
  background: rgba(30, 41, 59, 0.4);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  transition: var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--gold-gradient);
  opacity: 0;
  transition: var(--transition-fast);
}

.feature-card:hover {
  transform: translateY(-6px);
  background: rgba(30, 41, 59, 0.8);
  border-color: var(--border-gold);
  box-shadow: var(--shadow-subtle);
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-icon-box {
  width: 60px;
  height: 60px;
  background: rgba(212, 175, 55, 0.12);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: var(--gold-light);
  margin-bottom: 1.5rem;
}

.feature-card h3 {
  font-size: 1.3rem;
  margin-bottom: 0.75rem;
}

.feature-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* --- Specifications & Unit Details Section --- */
.specs-section {
  padding: 6rem 0;
  background: var(--bg-obsidian);
}

.specs-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.specs-content h2 {
  font-size: 2.4rem;
  margin-bottom: 1.25rem;
}

.specs-content p {
  color: var(--text-muted);
  margin-bottom: 2rem;
  font-size: 1.05rem;
}

.specs-checklist {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}

.spec-item {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
}

.spec-check {
  width: 24px;
  height: 24px;
  background: rgba(16, 185, 129, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--emerald-primary);
  font-size: 0.85rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.spec-details strong {
  display: block;
  color: var(--text-white);
  font-size: 0.95rem;
}

.spec-details span {
  font-size: 0.825rem;
  color: var(--text-muted);
}

/* Floorplan Interactive Switcher */
.floorplan-card {
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-floating);
}

.plan-tabs {
  display: flex;
  gap: 1rem;
  background: rgba(7, 11, 20, 0.6);
  padding: 0.4rem;
  border-radius: var(--radius-pill);
  margin-bottom: 2rem;
}

.plan-tab-btn {
  flex: 1;
  padding: 0.75rem;
  border: none;
  border-radius: var(--radius-pill);
  background: transparent;
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: var(--transition-fast);
}

.plan-tab-btn.active {
  background: var(--gold-gradient);
  color: var(--bg-obsidian);
  font-weight: 700;
  box-shadow: var(--gold-glow);
}

.plan-details-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.plan-metric {
  background: rgba(7, 11, 20, 0.5);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 1rem;
  text-align: center;
}

.plan-metric .val {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--gold-light);
}

.plan-metric .lbl {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
}

/* --- Gallery Showcase --- */
.gallery-section {
  padding: 6rem 0;
  background: var(--bg-navy-dark);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.gallery-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 4 / 3;
  border: 1px solid var(--border-glass);
}

.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-card:hover img {
  transform: scale(1.08);
}

.gallery-overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(0deg, rgba(7, 11, 20, 0.95) 0%, rgba(7, 11, 20, 0.72) 45%, rgba(7, 11, 20, 0.15) 80%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2.5rem 1.25rem 1.15rem 1.25rem;
  opacity: 1;
  transition: background 0.3s ease;
  pointer-events: none;
}

.gallery-card:hover .gallery-overlay {
  background: linear-gradient(0deg, rgba(7, 11, 20, 0.98) 0%, rgba(7, 11, 20, 0.82) 55%, rgba(7, 11, 20, 0.25) 85%, transparent 100%);
}

.gallery-overlay h4 {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-white);
  margin-bottom: 0.2rem;
  letter-spacing: -0.01em;
}

.gallery-overlay p {
  font-size: 0.82rem;
  color: var(--gold-light);
  line-height: 1.3;
}

/* --- Location & Connectivity Section --- */
.location-section {
  padding: 6rem 0;
  background: var(--bg-obsidian);
}

.location-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}

.connectivity-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-top: 2rem;
}

.connectivity-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  background: rgba(30, 41, 59, 0.5);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  transition: var(--transition-fast);
}

.connectivity-item:hover {
  border-color: var(--border-gold);
  transform: translateX(4px);
}

.conn-left {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.conn-icon {
  width: 42px;
  height: 42px;
  background: rgba(212, 175, 55, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-primary);
  font-size: 1.2rem;
}

.conn-info h4 {
  font-size: 1rem;
  color: var(--text-white);
}

.conn-info p {
  font-size: 0.825rem;
  color: var(--text-muted);
}

.conn-dist {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--gold-light);
  background: rgba(7, 11, 20, 0.85);
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-gold);
  white-space: nowrap;
  text-align: center;
}

.map-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-gold);
  box-shadow: var(--shadow-floating);
  background: var(--bg-card);
  min-height: 420px;
}

.map-card iframe {
  width: 100%;
  height: 420px;
  border: none;
  filter: grayscale(20%) contrast(1.1);
}

/* --- FAQ Accordion --- */
.faq-section {
  padding: 6rem 0;
  background: var(--bg-navy-dark);
}

.faq-list {
  max-width: 840px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.faq-item {
  background: rgba(30, 41, 59, 0.4);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition-fast);
}

.faq-item.active {
  border-color: var(--border-gold);
  background: rgba(30, 41, 59, 0.75);
}

.faq-question {
  width: 100%;
  padding: 1.5rem 1.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: transparent;
  border: none;
  color: var(--text-white);
  font-size: 1.05rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
}

.faq-icon {
  font-size: 1.2rem;
  color: var(--gold-primary);
  transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0, 1, 0, 1);
  padding: 0 1.75rem;
}

.faq-item.active .faq-answer {
  max-height: 500px;
  padding: 0 1.75rem 1.5rem 1.75rem;
  transition: max-height 0.35s cubic-bezier(1, 0, 1, 0);
}

.faq-answer p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* --- Form / CTA Booking Section --- */
.booking-section {
  padding: 6rem 0;
  background: radial-gradient(circle at 50% 50%, rgba(212, 175, 55, 0.12) 0%, transparent 70%),
              var(--bg-obsidian);
  position: relative;
}

.booking-card {
  max-width: 900px;
  margin: 0 auto;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  padding: 3.5rem;
  box-shadow: var(--shadow-floating);
  backdrop-filter: blur(20px);
}

.booking-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.booking-header h2 {
  font-size: 2.2rem;
  margin-bottom: 0.75rem;
}

.booking-header p {
  color: var(--text-muted);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group.full-width {
  grid-column: span 2;
}

.form-group label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-white);
}

.form-control {
  width: 100%;
  padding: 0.9rem 1.25rem;
  background: rgba(7, 11, 20, 0.75);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  color: var(--text-white);
  font-size: 16px; /* Prevents auto-zoom on iOS */
  outline: none;
  transition: var(--transition-fast);
}

.form-control:focus {
  border-color: var(--gold-primary);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.2);
}

/* --- Footer --- */
.footer {
  background: #04070D;
  border-top: 1px solid var(--border-glass);
  padding: 4rem 0 2rem 0;
  color: var(--text-muted);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand p {
  font-size: 0.9rem;
  margin-top: 1rem;
  color: var(--text-subtle);
}

.footer-title {
  font-size: 1.05rem;
  color: var(--text-white);
  margin-bottom: 1.25rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a {
  font-size: 0.9rem;
  transition: var(--transition-fast);
}

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

.footer-contact-info p {
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 2rem;
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-subtle);
}

/* --- Sticky Mobile Quick Action Bar --- */
.mobile-sticky-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 999;
  background: rgba(7, 11, 20, 0.95);
  backdrop-filter: blur(16px);
  border-top: 1px solid var(--border-gold);
  padding: 0.75rem 1rem;
  box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.6);
}

.mobile-bar-flex {
  display: flex;
  gap: 0.75rem;
}

.mobile-bar-btn {
  flex: 1;
  padding: 0.85rem 0.5rem;
  font-size: 0.9rem;
  border-radius: var(--radius-pill);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: 700;
}

/* --- Modal & Lightbox Styles --- */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  padding: 1.5rem;
}

.modal-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-card {
  background: var(--bg-navy-dark);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  max-width: 650px;
  width: 100%;
  padding: 2.5rem;
  position: relative;
  box-shadow: var(--shadow-floating);
  transform: translateY(20px);
  transition: transform 0.3s ease;
}

.modal-backdrop.active .modal-card {
  transform: translateY(0);
}

.modal-close-btn {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: #fff;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.modal-close-btn:hover {
  background: rgba(255, 255, 255, 0.2);
}

/* Lightbox Image Preview */
.lightbox-modal {
  position: fixed;
  inset: 0;
  z-index: 3000;
  background: rgba(0, 0, 0, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  padding: 2rem;
}

.lightbox-modal.active {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-content {
  max-width: 90vw;
  max-height: 90vh;
  position: relative;
}

.lightbox-content img {
  max-width: 100%;
  max-height: 85vh;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-gold);
}

/* Toast Alert */
.toast-notification {
  position: fixed;
  top: 2rem;
  right: 2rem;
  z-index: 4000;
  background: var(--emerald-gradient);
  color: #fff;
  padding: 1rem 1.5rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-floating);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  transform: translateX(120%);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.toast-notification.active {
  transform: translateX(0);
}

/* --- Responsive Media Queries --- */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .specs-wrapper, .location-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  /* Prevent horizontal scroll */
  html, body {
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
  }

  .container {
    padding: 0 1.25rem;
  }

  /* Hide top desktop announcement bar */
  .top-announcement {
    display: none;
  }

  /* Compact Navbar */
  .navbar {
    padding: 0.75rem 0;
  }

  .nav-links {
    display: none;
  }

  .brand-logo {
    gap: 0.65rem;
  }

  .logo-icon {
    width: 38px;
    height: 38px;
    font-size: 0.95rem;
    border-radius: 10px;
  }

  .brand-text h3 {
    font-size: 1.05rem;
  }

  .brand-text span {
    font-size: 0.65rem;
  }

  /* Keep navbar uncluttered on mobile */
  .nav-actions .btn-outline-gold {
    display: none;
  }

  .nav-actions .btn-gold {
    padding: 0.45rem 0.85rem;
    font-size: 0.8rem;
  }

  /* Hero Section */
  .hero {
    padding: 2rem 0 3rem;
  }

  .location-badge {
    font-size: 0.8rem;
    padding: 0.45rem 0.95rem;
    max-width: 100%;
    white-space: normal;
    line-height: 1.35;
    margin-bottom: 1rem;
  }

  .hero h1 {
    font-size: clamp(1.85rem, 6.5vw, 2.45rem);
    line-height: 1.2;
    margin-bottom: 1rem;
    word-break: break-word;
    overflow-wrap: break-word;
  }

  .hero-sub {
    font-size: 0.98rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
  }

  .hero-highlights-list {
    grid-template-columns: 1fr;
    gap: 0.65rem;
  }

  .highlight-pill {
    padding: 0.75rem 1rem;
  }

  .highlight-pill.span-2 {
    grid-column: span 1;
    justify-content: flex-start;
  }

  .hero-image-frame {
    margin-top: 1rem;
    border-radius: var(--radius-md);
  }

  /* Section Spacing & Headers */
  .features-section,
  .specs-section,
  .gallery-section,
  .location-section,
  .faq-section,
  .booking-section {
    padding: 3rem 0;
  }

  .section-header {
    margin-bottom: 2rem;
  }

  .section-header h2 {
    font-size: clamp(1.65rem, 5.5vw, 2.15rem);
    line-height: 1.25;
    word-break: break-word;
    overflow-wrap: break-word;
  }

  .section-header p {
    font-size: 0.95rem;
    line-height: 1.55;
  }

  /* Features Grid */
  .features-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .feature-card {
    padding: 1.5rem 1.25rem;
  }

  /* Floor Plan Viewer */
  .specs-wrapper {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .plan-tabs {
    flex-direction: column;
    gap: 0.5rem;
    padding: 0.35rem;
    border-radius: var(--radius-md);
  }

  .plan-tab-btn {
    padding: 0.75rem 0.5rem;
    font-size: 0.85rem;
    text-align: center;
    border-radius: var(--radius-sm);
    white-space: normal;
    line-height: 1.35;
  }

  .floorplan-card {
    padding: 1.5rem 1.25rem;
  }

  .plan-details-grid {
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
  }

  .plan-metric {
    padding: 0.75rem 0.5rem;
    text-align: center;
  }

  .plan-metric .val {
    font-size: 0.92rem;
    word-break: break-word;
  }

  .plan-metric .lbl {
    font-size: 0.72rem;
  }

  /* Gallery Grid */
  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  /* Connectivity Items */
  .connectivity-item {
    padding: 1rem;
    flex-wrap: wrap;
    gap: 0.75rem;
  }

  .conn-dist {
    margin-left: auto;
    font-size: 0.75rem;
  }

  /* FAQ Accordion */
  .faq-question {
    padding: 1.15rem 1.25rem;
    font-size: 0.95rem;
    text-align: left;
    gap: 0.75rem;
  }

  .faq-answer {
    padding: 0 1.25rem;
  }

  .faq-item.active .faq-answer {
    padding: 0 1.25rem 1.25rem 1.25rem;
  }

  .faq-answer p {
    font-size: 0.9rem;
    line-height: 1.55;
  }

  /* Booking Card */
  .booking-card {
    padding: 2rem 1.25rem;
    border-radius: var(--radius-md);
  }

  .booking-header h2 {
    font-size: 1.75rem;
    line-height: 1.25;
  }

  .booking-header p {
    font-size: 0.9rem;
  }

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

  .form-group.full-width {
    grid-column: span 1;
  }

  /* Booking Modal */
  .modal-card {
    max-width: 94vw;
    width: 94vw;
    padding: 2rem 1.25rem 1.5rem;
    border-radius: var(--radius-md);
  }

  .modal-card h3 {
    font-size: 1.45rem !important;
  }

  /* Footer */
  .footer {
    padding: 3rem 0 2rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  /* Mobile Floating Action Bar */
  .mobile-sticky-bar {
    display: block;
    padding: 0.6rem 0.75rem;
    padding-bottom: max(0.6rem, env(safe-area-inset-bottom, 0px));
  }

  .mobile-bar-flex {
    gap: 0.5rem;
  }

  .mobile-bar-btn {
    padding: 0.75rem 0.35rem;
    font-size: 0.82rem;
    gap: 0.35rem;
    white-space: nowrap;
  }

  .mobile-bar-btn i {
    font-size: 0.9rem;
  }

  body {
    padding-bottom: 80px;
  }
}

/* Extra small devices (phones under 400px) */
@media (max-width: 400px) {
  .container {
    padding: 0 0.85rem;
  }

  .brand-text h3 {
    font-size: 0.95rem;
  }

  .brand-text span {
    font-size: 0.6rem;
  }

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

  .mobile-bar-btn {
    font-size: 0.75rem;
    padding: 0.65rem 0.25rem;
    gap: 0.25rem;
  }

  .mobile-bar-btn i {
    font-size: 0.8rem;
  }
}
