/* SOWA Cafe — Custom Styles */

/* Smooth focus outlines */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: 2px solid #c45a28;
  outline-offset: 2px;
  border-radius: 4px;
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #faf5ea;
}
::-webkit-scrollbar-thumb {
  background: #dbcdc1;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #c4a998;
}

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

/* Mobile menu transitions */
.mobile-menu {
  transition: opacity 0.3s ease, pointer-events 0.3s ease;
}
.mobile-menu.open {
  opacity: 1;
  pointer-events: all;
}
.mobile-menu.closed {
  opacity: 0;
  pointer-events: none;
}

/* Hero gradient overlay for text readability */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(253,251,247,0.92) 0%, rgba(253,251,247,0.7) 50%, transparent 100%);
  z-index: 0;
  pointer-events: none;
}
.hero > .max-w-7xl {
  position: relative;
  z-index: 1;
}

/* Nav shadow on scroll */
.nav.scrolled .nav-inner {
  background: rgba(253, 251, 247, 0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(70, 43, 35, 0.08);
}

/* Subtle pattern overlay on sections */
.bg-sand-50::before,
.bg-white::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(circle at 1px 1px, rgba(70,43,35,0.03) 1px, transparent 0);
  background-size: 24px 24px;
}

/* Button ripple effect */
.btn-primary::after,
.btn-secondary::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  opacity: 0;
  transition: opacity 0.3s;
}

/* Image aspect ratio helpers */
.img-hover-wrap {
  position: relative;
  overflow: hidden;
}

/* Stagger animation for menu items */
.menu-item {
  position: relative;
}
.menu-item::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: #e07d4a;
  transition: width 0.3s ease;
}
.menu-item:hover::after {
  width: 100%;
}

/* Print styles */
@media print {
  .nav, .mobile-menu, #contactForm, .reveal { display: none !important; }
  body { color: #000; background: #fff; }
  a { color: #000; }
}
