/*
Theme Name: NORSEN AUTO
Theme URI: https://norsenauto.com
Author: NORSEN INTERNATIONAL TRADE (SHAOXING) CO., LTD.
Description: Independent automotive aftermarket theme for NORSEN AUTO (Wheels & Performance).
Version: 0.1.0
Text Domain: norsen-auto
*/

:root {
  --na-navy: #042956;
  --na-red: #e31d23;
  --na-white: #ffffff;
  --na-ink: #121820;
  --na-muted: #5b6570;
  --na-line: #d7dee8;
  --na-soft: #f4f6f9;
  --na-max: 1120px;
  --na-wide: 1280px;
  --na-header-h: 72px;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--na-ink);
  background: var(--na-white);
  font-family: "Inter", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 16.5px;
  line-height: 1.6;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }

.na-container {
  width: min(100% - 48px, var(--na-max));
  margin-inline: auto;
}

.na-container-wide {
  width: min(100% - 48px, var(--na-wide));
  margin-inline: auto;
}

/* Header */
.na-site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--na-white);
  border-bottom: 1px solid var(--na-line);
}

.na-header-inner {
  width: min(100% - 48px, var(--na-wide));
  margin-inline: auto;
  min-height: var(--na-header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.na-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}

.na-brand img {
  height: 40px;
  width: auto;
}

.na-brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.na-brand-name {
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.04em;
  color: var(--na-navy);
}

.na-brand-line {
  font-size: 0.72rem;
  color: var(--na-muted);
  letter-spacing: 0.04em;
}

.na-header-panel {
  display: flex;
  align-items: center;
  gap: 28px;
}

.na-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 0.95rem;
  font-weight: 600;
}

.na-nav a {
  text-decoration: none;
  color: var(--na-ink);
  padding: 6px 0;
  border-bottom: 2px solid transparent;
}

.na-nav a:hover { color: var(--na-navy); }

.na-nav a.is-active,
body.na-nav-wheels .na-nav a[data-nav="wheels"],
body.na-nav-accessories .na-nav a[data-nav="accessories"],
body.na-nav-business .na-nav a[data-nav="business"],
body.na-nav-about .na-nav a[data-nav="about"] {
  color: var(--na-navy);
  border-bottom-color: var(--na-red);
}

.na-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 12px 20px;
  border-radius: 5px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border: 1.5px solid transparent;
  cursor: pointer;
}

.na-btn-primary {
  background: var(--na-red);
  color: var(--na-white);
}

.na-btn-primary:hover { filter: brightness(0.95); }

.na-btn-secondary {
  background: transparent;
  color: var(--na-navy);
  border-color: var(--na-navy);
}

.na-btn-secondary:hover {
  background: var(--na-navy);
  color: var(--na-white);
}

.na-btn-ghost-light {
  background: transparent;
  color: var(--na-white);
  border-color: rgba(255,255,255,0.65);
}

.na-btn-ghost-light:hover {
  background: var(--na-white);
  color: var(--na-navy);
}

.na-nav-toggle,
.na-nav-button { display: none; }

/* Hero */
.na-hero {
  background: var(--na-soft);
  border-bottom: 1px solid var(--na-line);
}

.na-hero-inner {
  width: min(100% - 48px, var(--na-wide));
  margin-inline: auto;
  padding: 56px 0 64px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: 40px;
  align-items: center;
}

.na-eyebrow {
  margin: 0 0 10px;
  color: var(--na-red);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.na-hero h1,
.na-page-hero h1 {
  margin: 0 0 16px;
  font-size: clamp(2.1rem, 4vw, 3.2rem);
  line-height: 1.1;
  font-weight: 700;
  color: var(--na-navy);
  letter-spacing: -0.02em;
}

.na-hero .na-brand-lockup {
  margin: 0 0 8px;
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.08em;
  color: var(--na-navy);
}

.na-lede {
  margin: 0 0 28px;
  color: var(--na-muted);
  font-size: 1.05rem;
  max-width: 36rem;
}

.na-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.na-hero-visual {
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid var(--na-line);
  background: #0b1220;
  aspect-ratio: 16 / 9;
}

.na-hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.na-hero-visual-mobile { display: none; }

/* Sections */
.na-section { padding: 80px 0; }
.na-section-tight { padding: 56px 0; }
.na-band { background: var(--na-soft); }
.na-band-navy {
  background: var(--na-navy);
  color: var(--na-white);
}
.na-band-navy h2,
.na-band-navy p { color: var(--na-white); }
.na-band-navy .na-muted { color: rgba(255,255,255,0.78); }

.na-section-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 36px;
}

.na-section-head h2 {
  margin: 0;
  font-size: clamp(1.6rem, 2.6vw, 2.1rem);
  color: var(--na-navy);
  font-weight: 700;
}

.na-section-head p {
  margin: 0;
  max-width: 28rem;
  color: var(--na-muted);
}

.na-muted { color: var(--na-muted); }

.na-grid-2,
.na-grid-3,
.na-grid-4 {
  display: grid;
  gap: 20px;
}

.na-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.na-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.na-grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.na-card {
  background: var(--na-white);
  border: 1px solid var(--na-line);
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.na-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: var(--na-soft);
}

.na-card-body {
  padding: 18px 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.na-card-body h3 {
  margin: 0;
  font-size: 1.05rem;
  color: var(--na-navy);
  font-weight: 700;
}

.na-card-body p {
  margin: 0;
  color: var(--na-muted);
  font-size: 0.95rem;
}

.na-card-link {
  margin-top: auto;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--na-navy);
  text-decoration: none;
}

.na-card-link:hover { color: var(--na-red); }

.na-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.na-chip {
  display: inline-flex;
  align-items: center;
  height: 26px;
  padding: 0 10px;
  border-radius: 999px;
  background: var(--na-soft);
  border: 1px solid var(--na-line);
  color: var(--na-navy);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.na-list {
  margin: 0;
  padding-left: 1.15rem;
  color: var(--na-muted);
}

.na-list li { margin-bottom: 8px; }

.na-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 40px;
  align-items: center;
}

.na-split img {
  width: 100%;
  border-radius: 8px;
  border: 1px solid var(--na-line);
  object-fit: cover;
}

.na-panel {
  background: var(--na-soft);
  border: 1px solid var(--na-line);
  border-radius: 8px;
  padding: 24px;
}

.na-panel h3 {
  margin: 0 0 10px;
  color: var(--na-navy);
}

.na-page-hero {
  padding: 56px 0 40px;
  border-bottom: 1px solid var(--na-line);
  background: var(--na-white);
}

.na-entity-block {
  display: grid;
  gap: 8px;
}

.na-entity-block strong {
  color: var(--na-navy);
  font-size: 1.05rem;
}

/* Footer */
.na-site-footer {
  background: var(--na-navy);
  color: var(--na-white);
  padding: 56px 0 40px;
  margin-top: 0;
}

.na-footer-inner {
  width: min(100% - 48px, var(--na-max));
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 36px;
}

.na-footer-brand {
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.06em;
  margin-bottom: 6px;
}

.na-footer-line {
  color: rgba(255,255,255,0.78);
  font-size: 0.92rem;
  margin: 0 0 14px;
}

.na-footer-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.na-footer-nav a {
  color: rgba(255,255,255,0.9);
  text-decoration: none;
  font-weight: 600;
}

.na-footer-nav a:hover { color: #fff; text-decoration: underline; }

.na-footer-bottom {
  width: min(100% - 48px, var(--na-max));
  margin: 28px auto 0;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,0.18);
  color: rgba(255,255,255,0.65);
  font-size: 0.85rem;
}

/* Mobile */
@media (max-width: 900px) {
  body { font-size: 15.5px; }
  .na-header-inner,
  .na-container,
  .na-container-wide,
  .na-hero-inner,
  .na-footer-inner,
  .na-footer-bottom {
    width: min(100% - 32px, var(--na-max));
  }

  .na-header-inner { min-height: 64px; }
  .na-brand img { height: 32px; }

  .na-nav-button {
    display: inline-flex;
    width: 42px;
    height: 42px;
    border: 1px solid var(--na-line);
    border-radius: 8px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    background: var(--na-white);
    cursor: pointer;
  }

  .na-nav-button span {
    width: 18px;
    height: 2px;
    background: var(--na-navy);
  }

  .na-header-panel {
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    padding: 16px 16px 20px;
    background: var(--na-white);
    border-bottom: 1px solid var(--na-line);
    box-shadow: 0 12px 28px rgba(4, 41, 86, 0.08);
  }

  .na-nav-toggle:checked ~ .na-header-panel { display: flex; }

  .na-nav {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .na-nav a {
    padding: 12px 0;
    border-bottom: 1px solid var(--na-line);
  }

  .na-hero-inner,
  .na-split,
  .na-grid-2,
  .na-grid-3,
  .na-grid-4,
  .na-footer-inner {
    grid-template-columns: 1fr;
  }

  .na-hero-inner { padding: 36px 0 44px; }
  .na-section { padding: 52px 0; }
  .na-cta-full { width: 100%; }

  .na-hero-visual { display: none; }
  .na-hero-visual-mobile {
    display: block;
    overflow: hidden;
    border-radius: 8px;
    border: 1px solid var(--na-line);
    aspect-ratio: 4 / 5;
  }
  .na-hero-visual-mobile img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
}

@media (max-width: 480px) {
  .na-hero h1,
  .na-page-hero h1 { font-size: 1.85rem; }
  .na-actions .na-btn { width: 100%; }
}
