﻿/* Dubai Ultra-Luxury Real Estate Advisory Theme - Tailored for Tanmay */
@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;500;600;700;800&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Outfit:wght@300;400;500;600;700&display=swap');

:root {
  --color-obsidian: #08090d;
  --color-obsidian-card: rgba(16, 20, 29, 0.75);
  --color-gold-champagne: #dfb774;
  --color-gold-light: #f3dfba;
  --color-gold-dim: #9c7b44;
  --color-emerald-lagoon: #10b981;
  --color-blue-azure: #0ea5e9;
  --color-border-glass: rgba(223, 183, 116, 0.2);
  --color-border-card: rgba(255, 255, 255, 0.08);
}

* {
  box-sizing: border-box;
}

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  background-color: var(--color-obsidian);
  color: #f1f5f9;
  overflow-x: hidden;
  position: relative;
  margin: 0;
}

/* Atmospheric Multi-layer Background (STRICT RULE: NO FLAT SOLID COLORS) */
.atmospheric-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background: 
    radial-gradient(circle at 18% 12%, rgba(223, 183, 116, 0.14) 0%, transparent 48%),
    radial-gradient(circle at 82% 28%, rgba(14, 165, 233, 0.10) 0%, transparent 52%),
    radial-gradient(circle at 45% 70%, rgba(16, 185, 129, 0.08) 0%, transparent 60%),
    radial-gradient(circle at 75% 88%, rgba(217, 119, 6, 0.09) 0%, transparent 55%),
    linear-gradient(180deg, #090a0f 0%, #0d1117 35%, #080b11 70%, #05070a 100%);
}

.mesh-overlay {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  opacity: 0.04;
  background-image: radial-gradient(rgba(255, 255, 255, 0.8) 1px, transparent 1px);
  background-size: 32px 32px;
}

/* Luxury Typography */
.font-cinzel {
  font-family: 'Cinzel', serif;
  letter-spacing: 0.04em;
}

.font-outfit {
  font-family: 'Outfit', sans-serif;
}

/* Glassmorphism Classes */
.glass-panel {
  background: var(--color-obsidian-card);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--color-border-card);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.glass-panel-gold {
  background: rgba(22, 26, 38, 0.88);
  backdrop-filter: blur(20px);
  border: 1px solid var(--color-border-glass);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), 0 0 35px rgba(223, 183, 116, 0.12);
}

.glass-nav {
  background: rgba(8, 10, 15, 0.85);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid rgba(223, 183, 116, 0.18);
}

/* Luxury Accents and Glows */
.gold-gradient-text {
  background: linear-gradient(135deg, #f7e6ca 0%, #dfb774 45%, #b58941 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.emerald-gradient-text {
  background: linear-gradient(135deg, #a7f3d0 0%, #34d399 50%, #059669 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.cyan-gradient-text {
  background: linear-gradient(135deg, #bae6fd 0%, #38bdf8 50%, #0284c7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Image Card Treatments */
.image-zoom-container {
  overflow: hidden;
  position: relative;
}

.image-zoom-container img {
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.image-zoom-container:hover img {
  transform: scale(1.05);
}

/* Badges & Tags */
.vip-badge {
  background: linear-gradient(90deg, rgba(223, 183, 116, 0.18) 0%, rgba(223, 183, 116, 0.06) 100%);
  border: 1px solid rgba(223, 183, 116, 0.35);
  color: #dfb774;
}

/* WhatsApp Floating Button (STRICT USER RULE: ICON ONLY, NO TEXT) */
.whatsapp-float-btn {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  box-shadow: 0 8px 30px rgba(37, 211, 102, 0.45), 0 0 0 2px rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  text-decoration: none;
}

.whatsapp-float-btn:hover {
  transform: scale(1.1) translateY(-3px);
  box-shadow: 0 12px 35px rgba(37, 211, 102, 0.6), 0 0 0 3px rgba(255, 255, 255, 0.3);
}

/* Subtle scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #080a0f;
}

::-webkit-scrollbar-thumb {
  background: rgba(223, 183, 116, 0.25);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(223, 183, 116, 0.45);
}
/* Drawer & Modal Transitions */
#side-drawer {
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

#side-drawer.drawer-open {
  transform: translateX(0);
}

#side-drawer.drawer-closed {
  transform: translateX(100%);
}

#drawer-backdrop {
  transition: opacity 0.3s ease-in-out;
}

#drawer-backdrop.backdrop-open {
  opacity: 1;
  pointer-events: auto;
}

#drawer-backdrop.backdrop-closed {
  opacity: 0;
  pointer-events: none;
}

/* Simulator Visual Progress Bars */
.sim-bar-fill {
  transition: width 0.4s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.4s ease;
}
.year-step-active {
  background: linear-gradient(135deg, #dfb774 0%, #c89d53 100%) !important;
  color: #08090d !important;
  font-weight: 800 !important;
  box-shadow: 0 4px 20px rgba(223, 183, 116, 0.4) !important;
  border-color: #dfb774 !important;
}


/* ==========================================================================
   MOBILE & VIEWPORT ELITE STANDARDS (APPLE & ANDROID HIG COMPLIANCE)
   ========================================================================== */

html {
  overflow-x: hidden;
  max-width: 100vw;
  width: 100%;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  overflow-x: hidden;
  max-width: 100vw;
  width: 100%;
  position: relative;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Prevent unwanted tap gray highlight on mobile */
button, a, input, select {
  -webkit-tap-highlight-color: transparent;
}

/* Responsive Image Containers */
img {
  max-width: 100%;
  height: auto;
}

/* Range input touch target optimization on mobile */
input[type="range"] {
  touch-action: pan-y;
}

input[type="range"]::-webkit-slider-thumb {
  width: 24px;
  height: 24px;
  cursor: pointer;
}

input[type="range"]::-moz-range-thumb {
  width: 24px;
  height: 24px;
  cursor: pointer;
}

/* Mobile Floating WhatsApp Button */
@media (max-width: 640px) {
  .whatsapp-float-btn {
    bottom: calc(18px + env(safe-area-inset-bottom, 0px)) !important;
    right: calc(16px + env(safe-area-inset-right, 0px)) !important;
    width: 48px !important;
    height: 48px !important;
  }
  .whatsapp-float-btn svg {
    width: 26px !important;
    height: 26px !important;
  }
}
