/* L'Artisan Café - Production Stylesheet */

:root {
  --color-primary: #271310;
  --color-primary-container: #3e2723;
  --color-secondary: #96472a;
  --color-secondary-container: #fe9976;
  --color-terracotta: #c76d4d;
  --color-surface: #fdf8f5;
  --color-surface-dim: #ded9d6;
  --color-surface-container: #f2edea;
  --color-surface-container-high: #ece7e4;
  --color-on-surface: #1c1b1a;
  --color-on-surface-variant: #504442;
  --color-outline: #827472;
  --color-outline-variant: #d3c3c0;
}

html {
  scroll-behavior: smooth;
  -webkit-tap-highlight-color: transparent;
}

body {
  background-color: var(--color-surface);
  color: var(--color-on-surface);
  font-family: 'Hanken Grotesk', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  overflow-x: hidden;
}

/* Material Icons Font Display */
.material-symbols-outlined {
  font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
  vertical-align: middle;
}

.material-symbols-outlined.fill-icon {
  font-variation-settings: 'FILL' 1;
}

/* Shadows with Chocolate Tint */
.ambient-shadow {
  box-shadow: 0 4px 24px rgba(62, 39, 35, 0.08);
}

.ambient-shadow-lg {
  box-shadow: 0 12px 36px rgba(62, 39, 35, 0.12);
}

/* Input Focus Ring */
.input-focus-ring:focus {
  outline: none;
  border-color: var(--color-terracotta);
  box-shadow: 0 0 0 2px rgba(199, 109, 77, 0.25);
}

/* Honeypot field (hidden from genuine users, visible to bots) */
.honey-field {
  position: absolute !important;
  left: -9999px !important;
  top: -9999px !important;
  opacity: 0 !important;
  height: 0 !important;
  width: 0 !important;
  z-index: -1 !important;
  pointer-events: none !important;
}

/* Spin animation for submission loader */
@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.animate-spin-fast {
  animation: spin 0.8s linear infinite;
}

/* Notification Toast Animation */
.toast-enter {
  transform: translateY(-20px);
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.toast-enter-active {
  transform: translateY(0);
  opacity: 1;
}

/* Active Nav Links */
.nav-link.active {
  color: var(--color-secondary) !important;
  font-weight: 700;
  border-bottom: 2px solid var(--color-secondary);
}

/* Mobile Nav Drawer Transition */
#mobile-menu {
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease;
}

#mobile-menu.menu-closed {
  transform: translateX(100%);
  opacity: 0;
  pointer-events: none;
}

#mobile-menu.menu-open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}

/* Backdrop Overlay */
#menu-backdrop {
  transition: opacity 0.3s ease;
}

#menu-backdrop.backdrop-closed {
  opacity: 0;
  pointer-events: none;
}

#menu-backdrop.backdrop-open {
  opacity: 1;
  pointer-events: auto;
}

/* Image Aspect Ratio Fallbacks */
img {
  max-width: 100%;
  height: auto;
}

