/* Root variables for easy theming */
:root {
  --primary-color: #00a0a6; /* Turquoise, reminiscent of the brochures */
  --secondary-color: #0c1f2c; /* Dark blue/black for contrast */
  --light-color: #f9f9f9;
  --text-color: #333;
  --heading-color: #0c1f2c;
  --border-radius: 8px;
  --transition-speed: 0.3s;
  font-family: Arial, sans-serif;
}

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

body {
  background: var(--light-color);
  color: var(--text-color);
  line-height: 1.6;
}

/* Container */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* Navigation */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #fff;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.nav-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--secondary-color);
}

.nav-links a {
  margin-left: 1.5rem;
  text-decoration: none;
  color: var(--secondary-color);
  font-weight: 500;
  transition: color var(--transition-speed);
}

.nav-links a:hover {
  color: var(--primary-color);
}

/* Hero Slider */
.hero-slider {
  position: relative;
  height: 90vh;
  min-height: 600px;
  overflow: hidden;
}

.hero-slider .slides {
  height: 100%;
  position: relative;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  padding: 4rem 2rem;
  color: #fff;
}

.slide.active {
  opacity: 1;
}

.slide .content {
  max-width: 600px;
  background: rgba(0, 0, 0, 0.5);
  padding: 1.5rem;
  border-radius: var(--border-radius);
}

.slide h1 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  color: #fff;
}

.slide p {
  margin-bottom: 1rem;
  color: #eee;
}

.btn-primary {
  display: inline-block;
  padding: 0.7rem 1.5rem;
  background: var(--primary-color);
  color: #fff;
  border-radius: var(--border-radius);
  text-decoration: none;
  transition: background var(--transition-speed);
}

.btn-primary:hover {
  background: #00848d;
}

.slider-controls {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.5rem;
}

.slider-controls .dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  cursor: pointer;
  transition: background var(--transition-speed);
}

.slider-controls .dot.active {
  background: var(--primary-color);
}

/* Manufacturer Section */
.manufacturers {
  padding: 4rem 0;
  background: #fff;
}

.manufacturers h2 {
  text-align: center;
  margin-bottom: 2rem;
  color: var(--heading-color);
}

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

.manufacturer-card {
  position: relative;
  min-height: 290px;
  border: 1px solid #0f1a20;
  border-radius: var(--border-radius);
  padding: 1.5rem;
  background-color: #0a0f14;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  cursor: pointer;
  transition: transform var(--transition-speed), box-shadow var(--transition-speed), border-color var(--transition-speed);
}

.manufacturer-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0,0,0,0.18);
  border-color: rgba(0, 160, 166, 0.5);
}

.manufacturer-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(155,155,155,0.1) 0%, rgba(155,155,155,0) 38%, rgba(155,155,155,0.1) 100%);
}

.manufacturer-card h3 {
  margin-bottom: 0.45rem;
  font-size: 1.55rem;
  color: #fff;
  letter-spacing: 0.03em;
}

.manufacturer-card p {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.88);
  line-height: 1.5;
}

.manufacturer-card-content {
  position: relative;
  z-index: 1;
  width: 100%;
}

.manufacturer-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-top: 1rem;
  border-radius: 50%;
  background: rgba(0, 160, 166, 0.95);
  color: #fff;
  font-size: 1.2rem;
  box-shadow: 0 8px 18px rgba(0, 160, 166, 0.25);
}

/* Models Section */
.models {
  padding: 4rem 0;
  background: #fff;
}

.models .back-button {
  display: inline-block;
  margin-bottom: 1rem;
  background: none;
  border: none;
  color: var(--primary-color);
  font-weight: bold;
  cursor: pointer;
}

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

.model-card {
  border: 1px solid #eee;
  border-radius: var(--border-radius);
  overflow: hidden;
  background: var(--light-color);
  cursor: pointer;
  transition: transform var(--transition-speed), box-shadow var(--transition-speed);
}

.model-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.model-card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
}

.model-card .model-info {
  padding: 1rem;
}

.model-card h4 {
  margin-bottom: 0.5rem;
  color: var(--secondary-color);
}

.model-card .specs {
  font-size: 0.85rem;
  color: #666;
}

/* Model Details Section */
.model-details {
  padding: 4rem 0;
  background: #fff;
}

.model-details .back-button {
  display: inline-block;
  margin-bottom: 1rem;
  background: none;
  border: none;
  color: var(--primary-color);
  font-weight: bold;
  cursor: pointer;
}

.model-details-content {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
}

.model-details-content .image-container {
  flex: 1 1 400px;
}

.model-details-content .image-container img {
  width: 100%;
  border-radius: var(--border-radius);
}

.model-details-content .details {
  flex: 1 1 400px;
}

.model-details-content .details h2 {
  margin-bottom: 0.5rem;
  color: var(--secondary-color);
}

.model-details-content .details p {
  margin-bottom: 1rem;
}

.model-details-content .stats {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1rem;
}

.stat {
  flex: 1 1 120px;
  background: var(--light-color);
  border-radius: var(--border-radius);
  padding: 0.8rem;
  text-align: center;
  border: 1px solid #eee;
}

.stat h4 {
  font-size: 1.1rem;
  color: var(--primary-color);
}

.stat span {
  font-size: 0.8rem;
  color: #666;
}

.highlight-list {
  list-style: none;
  padding-left: 0;
}

.highlight-list li {
  margin-bottom: 0.5rem;
  padding-left: 1.2rem;
  position: relative;
}

.highlight-list li::before {
  content: '✓';
  color: var(--primary-color);
  position: absolute;
  left: 0;
  top: 0;
}

/* Services Section */
.services {
  padding: 4rem 0;
  background: var(--light-color);
}

.services h2 {
  text-align: center;
  margin-bottom: 2rem;
  color: var(--heading-color);
}

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

.service-card {
  background: #fff;
  border-radius: var(--border-radius);
  padding: 2rem;
  text-align: center;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
  transition: transform var(--transition-speed), box-shadow var(--transition-speed);
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.service-card .icon {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: var(--primary-color);
}

.service-card h3 {
  margin-bottom: 0.5rem;
  color: var(--secondary-color);
}

.service-card p {
  font-size: 0.9rem;
  color: #666;
}

/* Dealer Process Section */
.dealer-process {
  padding: 4rem 0;
  background: #fff;
}

.dealer-process h2 {
  text-align: center;
  margin-bottom: 2rem;
  color: var(--heading-color);
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.5rem;
}

.step {
  background: var(--light-color);
  border-radius: var(--border-radius);
  padding: 2rem;
  text-align: center;
  border: 1px solid #eee;
}

.step-number {
  width: 40px;
  height: 40px;
  margin: 0 auto 1rem auto;
  border-radius: 50%;
  background: var(--primary-color);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
}

.step h3 {
  margin-bottom: 0.5rem;
  color: var(--secondary-color);
  font-size: 1rem;
}

.step p {
  font-size: 0.85rem;
  color: #666;
}

/* Call to Action Section */
.cta {
  padding: 4rem 0;
  background: var(--primary-color);
  color: #fff;
  text-align: center;
}

.cta h2 {
  margin-bottom: 1rem;
  font-size: 2rem;
}

.cta p {
  margin-bottom: 2rem;
  font-size: 1.1rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta .btn-primary {
  background: #fff;
  color: var(--primary-color);
  font-weight: bold;
}

.cta .btn-primary:hover {
  background: #e6e6e6;
}

/* Footer */
.footer {
  background: var(--secondary-color);
  color: #fff;
  padding: 2rem 0;
  font-size: 0.9rem;
}

.footer a {
  color: var(--primary-color);
  text-decoration: none;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  text-align: center;
}

/* Hidden helper class */
.hidden {
  display: none;
}