﻿/* Grandma's Food Products - Premium Brand Stylesheet */
@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display:ital@0;1&family=Playfair+Display:ital,wght@0,400..900;1,400..900&family=Plus+Jakarta+Sans:ital,wght@0,300..800;1,300..800&family=Cinzel:wght@500;700;900&display=swap');

:root {
  --brand-red: #D81B24;
  --brand-red-dark: #A80C14;
  --brand-red-hover: #BF131C;
  --brand-red-light: #FEECEE;
  --brand-green: #1E824C;
  --brand-green-dark: #145A32;
  --brand-green-light: #EAF5EE;
  --brand-gold: #D97706;
  --brand-gold-light: #FEF3C7;
  --bg-cream: #FAF6F0;
  --bg-warm-white: #FFFDF9;
  --text-dark: #1C1917;
  --text-muted: #6B7280;
}

body {
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  background-color: #FAF6F0;
  color: #1C1917;
  overflow-x: hidden;
}

.font-serif-luxury {
  font-family: 'DM Serif Display', 'Playfair Display', Georgia, serif;
}
.font-display {
  font-family: 'Playfair Display', Georgia, serif;
}
.font-cinzel {
  font-family: 'Cinzel', Georgia, serif;
}
.font-sans-modern {
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 9px;
}
::-webkit-scrollbar-track {
  background: #F3EDE2;
}
::-webkit-scrollbar-thumb {
  background: #D81B24;
  border-radius: 6px;
}
::-webkit-scrollbar-thumb:hover {
  background: #A80C14;
}

/* Background patterns */
.bg-spice-pattern {
  background-color: #FAF6F0;
  background-image: radial-gradient(#D81B24 0.6px, transparent 0.6px), radial-gradient(#1E824C 0.6px, #FAF6F0 0.6px);
  background-size: 28px 28px;
  background-position: 0 0, 14px 14px;
}

.bg-dark-wood {
  background-color: #141714;
  background-image: radial-gradient(rgba(216, 27, 36, 0.15) 1px, transparent 1px);
  background-size: 20px 20px;
}

/* Glassmorphism */
.glass-nav {
  background: rgba(255, 253, 249, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(216, 27, 36, 0.1);
}

.glass-card {
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.7);
}

.glass-card-dark {
  background: rgba(26, 31, 26, 0.85);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Luxury Shadows */
.shadow-lux {
  box-shadow: 0 20px 45px -15px rgba(216, 27, 36, 0.1), 0 10px 20px -10px rgba(0, 0, 0, 0.05);
}
.shadow-lux-hover {
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.shadow-lux-hover:hover {
  box-shadow: 0 30px 60px -15px rgba(216, 27, 36, 0.22), 0 15px 30px -10px rgba(30, 130, 76, 0.15);
  transform: translateY(-6px);
}
.shadow-glow-red {
  box-shadow: 0 0 30px rgba(216, 27, 36, 0.35);
}
.shadow-glow-green {
  box-shadow: 0 0 30px rgba(30, 130, 76, 0.35);
}

/* Gradient text */
.text-gradient-red {
  background: linear-gradient(135deg, #D81B24 0%, #900B11 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.text-gradient-gold {
  background: linear-gradient(135deg, #F59E0B 0%, #B45309 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Swiper slider custom styles */
.hero-swiper .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background: #ffffff;
  opacity: 0.6;
  border-radius: 8px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.hero-swiper .swiper-pagination-bullet-active {
  width: 36px;
  background: #D81B24;
  opacity: 1;
}

.hero-swiper .swiper-button-next,
.hero-swiper .swiper-button-prev {
  width: 52px;
  height: 52px;
  background: rgba(255, 255, 255, 0.95);
  color: #D81B24;
  border-radius: 50%;
  box-shadow: 0 8px 30px rgba(0,0,0,0.2);
  transition: all 0.3s ease;
}
.hero-swiper .swiper-button-next:after,
.hero-swiper .swiper-button-prev:after {
  font-size: 20px;
  font-weight: 800;
}
.hero-swiper .swiper-button-next:hover,
.hero-swiper .swiper-button-prev:hover {
  background: #D81B24;
  color: #ffffff;
  transform: scale(1.1);
}

/* Floating Animations */
@keyframes floatGentle {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-10px) rotate(1.5deg); }
}

@keyframes pulseGlow {
  0%, 100% { opacity: 0.4; transform: scale(1); }
  50% { opacity: 0.8; transform: scale(1.06); }
}

.animate-float {
  animation: floatGentle 5s ease-in-out infinite;
}
.animate-glow {
  animation: pulseGlow 3.5s ease-in-out infinite;
}

/* Filter Tab active state */
.tab-btn {
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.tab-btn.active {
  background-color: #D81B24 !important;
  color: #ffffff !important;
  border-color: #D81B24 !important;
  box-shadow: 0 10px 25px -5px rgba(216, 27, 36, 0.45);
}

/* Product Card Image Zoom */
.product-card-img {
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.product-card:hover .product-card-img {
  transform: scale(1.1);
}

/* Announcement ticker */
@keyframes tickerLoop {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.ticker-wrap {
  overflow: hidden;
  white-space: nowrap;
}
.ticker-content {
  display: inline-flex;
  animation: tickerLoop 30s linear infinite;
}
.ticker-content:hover {
  animation-play-state: paused;
}

.modal-backdrop-blur {
  background-color: rgba(17, 24, 39, 0.75);
  backdrop-filter: blur(8px);
}
/* Full Width Banner & V2 Header Additions */
.header-v2-navlink {
  position: relative;
  transition: color 0.3s ease;
}
.header-v2-navlink::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background-color: #D81B24;
  transition: width 0.3s ease;
}
.header-v2-navlink:hover::after,
.header-v2-navlink.active::after {
  width: 100%;
}

.full-width-slide {
  height: 680px;
}
@media (max-width: 768px) {
  .full-width-slide {
    height: 520px;
  }
}

.floating-switcher {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 999;
}
