*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

body {
  overflow-x: hidden;
}

/* Hero Gradient */
.hero-gradient {
  background: linear-gradient(135deg, #5D2D1E 0%, #C0623C 40%, #D07D56 60%, #8B3F26 100%);
}

/* Scroll Line Animation */
.scroll-line {
  animation: scrollDown 1.8s ease-in-out infinite;
}

@keyframes scrollDown {
  0% { transform: translateY(-100%); opacity: 0; }
  50% { opacity: 1; }
  100% { transform: translateY(200%); opacity: 0; }
}

/* Navbar */
#navbar {
  background: transparent;
}

#navbar.scrolled {
  background: rgba(253, 249, 245, 0.95);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(0,0,0,0.06);
}

.nav-link {
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: #C0623C;
  transition: width 0.3s ease;
}

.nav-link:hover::after {
  width: 100%;
}

#navbar.scrolled .nav-logo,
#navbar.scrolled .nav-link {
  color: #292524;
}

/* Mobile Menu */
#mobile-menu.open {
  opacity: 1;
  pointer-events: all;
}

.mobile-link {
  transition: color 0.3s ease;
}

.mobile-link:hover {
  color: #C0623C;
}

/* Honor Section */
.honor-bg {
  will-change: transform;
}

/* Reveal Animations */
.reveal {
  opacity: 1;
  transform: translateY(0);
  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.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .scroll-line { animation: none; opacity: 0.8; }
}

/* Focus Styles */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid #C0623C;
  outline-offset: 2px;
}

/* Form */
input::placeholder,
textarea::placeholder {
  color: #a8a29e;
}

/* Subtle hover on images */
img {
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

img:hover {
  transform: scale(1.01);
}

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