/* Core Styles */
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap");

:root {
  --primary-color: #d97757;
  --secondary-color: #f4a261;
  --dark-blue: #1e3a5f;
  --dark-green: #2d5f3f;
  --bg-color: #faf8f5;
  --text-color: #1a1a1a;
}

body {
  font-family: "Inter", sans-serif;
  background-color: var(--bg-color);
  color: var(--text-color);
  overflow-x: hidden;
}

/* Utilities */
.text-primary-custom {
  color: var(--primary-color) !important;
}

.bg-primary-custom {
  background-color: var(--primary-color) !important;
}

.text-gradient {
  background: linear-gradient(135deg,
      var(--primary-color),
      var(--secondary-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.bg-gradient-custom {
  background: linear-gradient(135deg,
      var(--primary-color),
      var(--secondary-color));
}

.bg-dark-gradient {
  background: linear-gradient(to right, var(--dark-blue), var(--dark-green));
}

/* Components */
.logo-box {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-link {
  font-weight: 600;
  color: #4b5563;
  padding: 0.5rem 1rem;
  position: relative;
  transition: color 0.3s;
  z-index: 10;
  /* Ensure links are above container */
}

.navbar {
  z-index: 1030 !important;
  /* Ensure navbar is above hero overlay but below offcanvas backdrop (1040) */
}

.navbar-nav {
  list-style: none;
  padding-left: 0;
  margin-bottom: 0;
}

.nav-link:hover,
.nav-link.active {
  color: #111827;
}

.nav-link.active::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background-color: var(--primary-color);
}

.btn-icon {
  padding: 0.5rem;
  border-radius: 0.5rem;
  transition: background-color 0.2s;
  color: #4b5563;
}

.btn-icon:hover {
  background-color: #f3f4f6;
  color: #111827;
}

.badge-cart {
  background-color: var(--dark-green);
  border: 2px solid white;
}

/* EBT Banner */
.ebt-banner {
  font-size: 0.875rem;
}

.text-secondary-color {
  color: var(--secondary-color) !important;
}

.bg-secondary-color {
  background-color: var(--secondary-color) !important;
}

/* Animations */
@keyframes marquee {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

.animate-marquee {
  display: flex;
  animation: marquee 20s linear infinite;
  width: max-content;
}

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

/* Mobile Drawer */
.offcanvas {
  border-top-right-radius: 1.5rem;
  border-bottom-right-radius: 1.5rem;
}

/* Cards */
.card-hover {
  transition: all 0.3s ease;
}

.card-hover:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

/* Form inputs */
.form-control:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.25rem rgba(217, 119, 87, 0.25);
}

/* Hero Section */
.hero-section {
  position: relative;
  height: 500px;
  overflow: hidden;
}

@media (min-width: 768px) {
  .hero-section {
    height: 600px;
  }
}

.video-bg {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  z-index: 0;
  transform: translate(-50%, -50%);
  object-fit: cover;
}

.hero-overlay {
  background: linear-gradient(to right, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.5), transparent);
}

.backdrop-blur-sm {
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.animate-pulse {
  animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes pulse {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: .5;
  }
}

/* Scroll Indicator */
.scroll-indicator {
  width: 24px;
  height: 40px;
  border: 2px solid rgba(255, 255, 255, 0.5);
  border-radius: 9999px;
  display: flex;
  justify-content: center;
  padding-top: 8px;
}

.scroll-dot {
  width: 4px;
  height: 8px;
  background-color: rgba(255, 255, 255, 0.7);
  border-radius: 9999px;
  animation: scroll 1.5s ease-in-out infinite;
}

@keyframes scroll {
  0% {
    transform: translateY(0);
    opacity: 1;
  }

  100% {
    transform: translateY(10px);
    opacity: 0;
  }
}


.product-badge-ebt {
  background-color: var(--dark-green);
  color: white;
  font-size: 0.65rem;
  font-weight: bold;
  padding: 2px 6px;
  border-radius: 9999px;
  display: inline-block;
}

/* Recipe Bundle */
.recipe-bundle-card {
  background: linear-gradient(135deg, #FFF8F6, #ffffff);
  border: 1px solid rgba(217, 119, 87, 0.2);
}

.avatar-stack {
  display: flex;
}

.avatar-stack img {
  border: 2px solid white;
  margin-right: -10px;
  z-index: 1;
}

/* Fade In Animation */
.fade-in {
  animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

/* Custom Color Utilities */
.bg-dark-blue {
  background-color: var(--dark-blue) !important;
}

.text-dark-blue {
  color: var(--dark-blue) !important;
}

/* Custom Height Utilities */
.min-vh-25 {
  min-height: 25vh;
}

.fade-in-up {
  animation: fadeInUp 0.8s ease-out forwards;
  opacity: 0;
  transform: translateY(20px);
}

.delay-100 {
  animation-delay: 0.1s;
}

.delay-200 {
  animation-delay: 0.2s;
}

.delay-300 {
  animation-delay: 0.3s;
}

.delay-400 {
  animation-delay: 0.4s;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}