/* Shared design-system styles — loaded by every page after Tailwind CDN. */

:root {
  --primary: #0B1F3A;
  --secondary: #C9A86A;
  --beige: #F5F0E6;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', system-ui, sans-serif;
  background-color: #FFFFFF;
  color: #0B1F3A;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6,
.font-serif {
  font-family: 'Playfair Display', Georgia, serif;
}

/* Hide scrollbar for horizontal scroll containers */
.no-scrollbar::-webkit-scrollbar { display: none; }
.no-scrollbar { -ms-overflow-style: none; scrollbar-width: none; }

/* Custom scrollbar */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: #F5F0E6; }
::-webkit-scrollbar-thumb { background: #C9A86A; border-radius: 6px; }
::-webkit-scrollbar-thumb:hover { background: #A8854A; }

/* Glassmorphism */
.glass {
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.4);
}
.glass-dark {
  background: rgba(11, 31, 58, 0.72);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

/* Gradient text */
.text-gradient-gold {
  background: linear-gradient(120deg, #C9A86A 0%, #E0C385 50%, #A8854A 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Premium underline animation for nav links */
.nav-link {
  position: relative;
}
.nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  background: #C9A86A;
  transition: width 0.3s ease;
}
.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

/* Card hover lift */
.card-lift {
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.4s ease;
}
.card-lift:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 64px -24px rgba(11, 31, 58, 0.35);
}

/* Image zoom on hover */
.img-zoom { overflow: hidden; }
.img-zoom img {
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}
.img-zoom:hover img { transform: scale(1.06); }

/* Skeleton shimmer */
.skeleton {
  background: linear-gradient(90deg, #E8EDF3 25%, #F5F0E6 50%, #E8EDF3 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
}
@keyframes shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* Smooth focus ring */
.focus-ring:focus-visible {
  outline: 2px solid #C9A86A;
  outline-offset: 2px;
}

/* Hide number input spinners */
input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
