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

body {
  font-family: 'Inter', sans-serif;
  background-color: #F8FAFC;
  background-image: radial-gradient(circle at top, #EFF6FF 0%, #F8FAFC 100%);
  background-attachment: fixed;
  color: #0F172A;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .font-display {
  font-family: 'Outfit', sans-serif;
  color: #0F172A;
}

.font-serif-lux {
  font-family: 'Playfair Display', serif;
}

.text-glow-gold {
  text-shadow: 0 0 15px rgba(198, 154, 60, 0.15);
}

.sticky-bar {
  position: sticky;
  top: 75px;
  z-index: 40;
  backdrop-filter: blur(12px);
  background: rgba(248, 250, 252, 0.95);
  border-bottom: 1px solid rgba(15, 23, 42, 0.05);
}

/* Glassmorphism Utilities */
.glass-panel {
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(15, 23, 42, 0.08);
}

.glass-nav {
  background: rgba(248, 250, 252, 0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.glass-card {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(198, 154, 60, 0.2);
  box-shadow: 0 20px 40px -15px rgba(15, 23, 42, 0.08);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: #F8FAFC;
}
::-webkit-scrollbar-thumb {
  background: #E2E8F0;
  border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
  background: #C69A3C;
}

/* Base Headings */
h1, h2, h3, h4, h5, h6 {
  letter-spacing: -0.025em;
  color: #0F172A;
}

/* Utilities */
.text-gold { color: #C69A3C; }
.bg-gold { background-color: #C69A3C; }
.border-gold { border-color: #C69A3C; }
.hover-bg-gold-light:hover { background-color: #EFCF79; }
.bg-obsidian { background-color: #F8FAFC; }
.bg-obsidian-light { background-color: #FFFFFF; }

.logo-pop {
  filter: drop-shadow(0px 1.5px 2px rgba(15, 23, 42, 0.8)) drop-shadow(0px 4px 12px rgba(15, 23, 42, 0.35));
}

/* Timeline Line */
.timeline-line::after {
  content: '';
  position: absolute;
  left: 2rem;
  top: 4rem;
  bottom: -2rem;
  width: 2px;
  background: linear-gradient(to bottom, rgba(219, 183, 103, 0.5), transparent);
}
.timeline-item:last-child .timeline-line::after {
  display: none;
}

/* Animations & Transitions */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.slide-in-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.slide-in-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.zoom-in {
  opacity: 0;
  transform: scale(0.95);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.is-visible {
  opacity: 1;
  transform: translate(0) scale(1);
}

/* Keyframes */
@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
  100% { transform: translateY(0px); }
}
.animate-float {
  animation: float 6s ease-in-out infinite;
}

@keyframes popIn {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}
.animate-pop-in {
  animation: popIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  opacity: 0;
}

@keyframes pulse-glow {
  0% { box-shadow: 0 0 0 0 rgba(219, 183, 103, 0.4); }
  70% { box-shadow: 0 0 0 15px rgba(219, 183, 103, 0); }
  100% { box-shadow: 0 0 0 0 rgba(219, 183, 103, 0); }
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.marquee-container {
  overflow: hidden;
  white-space: nowrap;
  display: flex;
}
.marquee-track {
  display: flex;
  animation: marquee 30s linear infinite;
}
.marquee-track:hover {
  animation-play-state: paused;
}

/* Shimmer Button */
.btn-shimmer {
  position: relative;
  overflow: hidden;
}
.btn-shimmer::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  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: rotate(30deg) translateX(-100%);
  transition: none;
}
.btn-shimmer:hover::after {
  transform: rotate(30deg) translateX(100%);
  transition: transform 0.8s ease-in-out;
}

/* Hover Lift */
.hover-lift {
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.hover-lift:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px -10px rgba(219, 183, 103, 0.2);
}

/* Delay helpers */
.delay-100 { transition-delay: 100ms; }
.delay-200 { transition-delay: 200ms; }
.delay-300 { transition-delay: 300ms; }
.delay-400 { transition-delay: 400ms; }
.delay-500 { transition-delay: 500ms; }

/* Floating Widgets */
.floating-widget-container {
  position: fixed;
  bottom: 30px;
  right: 30px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  z-index: 999;
}

.back-to-top {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(26, 28, 35, 0.8);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #DBB767;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.3s ease;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: #DBB767;
  color: #07080C;
}

/* WhatsApp Circle Progress */
.whatsapp-float-btn {
  position: relative;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25D366; /* Official WhatsApp Color */
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
  transition: transform 0.3s ease;
  z-index: 2;
}

.whatsapp-float-btn:hover {
  transform: scale(1.1);
}

.whatsapp-float-btn svg {
  width: 32px;
  height: 32px;
}

/* Progress Ring Container */
.progress-ring-container {
  position: relative;
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.progress-ring {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
  z-index: 1;
  pointer-events: none;
}

.progress-ring circle {
  fill: transparent;
  stroke-width: 4;
  r: 33;
  cx: 35;
  cy: 35;
}

.progress-ring-track {
  stroke: rgba(255,255,255,0.1);
}

.progress-ring-fill {
  stroke: #DBB767;
  stroke-dasharray: 207.34; /* 2 * PI * r */
  stroke-dashoffset: 207.34;
  transition: stroke-dashoffset 0.1s ease;
}

/* Pulsing Tooltip styles */
.wa-tooltip {
  position: absolute;
  right: 80px;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(7, 8, 12, 0.95);
  border: 1px solid rgba(219, 183, 103, 0.3);
  color: #FFFFFF;
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
  pointer-events: none;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
  animation: tooltipPulse 2.5s infinite ease-in-out;
}

.wa-tooltip::after {
  content: '';
  position: absolute;
  right: -5px;
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
  width: 10px;
  height: 10px;
  background: rgba(7, 8, 12, 0.95);
  border-right: 1px solid rgba(219, 183, 103, 0.3);
  border-top: 1px solid rgba(219, 183, 103, 0.3);
}

@keyframes tooltipPulse {
  0%, 100% { transform: translateY(-50%) scale(1); opacity: 0.9; }
  50% { transform: translateY(-50%) scale(1.05); opacity: 1; box-shadow: 0 4px 20px rgba(219, 183, 103, 0.2); }
}
