/* Importar Fuentes de Google */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400&family=Inter:wght@300;400;500;600;700&display=swap');

/* Variables y Reglas Base */
:root {
  --color-wine-dark: #280509;
  --color-wine: #3F0C10;
  --color-wine-light: #5C151B;
  --color-gold-muted: #C5A880;
  --color-gold: #D4AF37;
  --color-bone: #F5F2EB;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: #0B090A;
  color: #F5F2EB;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.font-serif-luxury {
  font-family: 'Cormorant Garamond', Georgia, serif;
}

/* Animación de entrada cinematográfica (Fade In Up) */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

/* Animación de zoom lento (Ken Burns) */
@keyframes zoomOut {
  from {
    transform: scale(1.15);
  }
  to {
    transform: scale(1);
  }
}

/* Clases con delays para la animación escalonada */
.animation-delay-200 {
  animation-delay: 200ms;
}

.animation-delay-400 {
  animation-delay: 400ms;
}

.animation-delay-600 {
  animation-delay: 600ms;
}

.animation-delay-800 {
  animation-delay: 800ms;
}

/* Efecto hover premium para enlace subrayado */
.hover-underline-gold {
  position: relative;
}

.hover-underline-gold::after {
  content: '';
  position: absolute;
  width: 100%;
  transform: scaleX(0);
  height: 1px;
  bottom: -4px;
  left: 0;
  background-color: var(--color-gold-muted);
  transform-origin: bottom right;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.hover-underline-gold:hover::after {
  transform: scaleX(1);
  transform-origin: bottom left;
}

/* Scrollbar personalizado con tono vino y roble */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #0B090A;
}

::-webkit-scrollbar-thumb {
  background: var(--color-wine);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--color-wine-light);
}
