*,
*::before,
*::after {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #fff;
  color: #111;
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Header */

.header {
  background: #fff;
  border-bottom: 1px solid #eee;
  position: sticky;
  top: 0;
  z-index: 20;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.7rem 0;
  gap: 1rem;
}

.logo-block {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.logo-mark {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: #000;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  font-weight: 700;
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-title {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.logo-sub {
  font-size: 0.75rem;
  color: #666;
}

.nav {
  display: flex;
  gap: 1rem;
  font-size: 0.9rem;
}

.nav a {
  color: #222;
}

.nav a:hover {
  color: #000;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 1.4rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.88rem;
  cursor: pointer;
}

.btn.primary {
  background: #000;
  color: #fff;
  font-weight: 600;
}

.btn.outline {
  background: #fff;
  color: #000;
  border-color: #000;
}

.btn.ghost {
  background: #fff;
  color: #000;
  border-color: #ddd;
}

.nav-wa {
  background: #25d366;
  color: #000;
  font-weight: 600;
}

/* Sections */

.section {
  padding: 2.2rem 0;
}

/* Hero */

.hero-simple {
  padding: 2.6rem 0 2.4rem;
  border-bottom: 1px solid #eee;
}

.hero-simple h1 {
  font-size: 2.1rem;
  margin-bottom: 0.5rem;
}

.hero-simple p {
  font-size: 0.98rem;
  max-width: 36rem;
  color: #333;
}

.hero-actions {
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

/* Features */

.features {
  background: #fafafa;
  border-bottom: 1px solid #eee;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.4rem;
}

.features-item h3 {
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.features-item p {
  font-size: 0.9rem;
  color: #444;
}

/* About & contact */

.about {
  font-size: 0.95rem;
  color: #444;
}

.about p {
  max-width: 44rem;
}

.contact h2 {
  font-size: 1.5rem;
  margin-bottom: 0.4rem;
}

.contact-text p,
.contact-list {
  font-size: 0.95rem;
  color: #f5f5f5;
}

.contact-list {
  list-style: none;
  padding: 0;
  margin: 0.6rem 0 0;
}

.contact-list li {
  margin-bottom: 0.3rem;
}

.contact-list a {
  color: #fff;
  text-decoration: underline;
}

/* Footer */

.footer {
  background: #000;
  color: #fff;
  padding: 1rem 0;
  font-size: 0.8rem;
  margin-top: 2rem;
}

.footer-inner {
  text-align: center;
}

/* Floating WhatsApp */

.wa-float {
  position: fixed;
  right: 1.1rem;
  bottom: 1.1rem;
  background: #25d366;
  color: #000;
  border-radius: 999px;
  padding: 0.6rem 1rem;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 12px 30px rgba(0,0,0,0.4);
  z-index: 30;
}

/* Fleet grid (our cars) — UNCHANGED layout */
.fleet-page {
  background: #111;
  color: #fff;
  min-height: 100vh;
}

.fleet-page main {
  padding-bottom: 2.5rem;
}

.fleet-page .header {
  background: #111;
  border-bottom: 1px solid #222;
}

.fleet-page .logo-title,
.fleet-page .logo-sub,
.fleet-page .nav a {
  color: #fff;
}

.fleet-page .nav a:hover {
  color: #f5f5f5;
}

.fleet-container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 1.5rem;
}

.fleet-title {
  margin: 0 0 1.5rem;
  font-size: 1.7rem;
}

.fleet-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.car-card {
  background: #1c1c1c;
  border-radius: 18px;
  padding: 1rem 1rem 1.2rem;
  box-shadow: 0 12px 35px rgba(0,0,0,0.55);
}

/* DÖLJ GALLERI-BILDER I KORTET – ANVÄNDS BARA I POPUP */
.car-gallery {
  display: none;
}

.car-title {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.1rem;
}

.car-meta {
  font-size: 0.9rem;
  color: #d0d0d0;
  margin-bottom: 0.6rem;
}

.car-image {
  border-radius: 14px;
  overflow: hidden;
  background: #000;
}

/* ========================= */
/* FIX — uniform correct car images */
/* ========================= */

.fleet-grid .car-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  background: #000;
}

/* Responsive */

@media (max-width: 900px) {
  .nav {
    display: none;
  }
}

@media (max-width: 600px) {
  .fleet-container {
    padding: 1.1rem;
  }
}

.car-image img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
}

.category-row {
  display: flex;
  gap: 1.2rem;
  overflow-x: auto;
  padding: 0.5rem 0 1rem;
  scroll-snap-type: x mandatory;
}

.category-card {
  flex: 0 0 260px;
  background: #1c1c1c;
  color: #fff;
  padding: 1rem;
  border-radius: 10px;
  scroll-snap-align: start;
}

.category-card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 8px;
  margin-top: 0.5rem;
}
