/* index.css — Honda CR-V Sales Page — Mobile-First Single Layout */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;800;900&display=swap');

:root {
  --primary: #1a56db;
  --primary-hover: #2563eb;
  --primary-glow: rgba(26, 86, 219, 0.35);
  --accent: #e07830;
  --accent-glow: rgba(224, 120, 48, 0.3);
  --bg-dark: #070709;
  --bg-card: rgba(255, 255, 255, 0.03);
  --text-white: #ffffff;
  --text-muted: #b0b0b0;
  --glass-border: rgba(255, 255, 255, 0.08);
  --glass-border-hover: rgba(26, 86, 219, 0.3);
  --green: #1a8f4a;
  --green-light: #4ade80;
  --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

html {
  scroll-behavior: smooth;
}

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

body {
  font-family: 'Outfit', sans-serif;
  background-color: var(--bg-dark);
  color: var(--text-white);
  line-height: 1.6;
  overflow-x: hidden;
}

/* ─── Container: phone-width, centered on desktop ─── */
.container {
  max-width: 600px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* ─── Glassmorphism ─── */
.glass {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  transition: var(--transition);
}

.glass:hover {
  border-color: var(--glass-border-hover);
  background: rgba(255, 255, 255, 0.05);
}

/* ─── Badges ─── */
.badge-sold {
  background: var(--primary);
  color: white;
  padding: 0.5rem 1.2rem;
  border-radius: 8px;
  display: inline-block;
  margin-bottom: 0.8rem;
  font-weight: 900;
  letter-spacing: 3px;
  font-size: 0.95rem;
  box-shadow: 0 4px 15px var(--primary-glow);
  text-transform: uppercase;
}

.badge-private {
  background: rgba(255, 255, 255, 0.1);
  color: white;
  padding: 0.6rem 1.2rem;
  border-radius: 12px;
  display: inline-block;
  margin-bottom: 1.5rem;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  line-height: 1.5;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.9rem;
}

.badge-usa {
  background: linear-gradient(135deg, var(--accent), #c96420);
  color: white;
  padding: 0.4rem 1rem;
  border-radius: 8px;
  display: inline-block;
  font-weight: 800;
  letter-spacing: 2px;
  font-size: 0.8rem;
  text-transform: uppercase;
}

/* ─── Buttons ─── */
.btn {
  display: inline-block;
  padding: 0.9rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  text-transform: uppercase;
  border-radius: 50px;
  transition: var(--transition);
  cursor: pointer;
}

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

.btn-primary:hover {
  background: var(--primary-hover);
  transform: translateY(-3px);
  box-shadow: 0 10px 20px var(--primary-glow);
}

/* ─── Hero ─── */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  padding: 2rem 0;
  background: radial-gradient(circle at top right, rgba(26, 86, 219, 0.05) 0%, transparent 70%);
}

.hero-bg {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: var(--bg-dark);
  z-index: -1;
}

.hero-content {
  width: 100%;
}

.hero h1 {
  font-size: 2.2rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1rem;
  text-transform: uppercase;
}

.hero h1 span {
  color: var(--primary);
  display: block;
}

.hero p {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.hero-grid {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  text-align: center;
}

.hero-grid .hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-grid img {
  width: 100%;
  display: block;
  margin-top: 1.5rem;
  border-radius: 16px;
}

/* ─── Stats Grid: always 2 columns, centered ─── */
.stats {
  padding: 1.5rem 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin: 2rem auto;
  max-width: 100%;
}

.stat-card {
  padding: 1.5rem 0.8rem;
  border-radius: 16px;
  text-align: center;
  transition: var(--transition);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.stat-card:hover {
  transform: translateY(-5px);
  border-color: var(--primary);
  box-shadow: 0 10px 20px rgba(26, 86, 219, 0.1);
  background: rgba(255, 255, 255, 0.07);
}

.stat-card h3 {
  font-size: 1.6rem;
  margin-bottom: 0.3rem;
  color: var(--primary);
  text-shadow: 0 0 20px rgba(26, 86, 219, 0.3);
}

.stat-card p {
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-size: 0.7rem;
}

.stat-card.featured {
  box-shadow: 0 0 20px rgba(26, 86, 219, 0.3);
  border: 1.5px solid var(--primary) !important;
}

.stat-card.featured h3 {
  color: var(--primary);
  text-shadow: 0 0 10px rgba(26, 86, 219, 0.5);
}

.stat-card.accent-border {
  border: 1.5px solid var(--accent) !important;
}

.stat-card.accent-border h3 {
  color: var(--accent);
}

/* ─── Sections ─── */
.section {
  padding: 2rem 0;
}

.section-label {
  color: var(--primary);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-bottom: 0.8rem;
  display: block;
  font-size: 0.85rem;
}

.section h2 {
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
}

.section-header {
  text-align: center;
  margin-bottom: 2rem;
}

.section-header .section-label {
  font-size: 1rem;
  font-weight: 900;
  letter-spacing: 3px;
  color: var(--primary);
  text-transform: uppercase;
}

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

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

/* ─── Grid: always single column ─── */
.grid {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

/* ─── About / Features ─── */
.about-grid {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.about-images {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  width: 100%;
  order: 2;
}

.about-features {
  list-style: none;
}

.about-features li {
  margin-bottom: 1.2rem;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 14px;
  transition: var(--transition);
}

.about-features li:hover {
  background: rgba(255, 255, 255, 0.05);
}

.about-features li::before {
  content: '✓';
  color: var(--accent);
  font-weight: 800;
  font-size: 1.1rem;
  margin-top: 0.2rem;
  flex-shrink: 0;
}

.about-features li strong {
  display: inline-block;
  color: var(--accent);
  margin-right: 0.3rem;
  font-size: 1rem;
  font-weight: 800;
}

.about-features li p {
  display: inline;
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* ─── Gallery Grid: always single column ─── */
.gallery-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  padding: 1rem 0;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  transition: var(--transition);
  cursor: pointer;
  aspect-ratio: 4/3;
}

.gallery-item:hover {
  transform: translateY(-4px) scale(1.01);
  border-color: rgba(26, 86, 219, 0.4);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
  z-index: 10;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: rgba(255, 255, 255, 0.03);
  object-position: center;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-item:hover img {
  transform: scale(1.05);
}

/* Span classes ignored in single-column — no effect */
.bi-large, .bi-wide, .bi-tall {
  grid-column: span 1;
  grid-row: span 1;
}

/* ─── Lightbox ─── */
.lightbox {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.95);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  visibility: hidden;
  opacity: 0;
  transition: var(--transition);
}

.lightbox.active {
  visibility: visible;
  opacity: 1;
}

.lightbox-content {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 95%;
  height: 90%;
}

.lightbox img {
  max-width: 100%;
  max-height: 100%;
  border-radius: 8px;
  box-shadow: 0 0 40px rgba(0, 0, 0, 0.5);
  transform: scale(0.9);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.lightbox.active img {
  transform: scale(1);
}

.lightbox-close {
  position: absolute;
  top: 1rem; right: 1rem;
  color: white;
  font-size: 2rem;
  cursor: pointer;
  opacity: 0.7;
  transition: var(--transition);
  z-index: 10;
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: white;
  font-size: 2rem;
  cursor: pointer;
  padding: 0.8rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  width: 50px; height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  user-select: none;
}

.lightbox-nav:hover { background: rgba(255, 255, 255, 0.2); }
.lightbox-prev { left: 0.5rem; }
.lightbox-next { right: 0.5rem; }

/* ─── Footer ─── */
footer {
  padding: 4rem 0 3rem;
  border-top: 1px solid var(--glass-border);
  text-align: center;
  color: var(--text-muted);
}

/* ─── USA Power Badge ─── */
.power-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.8rem;
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 700;
}

.power-badge.usa {
  background: rgba(224, 120, 48, 0.2);
  border: 1px solid rgba(224, 120, 48, 0.4);
  color: var(--accent);
}

.power-badge.eu {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-muted);
}

/* ─── No breakpoints needed — single mobile layout everywhere ─── */
