/* Categories Styles */
.categoriesSection {
  background: var(--color-bg-soft);
  position: relative;
  padding: 4rem 0;
}

.categoriesHeader {
  text-align: center;
  margin-bottom: 4rem;
}

.categoriesTitle {
  font-size: 2.5rem;
  color: var(--color-text-dark);
  margin-bottom: 1rem;
}

.categoriesSubtitle {
  color: var(--color-text-muted);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

.categoriesGrid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

@media (min-width: 576px) {
  .categoriesGrid {
    gap: 1.5rem;
  }
}

@media (min-width: 768px) {
  .categoriesGrid {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }
}

@media (min-width: 1024px) {
  .categoriesGrid {
    grid-template-columns: repeat(5, 1fr);
    gap: 2rem;
  }
}

.categoryCard {
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  background: var(--color-bg-light);
  transition: all 0.4s ease;
  text-decoration: none;
  height: 280px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  opacity: 0;
  transform: translateY(20px);
}

.categoryCard.visible {
  opacity: 1;
  transform: translateY(0);
}

.categoryCard:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  border-color: rgba(10, 132, 255, 0.5);
}

.imageWrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  overflow: hidden;
}

.categoryImage {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.2, 0, 0, 1);
}

.categoryCard:hover .categoryImage {
  transform: scale(1.1);
}

.categoryOverlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.4) 50%, rgba(0, 0, 0, 0.1) 100%);
  transition: background 0.4s ease;
}

.categoryCard:hover .categoryOverlay {
  background: linear-gradient(to top, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.5) 50%, rgba(0, 0, 0, 0.2) 100%);
}

.categoryContent {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 1.5rem;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: transform 0.4s ease;
}

.categoryIconWrapper {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.3);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.categoryCard:hover .categoryIconWrapper {
  background: var(--color-primary);
  border-color: var(--color-primary);
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(10, 132, 255, 0.3);
}

.categoryIcon {
  transition: transform 0.4s ease;
}

.categoryCard:hover .categoryIcon {
  transform: scale(1.1);
}

.categoryCardTitle {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: white;
  line-height: 1.3;
  margin: 0;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}
