/* Inventory Page Styles */

/* Variables override or local additions if strictly necessary, but sticking to base.css mostly */

.section-padding {
  padding-top: var(--space-16);
  padding-bottom: var(--space-16);
}

/* Hero Section */
.inv-hero {
  position: relative;
  height: 70vh;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-bottom: var(--space-8);
}

.inv-hero__bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.inv-hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.inv-hero__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(5,5,5,0.7), rgba(5,5,5,0.9));
  z-index: 2;
}

.inv-hero__content {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.inv-hero__text {
  line-height: var(--leading-relaxed);
  opacity: 0.9;
}

/* Filter Section */
.inv-filter {
  margin-top: -100px;
  position: relative;
  z-index: 20;
  padding-bottom: var(--space-8);
}

.filter-bar {
  background-color: rgba(18, 18, 18, 0.95);
  backdrop-filter: blur(10px);
  border: 1px solid var(--color-border);
}

.filter-grid {
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-4);
}

/* Featured Section */
.inv-featured {
  background-color: var(--color-surface);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.inv-featured__media .card-img {
  margin-bottom: 0;
  height: 100%;
  min-height: 400px;
}

/* Categories */
.inv-categories .card {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.inv-categories .card p {
  flex-grow: 1;
}

/* CTA Section */
.inv-cta {
  background-color: #000;
  overflow: hidden;
}

.inv-cta__bg img {
  filter: brightness(0.4) contrast(1.2);
}

.w-full {
  width: 100%;
}

.h-full {
  height: 100%;
}

.object-cover {
  object-fit: cover;
}

.absolute {
  position: absolute;
}

.inset-0 {
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
}

.relative {
  position: relative;
}

.z-10 {
  z-index: 10;
}

.bg-surface {
  background-color: var(--color-surface);
}

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

.gap-8 {
  gap: var(--space-8);
}

.gap-12 {
  gap: var(--space-12);
}

.p-12 {
  padding: var(--space-12);
}

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

.max-w-2xl {
  max-width: 42rem;
}

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 1024px) {
  .grid-cols-2 {
    grid-template-columns: 1fr;
  }
  
  .inv-hero {
    height: 50vh;
  }
  
  .inv-filter {
    margin-top: 0;
  }
}