:root {
  --primary-gold: #f4d03f;
  --deep-brown: #2c1810;
  --warm-cream: #faf6f0;
  --accent-orange: #e67e22;
  --soft-pink: #fadbd8;
  --text-dark: #2c3e50;
  --text-light: #7f8c8d;
  --shadow-light: 0 4px 20px rgba(0, 0, 0, 0.08);
  --shadow-medium: 0 8px 30px rgba(0, 0, 0, 0.12);
  --gradient-gold: linear-gradient(135deg, #f4d03f 0%, #e67e22 100%);
  --gradient-overlay: linear-gradient(
    135deg,
    rgba(44, 24, 16, 0.7) 0%,
    rgba(230, 126, 34, 0.3) 100%
  );
}

/* Hero Section */
.hero {
  background: linear-gradient(
    135deg,
    var(--deep-brown) 0%,
    var(--accent-orange) 100%
  );
  padding: 150px 0 80px;
  text-align: center;
  color: white;
}

.hero h1 {
  font-family: "Playfair Display", serif;
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.cta-button {
  background: var(--gradient-gold);
  color: var(--deep-brown);
  padding: 15px 30px;
  border: none;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: var(--shadow-medium);
}

.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.2);
}

/* Modern Category Slider */
.category-section {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--warm-cream) 0%, #f8f4e6 100%);
}

.section-title {
  font-family: "Playfair Display", serif;
  font-size: 2.8rem;
  font-weight: 700;
  text-align: center;
  color: var(--deep-brown);
  margin-bottom: 1rem;
}

.section-subtitle {
  text-align: center;
  font-size: 1.1rem;
  color: var(--text-light);
  margin-bottom: 3rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.modern-slider {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  background: white;
  box-shadow: var(--shadow-medium);
}

.slider-container {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Category Slides with Different Colors */
.category-slide {
  min-width: 100%;
  position: relative;
  height: 500px;
  display: flex;
  align-items: center;
  border-radius: 20px;
  margin: 0 10px;
  overflow: hidden;
}

/* Different gradient backgrounds for each category */
.chocolate-category {
  background: linear-gradient(135deg, #8b4513 0%, #d2691e 50%, #f4a460 100%);
}

.vanilla-category {
  background: linear-gradient(135deg, #dda0dd 0%, #e6e6fa 50%, #f0f8ff 100%);
}

.fruit-category {
  background: linear-gradient(135deg, #ff6b6b 0%, #ff8e8e 50%, #ffa8a8 100%);
}

.nut-category {
  background: linear-gradient(135deg, #8fbc8f 0%, #90ee90 50%, #98fb98 100%);
}

.special-category {
  background: linear-gradient(135deg, #ffd700 0%, #ffed4a 50%, #fff59d 100%);
}

.slide-content {
  display: flex;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 60px;
  align-items: center;
  gap: 60px;
  flex-direction: column;
  text-align: center;
}

/* Large Category Icon */
.category-icon {
  font-size: 8rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2rem;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-20px);
  }
}

.slide-text {
  color: white;
  max-width: 800px;
}

.slide-title {
  font-family: "Playfair Display", serif;
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.slide-description {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  opacity: 0.9;
  line-height: 1.6;
}

.slide-features {
  list-style: none;
  margin-bottom: 2rem;
}

.slide-features li {
  display: flex;
  align-items: center;
  margin-bottom: 0.8rem;
  font-size: 1rem;
}

.slide-features i {
  color: var(--primary-gold);
  margin-right: 10px;
  width: 20px;
}

.explore-btn {
  background: var(--gradient-gold);
  color: var(--deep-brown);
  padding: 12px 30px;
  border: none;
  border-radius: 50px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.3s ease;
  text-decoration: none;
  display: inline-block;
}

.explore-btn:hover {
  transform: translateY(-2px);
}

/* Slider Navigation */
.slider-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  color: white;
  font-size: 1.2rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.slider-nav:hover {
  background: var(--primary-gold);
  color: var(--deep-brown);
  transform: translateY(-50%) scale(1.1);
}

.slider-nav.prev {
  left: 20px;
}

.slider-nav.next {
  right: 20px;
}

/* Slider Indicators */
.slider-indicators {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
}

.indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: all 0.3s ease;
}

.indicator.active {
  background: var(--primary-gold);
  transform: scale(1.2);
}

/* Products Section */
.products-section {
  padding: 80px 0;
  background: white;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 3rem;
}

.product-card {
  background: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: var(--shadow-light);
  transition: all 0.3s ease;
  position: relative;
}

.product-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-medium);
}

.product-image {
  position: relative;
  height: 250px;
  overflow: hidden;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.product-card:hover .product-image img {
  transform: scale(1.1);
}

.product-badge {
  position: absolute;
  top: 15px;
  left: 15px;
  background: var(--gradient-gold);
  color: var(--deep-brown);
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  z-index: 2;
}

.product-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gradient-overlay);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.product-card:hover .product-overlay {
  opacity: 1;
}

.quick-add {
  background: white;
  color: var(--deep-brown);
  border: none;
  padding: 12px 24px;
  border-radius: 50px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.quick-add:hover {
  transform: scale(1.05);
}

.product-info {
  padding: 25px;
}

.product-name {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--deep-brown);
}

.product-name a {
  text-decoration: none;
  color: inherit;
}

.product-rating {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 15px;
}

.stars {
  color: var(--primary-gold);
}

.product-description {
  color: var(--text-light);
  margin-bottom: 15px;
  font-size: 0.9rem;
}

.product-price {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent-orange);
  margin-bottom: 15px;
}

.add-to-cart {
  width: 100%;
  background: var(--gradient-gold);
  color: var(--deep-brown);
  border: none;
  padding: 12px;
  border-radius: 10px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.add-to-cart:hover {
  transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.5rem;
  }

  .slide-content {
    padding: 40px 30px;
  }

  .slide-title {
    font-size: 2rem;
  }

  .category-icon {
    font-size: 5rem;
    margin-bottom: 1.5rem;
  }

  .slider-nav {
    display: none;
  }

  .products-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
  }
}

/* Animation Classes */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.animate-on-scroll.animated {
  opacity: 1;
  transform: translateY(0);
}
