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

:root {
  /* ==========================================================
     EXECUTIVE CORPORATE BLUE THEME DESIGN TOKENS
     ========================================================== */
  --background: #FFFFFF;
  --background-subtle: #F9FAFB;
  --background-muted: #F3F4F6;
  --card: #FFFFFF;
  --card-alt: #F9FAFB;
  --foreground: #111827;
  --foreground-heading: #0F172A;
  --foreground-muted: #4B5563;
  --foreground-subtle: #6B7280;
  --border: #E5E7EB;
  --border-strong: #D1D5DB;

  /* Primary Brand Accent (Corporate Blue) */
  --theme-primary: #2563EB;
  --theme-primary-hover: #1D4ED8;
  --theme-primary-light: #EFF6FF;
  --theme-primary-dark: #1E40AF;
  --theme-glow: rgba(37, 99, 235, 0.15);
  --theme-subtle-bg: #EFF6FF;
  --theme-subtle-border: #BFDBFE;

  --theme-gradient: linear-gradient(135deg, #1E40AF 0%, #2563EB 50%, #3B82F6 100%);
  --theme-btn: #2563EB;
  --theme-btn-hover: #1D4ED8;
}

* {
  border-color: var(--border);
  box-sizing: border-box;
}

body {
  background-color: var(--background) !important;
  color: var(--foreground) !important;
  font-family: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  color: var(--foreground-heading) !important;
  letter-spacing: -0.02em;
}

/* ==========================================================
   THEME COLOR MAP OVERRIDES (Clean Corporate Palette)
   ========================================================== */

/* Background conversions */
.bg-\[\#060608\],
.bg-\[\#070709\],
.bg-\[\#050507\],
.bg-\[\#040407\],
.bg-\[\#040406\],
.bg-\[\#08080d\],
.bg-\[\#090910\],
.bg-\[\#0a0a10\],
.bg-\[\#0b0b12\],
.bg-black {
  background-color: #F9FAFB !important;
}

.bg-\[\#0c0c14\],
.bg-\[\#0d0d14\],
.bg-\[\#0d0d18\],
.bg-\[\#0e0e16\],
.bg-\[\#0e0e18\],
.bg-\[\#0b0b14\],
.bg-\[\#10101a\],
.bg-black\/80,
.bg-black\/75,
.bg-black\/70,
.bg-black\/60,
.bg-black\/50,
.bg-black\/40 {
  background-color: #FFFFFF !important;
  border-color: #E5E7EB !important;
}

/* Text color conversions */
.text-white {
  color: #111827 !important;
}

.text-slate-200,
.text-slate-300 {
  color: #374151 !important;
}

.text-slate-400,
.text-slate-500 {
  color: #6B7280 !important;
}

/* Accent conversions to Corporate Blue */
.gold-gradient-text,
.theme-gradient-text {
  background: linear-gradient(135deg, #1D4ED8 0%, #2563EB 50%, #3B82F6 100%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  display: inline-block;
}

.text-amber-300,
.text-amber-400,
.text-amber-500,
.text-yellow-400,
.text-yellow-500 {
  color: #2563EB !important;
}

.border-amber-500,
.border-amber-500\/20,
.border-amber-500\/25,
.border-amber-500\/30,
.border-amber-500\/40,
.border-amber-500\/50,
.border-yellow-500 {
  border-color: #BFDBFE !important;
}

.bg-amber-500\/10,
.bg-amber-500\/20,
.bg-amber-400\/10,
.bg-amber-400\/20 {
  background-color: #EFF6FF !important;
  color: #1D4ED8 !important;
}

/* Primary Button Overrides */
.btn-gold,
.theme-btn-primary,
button.btn-gold,
a.btn-gold {
  background: #2563EB !important;
  color: #FFFFFF !important;
  font-weight: 700 !important;
  border-radius: 0.75rem !important;
  box-shadow: 0 4px 14px 0 rgba(37, 99, 235, 0.3) !important;
  transition: all 0.2s ease-in-out !important;
  border: 1px solid #1D4ED8 !important;
}

.btn-gold:hover,
.theme-btn-primary:hover,
button.btn-gold:hover,
a.btn-gold:hover {
  background: #1D4ED8 !important;
  box-shadow: 0 6px 20px 0 rgba(37, 99, 235, 0.4) !important;
  transform: translateY(-1px) !important;
  color: #FFFFFF !important;
}

.btn-gold:active,
.theme-btn-primary:active {
  transform: scale(0.98) !important;
}

/* Secondary Button / Outlines */
.btn-secondary-outline {
  background: #FFFFFF !important;
  color: #1F2937 !important;
  border: 1px solid #D1D5DB !important;
  font-weight: 600 !important;
  transition: all 0.2s ease !important;
}
.btn-secondary-outline:hover {
  background: #F9FAFB !important;
  border-color: #9CA3AF !important;
}

/* Glass & Card Styles */
.luxury-glass {
  background: #FFFFFF !important;
  border: 1px solid #E5E7EB !important;
  box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.05), 0 4px 6px -2px rgba(0, 0, 0, 0.02) !important;
}

.luxury-card-hover {
  background: #FFFFFF !important;
  border: 1px solid #E5E7EB !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03) !important;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
}
.luxury-card-hover:hover {
  border-color: #BFDBFE !important;
  box-shadow: 0 12px 28px -5px rgba(37, 99, 235, 0.12) !important;
  transform: translateY(-2px) !important;
}

/* Form Inputs, Selects, and Textareas */
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="password"],
input[type="date"],
input[type="time"],
input[type="number"],
select,
textarea {
  background-color: #FFFFFF !important;
  color: #111827 !important;
  border: 1px solid #D1D5DB !important;
  border-radius: 0.75rem !important;
  transition: border-color 0.2s, box-shadow 0.2s !important;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
input[type="password"]:focus,
input[type="date"]:focus,
input[type="time"]:focus,
input[type="number"]:focus,
select:focus,
textarea:focus {
  border-color: #2563EB !important;
  outline: none !important;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15) !important;
}

input::placeholder,
textarea::placeholder {
  color: #9CA3AF !important;
}

/* Badge and Tag Styles */
.badge-corporate-blue {
  background-color: #EFF6FF !important;
  color: #1D4ED8 !important;
  border: 1px solid #BFDBFE !important;
  font-weight: 600 !important;
}

/* Custom Clean Scrollbar */
::-webkit-scrollbar {
  width: 7px;
  height: 7px;
}
::-webkit-scrollbar-track {
  background: #F3F4F6;
}
::-webkit-scrollbar-thumb {
  background: #CBD5E1;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #2563EB;
}

/* Map Pin & Leaflet Customizer */
.leaflet-container {
  background-color: #F8FAFC !important;
  border-radius: 1rem !important;
}
.map-clean-container {
  border: 1px solid #E5E7EB;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
}
