/* Base & Typography */
html {
  scroll-behavior: smooth;
}

body {
  background-color: #0B0B0B;
  color: #ffffff;
  font-family: 'Raleway', Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4 {
  font-family: 'Playfair Display', Georgia, serif;
}

/* Selection */
::selection {
  background: #C25A3E;
  color: #fff;
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #0B0B0B;
}
::-webkit-scrollbar-thumb {
  background: #2A2018;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #C25A3E;
}

/* Navbar states */
.navbar-scrolled {
  background: rgba(11, 11, 11, 0.95) !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid #2A2018;
  padding-top: 0.75rem !important;
  padding-bottom: 0.75rem !important;
}

/* Gold divider animation */
@keyframes shimmer {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

/* Image hover container */
overflow-hidden {
  position: relative;
}

/* Form focus ring */
input:focus, textarea:focus, select:focus {
  box-shadow: 0 0 0 1px rgba(194, 90, 62, 0.3);
}

/* Mobile menu animation */
#mobile-menu {
  animation: menuSlideIn 0.3s ease forwards;
}

@keyframes menuSlideIn {
  from { opacity: 0; transform: scale(0.96); }
  to { opacity: 1; transform: scale(1); }
}

#mobile-menu.closing {
  animation: menuSlideOut 0.25s ease forwards;
}

@keyframes menuSlideOut {
  from { opacity: 1; transform: scale(1); }
  to { opacity: 0; transform: scale(0.96); }
}

/* Body lock when mobile menu is open */
body.menu-open {
  overflow: hidden;
}

/* Mobile link animation */
.mobile-link {
  opacity: 0;
  transform: translateY(12px);
  animation: linkFadeIn 0.3s ease forwards;
}
.mobile-link:nth-child(1) { animation-delay: 0.1s; }
.mobile-link:nth-child(2) { animation-delay: 0.15s; }
.mobile-link:nth-child(3) { animation-delay: 0.2s; }
.mobile-link:nth-child(4) { animation-delay: 0.25s; }
.mobile-link:nth-child(5) { animation-delay: 0.3s; }

@keyframes linkFadeIn {
  to { opacity: 1; transform: translateY(0); }
}
