:root {
  /* Color Palette - Industrial Glass Dark Theme */
  --primary-color: #f1f5f9; /* Off-white for text headers */
  --secondary-color: #ef4444; /* Neon Steel Red Accent */
  --accent-color: #f59e0b; /* Golden Yellow for Highlights */
  
  --bg-color: #0b1120; /* Deep Obsidian Background */
  --bg-card: rgba(255, 255, 255, 0.03); /* Frosted Glass */
  --bg-dark: #020617; /* Even darker sections */
  
  --text-main: #cbd5e1;
  --text-light: #94a3b8;
  --text-inverse: #020617;
  
  --border-color: rgba(255, 255, 255, 0.1);
  --nav-bg: rgba(11, 17, 32, 0.8);
  --footer-bg: #020617;
  --marquee-item-bg: white;
  --marquee-border: rgba(255, 255, 255, 0.1);

  /* Typography */
  --font-heading: 'Outfit', 'Inter', sans-serif;
  --font-body: 'Inter', 'Roboto', sans-serif;

  /* Spacing & Layout */
  --container-width: 1200px;
  --spacing-sm: 0.5rem;
  --spacing-md: 1rem;
  --spacing-lg: 2rem;
  --spacing-xl: 4rem;

  /* Border Radius & Shadows */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 24px;
  --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.5);
  --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 20px rgba(239, 68, 68, 0.4);
  --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-theme="light"] {
  --primary-color: #0f172a; 
  --secondary-color: #dc2626; 
  --accent-color: #f59e0b; 
  
  --bg-color: #f8fafc; 
  --bg-card: rgba(255, 255, 255, 0.9); 
  --bg-dark: #f1f5f9; 
  
  --text-main: #334155;
  --text-light: #64748b;
  --text-inverse: #0f172a;
  
  --border-color: rgba(0, 0, 0, 0.1);
  --nav-bg: rgba(255, 255, 255, 0.9);
  --footer-bg: #e2e8f0;
  --marquee-item-bg: white;
  --marquee-border: rgba(0, 0, 0, 0.05);
  
  --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

/* Reset & Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--text-main);
  background-color: var(--bg-color);
  background-image: 
    radial-gradient(circle at 15% 50%, rgba(239, 68, 68, 0.05), transparent 25%),
    radial-gradient(circle at 85% 30%, rgba(56, 189, 248, 0.05), transparent 25%);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--primary-color);
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.02em;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 var(--spacing-md);
}

/* Typography Utilities */
.text-center { text-align: center; }
.text-primary { color: var(--primary-color); }
.text-secondary { color: var(--secondary-color); text-shadow: 0 0 10px rgba(239, 68, 68, 0.3); }
.section-title {
  font-size: 3rem;
  margin-bottom: var(--spacing-sm);
  position: relative;
  display: inline-block;
}
.section-title::after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 0;
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, var(--secondary-color), transparent);
  border-radius: var(--radius-sm);
}
.text-center .section-title::after {
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, var(--secondary-color), transparent);
  width: 120px;
}
.section-subtitle {
  font-size: 1.125rem;
  color: var(--text-light);
  margin-top: 1.5rem;
  margin-bottom: var(--spacing-xl);
}

/* Layout Utilities */
.section-padding { padding: 6rem 0; }
.bg-dark { background-color: var(--bg-dark); }
.bg-white { background-color: transparent; } /* Replaced white bg with transparent for glass */

/* Glassmorphism Utilities */
.glass-panel {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  transition: var(--transition);
}
.glass-panel:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: var(--shadow-lg);
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.875rem 2rem;
  font-weight: 600;
  border-radius: 50px;
  cursor: pointer;
  border: none;
  font-family: var(--font-heading);
  text-align: center;
  transition: var(--transition);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.875rem;
}
.btn-primary {
  background: linear-gradient(135deg, #ef4444, #b91c1c);
  color: white; /* Button text should remain white */
  box-shadow: var(--shadow-glow);
}
.btn-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 0 30px rgba(239, 68, 68, 0.6);
}
.btn-outline {
  background-color: transparent;
  color: white;
  border: 2px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(5px);
}
.btn-outline:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: white;
}
.btn-dark {
  background-color: rgba(255, 255, 255, 0.1);
  color: white;
  backdrop-filter: blur(10px);
}
.btn-dark:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

/* Header & Navbar */
header {
  background: var(--nav-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.top-bar {
  background-color: var(--bg-dark);
  color: var(--text-light);
  padding: 0.5rem 0;
  font-size: 0.875rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.top-bar-links a {
  margin-left: 1rem;
  color: var(--text-light);
  transition: var(--transition);
}
.top-bar-links a:hover { color: var(--primary-color); }

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem var(--spacing-md);
}
.logo-container img {
  height: 60px;
}
.nav-links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
}
.nav-links a {
  font-weight: 500;
  font-family: var(--font-heading);
  color: var(--text-main);
  position: relative;
  padding: 0.5rem 0;
}
.nav-links a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: var(--secondary-color);
  transition: var(--transition);
  box-shadow: 0 0 10px var(--secondary-color);
}
.nav-links a:hover, .nav-links a.active { color: var(--primary-color); }
.nav-links a:hover::after, .nav-links a.active::after {
  width: 100%;
}
.mobile-menu-btn {
  display: none;
  font-size: 1.5rem;
  background: none;
  border: none;
  color: var(--primary-color);
  cursor: pointer;
}

/* Footer */
footer {
  background-color: var(--footer-bg);
  color: var(--text-light);
  padding: 5rem 0 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  position: relative;
  overflow: hidden;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  margin-bottom: 3rem;
}
.footer-col h3 {
  color: var(--primary-color);
  margin-bottom: 1.5rem;
  font-size: 1.25rem;
}
.footer-links {
  list-style: none;
}
.footer-links li {
  margin-bottom: 1rem;
}
.footer-links a {
  color: var(--text-light);
}
.footer-links a:hover {
  color: var(--secondary-color);
  padding-left: 5px;
}
.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.875rem;
}

/* Floating Actions */
.floating-actions {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  z-index: 999;
}
.float-btn {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white; /* Keeps float icons white */
  font-size: 1.5rem;
  box-shadow: 0 10px 20px rgba(0,0,0,0.5);
  transition: var(--transition);
  border: 1px solid var(--border-color);
}
.float-btn:hover {
  transform: scale(1.15) translateY(-5px);
}
.float-wa { background: linear-gradient(135deg, #25D366, #128C7E); }
.float-wa:hover { box-shadow: 0 0 20px rgba(37, 211, 102, 0.6); }
.float-call { background: linear-gradient(135deg, #ef4444, #b91c1c); }
.float-call:hover { box-shadow: 0 0 20px rgba(239, 68, 68, 0.6); }

/* Responsive */
@media (max-width: 768px) {
  .navbar {
    position: relative;
  }
  .logo-container {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
  }
  .mobile-menu-btn { 
    display: block; 
    order: -1;
  }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: rgba(11, 17, 32, 0.95);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 2rem;
    box-shadow: var(--shadow-lg);
    gap: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }
  .nav-links.show { display: flex; }
  .top-bar { display: none; }
  .section-padding { padding: 4rem 0; }
  .section-title { font-size: 2.25rem; }
}

/* FIXED IMAGE CSS */
/* Product Grid Overrides */
.products-grid-item {
  padding: 1.5rem !important; 
  background: white; /* Changed to white to seamlessly blend with JPEG backgrounds */
  border-radius: var(--radius-lg);
}
.products-grid-item img {
  width: 100%;
  height: 250px;
  object-fit: contain !important; /* CRITICAL FIX: Images will fit fully without cropping */
  filter: drop-shadow(0 10px 15px rgba(0,0,0,0.3)); /* 3D shadow on the bag itself */
  transition: transform 0.4s ease;
}
.products-grid-item:hover img {
  transform: scale(1.1); /* Subtle zoom on hover */
}

/* Marquee Styles */
.marquee-wrapper {
  overflow: hidden;
  white-space: nowrap;
  position: relative;
  width: 100%;
  padding: 1rem 0;
}
.marquee-wrapper::before,
.marquee-wrapper::after {
  content: '';
  position: absolute;
  top: 0;
  width: 150px;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}
.marquee-wrapper::before {
  left: 0;
  background: linear-gradient(to right, var(--bg-color), transparent);
}
.marquee-wrapper::after {
  right: 0;
  background: linear-gradient(to left, var(--bg-color), transparent);
}
.marquee-content {
  display: inline-flex;
  animation: marquee 40s linear infinite;
  gap: 3rem;
  padding: 0 1.5rem;
}
.marquee-content.reverse { animation-direction: reverse; }
@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.marquee-item {
  flex-shrink: 0;
  width: 200px;
  height: 100px;
  background: var(--marquee-item-bg);
  border-radius: var(--radius-md);
  border: 1px solid var(--marquee-border);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  transition: var(--transition);
}
.marquee-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.5);
}
.marquee-item img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain !important;
  opacity: 1;
  transition: var(--transition);
}
.marquee-item:hover img { opacity: 1; }

.hero-marquee-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
  opacity: 0.08; /* Very subtle */
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  pointer-events: none;
}
.hero-marquee-bg .marquee-content { animation-duration: 60s; }
.hero-marquee-bg .marquee-wrapper::before,
.hero-marquee-bg .marquee-wrapper::after { display: none; }
.hero-marquee-bg .marquee-item {
  background: transparent;
  border: none;
  box-shadow: none;
  width: 180px;
}

/* Theme Toggle Button */
.theme-toggle-btn {
  background: transparent;
  border: 1px solid var(--border-color);
  color: var(--primary-color);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  margin-left: 1rem;
}
.theme-toggle-btn:hover {
  background: var(--bg-card);
  transform: scale(1.1);
}
