:root {
  /* Colors - Orange/Black/White Theme */
  --primary-orange: #ff6b00;
  --primary-orange-dark: #e65100;
  --primary-orange-light: #ff9e40;
  --accent-black: #1a1a1a;
  --accent-gray: #333333;
  
  /* Neutrals */
  --white: #ffffff;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;
  --black: #000000;
  
  /* Gradients */
  --gradient-primary: linear-gradient(135deg, #ff6b00 0%, #ff9e40 100%);
  --gradient-dark: linear-gradient(135deg, #1a1a1a 0%, #333333 100%);
  --gradient-overlay: linear-gradient(180deg, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.6) 100%);
  
  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 0.75rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  
  /* Typography */
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-heading: 'Outfit', 'Inter', sans-serif;
  
  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-base: 0.3s ease;
  --transition-slow: 0.5s ease;
  
  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.07);
  --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.15);
  --shadow-glow: 0 0 20px rgba(255, 107, 0, 0.3);
  
  /* Border Radius */
  --radius-sm: 0.5rem;
  --radius-md: 0.75rem;
  --radius-lg: 1rem;
  --radius-xl: 1.5rem;
  --radius-full: 9999px;
}

/* === Global Styles === */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

body {
  font-family: var(--font-body);
  background: var(--warm-cream);
  color: var(--gray-900);
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  transition: all var(--transition-base);
}

/* === Promotional Banner === */
.promo-banner {
  background: var(--gradient-primary);
  color: var(--white);
  padding: var(--space-sm) var(--space-md);
  text-align: center;
  font-weight: 600;
  font-size: 0.95rem;
  position: relative;
  animation: slideDown 0.5s ease;
  z-index: 1000;
}

.promo-banner.hidden {
  animation: slideUp 0.3s ease forwards;
}

.promo-close {
  position: absolute;
  right: var(--space-lg);
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.2);
  color: var(--white);
  width: 28px;
  height: 28px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transition: all var(--transition-fast);
}

.promo-close:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: translateY(-50%) scale(1.1);
}

/* === Navigation === */
.navbar {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: var(--shadow-md);
  position: sticky;
  top: 0;
  z-index: 999;
  transition: all var(--transition-base);
}

.navbar.scrolled {
  box-shadow: var(--shadow-lg);
}

.nav-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: var(--space-md) var(--space-xl);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo-link {
  display: flex;
  align-items: center;
}

.logo-img {
  height: 70px;
  width: auto;
  object-fit: contain;
  transition: transform var(--transition-base);
}

.logo-link:hover .logo-img {
  transform: scale(1.05);
}

.nav-menu {
  display: flex;
  gap: var(--space-xl);
  list-style: none;
}

.nav-menu a {
  font-weight: 500;
  position: relative;
  padding: var(--space-xs) 0;
}

.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-primary);
  transition: width var(--transition-base);
}

.nav-menu a:hover::after {
  width: 100%;
}

.nav-icons {
  display: flex;
  gap: var(--space-lg);
  align-items: center;
}

.nav-btn {
  padding: var(--space-sm) var(--space-lg);
  background: var(--gradient-primary);
  color: var(--white);
  border-radius: var(--radius-full);
  font-weight: 600;
  transition: all var(--transition-base);
}

.nav-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}

.mobile-toggle {
  display: none;
  font-size: 1.5rem;
  color: var(--gray-800);
}

/* === Hero Section === */
.hero {
  background: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.5)), url('hero_banner_orange.png');
  background-size: cover;
  background-position: center;
  padding: var(--space-3xl) var(--space-xl);
  text-align: center;
  position: relative;
  overflow: hidden;
  color: var(--white);
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero::before {
  display: none;
}

.hero-content {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: var(--space-lg);
  background: none;
  -webkit-text-fill-color: var(--white);
  color: var(--white);
  animation: fadeInUp 0.8s ease;
}

.hero p {
  font-size: 1.35rem;
  color: var(--gray-100);
  margin-bottom: var(--space-2xl);
  font-weight: 500;
  animation: fadeInUp 0.8s ease 0.2s backwards;
}

.cta-button {
  padding: var(--space-md) var(--space-2xl);
  background: var(--gradient-primary);
  color: var(--white);
  border-radius: var(--radius-full);
  font-size: 1.1rem;
  font-weight: 600;
  display: inline-block;
  transition: all var(--transition-base);
  box-shadow: var(--shadow-lg);
  animation: fadeInUp 0.8s ease 0.4s backwards;
}

.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 30px rgba(255, 107, 0, 0.4);
}

/* === Categories Section === */
.categories {
  padding: var(--space-3xl) var(--space-xl);
  max-width: 1400px;
  margin: 0 auto;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  text-align: center;
  margin-bottom: var(--space-2xl);
  color: var(--gray-900);
}

.category-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-xl);
  margin-bottom: var(--space-2xl);
}

.category-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: var(--space-2xl);
  text-align: center;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: translateY(30px);
  flex: 1 1 280px;
  max-width: 400px;
  min-width: 280px;
}

.category-card.animate {
  animation: fadeInUp 0.6s ease forwards;
}

.category-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gradient-primary);
  opacity: 0;
  transition: opacity var(--transition-base);
  z-index: 0;
}

.category-card:hover::before {
  opacity: 0.05;
}

.category-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-xl);
}

.category-icon {
  font-size: 4rem;
  margin-bottom: var(--space-md);
  position: relative;
  z-index: 1;
}

.category-card h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: var(--space-sm);
  position: relative;
  z-index: 1;
}

.category-card p {
  color: var(--gray-700);
  margin-bottom: var(--space-lg);
  position: relative;
  z-index: 1;
}

.category-link {
  display: inline-block;
  padding: var(--space-sm) var(--space-xl);
  background: var(--gray-100);
  border-radius: var(--radius-full);
  font-weight: 600;
  transition: all var(--transition-base);
  position: relative;
  z-index: 1;
}

.category-card:hover .category-link {
  background: var(--gradient-primary);
  color: var(--white);
  transform: scale(1.05);
}

/* === Products Section === */
.products {
  padding: var(--space-3xl) var(--space-xl);
  background: var(--white);
}

.products-container {
  max-width: 1400px;
  margin: 0 auto;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--space-xl);
}

.product-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-base);
  opacity: 0;
  transform: translateY(30px);
}

.product-card.animate {
  animation: fadeInUp 0.6s ease forwards;
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

.product-image {
  position: relative;
  width: 100%;
  height: 280px;
  overflow: hidden;
  background: var(--gray-100);
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.product-card:hover .product-image img {
  transform: scale(1.1);
}

.sale-badge {
  position: absolute;
  top: var(--space-md);
  right: var(--space-md);
  background: var(--primary-orange);
  color: var(--white);
  padding: var(--space-xs) var(--space-md);
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 700;
  box-shadow: var(--shadow-md);
}

.product-info {
  padding: var(--space-lg);
}

.product-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: var(--space-sm);
  color: var(--gray-900);
}

.product-price {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
}

.price-original {
  text-decoration: line-through;
  color: var(--gray-300);
  font-size: 0.95rem;
}

.price-current {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--primary-orange);
}

.add-to-cart {
  width: 100%;
  padding: var(--space-sm) var(--space-lg);
  background: var(--gradient-primary);
  color: var(--white);
  border-radius: var(--radius-md);
  font-weight: 600;
  transition: all var(--transition-base);
}

.add-to-cart:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

/* === Footer === */
.footer {
  background: var(--gray-900);
  color: var(--white);
  padding: var(--space-3xl) var(--space-xl) var(--space-xl);
}

.footer-container {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-2xl);
  margin-bottom: var(--space-xl);
}

.footer-section h4 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  margin-bottom: var(--space-lg);
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.footer-links a {
  color: var(--gray-300);
  transition: color var(--transition-fast);
}

.footer-links a:hover {
  color: var(--white);
}

.social-links {
  display: flex;
  gap: var(--space-md);
  margin-top: var(--space-md);
}

.social-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transition: all var(--transition-base);
}

.social-icon:hover {
  background: var(--gradient-primary);
  transform: translateY(-3px);
}

.footer-bottom {
  text-align: center;
  padding-top: var(--space-xl);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--gray-300);
}

/* === Scroll to Top Button === */
.scroll-top {
  position: fixed;
  bottom: var(--space-xl);
  right: var(--space-xl);
  width: 50px;
  height: 50px;
  background: var(--gradient-primary);
  color: var(--white);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  box-shadow: var(--shadow-xl);
  opacity: 0;
  pointer-events: none;
  transition: all var(--transition-base);
  z-index: 998;
}

.scroll-top.visible {
  opacity: 1;
  pointer-events: auto;
}

.scroll-top:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-glow);
}

/* === Animations === */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideDown {
  from {
    transform: translateY(-100%);
  }
  to {
    transform: translateY(0);
  }
}

@keyframes slideUp {
  from {
    transform: translateY(0);
    opacity: 1;
  }
  to {
    transform: translateY(-100%);
    opacity: 0;
  }
}

@keyframes float {
  0%, 100% {
    transform: translate(0, 0) rotate(0deg);
  }
  33% {
    transform: translate(30px, -30px) rotate(120deg);
  }
  66% {
    transform: translate(-20px, 20px) rotate(240deg);
  }
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 107, 0, 0.7);
  }
  70% {
    box-shadow: 0 0 0 15px rgba(255, 107, 0, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(255, 107, 0, 0);
  }
}

.cta-button {
  animation: fadeInUp 0.8s ease 0.4s backwards, pulse 2s infinite;
}

/* Marquee Effect for Promo Banner */
.promo-banner {
  overflow: hidden;
  white-space: nowrap;
}

.promo-content {
  display: inline-block;
  animation: marquee 15s linear infinite;
  padding-left: 100%;
}

@keyframes marquee {
  0% {
    transform: translate(0, 0);
  }
  100% {
    transform: translate(-100%, 0);
  }
}

/* === Responsive Design === */

/* Tablet and Mobile Styles (max-width: 1024px) - Hamburger Menu */
@media (max-width: 1024px) {
  .nav-container {
    padding: var(--space-md) var(--space-lg);
  }
  
  .logo-img {
    height: 60px;
    width: auto;
    object-fit: contain;
  }
  
  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: var(--space-lg);
    box-shadow: var(--shadow-lg);
    gap: var(--space-md);
  }
  
  .nav-menu.active {
    display: flex;
  }
  
  .mobile-toggle {
    display: block;
  }
  
  .category-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .hero h1 {
    font-size: 2.5rem;
  }
  
  .hero p {
    font-size: 1.15rem;
  }
}

/* Mobile Styles (max-width: 768px) */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2rem;
  }
  
  .category-grid {
    grid-template-columns: 1fr;
  }
  
  .product-grid {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  }
  
  .footer-container {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .nav-container {
    padding: var(--space-md);
  }
  
  .hero {
    padding: var(--space-2xl) var(--space-md);
  }
  
  .categories,
  .products {
    padding: var(--space-2xl) var(--space-md);
  }
  
  .product-grid {
    grid-template-columns: 1fr;
  }
}
