/* ===== BASE & RESET ===== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  overflow-x: hidden;
}

::selection {
  background: #a11637;
  color: #fff;
}

/* ===== HERO ANIMATIONS ===== */
@keyframes fade-in {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-in {
  animation-name: fade-in;
  animation-duration: 1s;
  animation-timing-function: cubic-bezier(0.16, 1, 0.3, 1);
  animation-fill-mode: forwards;
}

/* ===== SCROLL REVEAL ===== */
.reveal {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal[data-reveal-delay="100ms"] {
  transition-delay: 100ms;
}

.reveal[data-reveal-delay="200ms"] {
  transition-delay: 200ms;
}

.reveal[data-reveal-delay="300ms"] {
  transition-delay: 300ms;
}

.reveal.hidden-reveal {
  opacity: 0;
  transform: translateY(40px);
}

/* ===== MOBILE MENU ===== */
.mobile-link {
  font-size: 1.5rem;
  font-family: 'Playfair Display', Georgia, serif;
}

/* ===== NAVBAR SCROLL EFFECT ===== */
.navbar-scrolled {
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.08);
}

/* ===== CUSTOM SCROLLBAR ===== */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #FDF8F5;
}

::-webkit-scrollbar-thumb {
  background: #d4a0a0;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #a11637;
}

/* ===== REDUCED MOTION ===== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html {
    scroll-behavior: auto;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
}

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