/* Custom styles that complement Tailwind */

/* Gold gradient text utility */
.gold-gradient {
  background: linear-gradient(135deg, #C9A84C 0%, #E0C97A 50%, #C9A84C 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Gold line separator */
.gold-line-h {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201,168,76,0.4), transparent);
}

/* Card hover effect */
.card-hover {
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.4s ease;
}

.card-hover:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(201,168,76,0.12);
}

/* Reveal animation for scroll sections */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Mobile menu */
.mobile-menu {
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.mobile-menu.open {
  transform: translateX(0);
}

/* Navbar scroll state */
.nav-scrolled {
  background: rgba(6, 13, 26, 0.95) !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .card-hover {
    transition: none;
  }
  html {
    scroll-behavior: auto;
  }
}

/* Selection color */
::selection {
  background: rgba(201, 168, 76, 0.3);
  color: #E8E0D0;
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: #060D1A;
}

::-webkit-scrollbar-thumb {
  background: rgba(201, 168, 76, 0.4);
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(201, 168, 76, 0.6);
}

/* Select dropdown styling */
select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23C9A84C' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
}

/* Form focus states */
input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: #C9A84C !important;
  box-shadow: 0 0 0 1px rgba(201, 168, 76, 0.3) !important;
}

/* Smooth image loading */
img {
  opacity: 1;
  transition: opacity 0.3s ease;
}
