/* Wildpress Coffee Custom Styles */

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

:root {
  --espresso-dark: #120d0a;
  --espresso-surface: #1a1410;
  --espresso-card: #221a15;
  --wood-brown: #2A1B12;
  --mocha-amber: #D4A373;
  --warm-cream: #FAEDCD;
  --emerald-green: #2D5A27;
  --emerald-glow: rgba(45, 90, 39, 0.4);
}

html {
  scroll-behavior: smooth;
  font-family: 'Plus Jakarta Sans', sans-serif;
}

h1, h2, h3, h4, h5, h6, .font-heading {
  font-family: 'Outfit', sans-serif;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--espresso-dark);
}
::-webkit-scrollbar-thumb {
  background: #3a281d;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--mocha-amber);
}

/* Glassmorphism Classes */
.glass-nav {
  background: rgba(18, 13, 10, 0.82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(212, 163, 115, 0.12);
}

.glass-card {
  background: rgba(34, 26, 21, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(212, 163, 115, 0.12);
}

.glass-modal {
  background: rgba(26, 20, 16, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(212, 163, 115, 0.2);
}

/* Glowing text effects */
.glow-text {
  text-shadow: 0 0 20px rgba(212, 163, 115, 0.4);
}

.glow-box-amber {
  box-shadow: 0 10px 30px -10px rgba(212, 163, 115, 0.3);
}

/* Floating Animation */
@keyframes float {
  0%, 100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-10px) rotate(1deg);
  }
}

.animate-float {
  animation: float 5s ease-in-out infinite;
}

.animate-float-delayed {
  animation: float 6s ease-in-out 2s infinite;
}

/* Pulse Glow Animation */
@keyframes pulseGlow {
  0%, 100% {
    box-shadow: 0 0 15px rgba(212, 163, 115, 0.2);
  }
  50% {
    box-shadow: 0 0 30px rgba(212, 163, 115, 0.5);
  }
}

.pulse-glow {
  animation: pulseGlow 3s infinite;
}

/* Dynamic Card Colors & Themes */
.card-theme-orange {
  background: linear-gradient(145deg, rgba(34, 26, 21, 0.9) 0%, rgba(55, 30, 15, 0.7) 100%);
  border: 1px solid rgba(234, 88, 12, 0.25);
}
.card-theme-orange:hover {
  box-shadow: 0 12px 35px -5px rgba(234, 88, 12, 0.35);
  border-color: rgba(234, 88, 12, 0.5);
}

.card-theme-blue {
  background: linear-gradient(145deg, rgba(34, 26, 21, 0.9) 0%, rgba(20, 30, 60, 0.7) 100%);
  border: 1px solid rgba(99, 102, 241, 0.25);
}
.card-theme-blue:hover {
  box-shadow: 0 12px 35px -5px rgba(99, 102, 241, 0.35);
  border-color: rgba(99, 102, 241, 0.5);
}

.card-theme-matcha {
  background: linear-gradient(145deg, rgba(34, 26, 21, 0.9) 0%, rgba(18, 45, 20, 0.7) 100%);
  border: 1px solid rgba(45, 90, 39, 0.35);
}
.card-theme-matcha:hover {
  box-shadow: 0 12px 35px -5px rgba(45, 90, 39, 0.45);
  border-color: rgba(74, 140, 65, 0.6);
}

.card-theme-berry {
  background: linear-gradient(145deg, rgba(34, 26, 21, 0.9) 0%, rgba(55, 18, 30, 0.7) 100%);
  border: 1px solid rgba(225, 29, 72, 0.25);
}
.card-theme-berry:hover {
  box-shadow: 0 12px 35px -5px rgba(225, 29, 72, 0.35);
  border-color: rgba(225, 29, 72, 0.5);
}

.card-theme-amber {
  background: linear-gradient(145deg, rgba(34, 26, 21, 0.9) 0%, rgba(50, 35, 15, 0.7) 100%);
  border: 1px solid rgba(212, 163, 115, 0.25);
}
.card-theme-amber:hover {
  box-shadow: 0 12px 35px -5px rgba(212, 163, 115, 0.35);
  border-color: rgba(212, 163, 115, 0.5);
}

/* Card Micro Hover Lift */
.menu-card {
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}

.menu-card:hover {
  transform: translateY(-8px);
}

.menu-card .card-img {
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.menu-card:hover .card-img {
  transform: scale(1.08);
}

/* Click Ripple Button Effect */
.ripple-btn {
  position: relative;
  overflow: hidden;
}

.ripple {
  position: absolute;
  border-radius: 50%;
  transform: scale(0);
  animation: ripple-animation 0.6s linear;
  background-color: rgba(255, 255, 255, 0.4);
}

@keyframes ripple-animation {
  to {
    transform: scale(4);
    opacity: 0;
  }
}

/* Toast Notification Animation */
#toast-container {
  pointer-events: none;
}

.toast {
  pointer-events: auto;
  animation: slideInRight 0.35s cubic-bezier(0.16, 1, 0.3, 1), fadeOut 0.35s ease 2.7s forwards;
}

@keyframes slideInRight {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes fadeOut {
  to {
    opacity: 0;
    transform: translateY(-10px);
  }
}

/* Custom Checkbox / Radio styling */
input[type="radio"]:checked + label {
  background-color: #D4A373;
  color: #120d0a;
}
