/* modern.css - Premium Midnight Theme Enhancements */

/* Body overarching settings */
body {
  font-family: 'Outfit', 'Inter', sans-serif;
  background-color: #f8fafc; /* Tailwind slate-50 */
  color: #0f172a; /* Tailwind slate-900 */
  overflow-x: hidden;
}

/* Typography Overrides */
h1, h2, h3, h4, h5, h6, .brand-heading {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  letter-spacing: -0.02em;
}

/* Glassmorphism Utilities */
.glass-nav {
  background: rgba(255, 255, 255, 0.85); /* Light glass */
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.glass-panel {
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.05);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s ease;
  border-radius: 1rem;
}

.glass-panel:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 40px 0 rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(245, 158, 11, 0.3); /* Amber glow */
}

/* Floating Actions */
.luxury-btn {
  background: linear-gradient(135deg, #f59e0b, #d97706); /* Amber gradient */
  color: #111827;
  border: none;
  box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3);
  transition: all 0.3s ease;
}

.luxury-btn:hover {
  box-shadow: 0 6px 20px rgba(245, 158, 11, 0.5);
  transform: translateY(-2px);
}

/* Gradients */
.gradient-text {
  background: linear-gradient(135deg, #fbbf24, #d97706);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Input Fields Overrides for Dark Mode */
input[type="text"], input[type="email"], input[type="tel"], input[type="password"], input[type="date"], input[type="file"], textarea, select {
  background-color: rgba(255, 255, 255, 0.8) !important;
  border: 1px solid rgba(0, 0, 0, 0.1) !important;
  color: #0f172a !important;
  backdrop-filter: blur(8px);
}
input::placeholder, textarea::placeholder {
  color: #64748b !important;
}
input:focus, textarea:focus, select:focus {
  border-color: #f59e0b !important;
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.2) !important;
  outline: none !important;
}

/* Animations */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.fade-up {
  animation: fadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Hero Overlay */
.hero-gradient {
  background: linear-gradient(to right, rgba(248,250,252,0.95) 0%, rgba(248,250,252,0.6) 50%, rgba(248,250,252,0) 100%);
}

@media (max-width: 768px) {
  .hero-gradient {
    background: linear-gradient(to top, rgba(248,250,252,1) 0%, rgba(248,250,252,0.5) 60%, rgba(248,250,252,0) 100%);
  }
}

/* Subpage Sub-Components Hotfix */
.content-section {
  background: rgba(255, 255, 255, 0.8) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  border-left: 4px solid #f59e0b !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05) !important;
  color: #0f172a !important;
}
.legal-reference {
  background: rgba(241, 245, 249, 0.8) !important;
  border-left: 3px solid #f59e0b !important;
  color: #0f172a !important;
}
.section-number {
  background: #f8fafc !important;
  color: #f59e0b !important;
}

