/* Vanguard Industrial Design System */
/* Brick Outdoor Living Inc. Holdings */
/* RESTORED: Hero Card Image Showcase Edition */

:root {
  --foundation: #0A0E12;
  --foundation-elevated: #111820;
  --foundation-card: #151C25;
  --empire-gold: #D4A84B;
  --empire-gold-dim: rgba(212, 168, 75, 0.15);
  --empire-gold-glow: rgba(212, 168, 75, 0.4);
  --steel-primary: #E2E8F0;
  --steel-secondary: #94A3B8;
  --steel-muted: #64748B;
  --navy-deep: #0F1923;
  --accent-blue: #3B82F6;
  --accent-emerald: #10B981;
  --border-subtle: rgba(226, 232, 240, 0.06);
  --border-gold: rgba(212, 168, 75, 0.2);
  --border-gold-strong: rgba(212, 168, 75, 0.5);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background-color: var(--foundation);
  color: var(--steel-primary);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* === UTILITY === */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid var(--border-gold);
  background: var(--empire-gold-dim);
  color: var(--empire-gold);
}

.badge::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--empire-gold);
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

/* === NAVIGATION === */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 0;
  background: rgba(10, 14, 18, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
  transition: all 0.3s ease;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.nav-logo {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--empire-gold), #B8912F);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1rem;
  color: var(--foundation);
}

.nav-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--steel-primary);
  letter-spacing: -0.02em;
}

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  color: var(--steel-secondary);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--empire-gold);
}

.nav-cta {
  padding: 10px 20px;
  background: var(--empire-gold);
  color: var(--foundation);
  border: none;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
}

.nav-cta:hover {
  background: #E0B85C;
  transform: translateY(-1px);
  box-shadow: 0 4px 20px var(--empire-gold-glow);
}

.nav-mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}

.nav-mobile-toggle span {
  width: 22px;
  height: 2px;
  background: var(--steel-primary);
  border-radius: 2px;
  transition: all 0.3s;
}

/* === HERO === */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 24px 80px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(ellipse at center, rgba(212, 168, 75, 0.03) 0%, transparent 50%);
  animation: hero-glow 8s ease-in-out infinite alternate;
}

@keyframes hero-glow {
  0% { transform: scale(1) rotate(0deg); }
  100% { transform: scale(1.1) rotate(2deg); }
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(212, 168, 75, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(212, 168, 75, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

.hero-content .badge {
  margin-bottom: 32px;
}

.hero h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}

.hero h1 .highlight {
  background: linear-gradient(135deg, var(--empire-gold), #F0C95E);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  color: var(--steel-secondary);
  line-height: 1.7;
  max-width: 620px;
  margin: 0 auto 48px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-primary {
  padding: 14px 32px;
  background: linear-gradient(135deg, var(--empire-gold), #B8912F);
  color: var(--foundation);
  border: none;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px var(--empire-gold-glow);
}

.btn-secondary {
  padding: 14px 32px;
  background: transparent;
  color: var(--steel-primary);
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-secondary:hover {
  border-color: var(--empire-gold);
  color: var(--empire-gold);
  background: var(--empire-gold-dim);
}

/* === SECTIONS === */
.section {
  padding: 120px 0;
  position: relative;
}

.section-alt {
  background: var(--foundation-elevated);
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-header .badge {
  margin-bottom: 20px;
}

.section-header h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.section-header p {
  font-size: 1.125rem;
  color: var(--steel-secondary);
  max-width: 600px;
  margin: 0 auto;
}

/* === PORTFOLIO CARDS - HERO CARD DESIGN === */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

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

.portfolio-card {
  position: relative;
  background: var(--foundation-card);
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  padding: 36px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
}

.portfolio-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--empire-gold), transparent);
  opacity: 0;
  transition: opacity 0.4s;
}

.portfolio-card:hover {
  border-color: var(--border-gold);
  transform: translateY(-6px);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.5), 0 0 40px rgba(212, 168, 75, 0.08);
}

.portfolio-card:hover::before {
  opacity: 1;
}

/* Hero Card: Large bordered image showcase */
.hero-card {
  border: 2px solid var(--border-gold);
}

.hero-card:hover {
  border-color: var(--border-gold-strong);
  box-shadow: 
    0 24px 64px rgba(0, 0, 0, 0.5), 
    0 0 60px rgba(212, 168, 75, 0.12),
    inset 0 0 40px rgba(212, 168, 75, 0.02);
}

/* Card Image Container - Large Hero Showcase */
.card-image-container {
  width: 100%;
  height: 220px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 28px;
  overflow: hidden;
  border: 2px solid var(--border-gold);
  position: relative;
  background: var(--foundation);
}

.card-image-container::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 12px;
  background: linear-gradient(180deg, transparent 60%, rgba(10, 14, 18, 0.3) 100%);
  pointer-events: none;
}

.card-image--masonry {
  background: linear-gradient(135deg, rgba(212, 168, 75, 0.08), rgba(10, 14, 18, 0.9));
  border-color: rgba(212, 168, 75, 0.35);
}

.card-image--cycling {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.08), rgba(10, 14, 18, 0.9));
  border-color: rgba(16, 185, 129, 0.35);
}

.card-image--omni {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.08), rgba(10, 14, 18, 0.9));
  border-color: rgba(59, 130, 246, 0.35);
}

.card-image--slambox {
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.08), rgba(10, 14, 18, 0.9));
  border-color: rgba(239, 68, 68, 0.35);
}

.card-hero-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 16px;
  position: relative;
  z-index: 1;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-card:hover .card-hero-image {
  transform: scale(1.05);
}

.portfolio-card h3 {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
  color: var(--steel-primary);
}

.portfolio-card p {
  color: var(--steel-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 24px;
}

.card-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.card-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.875rem;
  color: var(--steel-secondary);
}

.card-features li::before {
  content: '>';
  color: var(--empire-gold);
  font-weight: 700;
}

/* === STATS BAR === */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1px;
  background: var(--border-subtle);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  overflow: hidden;
  margin-top: 80px;
}

.stat-item {
  background: var(--foundation-card);
  padding: 36px 24px;
  text-align: center;
}

.stat-value {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--empire-gold);
  letter-spacing: -0.02em;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--steel-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 4px;
}

/* === FOOTER === */
.footer {
  padding: 60px 0 40px;
  border-top: 1px solid var(--border-subtle);
  background: var(--navy-deep);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-brand-text h4 {
  font-size: 1rem;
  font-weight: 700;
}

.footer-brand-text p {
  font-size: 0.8rem;
  color: var(--steel-muted);
}

.footer-legal {
  font-size: 0.8rem;
  color: var(--steel-muted);
}

/* === RESPONSIVE === */
@media (max-width: 1024px) {
  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .nav-links.show {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(10, 14, 18, 0.97);
    padding: 24px;
    gap: 16px;
    border-bottom: 1px solid var(--border-subtle);
  }

  .nav-cta {
    display: none;
  }

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

  .hero {
    min-height: 90vh;
    padding: 100px 20px 60px;
  }

  .hero h1 {
    font-size: 2.2rem;
  }

  .hero-sub {
    font-size: 1rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: center;
  }

  .section {
    padding: 80px 0;
  }

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

  .portfolio-grid--two {
    grid-template-columns: 1fr;
  }

  .portfolio-card {
    padding: 28px;
  }

  .card-image-container {
    height: 180px;
  }

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

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

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

  .hero h1 {
    font-size: 1.9rem;
  }

  .section-header h2 {
    font-size: 1.6rem;
  }

  .card-image-container {
    height: 160px;
  }

  .card-hero-image {
    padding: 12px;
  }
}

/* === ANIMATIONS === */
@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-in {
  animation: fade-up 0.8s ease forwards;
  opacity: 0;
}

.animate-in:nth-child(2) { animation-delay: 0.1s; }
.animate-in:nth-child(3) { animation-delay: 0.2s; }
.animate-in:nth-child(4) { animation-delay: 0.3s; }
