/* src/css/global.css */

/* --- Animations --- */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-in-up {
  animation: fadeInUp 1s ease-out forwards;
}

.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s cubic-bezier(0.165, 0.84, 0.44, 1),
    transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- Hero slideshow --- */
.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
}
.hero-slide.visible {
  opacity: 1;
}

/* --- Nav hover effects --- */
nav a {
  position: relative;
}
nav a::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: #bfa181;
  transition: width 0.3s ease;
}
@media (min-width: 768px) {
  nav a:not(.logo-link):hover::after {
    width: 100%;
  }
}
nav a.logo-link::after {
  display: none;
}

/* --- Mobile menu animation --- */
.mobile-menu-open {
  max-height: 500px !important;
  opacity: 1 !important;
}

/* --- Glass effects --- */
.glass {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}
.glass-dark {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.text-gradient {
  background: linear-gradient(135deg, #bfa181 0%, #8b7355 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
