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

:root {
  --color-primary-gold: #D4AF37;
  --color-primary-dark: #0F0E0E;
  --color-secondary-rose: #C08081;
  --color-accent-crimson: #800020;
  
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'Plus Jakarta Sans', 'Inter', sans-serif;
}

html {
  scroll-behavior: smooth;
  font-family: var(--font-sans);
  background-color: #0b0a0a;
  color: #f3f4f6;
  overflow-x: hidden;
}

body {
  background: radial-gradient(circle at 50% -20%, #1e1215 0%, #0b0a0a 60%);
  min-height: 100vh;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #0f0e0e;
}
::-webkit-scrollbar-thumb {
  background: #332225;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--color-primary-gold);
}

/* Glassmorphism Styles */
.glass-header {
  background: rgba(15, 14, 14, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(212, 175, 55, 0.1);
}

.glass-card {
  background: rgba(26, 22, 23, 0.45);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.glass-card:hover {
  border-color: rgba(212, 175, 55, 0.3);
  box-shadow: 0 10px 30px -10px rgba(212, 175, 55, 0.15);
  transform: translateY(-4px);
}

/* Text Stylings */
.font-serif-luxury {
  font-family: var(--font-serif);
}

.text-gold-gradient {
  background: linear-gradient(135deg, #FDF6E2 0%, #D4AF37 50%, #AA7C11 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-rose-gradient {
  background: linear-gradient(135deg, #ffffff 0%, #E2A3A4 50%, #C08081 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Timeline Custom Connectors */
.timeline-line {
  background: linear-gradient(to bottom, transparent, var(--color-primary-gold), var(--color-primary-gold), transparent);
}

/* Hover effects */
.hover-gold-underline {
  position: relative;
}
.hover-gold-underline::after {
  content: '';
  position: absolute;
  width: 100%;
  transform: scaleX(0);
  height: 1.5px;
  bottom: -4px;
  left: 0;
  background-color: var(--color-primary-gold);
  transform-origin: bottom right;
  transition: transform 0.3s ease-out;
}
.hover-gold-underline:hover::after {
  transform: scaleX(1);
  transform-origin: bottom left;
}

/* Weaving Flow Accent Lines */
.weaving-line {
  background: repeating-linear-gradient(
    45deg,
    rgba(212, 175, 55, 0.1),
    rgba(212, 175, 55, 0.1) 10px,
    transparent 10px,
    transparent 20px
  );
}

/* Premium Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
  100% { transform: translateY(0px); }
}

.animate-float {
  animation: float 6s ease-in-out infinite;
}

.animate-fade-in-up {
  opacity: 0;
  animation: fadeInUp 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Intersection Observer Animations */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 1s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* Image zoom on hover */
.img-zoom-container {
  overflow: hidden;
}
.img-zoom-container img {
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.img-zoom-container:hover img {
  transform: scale(1.08);
}
