/* assets/css/style.css */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800&display=swap');

:root {
  --primary: #22c55e;      /* Tailwind green-500 */
  --primary-dark: #16a34a; /* Tailwind green-600 */
  --secondary: #eab308;    /* Tailwind yellow-500 for accents */
  --dark: #1f2937;         /* Tailwind gray-800 */
  --light: #f8fafc;        /* Tailwind slate-50 */
  --text-muted: #64748b;   /* Tailwind slate-500 */
}

body {
  font-family: 'Inter', sans-serif;
  color: var(--dark);
  background-color: var(--light);
  overflow-x: hidden;
}

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

/* Glassmorphism Utilities */
.glass {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.glass-dark {
  background: rgba(31, 41, 55, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: #f1f1f1; 
}
::-webkit-scrollbar-thumb {
  background: var(--primary); 
  border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--primary-dark); 
}

/* Animations & Transitions */
.hover-lift {
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s ease;
}
.hover-lift:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.smooth-transition {
  transition: all 0.3s ease-in-out;
}

/* Hero Section Specifics */
.hero-bg {
  background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.7)), url('https://images.unsplash.com/photo-1625246333195-78d9c38ad449?q=80&w=2940&auto=format&fit=crop') center/cover no-repeat;
  background-attachment: fixed;
}
.hero-overlay-gradient {
  background: linear-gradient(180deg, rgba(31, 41, 55, 0) 0%, rgba(31, 41, 55, 0.1) 50%, var(--light) 100%);
}

/* Navbar scroll effect */
.scrolled-nav {
  background: rgba(255, 255, 255, 0.95) !important;
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
  padding-top: 0.5rem !important;
  padding-bottom: 0.5rem !important;
}

/* Product Card */
.product-image-container {
  overflow: hidden;
  position: relative;
}
.product-image-container img {
  transition: transform 0.7s ease;
}
.product-card:hover .product-image-container img {
  transform: scale(1.1);
}
.card-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--primary);
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
  z-index: 10;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

/* Loader */
#loader {
  position: fixed;
  inset: 0;
  background: var(--light);
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: opacity 0.5s ease;
}
.spinner {
  width: 50px;
  height: 50px;
  border: 5px solid rgba(34, 197, 94, 0.2);
  border-left-color: var(--primary);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}
@keyframes spin { 
  100% { transform: rotate(360deg); } 
}
