/* Phoenix Bikers Reviews — Harley Reviews
   Dark motorcycle-club theme with Harley orange accents */

:root {
  --bg: #0d0d0f;
  --bg-elevated: #16161a;
  --bg-card: #1c1c22;
  --bg-nav: rgba(10, 10, 12, 0.95);
  --text: #e8e6e3;
  --text-muted: #9a9690;
  --orange: #ff6600;
  --orange-dim: #cc5200;
  --orange-glow: rgba(255, 102, 0, 0.25);
  --border: #2a2a32;
  --serif: "Georgia", "Times New Roman", serif;
  --sans: "Segoe UI", system-ui, -apple-system, sans-serif;
  --max: 1100px;
  --nav-h: 64px;
  --radius: 8px;
  --shadow: 0 8px 32px rgba(0, 0, 0, 0.45);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
}

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

a {
  color: var(--orange);
  text-decoration: none;
}

a:hover {
  color: #ff8533;
  text-decoration: underline;
}

.container {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

/* —— Sticky Nav —— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--bg-nav);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-h);
  gap: 1rem;
}

.brand {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  color: var(--text);
  text-decoration: none;
  flex-shrink: 0;
}

.brand:hover {
  text-decoration: none;
  color: var(--orange);
}

.brand-name {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.02em;
}

.brand-tag {
  font-size: 0.7rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
  padding: 0.45rem 0.75rem;
  border-radius: 4px;
  cursor: pointer;
  font-size: 0.9rem;
}

.nav-toggle:hover {
  border-color: var(--orange);
  color: var(--orange);
}

.nav-menu {
  display: flex;
  align-items: stretch;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 0.15rem;
}

.nav-item {
  position: relative;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.65rem 0.85rem;
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 4px;
  white-space: nowrap;
  cursor: pointer;
  background: none;
  border: none;
  font-family: inherit;
}

.nav-link:hover,
.nav-item.open > .nav-link,
.nav-item:focus-within > .nav-link {
  color: var(--orange);
  background: rgba(255, 102, 0, 0.08);
  text-decoration: none;
}

.nav-caret {
  font-size: 0.65rem;
  opacity: 0.7;
}

.dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 0.4rem 0;
  list-style: none;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity 0.15s, transform 0.15s, visibility 0.15s;
  z-index: 100;
}

.nav-item:hover > .dropdown,
.nav-item.open > .dropdown,
.nav-item:focus-within > .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown a {
  display: block;
  padding: 0.55rem 1rem;
  color: var(--text);
  font-size: 0.88rem;
  text-decoration: none;
}

.dropdown a:hover {
  background: rgba(255, 102, 0, 0.12);
  color: var(--orange);
  text-decoration: none;
}

.dropdown .badge {
  font-size: 0.65rem;
  color: var(--orange);
  margin-left: 0.35rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* —— Hero —— */
.hero {
  position: relative;
  padding: 3.5rem 0 3rem;
  background:
    radial-gradient(ellipse 80% 60% at 70% 20%, var(--orange-glow), transparent 60%),
    linear-gradient(180deg, #141418 0%, var(--bg) 100%);
  border-bottom: 1px solid var(--border);
}

.hero h1 {
  font-family: var(--serif);
  font-size: clamp(1.85rem, 4vw, 2.75rem);
  font-weight: 700;
  margin: 0 0 0.75rem;
  line-height: 1.2;
}

.hero h1 span {
  color: var(--orange);
}

.hero-lead {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 36rem;
  margin: 0 0 1.5rem;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.hero-meta strong {
  color: var(--text);
}

/* —— Sections —— */
.section {
  padding: 2.75rem 0;
}

.section-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.section-header h2 {
  font-family: var(--serif);
  font-size: 1.65rem;
  margin: 0;
}

.section-header p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* —— Cards —— */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.25rem;
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.2s, transform 0.2s;
  display: flex;
  flex-direction: column;
}

.card:hover {
  border-color: var(--orange-dim);
  transform: translateY(-2px);
}

.card-img-wrap {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #111;
  position: relative;
}

.card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-body {
  padding: 1rem 1.1rem 1.2rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.card-cat {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--orange);
  margin-bottom: 0.35rem;
}

.card h3 {
  font-family: var(--serif);
  font-size: 1.15rem;
  margin: 0 0 0.4rem;
  line-height: 1.3;
}

.card h3 a {
  color: var(--text);
  text-decoration: none;
}

.card h3 a:hover {
  color: var(--orange);
}

.card-msrp {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.card-status {
  margin-top: auto;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.card-status.published {
  color: #5dce7a;
}

.card-status.coming-soon {
  color: var(--text-muted);
}

.card.stub .card-img-wrap::after {
  content: "Coming soon";
  position: absolute;
  inset: auto 0.6rem 0.6rem auto;
  background: rgba(0, 0, 0, 0.75);
  color: var(--orange);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.3rem 0.55rem;
  border-radius: 3px;
}

/* —— Category browse —— */
.cat-list {
  display: grid;
  gap: 1rem;
}

.cat-block {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.15rem 1.25rem;
}

.cat-block h3 {
  font-family: var(--serif);
  margin: 0 0 0.75rem;
  font-size: 1.2rem;
  color: var(--orange);
}

.cat-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.cat-links a {
  display: inline-block;
  padding: 0.35rem 0.75rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--text);
  font-size: 0.85rem;
  text-decoration: none;
}

.cat-links a:hover {
  border-color: var(--orange);
  color: var(--orange);
  text-decoration: none;
}

.note-box {
  margin-top: 2rem;
  padding: 1.25rem 1.4rem;
  background: var(--bg-elevated);
  border-left: 3px solid var(--orange);
  border-radius: 0 var(--radius) var(--radius) 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.note-box strong {
  color: var(--text);
}

/* —— Review page —— */
.review-page {
  padding: 2rem 0 3rem;
}

.review-intro {
  font-size: 0.95rem;
  color: var(--text-muted);
  max-width: 42rem;
  margin-bottom: 1.75rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--border);
}

.review-intro a {
  color: var(--orange);
}

.review-photo {
  margin-bottom: 1.5rem;
}

.review-photo img {
  width: 100%;
  max-height: 520px;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.photo-credit {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 0.5rem;
  font-style: italic;
}

.review-title {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 3.5vw, 2.1rem);
  margin: 0 0 0.35rem;
  line-height: 1.25;
}

.review-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.review-body {
  max-width: 42rem;
  font-size: 1.05rem;
}

.review-body p {
  margin: 0 0 1.1rem;
}

.review-body strong {
  color: #fff;
  font-weight: 700;
}

.review-body .stub-note {
  padding: 1.25rem;
  background: var(--bg-elevated);
  border: 1px dashed var(--border);
  border-radius: var(--radius);
  color: var(--text-muted);
}

.hd-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 1.5rem;
  padding: 0.7rem 1.2rem;
  background: var(--orange);
  color: #111 !important;
  font-weight: 700;
  border-radius: 4px;
  text-decoration: none !important;
}

.hd-link:hover {
  background: #ff8533;
  color: #111 !important;
}

.back-link {
  display: inline-block;
  margin-bottom: 1.25rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.back-link:hover {
  color: var(--orange);
}

/* —— Footer —— */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 2rem 0;
  background: #0a0a0c;
  margin-top: auto;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  justify-content: space-between;
  align-items: flex-start;
}

.footer-brand {
  font-family: var(--serif);
  font-size: 1.05rem;
}

.footer-meta {
  font-size: 0.85rem;
  color: var(--text-muted);
  max-width: 28rem;
}

.footer-meta a {
  color: var(--text-muted);
}

.footer-meta a:hover {
  color: var(--orange);
}

/* —— Mobile —— */
@media (max-width: 860px) {
  .nav-toggle {
    display: block;
  }

  .nav-menu {
    display: none;
    position: absolute;
    top: var(--nav-h);
    left: 0;
    right: 0;
    flex-direction: column;
    background: var(--bg-elevated);
    border-bottom: 1px solid var(--border);
    padding: 0.5rem 0 1rem;
    max-height: calc(100vh - var(--nav-h));
    overflow-y: auto;
  }

  .nav-menu.open {
    display: flex;
  }

  .nav-item {
    width: 100%;
  }

  .nav-link {
    width: 100%;
    justify-content: space-between;
    padding: 0.85rem 1.25rem;
    border-radius: 0;
  }

  .dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    display: none;
    box-shadow: none;
    border: none;
    border-radius: 0;
    background: rgba(0, 0, 0, 0.25);
    min-width: 0;
    padding: 0;
  }

  .nav-item.open > .dropdown {
    display: block;
  }

  /* Disable hover-open on touch; JS handles tap */
  .nav-item:hover > .dropdown {
    display: none;
  }

  .nav-item.open:hover > .dropdown {
    display: block;
  }

  .dropdown a {
    padding-left: 2rem;
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 2.25rem 0 2rem;
  }

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


/* —— Multi-brand nav (13 category menus) —— */
.nav-bar {
  flex-wrap: wrap;
  height: auto;
  min-height: var(--nav-h);
  padding: 0.35rem 0;
}

.nav-menu {
  flex-wrap: wrap;
  justify-content: flex-end;
  max-width: 100%;
}

.nav-link {
  padding: 0.45rem 0.55rem;
  font-size: 0.82rem;
}

.dropdown {
  max-height: min(70vh, 420px);
  overflow-y: auto;
}

@media (min-width: 861px) and (max-width: 1100px) {
  .nav-link {
    padding: 0.4rem 0.45rem;
    font-size: 0.78rem;
  }
}

.brand-tag {
  white-space: nowrap;
}
