/* =============================================
   IRONLUNN — shop.css
   Shop page specific styles
   ============================================= */

/* Override scroll reveal for shop page — sections visible by default */
.shop-page section {
  opacity: 1;
  transform: none;
}
/* Re-enable reveal for product cards */
.shop-page .product-card {
  opacity: 0;
  transform: translateY(30px);
}
.shop-page .product-card.visible {
  opacity: 1;
  transform: none;
}

/* === SHOP HERO === */
#shop-hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  background: url('images/Martin3.png') center center / contain no-repeat;
  background-color: #0a0a0a;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 80px;
}
#shop-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  z-index: 1;
}
.shop-hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}
.shop-hero-title {
  font-family: 'Bebas Neue', cursive;
  font-size: 8rem;
  line-height: 0.9;
  color: #f0f0f0;
  letter-spacing: 0.02em;
}
.shop-hero-sub {
  font-size: 1.1rem;
  color: #888888;
  letter-spacing: 0.1em;
  font-weight: 300;
  margin: 0;
}

/* === NAV ACTIVE STATE === */
.nav-active {
  color: #c0392b !important;
}

/* === SHOP GRID === */
#plans { background: #0a0a0a; }

.shop-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}
.plans-grid {
  grid-template-columns: repeat(3, 1fr);
}

/* === PRODUCT CARD === */
.product-card {
  background: #1a1a1a;
  border-top: 4px solid #2a2a2a;
  display: flex;
  flex-direction: column;
  transition: border-color 0.2s ease, transform 0.2s ease;
  position: relative;
}
.product-card:hover {
  border-color: #c0392b;
  transform: translateY(-4px);
}

/* Product image area */
.product-image {
  position: relative;
  aspect-ratio: 1 / 1;
  background: #0f0f0f;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.product-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  opacity: 0.3;
}
/* When real product image added: replace .product-placeholder with <img> */
.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.product-card:hover .product-image img { transform: scale(1.04); }

/* Badge */
.product-badge {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  background: #c0392b;
  color: #fff;
  font-family: 'Bebas Neue', cursive;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  padding: 0.2rem 0.6rem;
}

/* Product info */
.product-info {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 0.5rem;
}
.product-name {
  font-family: 'Bebas Neue', cursive;
  font-size: 1.4rem;
  letter-spacing: 0.05em;
  color: #f0f0f0;
  margin: 0;
}
.product-desc {
  font-size: 0.85rem;
  color: #888888;
  line-height: 1.6;
  margin: 0;
  flex: 1;
}
.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid #2a2a2a;
}
.product-price {
  font-family: 'Bebas Neue', cursive;
  font-size: 1.6rem;
  color: #c0392b;
  letter-spacing: 0.05em;
}
.btn-coming-soon {
  background: transparent;
  border: 1px solid #2a2a2a;
  color: #888888;
  font-family: 'Bebas Neue', cursive;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  padding: 0.5rem 1rem;
  cursor: not-allowed;
  transition: border-color 0.2s ease;
}

/* === TRAINING PLAN CARDS === */
.plan-card { background: #111111; }
.plan-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem 1.5rem 0;
}
.plan-icon {
  width: 48px;
  height: 48px;
  background: #0a0a0a;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.plan-level {
  font-family: 'Bebas Neue', cursive;
  font-size: 0.85rem;
  color: #888888;
  letter-spacing: 0.2em;
}
.plan-features {
  list-style: none;
  padding: 0;
  margin: 0.5rem 0 0;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.plan-features li {
  font-size: 0.8rem;
  color: #888888;
  padding-left: 1rem;
  position: relative;
}
.plan-features li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: #c0392b;
  font-size: 0.7rem;
}

/* Featured plan */
.featured-plan {
  border-top: 4px solid #c0392b;
  background: #161616;
}
.plan-image {
  aspect-ratio: 16 / 9;
}
.plan-image img {
  object-position: center top;
}

.featured-label {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  background: #c0392b;
  color: #fff;
  font-family: 'Bebas Neue', cursive;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  padding: 0.2rem 1rem;
  white-space: nowrap;
}

/* === SHOP DIVIDER === */
.shop-divider {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}
.shop-divider-line {
  flex: 1;
  height: 1px;
  background: #2a2a2a;
}
.shop-divider-text {
  font-family: 'Bebas Neue', cursive;
  font-size: 0.85rem;
  color: #888888;
  letter-spacing: 0.2em;
  white-space: nowrap;
}

/* === SHOP FOOTER === */
.shop-footer {
  background: #0a0a0a;
  text-align: center;
  padding: 4rem 2rem;
}

/* === SHOP PRICING GRID OVERRIDE === */
.shop-pricing-grid {
  max-width: 1100px;
}

/* === RESPONSIVE === */
@media (max-width: 1024px) {
  .shop-grid { grid-template-columns: repeat(2, 1fr); }
  .plans-grid { grid-template-columns: 1fr; max-width: 500px; }
  .shop-hero-title { font-size: 6rem; }
}

@media (max-width: 768px) {
  .shop-grid { grid-template-columns: 1fr; max-width: 400px; }
  .shop-hero-title { font-size: 4rem; }
  #shop-hero { height: 60vh; }
}
