:root {
  --primary: #8B0000;
  --secondary: #D4AF37;
}

html {
  scroll-behavior: smooth;
}

@keyframes typing {
  from { width: 0; }
  to { width: 100%; }
}

@keyframes blink {
  50% { opacity: 0; }
}

@keyframes glow {
  0% { text-shadow: 0 0 10px rgba(255, 255, 255, 0.3); }
  50% { text-shadow: 0 0 20px rgba(255, 255, 255, 0.5); }
  100% { text-shadow: 0 0 10px rgba(255, 255, 255, 0.3); }
}

.typewriter-text {
  position: relative;
}

.typed-text {
  display: inline-block;
  overflow: hidden;
  white-space: nowrap;
  width: 0;
  animation: typing 3s steps(40) forwards;
}

.cursor {
  display: inline-block;
  width: 2px;
  animation: blink 1s step-end infinite;
}

.tagline-animation {
  transition: all 1s ease;
}

.tagline-animation.show {
  opacity: 1;
  transform: translateY(0);
}

.glow-effect {
  animation: glow 2s ease-in-out infinite;
}

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

.opensans {
  font-family: 'Open Sans', sans-serif;
}

.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.scale-hover {
  transition: transform 0.3s ease;
}

.scale-hover:hover {
  transform: scale(1.05);
}

.slide-in-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.slide-in-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.parallax {
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

@media (max-width: 768px) {
  .parallax {
    background-attachment: scroll;
  }
}