/* Grafik Vapors Cafe — Custom Styles */

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

body {
  overflow-x: hidden;
}

/* Selection color */
::selection {
  background-color: #d4a824;
  color: #141924;
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

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

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

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

/* Navbar scroll state */
.navbar-scrolled {
  background-color: rgba(12, 16, 23, 0.95) !important;
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(212, 168, 36, 0.1);
}

/* Mobile menu animations */
.mobile-menu-open {
  opacity: 1 !important;
  pointer-events: all !important;
}

.menu-line:nth-child(1) {
  transform-origin: center;
}

.menu-line:nth-child(2) {
  transform-origin: center;
}

.menu-line:nth-child(3) {
  transform-origin: center;
}

/* Hamburger animation */
.menu-active .menu-line:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.menu-active .menu-line:nth-child(2) {
  opacity: 0;
}

.menu-active .menu-line:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
  width: 1.5rem;
}

/* Scroll reveal animations (progressive enhancement) */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
  }

  .reveal.revealed {
    opacity: 1;
    transform: translateY(0);
  }

  .reveal-delay-1 { transition-delay: 0.1s; }
  .reveal-delay-2 { transition-delay: 0.2s; }
  .reveal-delay-3 { transition-delay: 0.3s; }
  .reveal-delay-4 { transition-delay: 0.4s; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* Image loading placeholder */
img {
  background-color: #1e2c47;
}

/* Focus styles */
a:focus-visible,
button:focus-visible {
  outline: 2px solid #d4a824;
  outline-offset: 2px;
  border-radius: 4px;
}

/* Print styles */
@media print {
  nav, #menu-btn, .reveal {
    display: none !important;
  }
  
  body {
    background: white;
    color: black;
  }
}
