/* === Color System === */
/*
  Deep Base:    #0B192C  — deep navy blue
  Rich Navy:    #0F1D32  — card backgrounds
  Mid Navy:     #1A2D47  — hover states
  Primary Gold: #D4AF37  — warm, rich gold
  Bright Gold:  #E8D48B  — highlights & CTAs
  Pale Gold:    #F5E6B8  — subtle accents
  Text Primary: #E8E8E8  — warm off-white
  Text Muted:   #8892A4  — secondary text (navy-tinted gray)
  Accent Teal:  #3A9D7C  — trust/success
*/

/* === Base & Reset === */
html {
  scroll-behavior: smooth;
}

::selection {
  background-color: rgba(200, 164, 78, 0.3);
  color: #E8E8E8;
}

/* === Hero Grid Pattern === */
.hero-grid-pattern {
  background-image:
    linear-gradient(rgba(200, 164, 78, 0.18) 1px, transparent 1px),
    linear-gradient(90deg, rgba(200, 164, 78, 0.18) 1px, transparent 1px);
  background-size: 60px 60px;
}

/* === Floating Background Decorations === */
@keyframes floatSlow {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-15px) rotate(3deg); }
}

@keyframes floatMedium {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-10px) rotate(-2deg); }
}

@keyframes floatFast {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-8px) rotate(2deg); }
}

.float-slow {
  animation: floatSlow 8s ease-in-out infinite;
}

.float-medium {
  animation: floatMedium 6s ease-in-out infinite;
}

.float-fast {
  animation: floatFast 5s ease-in-out infinite;
}

/* === Scroll Reveal Animation === */
.scroll-reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: none;
}

.scroll-reveal.revealed {
  animation: fadeInUp 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* === Hero Fade In === */
.animate-fade-in-up {
  animation: fadeInUp 1s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

/* === Slow Bounce for Scroll Indicator === */
@keyframes bounceSlow {
  0%, 100% {
    transform: translateX(-50%) translateY(0);
  }
  50% {
    transform: translateX(-50%) translateY(8px);
  }
}

.animate-bounce-slow {
  animation: bounceSlow 2.5s ease-in-out infinite;
}

/* === Navigation Link Underline Effect === */
.nav-link {
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1.5px;
  background: linear-gradient(90deg, #D4AF37, #E8D48B);
  transition: width 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.nav-link:hover::after {
  width: 100%;
}

/* === Select Arrow for Dropdown === */
select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23C8A44E' stroke-width='1.5'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M19.5 8.25l-7.5 7.5-7.5-7.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 1.25rem;
}

select option {
  background-color: #0B192C;
  color: #E8E8E8;
}

/* === Form Input Focus Ring === */
input:focus,
select:focus,
textarea:focus {
  box-shadow: 0 0 0 1px rgba(200, 164, 78, 0.25), 0 0 12px rgba(200, 164, 78, 0.1);
}

/* === CTA Button Glow === */
button[type="submit"]:hover,
a[href="#contact"].bg-gold:hover {
  box-shadow: 0 0 20px rgba(200, 164, 78, 0.3), 0 0 40px rgba(200, 164, 78, 0.1);
}

/* === Process Step Hover === */
.process-step .font-accent {
  transition: color 0.3s ease;
}

.process-step:hover .font-accent {
  color: #F5E6B8;
}

.process-step:hover > div:first-child > div:first-child {
  border-color: rgba(200, 164, 78, 0.6);
  box-shadow: 0 0 16px rgba(200, 164, 78, 0.15);
  transition: all 0.3s ease;
}

/* === Scrollbar Styling === */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: #0B192C;
}

::-webkit-scrollbar-thumb {
  background: rgba(200, 164, 78, 0.25);
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(200, 164, 78, 0.45);
}

/* === Section Divider Lines === */
.section-divider {
  position: relative;
}
.section-divider::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(200, 164, 78, 0.5), transparent);
}

/* === Rich Card Background === */
.rich-card {
  background: linear-gradient(145deg, rgba(15, 29, 50, 0.95), rgba(6, 13, 24, 0.98));
  border: 1px solid rgba(200, 164, 78, 0.12);
  box-shadow:
    0 4px 24px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(200, 164, 78, 0.08),
    inset 0 -1px 0 rgba(0, 0, 0, 0.2);
}

/* === Vignette Overlay for Sections === */
.section-vignette {
  position: relative;
}
.section-vignette::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, transparent 40%, rgba(0, 0, 0, 0.25) 100%);
  pointer-events: none;
}

/* === Gold Accent Line === */
.gold-line {
  height: 2px;
  background: linear-gradient(90deg, transparent, #D4AF37, #E8D48B, #D4AF37, transparent);
}

/* === Team Card Image Overlay === */
.team-card .team-image-overlay {
  background: linear-gradient(180deg, transparent 40%, rgba(6, 13, 24, 0.95) 100%);
}

/* === Responsive Fine-tuning === */
@media (max-width: 768px) {
  .hero-grid-pattern {
    background-size: 40px 40px;
  }
}
