/* ==========================================================================
   ISRAEL DURAN | THE IMPACT ARCHITECT - LUXURY HIGH-CONVERTING STYLESHEET
   Inspired by Dan Lok & Dan Vega | Minimalist, Prestigious, Conversion-Focused
   ========================================================================== */

:root {
  --bg-primary: #08080a;
  --bg-surface: #101014;
  --bg-card: rgba(18, 18, 24, 0.75);
  --bg-card-hover: rgba(26, 26, 36, 0.9);
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-light: rgba(255, 255, 255, 0.15);
  --border-gold: rgba(212, 175, 55, 0.3);
  
  --text-primary: #ffffff;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  
  --gold-primary: #d4af37;
  --gold-light: #f5e7a9;
  --gold-dark: #aa8524;
  --gold-gradient: linear-gradient(135deg, #d4af37 0%, #f7ecc2 50%, #b8860b 100%);
  
  --crimson-primary: #b31d1d;
  --crimson-dark: #821111;
  --crimson-glow: rgba(179, 29, 29, 0.25);
  
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-display: 'Cinzel', serif;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Typography Helpers */
.font-serif {
  font-family: var(--font-serif);
}

.font-display {
  font-family: var(--font-display);
}

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

.text-crimson {
  color: #e53e3e;
}

/* ==========================================================================
   LIGHT / WHITE SECTION UTILITIES (Editorial Luxury Contrast)
   Inspired by Dan Lok & Dan Vega's alternating crisp light panels
   ========================================================================== */
.section-light {
  background-color: #F8F9FA !important;
  color: #0F172A !important;
  border-top: 1px solid #E2E8F0 !important;
  border-bottom: 1px solid #E2E8F0 !important;
}

.section-pure-white {
  background-color: #FFFFFF !important;
  color: #0F172A !important;
  border-top: 1px solid #E5E7EB !important;
  border-bottom: 1px solid #E5E7EB !important;
}

.card-light {
  background-color: #FFFFFF !important;
  border: 1px solid #E2E8F0 !important;
  box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.06), 0 2px 6px -1px rgba(15, 23, 42, 0.04) !important;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.card-light:hover {
  transform: translateY(-4px);
  border-color: #D4AF37 !important;
  box-shadow: 0 16px 32px -4px rgba(212, 175, 55, 0.15), 0 4px 12px -2px rgba(15, 23, 42, 0.08) !important;
}

.gold-badge-light {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.9rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #92700C;
  background: #FEF9C3;
  border: 1px solid #FACC15;
  border-radius: 9999px;
}

.btn-dark-primary {
  background: #09090C;
  color: #FFFFFF;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.85rem 1.85rem;
  border-radius: 2px;
  border: 1px solid #27272A;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  cursor: pointer;
}

.btn-dark-primary:hover {
  background: #18181B;
  border-color: #D4AF37;
  color: #D4AF37;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

.btn-outline-dark {
  background: transparent;
  color: #0F172A;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.85rem 1.85rem;
  border-radius: 2px;
  border: 2px solid #0F172A;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  cursor: pointer;
}

.btn-outline-dark:hover {
  background: #0F172A;
  color: #FFFFFF;
  transform: translateY(-2px);
}

/* Luxury Grain & Ambient Background Glows */
.bg-ambient-radial {
  background: radial-gradient(circle at 50% 0%, rgba(212, 175, 55, 0.08) 0%, rgba(8, 8, 10, 0) 70%);
}

.bg-crimson-radial {
  background: radial-gradient(circle at 80% 20%, rgba(179, 29, 29, 0.12) 0%, rgba(8, 8, 10, 0) 65%);
}

.bg-glass {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-subtle);
}

.bg-glass-hover:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-gold);
  transform: translateY(-3px);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Header & Glass Navigation */
.navbar-glass {
  background: rgba(8, 8, 10, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
  transition: all 0.3s ease;
}

.navbar-scrolled {
  background: rgba(8, 8, 10, 0.95);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
  border-bottom-color: rgba(212, 175, 55, 0.2);
}

/* Button System (High-Converting & Luxurious) */
.btn-gold {
  background: var(--gold-gradient);
  color: #08080a;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.85rem 1.85rem;
  border-radius: 2px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow: 0 4px 20px rgba(212, 175, 55, 0.25);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  cursor: pointer;
}

.btn-gold:hover {
  box-shadow: 0 6px 28px rgba(212, 175, 55, 0.45);
  transform: translateY(-2px);
  filter: brightness(1.05);
}

.btn-outline-gold {
  background: transparent;
  color: var(--gold-light);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.85rem 1.85rem;
  border-radius: 2px;
  border: 1px solid rgba(212, 175, 55, 0.5);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  cursor: pointer;
}

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

.btn-crimson {
  background: linear-gradient(135deg, #c22b2b 0%, #8b1313 100%);
  color: #ffffff;
  font-weight: 700;
  letter-spacing: 0.03em;
  padding: 0.85rem 1.85rem;
  border-radius: 2px;
  border: 1px solid rgba(255, 100, 100, 0.3);
  box-shadow: 0 4px 20px rgba(194, 43, 43, 0.35);
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  cursor: pointer;
}

.btn-crimson:hover {
  box-shadow: 0 6px 26px rgba(194, 43, 43, 0.55);
  transform: translateY(-2px);
  filter: brightness(1.1);
}

/* Pulsing Badge Indicator */
.pulse-indicator {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #22c55e;
  box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
  animation: pulse-ring 2s infinite cubic-bezier(0.66, 0, 0, 1);
}

@keyframes pulse-ring {
  0% {
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
  }
  70% {
    box-shadow: 0 0 0 8px rgba(34, 197, 94, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0);
  }
}

/* Subtle border lines & badges */
.gold-line {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.5), transparent);
}

.gold-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.9rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-light);
  background: rgba(212, 175, 55, 0.08);
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: 9999px;
}

/* Quote Card (Dan Vega Style) */
.quote-banner {
  position: relative;
  border-left: 3px solid var(--gold-primary);
  background: linear-gradient(90deg, rgba(212, 175, 55, 0.06) 0%, rgba(18, 18, 24, 0.3) 100%);
  padding: 2.5rem 3rem;
  border-radius: 0 8px 8px 0;
}

/* Media Logos Marquee */
.media-logo-wrapper {
  opacity: 0.65;
  transition: opacity 0.3s ease, filter 0.3s ease;
  filter: grayscale(100%) brightness(1.2);
}

.media-logo-wrapper:hover {
  opacity: 1;
  filter: grayscale(0%) brightness(1);
}

/* Custom Modal & Drawer */
.modal-overlay {
  background: rgba(4, 4, 6, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

/* Custom scrollbars */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #08080a;
}
::-webkit-scrollbar-thumb {
  background: #272730;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #d4af37;
}

/* Responsive Image Hover Zoom */
.img-zoom-container {
  overflow: hidden;
}
.img-zoom-container img {
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.img-zoom-container:hover img {
  transform: scale(1.05);
}

/* Testimonial Card Quote Mark */
.quote-mark {
  font-family: var(--font-serif);
  font-size: 5rem;
  line-height: 1;
  color: rgba(212, 175, 55, 0.2);
  user-select: none;
}
