:root {
  --black: #0f0f0f;
  --dark-gray: #1f1f1f;
  --light-gray: #e5e7eb;
  --red: #ef4444;
  --white: #ffffff;
  --max-width: 1100px;
}

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

body {
  font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  background-color: var(--dark-gray);
  color: var(--light-gray);
  line-height: 1.6;
}

h1, h2, h3, h4 {
  color: var(--white);
  text-transform: uppercase;
  font-weight: 800;
  letter-spacing: 1px;
}

a {
  text-decoration: none;
  color: var(--light-gray);
  transition: color 0.2s ease;
}

a:hover {
  color: var(--red);
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* Header & Nav */
header {
  background-color: var(--black);
  padding: 20px 0;
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 2px solid var(--red);
}

.nav-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 24px;
  font-weight: 900;
  color: var(--white);
  text-transform: lowercase;
  letter-spacing: -0.5px;
}

.logo span {
  color: var(--red);
}

nav ul {
  list-style: none;
  display: flex;
  gap: 30px;
  align-items: center;
}

nav ul li a {
  font-weight: 600;
  font-size: 15px;
  text-transform: uppercase;
}

/* Buttons */
.btn {
  display: inline-block;
  background-color: var(--red);
  color: var(--white);
  padding: 12px 24px;
  border-radius: 4px;
  font-weight: 700;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease, background-color 0.2s ease;
  text-align: center;
}

.btn:hover {
  background-color: #dc2626;
  transform: translateY(-2px);
  color: var(--white);
}

.btn-nav {
  padding: 10px 20px;
  font-size: 14px;
}

/* Hero Section */
.hero {
  height: 80vh;
  min-height: 500px;
  background-image: linear-gradient(rgba(15, 15, 15, 0.7), rgba(15, 15, 15, 0.8)), url('images/modern-motorbike-showroom-bg.jpg');
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  text-align: center;
}

.hero-content {
  width: 100%;
}

.hero h1 {
  font-size: 4rem;
  margin-bottom: 15px;
  color: var(--white);
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  color: var(--light-gray);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Section Common */
.section {
  padding: 80px 0;
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 50px;
}

/* Bike Cards */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 30px;
}

.bike-card {
  background-color: var(--black);
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
}

.bike-card:hover {
  transform: translateY(-5px);
}

.bike-img-wrap {
  width: 100%;
  height: 240px;
  overflow: hidden;
}

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

.bike-info {
  padding: 25px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.bike-info h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.bike-price {
  color: var(--red);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 15px;
}

.bike-info p {
  font-size: 0.95rem;
  margin-bottom: 25px;
  flex-grow: 1;
}

.bike-info .btn {
  width: 100%;
}

/* Categories */
.category-card {
  position: relative;
  height: 200px;
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--black);
}

.category-card img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.5;
  transition: opacity 0.3s ease;
}

.category-card:hover img {
  opacity: 0.7;
}

.category-card h3 {
  position: relative;
  z-index: 1;
  font-size: 1.8rem;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
}

/* Services */
.services-section {
  background-color: var(--black);
  border-top: 1px solid #2a2a2a;
  border-bottom: 1px solid #2a2a2a;
}

.services-intro {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 40px auto;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.service-item {
  background-color: var(--dark-gray);
  padding: 30px 20px;
  border-radius: 8px;
  text-align: center;
  border-bottom: 3px solid var(--red);
}

.service-item h4 {
  font-size: 1.2rem;
  margin-bottom: 10px;
}

/* Contact Form */
.contact-wrapper {
  max-width: 600px;
  margin: 0 auto;
  background-color: var(--black);
  padding: 40px;
  border-radius: 8px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 15px;
  background-color: var(--dark-gray);
  border: 1px solid #333;
  color: var(--white);
  border-radius: 4px;
  font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--red);
}

/* Generic Page Content */
.page-header {
  padding: 60px 0 40px;
  text-align: center;
  border-bottom: 1px solid var(--black);
  margin-bottom: 40px;
}

.content-block {
  background-color: var(--black);
  padding: 40px;
  border-radius: 8px;
  margin-bottom: 40px;
}

.content-block h2 {
  margin-top: 30px;
  margin-bottom: 15px;
  font-size: 1.5rem;
}

.content-block p {
  margin-bottom: 15px;
}

.content-block ul {
  margin-bottom: 15px;
  padding-left: 20px;
}

/* Footer */
footer {
  background-color: var(--black);
  padding: 60px 0 30px;
  border-top: 4px solid var(--red);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-col h3 {
  font-size: 1.2rem;
  margin-bottom: 20px;
}

.footer-col p {
  margin-bottom: 10px;
}

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

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid #2a2a2a;
  font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
  .nav-wrapper {
    flex-direction: column;
    gap: 15px;
  }
  nav ul {
    flex-wrap: wrap;
    justify-content: center;
  }
  .hero h1 {
    font-size: 2.5rem;
  }
}