/* ==========================================================================
   Wiesnanstich dahoam - Bavarian Craft & Storybook Cartoon Styling
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,600;0,9..144,700;0,9..144,800;1,9..144,600&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
  --wiesn-blue: #194a7a;
  --wiesn-blue-dark: #123558;
  --wiesn-blue-light: #f0f5fa;
  --wiesn-gold: #c2781b;
  --wiesn-gold-light: #fdf8f0;
  --wiesn-green: #20593b;
  --wiesn-green-dark: #163f2a;
  --wiesn-wood: #3a2113;
  --wiesn-wood-dark: #24140a;
  --wiesn-cream: #faf7f2;
  --wiesn-border: #e8dfd5;
  --wiesn-alert: #9e1c1c;
}

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background-color: var(--wiesn-cream);
  color: #2b2520;
  -webkit-tap-highlight-color: transparent;
}

h1, h2, h3, .brand-font {
  font-family: 'Fraunces', Georgia, serif;
}

/* Refined Bavarian Diamond (Rauten) Ribbon */
.bavarian-pattern {
  background-color: #245e99;
  background-image: 
    linear-gradient(135deg, #ffffff 25%, transparent 25%), 
    linear-gradient(225deg, #ffffff 25%, transparent 25%), 
    linear-gradient(45deg, #ffffff 25%, transparent 25%), 
    linear-gradient(315deg, #ffffff 25%, #245e99 25%);
  background-position: 10px 0, 10px 0, 0 0, 0 0;
  background-size: 20px 20px;
  background-repeat: repeat;
}

.bavarian-ribbon-top {
  height: 12px;
  width: 100%;
  border-bottom: 2px solid #c2781b;
  box-shadow: 0 2px 6px rgba(36, 94, 153, 0.15);
}

.bavarian-ribbon-bottom {
  height: 10px;
  width: 100%;
  border-top: 2px solid #c2781b;
  box-shadow: 0 -2px 6px rgba(36, 94, 153, 0.12);
}

/* Barrel SVG Liquid & Foam Transitions */
.beer-liquid {
  transition: height 0.7s cubic-bezier(0.4, 0, 0.2, 1), y 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.beer-foam {
  transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Elegant Empty Barrel Banner:
   STRICT REQUIREMENT: NO blinking, NO resizing/pulsing.
   Static, crisp, and refined.
*/
.barrel-empty-banner {
  background-color: #9e1c1c;
  color: #ffffff;
  border: 1.5px solid #d4a359;
  box-shadow: 0 3px 10px rgba(158, 28, 28, 0.25);
}

/* Subtle Cartoon Card Style */
.wiesn-card {
  background-color: #ffffff;
  border: 1px solid var(--wiesn-border);
  box-shadow: 0 4px 18px -2px rgba(58, 33, 19, 0.05), 0 1px 3px rgba(58, 33, 19, 0.03);
}

/* Tactile micro-interactions */
.wiesn-btn {
  transition: all 0.15s ease-in-out;
}

.wiesn-btn:hover {
  transform: translateY(-1px);
}

.wiesn-btn:active {
  transform: translateY(1px) scale(0.98);
}

/* Input styles */
input[type="text"], input[type="number"] {
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

input[type="text"]:focus, input[type="number"]:focus {
  border-color: var(--wiesn-blue);
  box-shadow: 0 0 0 3px rgba(25, 74, 122, 0.12);
}

/* Custom subtle scrollbar */
::-webkit-scrollbar {
  width: 5px;
  height: 5px;
}

::-webkit-scrollbar-track {
  background: #f4ede4;
  border-radius: 4px;
}

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

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