/* Custom Styles for Steve Oquist | Corinthian Title Company */
/* High-End Executive Navy & Metallic Warm Gold Design System */

:root {
  --color-gold: #C8AB69;
  --color-gold-hover: #D4B978;
  --color-gold-dark: #A58742;
  --color-gold-light: #F3EBD8;
  --color-navy: #0B1B34;
  --color-navy-dark: #071326;
  --color-navy-card: #0F2341;
  --color-navy-blue: #0E274D;
  --color-ink: #111827;
  --color-slate: #535968;
  --color-border: #E2E8F0;
  --color-alabaster: #F7F8FA;
}

body {
  color: var(--color-ink);
  background-color: #FFFFFF;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Metallic Gold Gradient Text */
.gold-gradient-text {
  background: linear-gradient(135deg, #ECC880 0%, #C8AB69 45%, #E2BE76 75%, #A88638 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Gold Gradient Backgrounds */
.bg-gold-gradient {
  background: linear-gradient(135deg, #D6B974 0%, #C8AB69 50%, #B89955 100%);
}

.bg-gold-gradient:hover {
  background: linear-gradient(135deg, #E2C684 0%, #D4B978 50%, #C5A760 100%);
}

.bg-navy-gradient {
  background: linear-gradient(145deg, #0D2242 0%, #08172E 100%);
}

/* Luxury Gold Borders */
.border-gold {
  border-color: #C8AB69;
}

.border-gold-subtle {
  border-color: rgba(200, 171, 105, 0.4);
}

/* Gold Glow / Ribbon */
.gold-glow {
  box-shadow: 0 4px 20px -2px rgba(200, 171, 105, 0.25);
}

.gold-glow-lg {
  box-shadow: 0 10px 30px -4px rgba(200, 171, 105, 0.35);
}

/* Portrait Halo Glow */
.portrait-glow {
  position: relative;
}
.portrait-glow::before {
  content: '';
  position: absolute;
  inset: -4px;
  background: linear-gradient(135deg, #C8AB69, #ECC880, #0B1B34);
  border-radius: 1.5rem;
  z-index: -1;
  opacity: 0.45;
  filter: blur(8px);
  transition: opacity 0.3s ease;
}
.portrait-glow:hover::before {
  opacity: 0.7;
}

/* Farm focus pill selector */
.farm-pill-input:checked + .farm-pill-label {
  background-color: #FBF8F1;
  border-color: #C8AB69;
  color: #071326;
  box-shadow: 0 0 0 1px #C8AB69;
}
.farm-pill-input:checked + .farm-pill-label .pill-check {
  background-color: #C8AB69;
  border-color: #C8AB69;
  color: #071326;
}

/* Image fade in */
.img-fade-ready {
  transition: opacity 0.4s ease-in-out;
}

/* Custom scrollbars */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: #F1F5F9;
}
::-webkit-scrollbar-thumb {
  background: #C8AB69;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #A58742;
}

/* Card hover animation */
.hover-lift {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.hover-lift:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px -10px rgba(11, 27, 52, 0.12), 0 4px 12px -2px rgba(200, 171, 105, 0.08);
}

/* Active Nav indicator */
.nav-link.active {
  color: #C8AB69;
  position: relative;
}
.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  right: 0;
  height: 2px;
  background-color: #C8AB69;
  border-radius: 2px;
}

/* Pulse animation for live status badge */
@keyframes statusPulse {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.4;
    transform: scale(1.3);
  }
}
.status-dot-pulse {
  animation: statusPulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* Form input focus state */
input:focus, select:focus, textarea:focus {
  border-color: #C8AB69 !important;
  box-shadow: 0 0 0 3px rgba(200, 171, 105, 0.2) !important;
}

/* Gold border ribbon corner effects */
.gold-ribbon-card {
  position: relative;
  background: linear-gradient(145deg, #0D2242 0%, #08172E 100%);
  border: 1px solid rgba(200, 171, 105, 0.35);
}

.gold-ribbon-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #ECC880, #C8AB69, #A58742);
  border-top-left-radius: inherit;
  border-top-right-radius: inherit;
}
