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

html {
  overflow-y: scroll; /* always-visible right-side scrollbar */
}

body {
  font-family: Arial, sans-serif;
  background-color: #f0f0f0;
}

.top-bar {
  background-color: #6b0000;
  height: 36px;
  width: 100%;
}

.navbar {
  background-color: #ffffff;
  padding: 10px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cart-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  display: flex;
  align-items: center;
}

.cart-icon {
  width: 108px;
  height: 108px;
  object-fit: contain;
}

.logo-area {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-box {
  width: 108px;
  height: 108px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: visible;
}

.logo-img {
  width: 216px;
  height: 216px;
  object-fit: contain;
  margin-left: 100px;
}

.company-name {
  font-size: 1.4rem;
  font-weight: bold;
  color: #1a1a1a;
}

.divider {
  height: 2px;
  background-color: #cccccc;
  width: 100%;
}

.hero-image {
  width: 100%;
  display: block;
  max-height: 480px;
  object-fit: cover;
}

/* ── Hero Slideshow ────────────────────────────────────────── */
.hero-slideshow {
  position: relative;
  width: 100%;
  height: 480px;        /* fixed height — container never collapses during transitions */
  overflow: hidden;
  background: #000;
}

.hero-slideshow .slide {
  position: absolute;   /* always absolute — container height is set explicitly */
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: 0;
  transform: translateX(100%);
  transition: transform 0.6s ease, opacity 0.6s ease;
}

.hero-slideshow .slide.active {
  opacity: 1;
  transform: translateX(0);
}

.hero-slideshow .slide.exit {
  opacity: 0;
  transform: translateX(-100%);
}

/* ── Panels section ────────────────────────────────────────── */
.panels-section {
  background: linear-gradient(to right, #1a1a1a 0%, #555 50%, #1a1a1a 100%);
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: flex-start;
  gap: 40px;
  padding: 40px 20px;
}

.panel {
  flex: 1;
  padding: 16px;
  border-radius: 4px;
  min-width: 0;
}

.panel-orange { background-color: #ff6600; }
.panel-yellow  { background-color: #ccff00; }

.panel-link {
  text-decoration: none;
  display: block;
  flex: 1;
  min-width: 0;
}

.panel-link .panel {
  flex: unset;
  min-width: unset;
  width: 100%;
}

.panel-link:hover .panel {
  filter: brightness(1.08);
}

.panel-title {
  text-align: center;
  font-size: 1rem;
  font-weight: bold;
  color: #1a1a1a;
  margin-bottom: 12px;
}

.panel-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.panel-img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background-color: #d9d9d9;
  border-radius: 2px;
  display: block;
}

/* ── Footer ────────────────────────────────────────────────── */
.site-footer {
  background-color: #6b0000;
  display: flex;
  justify-content: space-around;
  padding: 28px 40px;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.footer-heading {
  color: #ffffff;
  font-size: 0.9rem;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-link {
  color: #dddddd;
  text-decoration: none;
  font-size: 0.95rem;
}

.footer-link:hover {
  color: #ffffff;
  text-decoration: underline;
}

/* ── Home page actions ─────────────────────────────────────── */
.home-actions {
  display: flex;
  justify-content: center;
  padding: 32px 20px;
}

/* ── Shared button styles ──────────────────────────────────── */
.btn-primary {
  display: inline-block;
  background-color: #6b0000;
  color: #ffffff;
  font-size: 1rem;
  font-weight: bold;
  padding: 12px 28px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  text-decoration: none;
  transition: background-color 0.2s;
}

.btn-primary:hover {
  background-color: #900000;
}

.btn-secondary {
  display: inline-block;
  background-color: #e0e0e0;
  color: #1a1a1a;
  font-size: 0.95rem;
  font-weight: bold;
  padding: 10px 22px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  text-decoration: none;
  transition: background-color 0.2s;
}

.btn-secondary:hover {
  background-color: #cccccc;
}

/* ── Model Selection page ──────────────────────────────────── */
.model-page {
  max-width: 800px;
  margin: 0 auto;
  padding: 32px 20px;
  text-align: center;
}

.page-title {
  font-size: 1.8rem;
  color: #1a1a1a;
  margin-bottom: 24px;
}

.model-image-wrapper {
  width: 100%;
  min-height: 300px;
  background-color: #d9d9d9;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  margin-bottom: 28px;
  overflow: hidden;
}

.model-image {
  max-width: 100%;
  max-height: 400px;
  object-fit: contain;
  display: block;
}

/* Hide the broken-image icon when src is empty */
.model-image:not([src]), .model-image[src=""] {
  display: none;
}

.model-controls {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.back-link {
  margin-top: 8px;
}

.home-btn {
  display: inline-block;
  background-color: #6b0000;
  color: #ffffff;
  font-size: 0.9rem;
  font-weight: bold;
  padding: 8px 18px;
  border-radius: 4px;
  text-decoration: none;
  transition: background-color 0.2s;
}

.home-btn:hover {
  background-color: #900000;
}

