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

/* ==========================================================================
   RESET & STRICT LAYOUT CONSTRAINTS (NO HORIZONTAL SCROLL)
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  width: 100%;
  max-width: 100vw;
  overflow-x: hidden !important;
  background-color: #FFF9F2;
  color: #4A2C2A;
  font-family: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  position: relative;
  min-height: 100vh;
}

/* Prevent any child element from spilling over horizontally */
section, header, footer, div, img, iframe {
  max-width: 100%;
}

/* ==========================================================================
   TYPOGRAPHY
   ========================================================================== */
.font-fredoka { font-family: 'Fredoka', cursive, sans-serif; }
.font-outfit { font-family: 'Outfit', sans-serif; }
.font-playfair { font-family: 'Playfair Display', serif; }

/* Text Gradient */
.text-gradient-vibrant {
  background: linear-gradient(135deg, #FF6B6B 0%, #F06292 40%, #FFA41B 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-savory {
  background: linear-gradient(135deg, #7CB342 0%, #4DB6AC 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ==========================================================================
   CUSTOM COLOR UTILITIES & SHADOWS
   ========================================================================== */
.bg-vibrant-warm { background-color: #FFF9F2; }
.bg-coral { background-color: #FF6B6B; }
.bg-coral-hover:hover { background-color: #FF5252; }
.bg-coral-light { background-color: #FF8A8A; }
.bg-amber-accent { background-color: #FFA41B; }
.bg-amber-soft { background-color: #FEC260; }
.bg-green-accent { background-color: #7CB342; }
.bg-teal-accent { background-color: #4DB6AC; }
.bg-dark-brown { background-color: #4A2C2A; }

.text-dark-brown { color: #4A2C2A; }
.text-coral { color: #FF6B6B; }
.text-green-accent { color: #7CB342; }
.text-amber-accent { color: #FFA41B; }

.border-dark-brown { border-color: #4A2C2A; }
.border-coral { border-color: #FF6B6B; }
.border-coral-light { border-color: #FF8A8A; }

/* Retro Pop Shadows */
.pop-shadow-coral { box-shadow: 6px 6px 0px 0px #FF8A8A; }
.pop-shadow-amber { box-shadow: 6px 6px 0px 0px #FFA41B; }
.pop-shadow-green { box-shadow: 6px 6px 0px 0px #7CB342; }
.pop-shadow-teal { box-shadow: 6px 6px 0px 0px #4DB6AC; }
.pop-shadow-dark { box-shadow: 6px 6px 0px 0px #4A2C2A; }
.pop-shadow-lg-dark { box-shadow: 8px 8px 0px 0px #4A2C2A; }
.pop-shadow-pricing { box-shadow: 10px 10px 0px 0px #4A2C2A; }

/* ==========================================================================
   ANIMATIONS & TRANSITIONS
   ========================================================================== */
@keyframes floatSlow {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-8px); }
}

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

@keyframes marquee {
  0% { transform: translateX(0%); }
  100% { transform: translateX(-50%); }
}

.marquee-container {
  overflow: hidden;
  width: 100%;
  position: relative;
}

.marquee-content {
  display: flex;
  gap: 1.5rem;
  width: max-content;
  animation: marquee 30s linear infinite;
}

.marquee-container:hover .marquee-content {
  animation-play-state: paused;
}

/* ==========================================================================
   MODAL & POPUP OVERLAYS
   ========================================================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(74, 44, 42, 0.75);
  backdrop-filter: blur(6px);
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-content {
  transform: scale(0.9) translateY(20px);
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.modal-overlay.active .modal-content {
  transform: scale(1) translateY(0);
}

/* Sales Toast */
.sales-toast-wrapper {
  position: fixed;
  bottom: 20px;
  left: 20px;
  z-index: 900;
  max-width: calc(100vw - 40px);
  transform: translateY(150%);
  transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.sales-toast-wrapper.active {
  transform: translateY(0);
}

/* ==========================================================================
   CUSTOM SCROLLBAR
   ========================================================================== */
::-webkit-scrollbar {
  width: 12px;
}
::-webkit-scrollbar-track {
  background: #FFF9F2;
}
::-webkit-scrollbar-thumb {
  background: #FF8A8A;
  border-radius: 999px;
  border: 3px solid #FFF9F2;
}
::-webkit-scrollbar-thumb:hover {
  background: #FF6B6B;
}
