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

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

body {
  background-color: #0a0a0a;
  color: #e5e5e5;
  font-family: 'Raleway', sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #0a0a0a;
}
::-webkit-scrollbar-thumb {
  background: #360707;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #a01e1e;
}

/* ===== NAVBAR ===== */
.nav-link {
  position: relative;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: #e8c97a;
  transition: width 0.3s ease;
}
.nav-link:hover::after {
  width: 100%;
}

/* Navbar scrolled state */
nav.scrolled {
  background: rgba(10, 10, 10, 0.95) !important;
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(184, 134, 11, 0.15);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}
nav.scrolled .nav-link {
  color: #d4d4d4;
}

/* Mobile menu */
.mobile-link {
  position: relative;
}

/* ===== REVEAL ANIMATIONS ===== */
.reveal-fade {
  opacity: 1;
  transform: none;
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal-left {
  opacity: 1;
  transform: none;
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal-right {
  opacity: 1;
  transform: none;
  transition: opacity 0.8s ease, transform 0.8s ease;
}

/* Hidden state (progressive enhancement) */
@media (prefers-reduced-motion: no-preference) {
  .reveal-fade.hidden-reveal {
    opacity: 0;
    transform: translateY(30px);
  }
  .reveal-left.hidden-reveal {
    opacity: 0;
    transform: translateX(-40px);
  }
  .reveal-right.hidden-reveal {
    opacity: 0;
    transform: translateX(40px);
  }
}

/* ===== BUTTON HOVER GLOW ===== */
button:hover,
a:hover {
  cursor: pointer;
}

/* ===== IMAGE HOVER ===== */
img {
  max-width: 100%;
  height: auto;
}

/* ===== GOLD GRADIENT TEXT ===== */
.gold-gradient-text {
  background: linear-gradient(135deg, #e8c97a 0%, #b8860b 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ===== SELECTION ===== */
::selection {
  background: rgba(184, 134, 11, 0.3);
  color: #f5f5f5;
}

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

/* ===== MOBILE MENU ANIMATION ===== */
.menu-line {
  display: block;
  transition: all 0.3s ease;
}
.menu-toggle-active .menu-line:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.menu-toggle-active .menu-line:nth-child(2) {
  opacity: 0;
}
.menu-toggle-active .menu-line:nth-child(3) {
  width: 24px;
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ===== CARD SHINE EFFECT ===== */
.group:hover .group-hover\:scale-105 {
  transform: scale(1.05);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .font-serif {
    font-size: clamp(1.75rem, 5vw, 2.5rem);
  }
}
