/* ==========================================================================
   New Fortune Contracting LLC - Facility Management Division
   Dubai Executive Minimalist Luxury Design System
   ========================================================================== */

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

:root {
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  
  /* Dubai Executive Luxury Palette */
  --color-primary-navy: #061826;
  --color-primary-dark: #040e17;
  --color-azure-blue: #0284C7;
  --color-brand-cyan: #008BA3;
  --color-luminous-teal: #0EA5E9;
  --color-uae-gold: #D4AF37;
  --color-uae-gold-light: #FBF0D9;
  --color-surface-pearl: #F8FAFC;
  --color-surface-ice: #F0F7FA;
  --color-text-heading: #0B192C;
  --color-text-body: #475569;
  --color-text-muted: #64748B;
  --color-border-subtle: #E2E8F0;
  
  /* WhatsApp */
  --color-whatsapp: #25D366;
}

html {
  font-family: var(--font-sans);
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  color: var(--color-text-body);
  background-color: #FFFFFF;
  overflow-x: hidden;
  font-size: 14px;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-sans);
  color: var(--color-text-heading);
  letter-spacing: -0.025em;
  font-weight: 700;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 7px;
}
::-webkit-scrollbar-track {
  background: #f8fafc;
}
::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

::selection {
  background-color: rgba(2, 132, 199, 0.2);
  color: #0369a1;
}

/* ==========================================================================
   Luxury Ambient Backgrounds & Mesh Lighting
   ========================================================================== */
.bg-luxury-hero {
  background-color: #FFFFFF;
  background-image: 
    radial-gradient(at 10% 20%, rgba(2, 132, 199, 0.06) 0px, transparent 55%),
    radial-gradient(at 90% 15%, rgba(0, 139, 163, 0.08) 0px, transparent 50%),
    radial-gradient(at 50% 85%, rgba(212, 175, 55, 0.04) 0px, transparent 50%);
}

.bg-luxury-mesh {
  background-image: 
    radial-gradient(at 0% 0%, rgba(2, 132, 199, 0.04) 0px, transparent 50%),
    radial-gradient(at 100% 100%, rgba(2, 132, 199, 0.04) 0px, transparent 50%);
}

.bg-grid-pattern {
  background-size: 40px 40px;
  background-image: 
    linear-gradient(to right, rgba(226, 232, 240, 0.45) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(226, 232, 240, 0.45) 1px, transparent 1px);
}

/* ==========================================================================
   Luxury Glassmorphism Utilities
   ========================================================================== */
.glass-luxury {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.95);
  box-shadow: 0 10px 30px -10px rgba(10, 37, 64, 0.08), 0 4px 6px -2px rgba(2, 132, 199, 0.04);
}

.glass-dark-luxury {
  background: rgba(6, 24, 38, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.4);
}

.gold-badge {
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.12) 0%, rgba(212, 175, 55, 0.04) 100%);
  border: 1px solid rgba(212, 175, 55, 0.35);
  color: #B48A14;
}

/* ==========================================================================
   Hero 3-Column Architecture Layout (Matching Picture 2 Reference)
   ========================================================================== */
.hero-3col-container {
  display: grid;
  grid-template-columns: 1.12fr 0.96fr 1.12fr;
  gap: 14px;
  position: relative;
}

@media (max-width: 1024px) {
  .hero-3col-container {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  .hero-3col-third {
    grid-column: span 2;
    aspect-ratio: 16/9;
  }
}

@media (max-width: 640px) {
  .hero-3col-container {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .hero-3col-third {
    grid-column: auto;
    aspect-ratio: auto;
  }
}

/* ==========================================================================
   Smooth Micro-Interactions & Hover Elevation
   ========================================================================== */
.card-luxury {
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid #e2e8f0;
}
.card-luxury:hover {
  transform: translateY(-5px);
  border-color: #38bdf8;
  box-shadow: 0 20px 35px -12px rgba(10, 37, 64, 0.12), 0 8px 16px -6px rgba(2, 132, 199, 0.08);
}

.img-zoom-smooth {
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.group:hover .img-zoom-smooth {
  transform: scale(1.07);
}

/* Nav Link Hover Underline */
.nav-link-anim {
  position: relative;
  transition: color 0.25s ease;
}
.nav-link-anim::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0%;
  height: 2px;
  background-color: #008ba3;
  transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  border-radius: 9999px;
}
.nav-link-anim:hover::after,
.nav-link-anim.active::after {
  width: 100%;
}

/* Circle Action Buttons */
.circle-arrow-btn {
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.group:hover .circle-arrow-btn {
  background-color: #008ba3;
  color: #ffffff;
  border-color: #008ba3;
  transform: translateX(3px);
  box-shadow: 0 4px 10px rgba(0, 139, 163, 0.35);
}

/* Luxury Shimmer Button */
.btn-luxury-shimmer {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #008ba3 0%, #0369a1 100%);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.btn-luxury-shimmer::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    60deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transform: rotate(30deg);
  transition: transform 0.8s ease;
  pointer-events: none;
}
.btn-luxury-shimmer:hover::after {
  transform: rotate(30deg) translate(50%, 50%);
}
.btn-luxury-shimmer:hover {
  box-shadow: 0 8px 24px -4px rgba(0, 139, 163, 0.45);
  transform: translateY(-1.5px);
}
.btn-luxury-shimmer:active {
  transform: scale(0.98);
}

/* WhatsApp Floating Radar Pulse */
@keyframes pulse-ring {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 16px rgba(37, 211, 102, 0);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}
.whatsapp-pulse-btn {
  animation: pulse-ring 2.2s infinite;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.whatsapp-pulse-btn:hover {
  transform: scale(1.08);
}

/* Modals */
.modal-overlay {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}
.modal-content {
  transform: scale(0.95) translateY(10px);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.modal-overlay.active .modal-content {
  transform: scale(1) translateY(0);
}
