/* Custom Styles for MarMic Pastelería Artesanal */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,500;0,600;0,700;0,800;1,400;1,600&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Great+Vibes&display=swap');

:root {
  --primary-pink: #e62376;
  --primary-pink-light: #ff75ad;
  --primary-pink-soft: #fdf2f6;
  --secondary-teal: #00bcd4;
  --secondary-teal-light: #e0f7fa;
  --secondary-teal-dark: #0097a7;
  --accent-gold: #e6a73c;
  --text-dark: #231b26;
  --text-muted: #6b6375;
  --bg-cream: #fff9fb;
}

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  background-color: var(--bg-cream);
  color: var(--text-dark);
  overflow-x: hidden;
}

.font-serif-brand {
  font-family: 'Playfair Display', serif;
}

.font-script {
  font-family: 'Great Vibes', cursive;
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #fdf2f6;
}
::-webkit-scrollbar-thumb {
  background: #ff75ad;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #e62376;
}

/* Header badge gradient */
.gradient-marmic {
  background: linear-gradient(135deg, #e62376 0%, #ff5c9f 50%, #00bcd4 100%);
}

.gradient-pink {
  background: linear-gradient(135deg, #e62376 0%, #ff5295 100%);
}

.gradient-teal {
  background: linear-gradient(135deg, #00acc1 0%, #26c6da 100%);
}

.gradient-card-overlay {
  background: linear-gradient(180deg, rgba(0,0,0,0) 50%, rgba(20, 15, 25, 0.75) 100%);
}

.hero-pattern {
  background-color: #fff9fb;
  background-image: radial-gradient(#e62376 0.6px, transparent 0.6px), radial-gradient(#00bcd4 0.6px, #fff9fb 0.6px);
  background-size: 30px 30px;
  background-position: 0 0, 15px 15px;
  background-opacity: 0.05;
}

/* Card hover animations */
.product-card {
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, box-shadow;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 35px -10px rgba(230, 35, 118, 0.18), 0 5px 15px rgba(0, 0, 0, 0.04);
}

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

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

/* Custom Glassmorphism */
.glass-effect {
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.6);
}

.glass-nav {
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

/* Pulse animation for cart */
@keyframes cartBounce {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.22); }
}

.cart-bump {
  animation: cartBounce 0.4s ease-in-out;
}

/* Subtle badge pulse */
@keyframes pulseGlow {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.85; transform: scale(1.03); }
}

.badge-glow {
  animation: pulseGlow 2.5s infinite ease-in-out;
}

/* Custom Modal Animations */
.modal-overlay {
  animation: fadeIn 0.25s ease-out forwards;
}

.modal-content {
  animation: popIn 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes popIn {
  from {
    opacity: 0;
    transform: scale(0.95) translateY(10px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

/* Slide drawer */
.drawer-enter {
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.drawer-enter-active {
  transform: translateX(0);
}

/* Floating WhatsApp button */
.whatsapp-float {
  box-shadow: 0 10px 25px -5px rgba(37, 211, 102, 0.5);
  transition: all 0.3s ease;
}

.whatsapp-float:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 15px 30px -5px rgba(37, 211, 102, 0.65);
}
