/* ========== BASE ========== */
*, *::before, *::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ========== HERO SCROLL INDICATOR ========== */
@keyframes scrollIndicator {
  0% { transform: translateY(-100%); opacity: 1; }
  100% { transform: translateY(200%); opacity: 0; }
}

.animate-scroll-indicator {
  animation: scrollIndicator 1.5s ease-in-out infinite;
}

/* ========== SCROLL REVEAL ========== */
.reveal-up,
.reveal-left,
.reveal-right {
  opacity: 1;
  transform: none;
  transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal-up {
  transform: translateY(0);
}

.reveal-left {
  transform: translateX(0);
}

.reveal-right {
  transform: translateX(0);
}

@media (prefers-reduced-motion: no-preference) {
  .reveal-up {
    opacity: 0;
    transform: translateY(30px);
  }
  .reveal-left {
    opacity: 0;
    transform: translateX(-30px);
  }
  .reveal-right {
    opacity: 0;
    transform: translateX(30px);
  }
}

/* ========== NAVBAR SCROLLED STATE ========== */
.navbar-scrolled {
  background: rgba(26, 17, 12, 0.95) !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(196, 90, 56, 0.15);
}

.navbar-scrolled .nav-logo-color {
  color: #fdfbf7 !important;
}

.navbar-scrolled .nav-logo-sub {
  color: #e2c88e !important;
}

.navbar-scrolled .nav-link {
  color: rgba(253, 251, 247, 0.7) !important;
}

.navbar-scrolled .mobile-link {
  color: rgba(253, 251, 247, 0.9) !important;
}

/* ========== MOBILE MENU ========== */
.mobile-menu-open {
  opacity: 1 !important;
  pointer-events: all !important;
}

/* ========== HERO IMAGE PARALLAX ========== */
#hero-img {
  transition: transform 0.1s linear;
}

/* ========== FOCUS STYLES ========== */
a:focus-visible,
button:focus-visible {
  outline: 2px solid #c45a38;
  outline-offset: 4px;
  border-radius: 4px;
}

/* ========== FORM STYLES ========== */
input, textarea {
  font-family: 'Lato', system-ui, sans-serif;
}

/* ========== TOAST NOTIFICATION ========== */
#toast {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 100;
  transform: translateY(120%);
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

#toast.show {
  transform: translateY(0);
}

/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
  .font-serif {
    line-height: 1.15;
  }
}
</style>
