/* ===== LUMA — Premium Automotive Accessories ===== */

:root {
  --bg: #080808;
  --surface: #111111;
  --surface-alt: #181818;
  --text: #f5f2ee;
  --text-muted: #6a6560;
  --accent: #e8e0d4;
  --border: rgba(245,242,238,0.07);
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 300;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection { background: var(--accent); color: var(--bg); }
a { color: inherit; text-decoration: none; }
h1, h2, h3 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 400;
  line-height: 1.1;
}
img { display: block; max-width: 100%; }

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 48px;
}

/* ── NAV ────────────────────────────────── */

nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 0 48px;
  height: 64px;
  display: flex;
  align-items: center;
  background: rgba(8,8,8,0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem;
  letter-spacing: 0.28em;
  color: var(--accent);
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.nav-links a { color: var(--text-muted); transition: color 0.2s; }
.nav-links a:hover { color: var(--text); }

.nav-shop-btn {
  padding: 7px 20px;
  border: 1px solid rgba(245,242,238,0.2);
  color: var(--text) !important;
  transition: border-color 0.2s, background 0.2s !important;
}
.nav-shop-btn:hover {
  border-color: rgba(245,242,238,0.5) !important;
  background: rgba(245,242,238,0.04) !important;
}

/* ── HERO ───────────────────────────────── */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  padding-bottom: 80px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 30%;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(8,8,8,0.97) 0%,
    rgba(8,8,8,0.75) 40%,
    rgba(8,8,8,0.25) 70%,
    rgba(8,8,8,0.1) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 0 48px;
  max-width: 700px;
}

.hero-eyebrow {
  font-size: 0.68rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.hero-headline {
  font-size: clamp(2.8rem, 5.5vw, 5rem);
  color: var(--text);
  margin-bottom: 24px;
  line-height: 1.05;
}

.hero-headline em {
  font-style: italic;
  color: var(--accent);
}

.hero-body {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 38ch;
  line-height: 1.7;
  margin-bottom: 40px;
}

.hero-cta {
  display: inline-block;
  padding: 14px 36px;
  background: var(--accent);
  color: var(--bg);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: opacity 0.2s;
}
.hero-cta:hover { opacity: 0.85; }

.hero-scroll-hint {
  position: absolute;
  bottom: 40px;
  right: 48px;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, var(--border), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 1; }
}

/* ── CATEGORIES ──────────────────────────── */

.categories {
  padding: 100px 0;
}

.section-label {
  font-size: 0.68rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.section-headline {
  font-size: clamp(2rem, 3.5vw, 3rem);
  color: var(--text);
  margin-bottom: 64px;
  max-width: 24ch;
}

.cat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}

.cat-card {
  background: var(--surface);
  padding: 40px 32px;
  border: 1px solid transparent;
  transition: border-color 0.3s;
}

.cat-card:hover { border-color: var(--border); }

.cat-card-accent {
  background: var(--surface-alt);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.cat-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.cat-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  color: var(--text);
  margin-bottom: 12px;
}

.cat-card p {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.65;
}

.cat-more-link {
  display: inline-block;
  margin-top: 24px;
  font-size: 0.78rem;
  color: var(--accent);
  letter-spacing: 0.05em;
  transition: opacity 0.2s;
}
.cat-more-link:hover { opacity: 0.7; }

/* ── CTA SECTION ────────────────────────── */

.cta-section {
  padding: 100px 0;
  border-top: 1px solid var(--border);
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 64px;
}

.cta-body {
  font-size: 0.9rem;
  color: var(--text-muted);
  max-width: 42ch;
  line-height: 1.7;
  margin-top: 16px;
}

.cta-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  flex-shrink: 0;
}

.btn-primary {
  display: inline-block;
  padding: 13px 32px;
  background: var(--accent);
  color: var(--bg);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: opacity 0.2s;
}
.btn-primary:hover { opacity: 0.85; }

.btn-ghost {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color 0.2s;
}
.btn-ghost:hover { color: var(--text); }

/* ── FOOTER ─────────────────────────────── */

footer {
  padding: 48px;
  border-top: 1px solid var(--border);
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 32px;
}

.footer-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  letter-spacing: 0.2em;
  color: var(--accent);
  text-transform: uppercase;
}

.footer-copy {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.footer-links {
  display: flex;
  gap: 28px;
  margin-left: auto;
}

.footer-links a {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--text); }

/* ── RESPONSIVE ─────────────────────────── */

@media (max-width: 768px) {
  nav { padding: 0 24px; }
  .hero-content { padding: 0 24px; }
  .hero-scroll-hint { display: none; }
  .cat-grid { grid-template-columns: 1fr; }
  .cta-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 40px;
  }
  .cta-actions { width: 100%; }
  .btn-primary { width: 100%; text-align: center; }
  .categories, .cta-section { padding: 72px 0; }
  .container { padding: 0 24px; }
  .footer-inner { flex-wrap: wrap; gap: 16px; }
  .footer-links { margin-left: 0; }
}