/* Import Premium Fonts from Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@300;400;500;600;700;800&display=swap');

/* Smooth Scrolling */
html {
  scroll-behavior: smooth;
  background-color: #FAF9F6; /* Alabaster Warm White background */
  color: #1E293B; /* Slate Dark text */
  font-family: 'Inter', sans-serif;
}

/* Custom Scrollbar for premium feel */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: #FAF9F6;
}

::-webkit-scrollbar-thumb {
  background: #E2E8F0; /* Soft gray border-color */
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #A98C60; /* Refined bronze on hover */
}

/* Hide scrollbar for carousel but keep scroll functionality */
.no-scrollbar::-webkit-scrollbar {
  display: none;
}
.no-scrollbar {
  -ms-overflow-style: none;  /* IE and Edge */
  scrollbar-width: none;  /* Firefox */
}

/* Light Glassmorphism Styles */
.glass-panel {
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.03);
}

.glass-panel-light {
  background: rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(0, 0, 0, 0.04);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.01);
}

.glass-nav {
  background: rgba(12, 17, 34, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.15);
}

/* Gold Gradient Shimmer Animation */
@keyframes shimmer {
  0% {
    background-position: -200% 0;
  }
  100% {
    background-position: 200% 0;
  }
}

.shimmer-text {
  background: linear-gradient(90deg, #0F172A 0%, #A98C60 50%, #0F172A 100%);
  background-size: 200% auto;
  color: transparent;
  background-clip: text;
  -webkit-background-clip: text;
  animation: shimmer 6s infinite linear;
}

/* Shimmer Button */
.gold-shimmer-btn {
  position: relative;
  overflow: hidden;
}

.gold-shimmer-btn::after {
  content: '';
  position: absolute;
  top: 0;
  left: -50%;
  width: 200%;
  height: 100%;
  background: linear-gradient(
    to right,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.3) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: skewX(-25deg);
  transition: 0.75s;
}

.gold-shimmer-btn:hover::after {
  left: 125%;
}

/* Fade In animations */
.fade-in-up {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

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

/* Scroll Reveal Classes (Subtle and Premium) */
.scroll-reveal {
  opacity: 0;
  transform: translateY(30px);
  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-reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Fixed background banner helper */
.bg-fixed-banner {
  background-attachment: scroll;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

/* Investment Strategy Card Premium Hover Animations */
.strategy-card {
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), 
              border-color 0.4s cubic-bezier(0.16, 1, 0.3, 1), 
              box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1), 
              background-color 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, box-shadow, border-color, background-color;
}

.strategy-card:hover {
  transform: translateY(-8px) scale(1.02);
  border-color: rgba(169, 140, 96, 0.4); /* Refined gold border */
  box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.06), 0 0 25px 2px rgba(169, 140, 96, 0.08);
  background-color: rgba(255, 255, 255, 0.95);
}

.strategy-card .icon-container {
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.strategy-card:hover .icon-container {
  transform: scale(1.1) rotate(5deg);
  background-color: rgba(169, 140, 96, 0.15);
}

/* Custom Gold Underline Hover Effect */
.hover-gold-underline {
  position: relative;
}

.hover-gold-underline::after {
  content: '';
  position: absolute;
  width: 0;
  height: 1.5px;
  bottom: -4px;
  left: 0;
  background-color: #A98C60; /* Bronze underline */
  transition: width 0.3s ease;
}

.hover-gold-underline:hover::after {
  width: 100%;
}

/* Ambient gold orb pulse animation */
@keyframes float-slow {
  0%, 100% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(15px, -15px) scale(1.08);
  }
}
.orb-float {
  animation: float-slow 12s infinite ease-in-out;
}
.orb-float-delayed {
  animation: float-slow 16s infinite ease-in-out;
  animation-delay: 2s;
}

/* Image zoom effect inside cards */
.image-zoom-container {
  overflow: hidden;
}
.image-zoom-container img {
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.group:hover .image-zoom-container img {
  transform: scale(1.06);
}

/* Button interactive lift */
.btn-interactive {
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.3s ease, border-color 0.3s ease;
}
.btn-interactive:hover {
  transform: translateY(-2px);
}
.btn-interactive:active {
  transform: translateY(0);
}

/* Automated text color shifting transition */
@keyframes textColorShift {
  0% {
    color: #C5A880; /* Premium Gold */
  }
  50% {
    color: #9B7C46; /* Deep Bronze */
  }
  100% {
    color: #C5A880; /* Premium Gold */
  }
}
.animate-color-shift {
  animation: textColorShift 5s infinite ease-in-out;
}

/* Luxury Editorial Serif Font family */
.font-serif-editorial {
  font-family: 'Playfair Display', Georgia, serif;
}

/* Highlight theme buttons explicitly for WordPress and static consistency */
.btn-gold-highlight,
button.gold-shimmer-btn,
.callback-btn {
  background: linear-gradient(135deg, #C5A880 0%, #9B7C46 100%) !important;
  color: #0C1122 !important; /* Premium dark text on gold background */
  font-weight: 800 !important;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.btn-gold-highlight:hover,
button.gold-shimmer-btn:hover,
.callback-btn:hover {
  background: linear-gradient(135deg, #E5D3B3 0%, #C5A880 100%) !important;
  color: #0C1122 !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 10px 20px -5px rgba(197, 168, 128, 0.4) !important;
}

.btn-gold-highlight:active,
button.gold-shimmer-btn:active,
.callback-btn:active {
  transform: translateY(0) !important;
}

/* Active tab highlight style */
.cagr-tab-btn.active-tab-gold {
  background-color: #C5A880 !important; /* Brand gold background */
  color: #0F172A !important; /* High contrast brand dark text */
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06) !important;
}

/* High-contrast subtitle rendering for readability */
.hero-subtitle {
  color: #C5A880 !important; /* Premium Gold */
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.95), 0 0 10px rgba(0, 0, 0, 0.5) !important;
  letter-spacing: 0.15em !important;
}
