/**
 * Category Bar Styles — Modular
 *
 * Style 1: Default (light background, colored pills) — uses base styles in main.css
 * Style 2: Orange Band (accent background, white glass pills)
 *
 * @package Skyline
 * @since 1.0.40
 */

/* ==========================================================================
   CATEGORY BAR — STYLE 2: Orange Band
   ========================================================================== */

.category-bar-style-2 .category-filter {
  background-color: var(--skyline-accent);
  padding: 2.5rem 0;
  border-bottom: none;
  position: relative;
  overflow: hidden;
}

/* Decorative subtle circles (like newsletter section) */
.category-bar-style-2 .category-filter::before {
  content: '';
  position: absolute;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  top: -80px;
  left: -60px;
  pointer-events: none;
}

.category-bar-style-2 .category-filter::after {
  content: '';
  position: absolute;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  bottom: -60px;
  right: -40px;
  pointer-events: none;
}

/* Pills become white glass on orange */
.category-bar-style-2 .category-pill {
  --pill-bg: rgba(255, 255, 255, 0.18) !important;
  --pill-text: #FFFFFF !important;
  --pill-border: rgba(255, 255, 255, 0.25) !important;
  background-color: rgba(255, 255, 255, 0.18) !important;
  color: #FFFFFF !important;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: none;
  font-weight: 700;
  letter-spacing: 0.8px;
}

.category-bar-style-2 .category-pill:hover,
.category-bar-style-2 .category-pill.active {
  background-color: rgba(255, 255, 255, 0.35) !important;
  filter: none;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}

/* Icons turn white */
.category-bar-style-2 .pill-icon svg {
  stroke: #FFFFFF !important;
}

/* === DARK MODE === */
body.dark-mode.category-bar-style-2 .category-filter {
  background-color: #3D2E24;
}

body.dark-mode.category-bar-style-2 .category-pill {
  --pill-bg: rgba(255, 255, 255, 0.1) !important;
  background-color: rgba(255, 255, 255, 0.1) !important;
  color: rgba(255, 255, 255, 0.9) !important;
}

body.dark-mode.category-bar-style-2 .category-pill:hover,
body.dark-mode.category-bar-style-2 .category-pill.active {
  background-color: rgba(255, 255, 255, 0.2) !important;
}

body.dark-mode.category-bar-style-2 .pill-icon svg {
  stroke: rgba(255, 255, 255, 0.9) !important;
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */

@media (max-width: 768px) {
  .category-bar-style-2 .category-filter {
    padding: 2rem 0;
  }

  .category-bar-style-2 .category-filter::before,
  .category-bar-style-2 .category-filter::after {
    display: none;
  }
}
