@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400..900;1,400..900&family=Inter:wght@300;400;500;600;700;800&display=swap');

/* Design System CSS Variable Declarations */
:root {
  --color-primary-gold: #efd458;
  --color-secondary-navy: #0B1F3A;
  --color-background-warm: #FAFAF8;
  --color-background-gray: #F5F5F5;
  --color-text-dark: #222222;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--color-background-warm);
}
::-webkit-scrollbar-thumb {
  background: var(--color-secondary-navy);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--color-primary-gold);
}

/* Smooth Scrolling */
html {
  scroll-behavior: smooth;
  font-family: 'Inter', sans-serif;
  background-color: var(--color-background-warm);
  color: var(--color-text-dark);
}

/* Typography styles */
h1, h2, h3, h4, h5, h6, .font-serif-display {
  font-family: 'Playfair Display', serif;
}

/* Custom Utilities */
.text-gold {
  color: var(--color-primary-gold);
}

.bg-gold {
  background-color: var(--color-primary-gold);
}

.border-gold {
  border-color: var(--color-primary-gold);
}

.text-navy {
  color: var(--color-secondary-navy);
}

.bg-navy {
  background-color: var(--color-secondary-navy);
}

/* Selection style */
::selection {
  background-color: var(--color-secondary-navy);
  color: var(--color-primary-gold);
}

/* Premium Blueprint Background Pattern */
.bg-blueprint {
  background-color: #FAFAF8;
  background-image: 
    linear-gradient(rgba(200, 155, 60, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(200, 155, 60, 0.02) 1px, transparent 1px);
  background-size: 30px 30px;
}

/* Dark Blueprint Grid for CTA Sections */
.bg-blueprint-dark {
  background-color: #05101E;
  background-image: 
    linear-gradient(rgba(200, 155, 60, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(200, 155, 60, 0.04) 1px, transparent 1px);
  background-size: 30px 30px;
}

/* Elegant Underline Link Animation */
.nav-link-underline {
  position: relative;
}
.nav-link-underline::after {
  content: '';
  position: absolute;
  width: 100%;
  transform: scaleX(0);
  height: 2px;
  bottom: -4px;
  left: 0;
  background-color: var(--color-primary-gold);
  transform-origin: bottom right;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.nav-link-underline:hover::after {
  transform: scaleX(1);
  transform-origin: bottom left;
}

/* Premium Glow Cards */
.gold-glow-card {
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid rgba(11, 31, 58, 0.05);
}
.gold-glow-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px -15px rgba(200, 155, 60, 0.12);
  border-color: rgba(200, 155, 60, 0.35);
}

/* Glassmorphism Styling */
.glass-card {
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.4);
}

.glass-nav {
  background: rgba(250, 250, 248, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(11, 31, 58, 0.06);
}

/* Button ripple-effect transition */
.btn-ripple {
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.btn-ripple:hover {
  box-shadow: 0 8px 24px -6px rgba(200, 155, 60, 0.3);
}

/* Carousel transitions */
.carousel-container {
  overflow: hidden;
}
.carousel-track {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Animated timeline line width */
.timeline-progress-bar {
  transition: width 1.5s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Floating Animation for Hero badging */
@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
  100% { transform: translateY(0px); }
}
.animate-float-slow {
  animation: float 6s ease-in-out infinite;
}
.animate-float-delayed {
  animation: float 6s ease-in-out infinite;
  animation-delay: 3s;
}

/* --- LIGHTWEIGHT SCROLL-ANIMATION SYSTEM CLASSES --- */
.scroll-animate {
  opacity: 0;
  transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), transform 1s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, opacity;
}

.scroll-animate.fade-up {
  transform: translateY(50px);
}

.scroll-animate.fade-left {
  transform: translateX(50px);
}

.scroll-animate.fade-right {
  transform: translateX(-50px);
}

.scroll-animate.zoom-in {
  transform: scale(0.93);
}

.scroll-animate.animated {
  opacity: 1;
  transform: translate(0) scale(1);
}

/* Utility Classes to replace Tailwind utilities */
.fixed { position: fixed; }
.inset-x-0 { left: 0; right: 0; }
.top-0 { top: 0; }
.z-50 { z-index: 50; }
.bg-navy { background-color: var(--color-secondary-navy); }
.bg-warmWhite { background-color: var(--color-background-warm); }
.bg-navy-overlay { background-color: rgba(11,31,58,0.6); }
.transition-all { transition: all 0.3s ease; }
.transition-opacity { transition: opacity 0.3s ease; }
.transition-transform { transition: transform 0.5s ease; }
.duration-500 { transition-duration: 0.5s; }
.duration-300 { transition-duration: 0.3s; }
.bg-navy\/60 { background-color: rgba(11, 31, 58, 0.6); }
.opacity-0 { opacity: 0; }
.opacity-100 { opacity: 1; }
.pointer-events-none { pointer-events: none; }
.pointer-events-auto { pointer-events: auto; }
.translate-x-full { transform: translateX(100%); }
.translate-x-0 { transform: translateX(0); }
.h-20 { height: 5rem; }
.px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
.lg\:px-8 { padding-left: 2rem; padding-right: 2rem; }
.flex { display: flex; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.max-w-\[1400px\] { max-width: 1400px; }
.ml-auto { margin-left: auto; }
.h-full { height: 100%; }
.w-\[280px\] { width: 280px; }
.shadow-2xl { box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25); }
.p-8 { padding: 2rem; }
.text-navy { color: var(--color-secondary-navy); }
.text-gold { color: var(--color-primary-gold); }
.bg-gold { background-color: var(--color-primary-gold); }
.hover\:bg-gold-dark:hover { background-color: #b58a2f; }
.hover\:text-white:hover { color: #fff; }
.hover\:bg-navy:hover { background-color: var(--color-secondary-navy); }
.hover\:text-navy:hover { color: var(--color-secondary-navy); }
.border-2 { border-width: 2px; }
.rounded-md { border-radius: 0.375rem; }
.shadow-md { box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1); }
/* Hero Background Section */
.hero-bg {
  background-image: url('assets/hero.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  z-index: 0;
}

.hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 1;
}

.hero-bg > * {
  position: relative;
  z-index: 2;
}
