/* ==========================================================================
   A3 ELITE PROPERTIES - LUXURY REAL ESTATE GROUP & PROMOTERS
   Single-Page Web Experience Stylesheet
   ========================================================================== */

:root {
  /* Brand Colors from Logo */
  --bg-primary: #07101B;
  --bg-secondary: #0B1728;
  --bg-card: rgba(14, 28, 48, 0.75);
  --bg-card-hover: rgba(19, 38, 65, 0.85);

  /* Gold & Champagne Spectrum */
  --gold-100: #FBF4E2;
  --gold-200: #F3E1A9;
  --gold-300: #E6C87C;
  --gold-400: #DFBF83;
  --gold-500: #D4AF37; /* Primary Brand Gold */
  --gold-600: #C5A869;
  --gold-700: #9E8038;
  --gold-gradient: linear-gradient(135deg, #F9E7B9 0%, #D4AF37 40%, #A38035 80%, #E3C57B 100%);
  --gold-glow: rgba(212, 175, 55, 0.25);
  --gold-glow-intense: rgba(212, 175, 55, 0.6);

  /* Blueprint & Technical Tints */
  --cyan-cad: #38BDF8;
  --green-success: #10B981;

  /* Typography Colors */
  --text-white: #FFFFFF;
  --text-silver: #E2E8F0;
  --text-muted: #94A3B8;
  --text-dim: #64748B;

  /* Borders & Shadows */
  --border-gold: rgba(212, 175, 55, 0.25);
  --border-gold-bright: rgba(212, 175, 55, 0.55);
  --border-subtle: rgba(255, 255, 255, 0.08);
  --shadow-luxury: 0 20px 40px -15px rgba(0, 0, 0, 0.8), 0 0 30px rgba(212, 175, 55, 0.08);

  /* Fonts */
  --font-serif: 'Cinzel', Georgia, serif;
  --font-sans: 'Plus Jakarta Sans', 'Outfit', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 14px;
  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==========================================================================
   BLUEPRINT CAD MODE (Interactive Switcher)
   ========================================================================== */
body.blueprint-mode {
  --bg-primary: #041224;
  --bg-secondary: #071c38;
  --bg-card: rgba(8, 29, 58, 0.85);
  --gold-500: #38BDF8;
  --gold-400: #7DD3FC;
  --gold-600: #0284C7;
  --gold-gradient: linear-gradient(135deg, #BAE6FD 0%, #38BDF8 50%, #0369A1 100%);
  --gold-glow: rgba(56, 189, 248, 0.3);
  --border-gold: rgba(56, 189, 248, 0.35);
  --border-gold-bright: rgba(56, 189, 248, 0.7);
}

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

html {
  font-size: 16px;
}

body {
  background-color: var(--bg-primary);
  color: var(--text-silver);
  font-family: var(--font-sans);
  line-height: 1.6;
  min-height: 100vh;
  position: relative;
  -webkit-font-smoothing: antialiased;
}

/* Background Canvas */
.blueprint-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -2;
  pointer-events: none;
}

/* Ambient Lighting */
.ambient-glow-top {
  position: fixed;
  top: -150px;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 450px;
  background: radial-gradient(ellipse at center, rgba(212, 175, 55, 0.12) 0%, rgba(7, 16, 27, 0) 70%);
  z-index: -1;
  pointer-events: none;
}

.ambient-glow-bottom {
  position: fixed;
  bottom: -180px;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 450px;
  background: radial-gradient(ellipse at center, rgba(14, 38, 70, 0.4) 0%, rgba(7, 16, 27, 0) 75%);
  z-index: -1;
  pointer-events: none;
}

/* Typography Utilities */
h1, h2, h3 {
  font-family: var(--font-serif);
  color: var(--text-white);
  letter-spacing: 0.04em;
}

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

.text-gold { color: var(--gold-400) !important; }
.text-cyan { color: var(--cyan-cad) !important; }

/* Page Wrapper */
.page-wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  justify-content: space-between;
}

/* ==========================================================================
   HEADER NAVIGATION
   ========================================================================== */
.site-header {
  height: 80px;
  background: rgba(7, 16, 27, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-gold);
  display: flex;
  align-items: center;
  z-index: 10;
}

.header-container {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-box {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-logo {
  width: 48px;
  height: 48px;
  border-radius: 6px;
  object-fit: cover;
  border: 1px solid var(--border-gold-bright);
  box-shadow: 0 0 15px rgba(212, 175, 55, 0.2);
}

.brand-meta {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--gold-200);
  line-height: 1.1;
}

.brand-subtitle {
  font-family: var(--font-serif);
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.35em;
  color: var(--gold-400);
}

.brand-tagline {
  font-family: var(--font-sans);
  font-size: 0.52rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--text-dim);
  text-transform: uppercase;
}

.header-controls {
  display: flex;
  align-items: center;
  gap: 12px;
}

.hud-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-gold);
  color: var(--gold-200);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-family: var(--font-mono);
  font-size: 0.74rem;
  cursor: pointer;
  transition: var(--transition-fast);
}
.hud-btn:hover {
  background: rgba(212, 175, 55, 0.15);
  border-color: var(--gold-400);
}

.hud-icon-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-fast);
}
.hud-icon-btn:hover {
  color: var(--gold-300);
  border-color: var(--border-gold);
}

/* ==========================================================================
   MAIN CONTENT
   ========================================================================== */
.main-content {
  flex: 1;
  padding: 36px 0;
  display: flex;
  align-items: center;
}

.content-container {
  max-width: 1100px;
  width: 100%;
  margin: 0 auto;
  padding: 0 24px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.main-title {
  font-size: clamp(2.3rem, 4.8vw, 3.8rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 14px;
}

.main-desc {
  font-size: clamp(0.95rem, 1.2vw, 1.1rem);
  max-width: 760px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 28px;
}

/* ==========================================================================
   CONSTRUCTION ANIMATION SCENE
   ========================================================================== */
.construction-scene-wrapper {
  width: 100%;
  max-width: 1040px;
  margin-bottom: 28px;
  position: relative;
}

.scene-hud-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 18px;
  background: rgba(11, 23, 40, 0.9);
  border: 1px solid var(--border-gold);
  border-bottom: none;
  border-radius: var(--radius-md) var(--radius-md) 0 0;
  font-family: var(--font-mono);
  font-size: 0.72rem;
}

.hud-stat {
  display: flex;
  align-items: center;
  gap: 6px;
}

.hud-label { color: var(--text-dim); }
.hud-val { font-weight: 600; }

.small-dot {
  font-size: 7px;
  margin-right: 4px;
}

.construction-stage {
  position: relative;
  width: 100%;
  background: radial-gradient(circle at 60% 40%, rgba(15, 32, 54, 0.92) 0%, rgba(7, 16, 27, 0.98) 100%);
  border: 1px solid var(--border-gold-bright);
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.75), 0 0 35px rgba(212, 175, 55, 0.12);
  overflow: hidden;
  height: 420px;
}

.construction-svg {
  width: 100%;
  height: 100%;
  display: block;
}

/* Laser Scanline Beam */
.laser-scanline {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, rgba(212, 175, 55, 0.2) 20%, #DFBF83 50%, rgba(212, 175, 55, 0.2) 80%, transparent 100%);
  box-shadow: 0 0 15px #DFBF83, 0 0 30px rgba(212, 175, 55, 0.6);
  z-index: 5;
  animation: laserScan 6s infinite ease-in-out alternate;
  pointer-events: none;
}

@keyframes laserScan {
  0% { top: 10%; opacity: 0.3; }
  50% { top: 80%; opacity: 0.9; }
  100% { top: 25%; opacity: 0.5; }
}

/* Steady Crane Indicator (No Blinking) */
.crane-beacon-indicator {
  opacity: 0.9;
  filter: drop-shadow(0 0 4px #D4AF37);
}

/* Trolley traverse across working jib */
.crane-trolley-assembly {
  animation: trolleyTraverse 16s infinite ease-in-out;
}

@keyframes trolleyTraverse {
  0%, 100% { transform: translateX(720px); }
  35%, 65% { transform: translateX(510px); }
  75% { transform: translateX(600px); }
}

/* Hook and cable lowering/raising */
.hook-block {
  animation: hookHoist 16s infinite ease-in-out;
}

.hoist-cable {
  animation: cableStretch 16s infinite ease-in-out;
}

@keyframes hookHoist {
  0%, 100% { transform: translateY(70px); }
  30% { transform: translateY(70px); }
  42%, 58% { transform: translateY(105px); }
  68% { transform: translateY(65px); }
}

@keyframes cableStretch {
  0%, 100% { y2: 70px; }
  30% { y2: 70px; }
  42%, 58% { y2: 105px; }
  68% { y2: 65px; }
}

.suspended-girder {
  animation: beamSway 6s infinite ease-in-out;
}

@keyframes beamSway {
  0%, 100% { transform: translate(0, 32px) rotate(-0.5deg); }
  50% { transform: translate(0, 32px) rotate(0.8deg); }
}

/* Welding Spark Emitter */
.welding-spark-emitter {
  opacity: 0;
  animation: welderBurst 16s infinite;
}

.welder-flash-core {
  fill: #60A5FA;
  filter: url(#intenseGlow);
}

@keyframes welderBurst {
  0%, 41.9% { opacity: 0; transform: translate(510px, 77px) scale(0.5); }
  42%, 58% { opacity: 1; transform: translate(510px, 77px) scale(1); animation-timing-function: steps(3, start); }
  58.1%, 100% { opacity: 0; }
}

.sparks-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 6;
}

/* CAD Chips */
.cad-chip {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  background: rgba(7, 16, 27, 0.85);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-sm);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  backdrop-filter: blur(8px);
  z-index: 8;
  pointer-events: none;
}

.chip-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green-success);
  box-shadow: 0 0 6px var(--green-success);
}
.chip-dot.gold {
  background: var(--gold-500);
  box-shadow: 0 0 6px var(--gold-500);
}

.chip-code { color: var(--text-muted); }
.chip-metric { color: var(--gold-300); font-weight: 700; }
.chip-1 { top: 20px; left: 20px; }
.chip-2 { bottom: 20px; left: 20px; }

/* ==========================================================================
   PROGRESS BAR & COUNTDOWN IN A BALANCED ROW
   ========================================================================== */
.launch-telemetry-panel {
  width: 100%;
  max-width: 1040px;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 20px;
  margin-bottom: 28px;
}

.progress-box, .countdown-box {
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-md);
  padding: 18px 22px;
  box-shadow: var(--shadow-luxury);
  backdrop-filter: blur(10px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.progress-labels {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
}

.p-title { color: var(--text-white); }
.p-val strong { font-size: 1.1rem; }

.progress-track {
  width: 100%;
  height: 10px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 5px;
  overflow: hidden;
  position: relative;
  margin-bottom: 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.progress-fill {
  height: 100%;
  background: var(--gold-gradient);
  border-radius: 5px;
  position: relative;
}

.progress-glow {
  position: absolute;
  top: 0;
  right: 0;
  width: 25px;
  height: 100%;
  background: #FFFFFF;
  filter: blur(4px);
  opacity: 0.8;
}

.progress-notes {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--text-dim);
}

.countdown-heading {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: var(--gold-400);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.countdown-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.countdown-card {
  background: rgba(7, 16, 27, 0.6);
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: var(--radius-sm);
  padding: 8px 4px;
  text-align: center;
}

.countdown-value {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--gold-100);
  line-height: 1;
  margin-bottom: 2px;
}

.countdown-label {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  color: var(--text-dim);
  letter-spacing: 0.1em;
}

/* ==========================================================================
   DIRECT CONTACT SECTION (Call, WhatsApp, Email)
   ========================================================================== */
.contact-section-wrap {
  width: 100%;
  max-width: 1040px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1.15fr;
  gap: 16px;
}

.contact-card {
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  box-shadow: var(--shadow-luxury);
  backdrop-filter: blur(10px);
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: var(--transition-fast);
}
.contact-card:hover {
  border-color: var(--gold-400);
  transform: translateY(-2px);
}

.contact-card-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.95rem;
  color: var(--text-white);
  font-weight: 600;
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 10px;
}

.contact-card-num {
  letter-spacing: 0.05em;
}

.contact-card-buttons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.email-card .contact-card-buttons {
  grid-template-columns: 1fr;
}

.btn-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition-fast);
  cursor: pointer;
}

.btn-call {
  background: rgba(212, 175, 55, 0.12);
  border: 1px solid var(--border-gold);
  color: var(--gold-200);
}
.btn-call:hover {
  background: var(--gold-500);
  color: #07101B;
  border-color: var(--gold-500);
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.35);
}

.btn-wa {
  background: rgba(37, 211, 102, 0.12);
  border: 1px solid rgba(37, 211, 102, 0.35);
  color: #25D366;
}
.btn-wa:hover {
  background: #25D366;
  color: #07101B;
  border-color: #25D366;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.35);
}

.btn-email {
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.35);
  color: var(--cyan-cad);
}
.btn-email:hover {
  background: var(--cyan-cad);
  color: #07101B;
  border-color: var(--cyan-cad);
  box-shadow: 0 4px 15px rgba(56, 189, 248, 0.35);
}

/* ==========================================================================
   MINIMALIST FOOTER
   ========================================================================== */
.site-footer {
  background: #040A12;
  border-top: 1px solid var(--border-gold);
  padding: 18px 0;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
}

.copyright {
  font-size: 0.8rem;
  color: var(--text-dim);
}

.footer-contact-summary a {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--gold-400);
  text-decoration: none;
}
.footer-contact-summary a:hover {
  color: var(--gold-200);
}

/* ==========================================================================
   TOAST NOTIFICATION HUD
   ========================================================================== */
.toast-container {
  position: fixed;
  bottom: 24px;
  left: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 100;
}

.toast {
  background: rgba(11, 23, 40, 0.95);
  border: 1px solid var(--border-gold);
  border-left: 4px solid var(--gold-500);
  border-radius: var(--radius-sm);
  padding: 10px 16px;
  color: var(--text-white);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.8);
  display: flex;
  align-items: center;
  gap: 10px;
  animation: toastSlideIn 0.3s ease-out forwards;
}

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

/* ==========================================================================
   RESPONSIVE MEDIA QUERIES
   ========================================================================== */
@media (max-width: 960px) {
  .launch-telemetry-panel {
    grid-template-columns: 1fr;
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .construction-stage {
    height: 360px;
  }
}

@media (max-width: 600px) {
  .header-container {
    padding: 0 16px;
  }
  .mobile-hide {
    display: none !important;
  }
  .main-title {
    font-size: 2rem;
  }
  .main-desc {
    font-size: 0.92rem;
  }
  .construction-stage {
    height: 280px;
  }
  .contact-card-buttons {
    grid-template-columns: 1fr;
  }
  .footer-inner {
    flex-direction: column;
    text-align: center;
  }
}
