/* ===== TIMMY'Z #4 — CUSTOM STYLES =====
   Premium dark luxury café & bar website */

/* Base reset and typography */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background-color: #050d0a;
  color: #faf6eb;
  line-height: 1.6;
  overflow-x: hidden;
}

/* Selection color */
::selection {
  background: rgba(212, 168, 67, 0.3);
  color: #faf6eb;
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #050d0a;
}
::-webkit-scrollbar-thumb {
  background: rgba(212, 168, 67, 0.3);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: rgba(212, 168, 67, 0.5);
}

/* Gold shimmer text effect */
.gold-shimmer {
  background: linear-gradient(
    90deg,
    #d4a843 0%,
    #f0d48a 25%,
    #d4a843 50%,
    #f0d48a 75%,
    #d4a843 100%
  );
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 4s linear infinite;
}

@keyframes shimmer {
  to { background-position: 200% center; }
}

/* Emerald gradient text */
.emerald-gradient {
  background: linear-gradient(135deg, #3fb87e 0%, #0d8047 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Button shine effect */
.btn-shine {
  position: relative;
  overflow: hidden;
}
.btn-shine::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    to bottom right,
    rgba(255,255,255,0) 0%,
    rgba(255,255,255,0) 40%,
    rgba(255,255,255,0.08) 50%,
    rgba(255,255,255,0) 60%,
    rgba(255,255,255,0) 100%
  );
  transform: translateX(-100%);
  transition: transform 0.6s ease;
}
.btn-shine:hover::after {
  transform: translateX(100%);
}

/* Scroll reveal (progressive enhancement) */
.reveal {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(30px);
  }
  .reveal.visible {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Navigation */
.nav-scrolled {
  background: rgba(5, 13, 10, 0.95) !important;
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(212, 168, 67, 0.15);
}

/* Mobile menu */
.mobile-menu {
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.mobile-menu.open {
  transform: translateX(0);
}

/* Hamburger animation */
#menu-toggle.active #bar1 {
  transform: rotate(45deg) translate(5px, 5px);
}
#menu-toggle.active #bar2 {
  opacity: 0;
}
#menu-toggle.active #bar3 {
  transform: rotate(-45deg) translate(5px, -5px);
  width: 24px;
}

/* Menu cards */
.menu-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.menu-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(13, 128, 71, 0.15);
}

/* Form inputs */
input:focus,
textarea:focus {
  outline: none;
  border-color: #d4a843 !important;
  box-shadow: 0 0 0 3px rgba(212, 168, 67, 0.15);
}

/* CTA glow */
.cta-glow {
  box-shadow: inset 0 0 120px rgba(13, 128, 71, 0.15), 0 0 80px rgba(212, 168, 67, 0.08);
}

/* Pattern overlay */
.pattern-overlay {
  background-image: radial-gradient(rgba(212, 168, 67, 0.03) 1px, transparent 1px);
  background-size: 24px 24px;
}

/* Mobile menu links */
.mobile-link {
  transition: color 0.2s ease;
}

/* Smooth section transitions */
section {
  position: relative;
}

/* Focus visible for accessibility */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid #d4a843;
  outline-offset: 2px;
  border-radius: 4px;
}

/* Image hover zoom */
img {
  max-width: 100%;
  height: auto;
}

/* Prevent layout shift on images */
img {
  vertical-align: middle;
}
