/* === PEDALPUSH CONTENT HUB === */
/* Design language: Dark + Amber, matching Skreddy's premium boutique aesthetic */

* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --black: #0a0a0a;
  --black-light: #111110;
  --black-card: #151413;
  --white: #f5f2ed;
  --cream: #ece6db;
  --amber: #d4a03c;
  --amber-glow: #e8b84a;
  --amber-dim: rgba(212, 160, 60, 0.15);
  --copper: #b87333;
  --dim: #8a8278;
  --subtle: #3a3630;
  --subtle-light: #4a4640;
  --danger: #c0392b;
  --success: #27ae60;
  --max-width: 1200px;
  --content-width: 800px;
}

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--black);
  color: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}

h1, h2, h3, h4, h5 {
  font-family: 'Space Grotesk', sans-serif;
  line-height: 1.2;
}

a {
  color: var(--amber);
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  color: var(--amber-glow);
}

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

/* === NAVIGATION === */
nav {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 100;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(10, 10, 10, 0.92);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(212, 160, 60, 0.08);
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.logo {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--amber);
  letter-spacing: -0.5px;
}

.logo span {
  color: var(--dim);
  font-weight: 400;
}

.nav-links {
  display: flex;
  gap: 1.5rem;
  list-style: none;
}

.nav-links a {
  font-size: 0.85rem;
  color: var(--dim);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--amber);
}

.nav-cta {
  font-size: 0.8rem;
  padding: 0.5rem 1.25rem;
  background: var(--amber);
  color: var(--black);
  border-radius: 4px;
  font-weight: 600;
  letter-spacing: 0.5px;
  transition: background 0.2s;
}

.nav-cta:hover {
  background: var(--amber-glow);
  color: var(--black);
}

.nav-mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--white);
  font-size: 1.5rem;
  cursor: pointer;
}

/* === HERO SECTIONS === */
.hero {
  min-height: 80vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 8rem 2rem 5rem;
  max-width: var(--max-width);
  margin: 0 auto;
  position: relative;
}

.hero::before {
  content: '';
  position: absolute;
  top: 15%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(212, 160, 60, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.hero-label {
  font-size: 0.7rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 1.5rem;
  font-weight: 500;
}

.hero h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 700;
  letter-spacing: -2px;
  max-width: 800px;
  margin-bottom: 1.5rem;
}

.hero h1 em {
  font-style: italic;
  color: var(--amber);
}

.hero-sub {
  font-size: 1.15rem;
  color: var(--dim);
  max-width: 560px;
  line-height: 1.7;
  margin-bottom: 2.5rem;
}

.hero-stats {
  display: flex;
  gap: 3rem;
  border-top: 1px solid var(--subtle);
  padding-top: 2rem;
}

.hero-stat {
  display: flex;
  flex-direction: column;
}

.hero-stat .number {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--amber);
}

.hero-stat .label {
  font-size: 0.75rem;
  color: var(--dim);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-top: 0.25rem;
}

/* Category hero (smaller) */
.hero-category {
  min-height: 50vh;
  padding-top: 7rem;
  padding-bottom: 3rem;
}

.hero-category h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
}

/* Article hero */
.hero-article {
  min-height: auto;
  padding-top: 7rem;
  padding-bottom: 2rem;
  max-width: var(--content-width);
}

.hero-article h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 1rem;
}

.article-meta {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.article-meta span {
  font-size: 0.85rem;
  color: var(--dim);
}

.article-meta .category-badge {
  background: var(--amber-dim);
  color: var(--amber);
  padding: 0.25rem 0.75rem;
  border-radius: 3px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* === SECTION LAYOUT === */
.section {
  padding: 5rem 2rem;
  max-width: var(--max-width);
  margin: 0 auto;
}

.section-full {
  padding: 5rem 2rem;
}

.section-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.section-label {
  font-size: 0.7rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--copper);
  margin-bottom: 1rem;
  font-weight: 500;
}

.section h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 600;
  letter-spacing: -1px;
  margin-bottom: 1rem;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--dim);
  line-height: 1.7;
  max-width: 550px;
  margin-bottom: 3rem;
}

.section-divider {
  border: none;
  border-top: 1px solid var(--subtle);
  margin: 0;
}

/* === ARTICLE CARDS === */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 2rem;
}

.article-card {
  background: var(--black-card);
  border: 1px solid var(--subtle);
  border-radius: 8px;
  overflow: hidden;
  transition: border-color 0.3s, transform 0.2s;
}

.article-card:hover {
  border-color: var(--amber);
  transform: translateY(-2px);
}

.article-card-image {
  height: 200px;
  background: var(--black-light);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.article-card-image .category-icon {
  font-size: 3rem;
  opacity: 0.3;
}

.article-card-body {
  padding: 1.5rem;
}

.article-card-category {
  font-size: 0.7rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--copper);
  margin-bottom: 0.75rem;
  font-weight: 500;
}

.article-card-title {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  line-height: 1.3;
  color: var(--cream);
}

.article-card-title a {
  color: inherit;
}

.article-card-title a:hover {
  color: var(--amber);
}

.article-card-excerpt {
  font-size: 0.9rem;
  color: var(--dim);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.article-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: var(--dim);
}

.article-card-footer .read-more {
  color: var(--amber);
  font-weight: 500;
}

/* === FEATURED ARTICLE (large card) === */
.featured-article {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  background: var(--black-card);
  border: 1px solid var(--subtle);
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 3rem;
  transition: border-color 0.3s;
}

.featured-article:hover {
  border-color: var(--amber);
}

.featured-article-image {
  background: linear-gradient(135deg, var(--black-light), #1a1918);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 350px;
  position: relative;
}

.featured-article-image .category-icon {
  font-size: 5rem;
  opacity: 0.2;
}

.featured-article-body {
  padding: 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.featured-article-body .article-card-category {
  margin-bottom: 1rem;
}

.featured-article-body .article-card-title {
  font-size: 1.75rem;
  margin-bottom: 1rem;
}

.featured-article-body .article-card-excerpt {
  margin-bottom: 2rem;
}

/* === PRODUCT CARDS === */
.product-card {
  background: var(--black-card);
  border: 1px solid var(--subtle);
  border-radius: 8px;
  overflow: hidden;
  transition: border-color 0.3s, transform 0.2s;
}

.product-card:hover {
  border-color: var(--amber);
  transform: translateY(-2px);
}

.product-card-image {
  padding: 1.5rem;
  background: var(--black-light);
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1;
}

.product-card-image img {
  max-height: 200px;
  object-fit: contain;
  border-radius: 4px;
}

.product-card-body {
  padding: 1.25rem;
}

.product-card-category {
  font-size: 0.65rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--copper);
  margin-bottom: 0.5rem;
}

.product-card-name {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--cream);
}

.product-card-desc {
  font-size: 0.85rem;
  color: var(--dim);
  line-height: 1.5;
  margin-bottom: 1rem;
}

.product-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.product-card-price {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--amber);
}

.product-card-cta {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: var(--amber);
  color: var(--black);
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: 4px;
  letter-spacing: 0.5px;
  transition: background 0.2s;
}

.product-card-cta:hover {
  background: var(--amber-glow);
  color: var(--black);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.5rem;
}

/* === INLINE PRODUCT CARD (in articles) === */
.inline-product {
  display: flex;
  gap: 1.5rem;
  padding: 1.5rem;
  background: var(--black-card);
  border: 1px solid var(--subtle);
  border-radius: 8px;
  margin: 2rem 0;
  align-items: center;
  transition: border-color 0.3s;
}

.inline-product:hover {
  border-color: var(--amber);
}

.inline-product-image {
  flex-shrink: 0;
  width: 120px;
  height: 120px;
  background: var(--black-light);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem;
}

.inline-product-image img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.inline-product-info {
  flex: 1;
  min-width: 0;
}

.inline-product-name {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--cream);
  margin-bottom: 0.25rem;
}

.inline-product-desc {
  font-size: 0.85rem;
  color: var(--dim);
  line-height: 1.5;
  margin-bottom: 0.75rem;
}

.inline-product-bottom {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.inline-product-price {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  color: var(--amber);
}

.inline-product-cta {
  display: inline-block;
  padding: 0.4rem 0.9rem;
  background: transparent;
  color: var(--amber);
  font-size: 0.8rem;
  font-weight: 600;
  border: 1px solid var(--amber);
  border-radius: 4px;
  transition: all 0.2s;
}

.inline-product-cta:hover {
  background: var(--amber);
  color: var(--black);
}

/* === CATEGORY CARDS === */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 1rem;
}

.category-card {
  background: var(--black-card);
  border: 1px solid var(--subtle);
  border-radius: 8px;
  padding: 2rem 1.5rem;
  text-align: center;
  transition: border-color 0.3s, transform 0.2s;
}

.category-card:hover {
  border-color: var(--amber);
  transform: translateY(-2px);
}

.category-card-icon {
  font-size: 2rem;
  margin-bottom: 0.75rem;
}

.category-card-name {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--cream);
  margin-bottom: 0.25rem;
}

.category-card-tagline {
  font-size: 0.8rem;
  color: var(--dim);
}

.category-card-count {
  font-size: 0.7rem;
  color: var(--copper);
  margin-top: 0.5rem;
}

/* === ARTICLE CONTENT === */
.article-content {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 0 2rem 5rem;
}

.article-content h2 {
  font-size: 1.75rem;
  font-weight: 600;
  letter-spacing: -0.5px;
  margin: 3rem 0 1rem;
  color: var(--cream);
}

.article-content h3 {
  font-size: 1.3rem;
  font-weight: 600;
  margin: 2rem 0 0.75rem;
  color: var(--cream);
}

.article-content p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--white);
  margin-bottom: 1.5rem;
}

.article-content ul, .article-content ol {
  margin: 1rem 0 1.5rem 1.5rem;
}

.article-content li {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--white);
  margin-bottom: 0.5rem;
}

.article-content blockquote {
  border-left: 3px solid var(--amber);
  padding: 1rem 1.5rem;
  margin: 2rem 0;
  background: rgba(212, 160, 60, 0.05);
  border-radius: 0 6px 6px 0;
}

.article-content blockquote p {
  color: var(--cream);
  font-style: italic;
  margin-bottom: 0;
}

.article-content strong {
  color: var(--cream);
  font-weight: 600;
}

.article-content em {
  color: var(--amber);
}

/* === HERITAGE BANNER === */
.heritage-banner {
  background: linear-gradient(135deg, #0f0e0c 0%, #1a1815 50%, #0f0e0c 100%);
  border-top: 1px solid var(--subtle);
  border-bottom: 1px solid var(--subtle);
  padding: 4rem 2rem;
  text-align: center;
}

.heritage-inner {
  max-width: 700px;
  margin: 0 auto;
}

.heritage-banner h2 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 600;
  letter-spacing: -1px;
  margin-bottom: 1rem;
}

.heritage-banner p {
  font-size: 1.05rem;
  color: var(--dim);
  line-height: 1.7;
  margin-bottom: 2rem;
}

.heritage-stats {
  display: flex;
  justify-content: center;
  gap: 4rem;
  margin-top: 2rem;
}

.heritage-stat .number {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--amber);
  display: block;
}

.heritage-stat .label {
  font-size: 0.75rem;
  color: var(--dim);
  text-transform: uppercase;
  letter-spacing: 2px;
}

/* === CTA BANNER === */
.cta-banner {
  padding: 6rem 2rem;
  text-align: center;
  position: relative;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(184, 115, 51, 0.05) 0%, transparent 70%);
  pointer-events: none;
}

.cta-banner h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: -1px;
  margin-bottom: 1rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-banner p {
  font-size: 1.1rem;
  color: var(--dim);
  max-width: 500px;
  margin: 0 auto 2rem;
  line-height: 1.7;
}

.cta-button {
  display: inline-block;
  padding: 0.85rem 2rem;
  background: var(--amber);
  color: var(--black);
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 5px;
  letter-spacing: 0.5px;
  transition: background 0.2s, transform 0.1s;
}

.cta-button:hover {
  background: var(--amber-glow);
  color: var(--black);
  transform: translateY(-1px);
}

/* === FOOTER === */
footer {
  border-top: 1px solid var(--subtle);
  padding: 3rem 2rem;
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.foot-left {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  color: var(--amber);
  font-size: 1rem;
}

.foot-center {
  display: flex;
  gap: 2rem;
}

.foot-center a {
  font-size: 0.8rem;
  color: var(--dim);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.foot-center a:hover {
  color: var(--amber);
}

.foot-right {
  font-size: 0.8rem;
  color: var(--dim);
}

/* === TAG PILLS === */
.tags {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.tag {
  font-size: 0.7rem;
  padding: 0.2rem 0.6rem;
  background: rgba(212, 160, 60, 0.1);
  color: var(--dim);
  border-radius: 3px;
  letter-spacing: 0.5px;
}

/* === BREADCRUMBS === */
.breadcrumbs {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 5.5rem 2rem 0;
  font-size: 0.8rem;
}

.breadcrumbs a {
  color: var(--dim);
}

.breadcrumbs a:hover {
  color: var(--amber);
}

.breadcrumbs .separator {
  color: var(--subtle);
  margin: 0 0.5rem;
}

.breadcrumbs .current {
  color: var(--cream);
}

/* === RELATED ARTICLES === */
.related-articles {
  border-top: 1px solid var(--subtle);
  padding: 4rem 2rem;
}

.related-articles-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.related-articles h2 {
  font-size: 1.5rem;
  margin-bottom: 2rem;
}

/* === ALL PEDALS PAGE === */
.filter-bar {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.filter-btn {
  padding: 0.5rem 1.25rem;
  background: transparent;
  color: var(--dim);
  border: 1px solid var(--subtle);
  border-radius: 4px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.2s;
}

.filter-btn:hover,
.filter-btn.active {
  color: var(--amber);
  border-color: var(--amber);
  background: var(--amber-dim);
}

/* === MOBILE === */
@media (max-width: 768px) {
  nav {
    padding: 1rem 1.25rem;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(10, 10, 10, 0.98);
    flex-direction: column;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid var(--subtle);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-mobile-toggle {
    display: block;
  }

  .nav-cta {
    display: none;
  }

  .hero {
    padding: 7rem 1.25rem 3rem;
    min-height: 70vh;
  }

  .hero h1 {
    font-size: clamp(2rem, 8vw, 3rem);
  }

  .hero-stats {
    gap: 2rem;
    flex-wrap: wrap;
  }

  .section {
    padding: 3rem 1.25rem;
  }

  .section-full {
    padding: 3rem 1.25rem;
  }

  .articles-grid {
    grid-template-columns: 1fr;
  }

  .featured-article {
    grid-template-columns: 1fr;
  }

  .featured-article-image {
    min-height: 200px;
  }

  .featured-article-body {
    padding: 1.5rem;
  }

  .featured-article-body .article-card-title {
    font-size: 1.3rem;
  }

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

  .inline-product {
    flex-direction: column;
    text-align: center;
  }

  .inline-product-image {
    width: 100px;
    height: 100px;
  }

  .inline-product-bottom {
    justify-content: center;
  }

  .categories-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .heritage-stats {
    gap: 2rem;
    flex-wrap: wrap;
  }

  .article-content {
    padding: 0 1.25rem 3rem;
  }

  .article-content h2 {
    font-size: 1.4rem;
  }

  .breadcrumbs {
    padding: 5.5rem 1.25rem 0;
  }

  .footer-inner {
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
  }

  .foot-center {
    flex-wrap: wrap;
    justify-content: center;
  }

  .filter-bar {
    overflow-x: auto;
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 0.5rem;
  }

  .filter-btn {
    white-space: nowrap;
    flex-shrink: 0;
  }

  .cta-banner {
    padding: 4rem 1.25rem;
  }
}

@media (max-width: 480px) {
  .products-grid {
    grid-template-columns: 1fr;
  }

  .product-card-image {
    aspect-ratio: 4/3;
  }
}

/* === UTILITIES === */
.text-center { text-align: center; }
.text-dim { color: var(--dim); }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 2rem; }
.mt-4 { margin-top: 3rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 2rem; }
.mb-4 { margin-bottom: 3rem; }

/* === LOADING SKELETON === */
@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

.skeleton {
  background: linear-gradient(90deg, var(--subtle) 25%, var(--subtle-light) 50%, var(--subtle) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: 4px;
}
