/* =========================================================
   VintageMotorVS — Main Stylesheet
   Color Palette:
     Background:  #0a0a0a
     Card BG:     #141414
     Card Border: #222
     Primary:     #e67e22 (warm orange)
     Secondary:   #c0392b (deep red)
     Text:        #e0e0e0
     Muted:       #888
     Winner:      #27ae60
     Loser:       #555
   ========================================================= */

/* ---------------------------------------------------------
   Reset & Base
   --------------------------------------------------------- */

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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #e0e0e0;
    background: #0a0a0a;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    color: #e67e22;
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: #f39c12;
}

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

h1, h2, h3, h4, h5, h6 {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 700;
    line-height: 1.2;
    color: #fff;
}

h1 { font-size: 2.8rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.2rem; }

p {
    margin-bottom: 1rem;
}

ul, ol {
    list-style: none;
}

/* ---------------------------------------------------------
   Layout
   --------------------------------------------------------- */

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1.5rem;
}

/* ---------------------------------------------------------
   Site Header
   --------------------------------------------------------- */

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #222;
}

.main-nav {
    display: flex;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    height: 64px;
    gap: 1.5rem;
}

.logo {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 900;
    font-size: 1.5rem;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
    flex-shrink: 0;
}

.logo span {
    color: #e67e22;
}

.logo:hover {
    color: #fff;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.nav-links a {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    color: #aaa;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 0.5rem 0.75rem;
    border-radius: 4px;
    transition: color 0.2s ease, background 0.2s ease;
}

.nav-links a:hover {
    color: #fff;
    background: rgba(230, 126, 34, 0.1);
}

.nav-links a.active {
    color: #e67e22;
}

/* ---------------------------------------------------------
   Search
   --------------------------------------------------------- */

.search-wrap {
    position: relative;
    margin-left: auto;
    flex-shrink: 1;
    min-width: 0;
}

#search-input {
    width: 220px;
    padding: 0.5rem 0.75rem;
    font-family: 'Inter', sans-serif;
    font-size: 0.875rem;
    color: #e0e0e0;
    background: #1a1a1a;
    border: 1px solid #333;
    border-radius: 6px;
    outline: none;
    transition: border-color 0.2s ease, width 0.3s ease;
}

#search-input::placeholder {
    color: #666;
}

#search-input:focus {
    border-color: #e67e22;
    width: 280px;
}

.search-dropdown {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    min-width: 280px;
    background: #1a1a1a;
    border: 1px solid #333;
    border-radius: 8px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
    max-height: 400px;
    overflow-y: auto;
    display: none;
    z-index: 1001;
}

.search-dropdown.visible {
    display: block;
}

.search-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.625rem 0.875rem;
    color: #e0e0e0;
    cursor: pointer;
    transition: background 0.15s ease;
    border-bottom: 1px solid #222;
}

.search-item:last-child {
    border-bottom: none;
}

.search-item:hover,
.search-item.active {
    background: rgba(230, 126, 34, 0.12);
    color: #fff;
}

.search-item-name {
    font-weight: 500;
    font-size: 0.9rem;
}

.search-item-meta {
    font-size: 0.75rem;
    color: #888;
}

/* ---------------------------------------------------------
   Hamburger Menu
   --------------------------------------------------------- */

.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 32px;
    height: 32px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    flex-shrink: 0;
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: #e0e0e0;
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ---------------------------------------------------------
   Hero Section (Homepage)
   --------------------------------------------------------- */

.hero {
    position: relative;
    padding: 6rem 1.5rem 4rem;
    text-align: center;
    background: linear-gradient(180deg, #141414 0%, #0a0a0a 100%);
    border-bottom: 1px solid #222;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(230, 126, 34, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 900;
    text-transform: uppercase;
    margin-bottom: 1rem;
    position: relative;
}

.hero h1 span {
    color: #e67e22;
}

.hero p {
    font-size: 1.15rem;
    color: #aaa;
    max-width: 600px;
    margin: 0 auto 2.5rem;
}

.hero-compare {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    max-width: 700px;
    margin: 0 auto;
    position: relative;
}

.compare-input-wrap {
    position: relative;
    flex: 1;
}

.compare-input {
    width: 100%;
    padding: 0.875rem 1rem;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    color: #e0e0e0;
    background: #1a1a1a;
    border: 2px solid #333;
    border-radius: 8px;
    outline: none;
    transition: border-color 0.2s ease;
}

.compare-input::placeholder {
    color: #666;
}

.compare-input:focus {
    border-color: #e67e22;
}

.compare-vs-label {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 900;
    font-size: 1.3rem;
    color: #e67e22;
    text-transform: uppercase;
    flex-shrink: 0;
}

.compare-btn {
    padding: 0.875rem 2rem;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #fff;
    background: #555;
    border: none;
    border-radius: 8px;
    cursor: not-allowed;
    transition: background 0.2s ease, transform 0.2s ease;
    flex-shrink: 0;
}

.compare-btn.ready {
    background: #e67e22;
    cursor: pointer;
}

.compare-btn.ready:hover {
    background: #c0392b;
    transform: translateY(-1px);
}

.compare-input-wrap .search-dropdown {
    min-width: 100%;
}

/* ---------------------------------------------------------
   Stats Bar (Homepage)
   --------------------------------------------------------- */

.stats-bar {
    display: flex;
    justify-content: center;
    gap: 3rem;
    padding: 2.5rem 1.5rem;
    border-bottom: 1px solid #222;
}

.stat-item {
    text-align: center;
}

.stat-item .stat-number {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 2.5rem;
    font-weight: 900;
    color: #e67e22;
    line-height: 1;
    display: block;
}

.stat-item .stat-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #888;
    margin-top: 0.25rem;
}

/* ---------------------------------------------------------
   Section Titles
   --------------------------------------------------------- */

.section-title {
    font-size: 1.8rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: #e67e22;
    border-radius: 2px;
}

.section-title.center {
    text-align: center;
}

.section-title.center::after {
    left: 50%;
    transform: translateX(-50%);
}

.featured-section {
    padding: 3rem 0;
}

/* ---------------------------------------------------------
   Bike Cards & Grid
   --------------------------------------------------------- */

.bike-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.bike-card {
    background: #141414;
    border: 1px solid #222;
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.bike-card:hover {
    transform: translateY(-4px);
    border-color: #333;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.bike-card a {
    color: inherit;
    display: block;
}

.bike-card-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-bottom: 1px solid #222;
}

.bike-card-info {
    padding: 1rem 1.25rem;
}

.bike-card-info h3 {
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

.bike-card-info .bike-card-manufacturer {
    font-size: 0.8rem;
    color: #e67e22;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.bike-card-info .bike-card-specs {
    font-size: 0.85rem;
    color: #888;
}

.bike-card-info .bike-card-specs span {
    margin-right: 0.75rem;
}

/* ---------------------------------------------------------
   Popular Comparisons Grid
   --------------------------------------------------------- */

.popular-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.popular-grid a {
    display: flex;
    align-items: center;
    padding: 1rem 1.25rem;
    background: #141414;
    border: 1px solid #222;
    border-radius: 8px;
    color: #e0e0e0;
    font-weight: 500;
    transition: border-color 0.2s ease, background 0.2s ease;
}

.popular-grid a:hover {
    border-color: #e67e22;
    background: rgba(230, 126, 34, 0.05);
    color: #fff;
}

.popular-grid .vs-text {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 700;
    color: #e67e22;
    margin: 0 0.5rem;
    font-size: 0.85rem;
}

/* ---------------------------------------------------------
   VS Compare Page — Header
   --------------------------------------------------------- */

.vs-header {
    display: flex;
    align-items: stretch;
    gap: 0;
    margin-bottom: 2.5rem;
    position: relative;
}

.vs-card {
    flex: 1;
    background: #141414;
    border: 1px solid #222;
    border-radius: 10px;
    overflow: hidden;
    text-align: center;
    padding-bottom: 1.5rem;
}

.vs-card:first-child {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

.vs-card:last-child {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

.vs-img {
    width: 100%;
    max-height: 300px;
    object-fit: cover;
    border-bottom: 1px solid #222;
}

.vs-card h2 {
    font-size: 1.4rem;
    padding: 1rem 1rem 0.25rem;
}

.vs-card .vs-card-meta {
    font-size: 0.85rem;
    color: #888;
    padding: 0 1rem;
}

.vs-card .vs-card-meta .tag {
    margin: 0.25rem;
}

.vs-badge {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: #e67e22;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 900;
    font-size: 1.3rem;
    color: #fff;
    text-transform: uppercase;
    z-index: 10;
    box-shadow: 0 4px 16px rgba(230, 126, 34, 0.4);
    border: 3px solid #0a0a0a;
}

/* ---------------------------------------------------------
   VS Compare Page — Intro & Verdict
   --------------------------------------------------------- */

.intro-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #ccc;
    margin-bottom: 2rem;
    max-width: 900px;
}

.intro-text p {
    margin-bottom: 1rem;
}

.verdict {
    background: #141414;
    border: 1px solid #222;
    border-left: 4px solid #e67e22;
    border-radius: 0 8px 8px 0;
    padding: 1.5rem 2rem;
    margin: 2rem 0;
}

.verdict h3 {
    font-size: 1.3rem;
    margin-bottom: 0.75rem;
    color: #e67e22;
}

.verdict p {
    color: #ccc;
    line-height: 1.8;
}

/* ---------------------------------------------------------
   VS Compare Page — Car Summaries
   --------------------------------------------------------- */

.car-summaries {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin: 2rem 0;
}

.summary-card {
    background: #141414;
    border: 1px solid #222;
    border-radius: 10px;
    padding: 1.5rem;
}

.summary-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #222;
}

.summary-card p {
    color: #bbb;
    font-size: 0.95rem;
    line-height: 1.7;
}

/* ---------------------------------------------------------
   VS Compare Page — Specs Table
   --------------------------------------------------------- */

.specs-comparison {
    margin: 2.5rem 0;
}

.specs-comparison h2 {
    margin-bottom: 1.25rem;
}

.specs-table {
    width: 100%;
    border-collapse: collapse;
    background: #141414;
    border: 1px solid #222;
    border-radius: 10px;
    overflow: hidden;
}

.specs-table th,
.specs-table td {
    padding: 0.75rem 1rem;
    text-align: left;
    border-bottom: 1px solid #1c1c1c;
}

.specs-table thead th {
    background: #1a1a1a;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #aaa;
    border-bottom: 2px solid #333;
}

.specs-table thead th:first-child {
    width: 30%;
}

.specs-table tbody tr:nth-child(even) {
    background: rgba(255, 255, 255, 0.015);
}

.specs-table tbody tr:hover {
    background: rgba(230, 126, 34, 0.04);
}

.specs-table td:first-child {
    font-weight: 500;
    color: #ccc;
}

.specs-table td {
    font-size: 0.95rem;
    color: #bbb;
}

.specs-table .winner {
    color: #27ae60;
    font-weight: 600;
}

.specs-table .loser {
    color: #555;
}

.specs-table .spec-label {
    font-weight: 500;
    color: #ccc;
}

/* ---------------------------------------------------------
   Motorcycle Profile Page
   --------------------------------------------------------- */

.profile-header {
    display: flex;
    gap: 2rem;
    margin-bottom: 2.5rem;
}

.profile-img-wrap {
    flex: 0 0 50%;
    max-width: 50%;
}

.profile-img {
    width: 100%;
    border-radius: 10px;
    border: 1px solid #222;
    object-fit: cover;
    max-height: 450px;
}

.profile-info {
    flex: 1;
}

.profile-info h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.profile-info .profile-manufacturer {
    font-size: 1rem;
    color: #e67e22;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 1rem;
}

.profile-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.25rem;
}

.profile-info .profile-description {
    color: #bbb;
    line-height: 1.8;
    font-size: 0.95rem;
}

/* ---------------------------------------------------------
   Profile — Specs Grid
   --------------------------------------------------------- */

.profile-specs {
    margin: 2.5rem 0;
}

.specs-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.spec-group {
    background: #141414;
    border: 1px solid #222;
    border-radius: 10px;
    padding: 1.25rem 1.5rem;
}

.spec-group h3 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #222;
    color: #e67e22;
}

.spec-group dl {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem 1rem;
}

.spec-group dt {
    font-weight: 500;
    color: #aaa;
    font-size: 0.875rem;
}

.spec-group dd {
    font-size: 0.9rem;
    color: #e0e0e0;
    text-align: right;
}

/* ---------------------------------------------------------
   Profile — Text Sections
   --------------------------------------------------------- */

.profile-story,
.buying-guide {
    margin: 2.5rem 0;
}

.profile-story h2,
.buying-guide h2 {
    margin-bottom: 1rem;
}

.profile-story p,
.buying-guide p {
    color: #bbb;
    line-height: 1.8;
    max-width: 900px;
}

.fun-facts,
.known-issues {
    margin: 2rem 0;
}

.fun-facts h3,
.known-issues h3 {
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
}

.fun-facts ul,
.known-issues ul {
    list-style: none;
    padding: 0;
}

.fun-facts ul li,
.known-issues ul li {
    position: relative;
    padding: 0.5rem 0 0.5rem 1.5rem;
    color: #bbb;
    line-height: 1.6;
    border-bottom: 1px solid #1a1a1a;
}

.fun-facts ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.85rem;
    width: 8px;
    height: 8px;
    background: #e67e22;
    border-radius: 50%;
}

.known-issues ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.85rem;
    width: 8px;
    height: 8px;
    background: #c0392b;
    border-radius: 50%;
}

/* ---------------------------------------------------------
   Profile — Compare Links
   --------------------------------------------------------- */

.compare-links {
    margin: 2.5rem 0;
}

.compare-links h2 {
    margin-bottom: 1rem;
}

.compare-links-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
}

.compare-links-grid a {
    display: block;
    padding: 0.75rem 1rem;
    background: #141414;
    border: 1px solid #222;
    border-radius: 6px;
    color: #ccc;
    font-size: 0.9rem;
    transition: border-color 0.2s ease, background 0.2s ease;
}

.compare-links-grid a:hover {
    border-color: #e67e22;
    background: rgba(230, 126, 34, 0.05);
    color: #fff;
}

/* ---------------------------------------------------------
   Tags / Badges
   --------------------------------------------------------- */

.tag {
    display: inline-block;
    padding: 0.2rem 0.6rem;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 4px;
    background: rgba(230, 126, 34, 0.12);
    color: #e67e22;
    border: 1px solid rgba(230, 126, 34, 0.25);
}

.tag.era {
    background: rgba(52, 152, 219, 0.12);
    color: #3498db;
    border-color: rgba(52, 152, 219, 0.25);
}

.tag.category {
    background: rgba(155, 89, 182, 0.12);
    color: #9b59b6;
    border-color: rgba(155, 89, 182, 0.25);
}

.tag.country {
    background: rgba(46, 204, 113, 0.12);
    color: #2ecc71;
    border-color: rgba(46, 204, 113, 0.25);
}

/* ---------------------------------------------------------
   Buttons
   --------------------------------------------------------- */

.btn {
    display: inline-block;
    padding: 0.65rem 1.5rem;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #fff;
    background: #e67e22;
    border: 2px solid #e67e22;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.15s ease;
}

.btn:hover {
    background: #c0392b;
    border-color: #c0392b;
    color: #fff;
    transform: translateY(-1px);
}

.btn-outline {
    display: inline-block;
    padding: 0.65rem 1.5rem;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #e67e22;
    background: transparent;
    border: 2px solid #e67e22;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
}

.btn-outline:hover {
    background: #e67e22;
    color: #fff;
}

/* ---------------------------------------------------------
   Breadcrumbs
   --------------------------------------------------------- */

.breadcrumbs {
    font-size: 0.8rem;
    color: #666;
    margin-bottom: 1.5rem;
    padding: 0.5rem 0;
}

.breadcrumbs a {
    color: #888;
}

.breadcrumbs a:hover {
    color: #e67e22;
}

.breadcrumbs span {
    margin: 0 0.35rem;
    color: #555;
}

/* ---------------------------------------------------------
   Browse Pages
   --------------------------------------------------------- */

.browse-header {
    margin-bottom: 2rem;
}

.browse-header h1 {
    font-size: 2.2rem;
    margin-bottom: 0.5rem;
}

.browse-header p {
    color: #888;
    font-size: 1rem;
    max-width: 700px;
}

.filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 2rem;
    padding: 1rem 0;
    border-bottom: 1px solid #1c1c1c;
}

.filter-bar a,
.filter-bar button {
    padding: 0.4rem 0.85rem;
    font-family: 'Inter', sans-serif;
    font-size: 0.8rem;
    font-weight: 500;
    color: #aaa;
    background: #1a1a1a;
    border: 1px solid #333;
    border-radius: 20px;
    cursor: pointer;
    transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.filter-bar a:hover,
.filter-bar button:hover,
.filter-bar a.active,
.filter-bar button.active {
    border-color: #e67e22;
    color: #e67e22;
    background: rgba(230, 126, 34, 0.08);
}

.make-grid,
.era-grid,
.category-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.make-grid a,
.era-grid a,
.category-grid a {
    display: block;
    padding: 1.25rem;
    background: #141414;
    border: 1px solid #222;
    border-radius: 8px;
    text-align: center;
    transition: border-color 0.2s ease, transform 0.2s ease;
}

.make-grid a:hover,
.era-grid a:hover,
.category-grid a:hover {
    border-color: #e67e22;
    transform: translateY(-2px);
}

.make-grid a h3,
.era-grid a h3,
.category-grid a h3 {
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

.make-grid a .count,
.era-grid a .count,
.category-grid a .count {
    font-size: 0.8rem;
    color: #888;
}

/* ---------------------------------------------------------
   No Image Placeholder
   --------------------------------------------------------- */

.no-image {
    width: 100%;
    height: 200px;
    background: #1a1a1a;
    border-bottom: 1px solid #222;
    display: flex;
    align-items: center;
    justify-content: center;
}

.no-image svg {
    width: 64px;
    height: 64px;
    opacity: 0.2;
}

.no-image-icon {
    fill: none;
    stroke: #666;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* ---------------------------------------------------------
   Back to Top
   --------------------------------------------------------- */

.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 44px;
    height: 44px;
    background: #e67e22;
    border: none;
    border-radius: 50%;
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease, background 0.2s ease;
    z-index: 999;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: #c0392b;
}

/* ---------------------------------------------------------
   Footer
   --------------------------------------------------------- */

.site-footer {
    background: #0d0d0d;
    border-top: 1px solid #222;
    padding: 3rem 1.5rem 0;
    margin-top: 3rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding-bottom: 2rem;
}

.footer-col h4 {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #fff;
    margin-bottom: 1rem;
}

.footer-col p {
    font-size: 0.875rem;
    color: #888;
    line-height: 1.6;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 0.4rem;
}

.footer-col ul li a {
    font-size: 0.875rem;
    color: #888;
    transition: color 0.2s ease;
}

.footer-col ul li a:hover {
    color: #e67e22;
}

.footer-bottom {
    text-align: center;
    padding: 1.5rem 0;
    border-top: 1px solid #1a1a1a;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-bottom p {
    font-size: 0.8rem;
    color: #555;
    margin: 0;
}

/* ---------------------------------------------------------
   Responsive — Tablet (max-width: 992px)
   --------------------------------------------------------- */

@media (max-width: 992px) {
    .bike-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .make-grid,
    .era-grid,
    .category-grid {
        grid-template-columns: repeat(3, 1fr);
    }

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

    .profile-header {
        flex-direction: column;
    }

    .profile-img-wrap {
        flex: none;
        max-width: 100%;
    }

    .profile-img {
        max-height: 350px;
        width: 100%;
    }
}

/* ---------------------------------------------------------
   Responsive — Mobile (max-width: 768px)
   --------------------------------------------------------- */

@media (max-width: 768px) {
    body {
        padding-top: 64px;
    }

    .main-nav {
        flex-wrap: wrap;
        height: auto;
        padding: 0.75rem 1rem;
        gap: 0.75rem;
    }

    .hamburger {
        display: flex;
    }

    .nav-links {
        display: none;
        width: 100%;
        flex-direction: column;
        gap: 0;
        order: 10;
        padding: 0.5rem 0;
        border-top: 1px solid #222;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links a {
        display: block;
        padding: 0.65rem 0.5rem;
        width: 100%;
    }

    .search-wrap {
        order: 9;
        width: 100%;
        margin-left: 0;
    }

    #search-input {
        width: 100%;
    }

    #search-input:focus {
        width: 100%;
    }

    .container {
        padding: 1.5rem 1rem;
    }

    h1 { font-size: 2rem; }
    h2 { font-size: 1.5rem; }

    /* Hero */
    .hero {
        padding: 4rem 1rem 3rem;
    }

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

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

    .hero-compare {
        flex-direction: column;
    }

    .compare-input-wrap {
        width: 100%;
    }

    .compare-btn {
        width: 100%;
    }

    /* Stats */
    .stats-bar {
        gap: 1.5rem;
        flex-wrap: wrap;
    }

    .stat-item .stat-number {
        font-size: 2rem;
    }

    /* VS Header */
    .vs-header {
        flex-direction: column;
        gap: 0;
    }

    .vs-card {
        border-radius: 10px;
    }

    .vs-card:first-child {
        border-radius: 10px 10px 0 0;
        border-bottom: none;
    }

    .vs-card:last-child {
        border-radius: 0 0 10px 10px;
    }

    .vs-badge {
        position: relative;
        top: auto;
        left: auto;
        transform: none;
        margin: -1rem auto;
        z-index: 10;
    }

    .vs-img {
        max-height: 220px;
    }

    /* Specs */
    .specs-grid {
        grid-template-columns: 1fr;
    }

    .specs-table {
        font-size: 0.85rem;
    }

    .specs-table th,
    .specs-table td {
        padding: 0.6rem 0.75rem;
    }

    /* Summaries */
    .car-summaries {
        grid-template-columns: 1fr;
    }

    /* Grids */
    .bike-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

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

    .compare-links-grid {
        grid-template-columns: 1fr;
    }

    .make-grid,
    .era-grid,
    .category-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .back-to-top {
        bottom: 1.5rem;
        right: 1.5rem;
        width: 40px;
        height: 40px;
    }
}

/* ---------------------------------------------------------
   Responsive — Small Mobile (max-width: 480px)
   --------------------------------------------------------- */

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

    .make-grid,
    .era-grid,
    .category-grid {
        grid-template-columns: 1fr;
    }

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

    .stats-bar {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }

    .profile-info h1 {
        font-size: 1.8rem;
    }

    .vs-card h2 {
        font-size: 1.15rem;
    }
}

/* ---------------------------------------------------------
   Scrollbar (Webkit)
   --------------------------------------------------------- */

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #0a0a0a;
}

::-webkit-scrollbar-thumb {
    background: #333;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #555;
}

/* ---------------------------------------------------------
   Selection
   --------------------------------------------------------- */

::selection {
    background: rgba(230, 126, 34, 0.3);
    color: #fff;
}

/* ---------------------------------------------------------
   Affiliate Resources (detail pages)
   --------------------------------------------------------- */

.affiliate-resources {
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid #222;
}

.affiliate-resources h2 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #e0e0e0;
}

.affiliate-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1rem;
}

.affiliate-card {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    padding: 1.2rem 1.4rem;
    background: #141414;
    border: 1px solid #222;
    border-radius: 8px;
    color: #ccc;
    transition: border-color 0.2s ease, background 0.2s ease;
}

.affiliate-card:hover {
    border-color: #e67e22;
    background: #1a1a1a;
    color: #e0e0e0;
}

.affiliate-card .affiliate-icon {
    font-size: 1.4rem;
    line-height: 1;
}

.affiliate-card strong {
    font-size: 0.95rem;
    color: #e67e22;
}

.affiliate-card .affiliate-desc {
    font-size: 0.82rem;
    color: #888;
    line-height: 1.4;
}

/* ---------------------------------------------------------
   Affiliate Resources (compare pages)
   --------------------------------------------------------- */

.affiliate-compare {
    margin-top: 2rem;
    padding: 1.2rem 1.5rem;
    background: #141414;
    border: 1px solid #222;
    border-radius: 8px;
}

.affiliate-compare h3 {
    font-size: 1rem;
    color: #888;
    margin-bottom: 0.8rem;
    font-weight: 500;
}

.affiliate-compare-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem 2rem;
}

.affiliate-compare-links a {
    font-size: 0.9rem;
    color: #e67e22;
    opacity: 0.85;
    transition: opacity 0.2s ease;
}

.affiliate-compare-links a:hover {
    opacity: 1;
    color: #f39c12;
}
