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

:root {
  /* Salad Green & Lime Palette */
  --salad-50: #f7fee7;
  --salad-100: #ecfccb;
  --salad-200: #d9f99d;
  --salad-300: #bef264;
  --salad-400: #a3e635;
  --salad-500: #84cc16;
  --salad-600: #65a30d;
  --salad-700: #4d7c0f;
  --salad-800: #3f6212;
  --salad-900: #14532d;
  --salad-dark: #052e16;

  /* Fresh background shades */
  --bg-page: #f8fcf5;
  --bg-card: #ffffff;
  --bg-subtle: #f2f9ee;

  --font-body: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-heading: 'Outfit', 'Plus Jakarta Sans', system-ui, sans-serif;

  --shadow-soft: 0 4px 20px -2px rgba(101, 163, 13, 0.08), 0 2px 6px -1px rgba(0, 0, 0, 0.04);
  --shadow-hover: 0 12px 30px -4px rgba(101, 163, 13, 0.16), 0 4px 10px -2px rgba(0, 0, 0, 0.06);
}

body, html {
  font-family: var(--font-body) !important;
  scroll-behavior: smooth;
  background-color: var(--bg-page);
  color: #1f2937;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading) !important;
  letter-spacing: -0.02em;
}

/* Ambient Background Bird & Botanical Watermark */
.ambient-bird-bg {
  position: fixed;
  pointer-events: none;
  z-index: 0;
  opacity: 0.12;
  transition: opacity 0.5s ease;
}

.ambient-bird-right {
  top: 120px;
  right: -60px;
  width: 480px;
  height: 480px;
  background-image: url('../images/bird-bg.svg');
  background-repeat: no-repeat;
  background-size: contain;
}

.ambient-bird-left {
  bottom: 200px;
  left: -80px;
  width: 520px;
  height: 520px;
  transform: scaleX(-1);
  background-image: url('../images/bird-bg.svg');
  background-repeat: no-repeat;
  background-size: contain;
}

/* Tree Branch Button Styling */
.btn-branch-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  background: linear-gradient(135deg, #65a30d 0%, #4d7c0f 100%);
  color: #ffffff !important;
  font-weight: 800;
  border-radius: 14px;
  padding: 0.9rem 1.75rem;
  box-shadow: 0 6px 18px rgba(101, 163, 13, 0.35);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-branch-primary:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg, #84cc16 0%, #4d7c0f 100%);
  box-shadow: 0 10px 24px rgba(101, 163, 13, 0.45);
}

.btn-branch-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  background: #ffffff;
  color: #14532d !important;
  font-weight: 700;
  border: 2px solid #84cc16;
  border-radius: 14px;
  padding: 0.85rem 1.6rem;
  transition: all 0.25s ease;
  box-shadow: 0 2px 8px rgba(132, 204, 22, 0.12);
}

.btn-branch-secondary:hover {
  background: #ecfccb;
  border-color: #65a30d;
  color: #0f3d17 !important;
  transform: translateY(-1px);
}

.btn-branch-accent {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  background: linear-gradient(135deg, #e11d48 0%, #be123c 100%);
  color: #ffffff !important;
  font-weight: 800;
  border-radius: 14px;
  padding: 0.9rem 1.75rem;
  box-shadow: 0 6px 18px rgba(225, 29, 72, 0.35);
  transition: all 0.25s ease;
}

.btn-branch-accent:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(225, 29, 72, 0.45);
}

/* Branch Icon Inside Button */
.branch-icon-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  flex-shrink: 0;
}

.branch-icon-badge svg {
  width: 16px;
  height: 16px;
}

/* Cards & Sections */
.salad-card {
  background: #ffffff;
  border: 1px solid #d9f99d;
  border-radius: 20px;
  box-shadow: var(--shadow-soft);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.salad-card:hover {
  transform: translateY(-4px);
  border-color: #a3e635;
  box-shadow: var(--shadow-hover);
}

/* Ingredient Card */
.ingredient-badge-card {
  background: linear-gradient(180deg, #ffffff 0%, #f7fee7 100%);
  border: 1px solid #d9f99d;
  border-radius: 18px;
  padding: 1.25rem;
  transition: all 0.25s ease;
}

.ingredient-badge-card:hover {
  border-color: #84cc16;
  box-shadow: 0 8px 20px rgba(132, 204, 22, 0.18);
  transform: translateY(-3px);
}

/* Form Validation */
.input-error-msg {
  font-size: 0.8125rem;
  margin-top: 0.375rem;
  display: none;
  font-weight: 600;
}

.input-error-msg.show {
  display: block;
  color: #dc2626;
}

.input-error-msg.show.success {
  color: #166534;
}

input.is-invalid {
  border-color: #ef4444 !important;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.15) !important;
}

input.is-valid {
  border-color: #22c55e !important;
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.15) !important;
}

/* Subtle Pulsing for Discount / Timer */
@keyframes subtle-pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.03); }
}

.animate-pulse-subtle {
  animation: subtle-pulse 2.2s infinite ease-in-out;
}

/* Floating Action Button for Mobile */
.floating-order-btn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 50;
  box-shadow: 0 10px 25px rgba(101, 163, 13, 0.4);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #f1f5f9;
}
::-webkit-scrollbar-thumb {
  background: #a3e635;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #84cc16;
}
