/* === Reset & Base === */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  background: #0a0a0a;
  color: #e0e0e0;
  line-height: 1.6;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }

/* === Header === */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(10, 10, 10, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logos {
  display: flex;
  align-items: center;
  gap: 16px;
}

.logo {
  height: 40px;
  width: auto;
}

.nav {
  display: flex;
  gap: 28px;
}

.nav a {
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #aaa;
  transition: color 0.3s;
}

.nav a:hover {
  color: #e63230;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 24px;
  cursor: pointer;
}

/* === Hero Slider === */
.hero {
  position: relative;
  height: 100vh;
  min-height: 500px;
  overflow: hidden;
}

.slider {
  position: absolute;
  inset: 0;
}

.slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.2s ease;
}

.slide.active {
  opacity: 1;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.3), rgba(0,0,0,0.7));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  z-index: 2;
}

.hero-overlay h1 {
  font-size: clamp(28px, 5vw, 56px);
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.hero-overlay p {
  font-size: clamp(16px, 2.5vw, 22px);
  color: #ccc;
  margin-bottom: 32px;
}

.btn {
  display: inline-block;
  padding: 14px 36px;
  border: 2px solid #e63230;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  transition: all 0.3s;
}

.btn:hover {
  background: #e63230;
}

.slider-dots {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 3;
}

.slider-dots .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  cursor: pointer;
  transition: background 0.3s;
}

.slider-dots .dot.active {
  background: #e63230;
}

/* === Sections === */
.section {
  padding: 80px 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.section-dark {
  max-width: 100%;
  background: #111;
}

.section-dark > .section-title,
.section-dark > .subsection-title,
.section-dark > .gallery,
.section-dark > .video-grid,
.section-dark > .downloads,
.section-dark > .contact-info {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.section-title {
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 700;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 48px;
  position: relative;
}

.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: #e63230;
  margin: 12px auto 0;
}

.subsection-title {
  font-size: 20px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 48px 0 24px;
  padding-left: 16px;
  border-left: 3px solid #e63230;
}

/* === Product Cards === */
.product-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
}

.product-card {
  background: #1a1a1a;
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
  display: block;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(230, 50, 48, 0.15);
}

.card-image {
  height: 280px;
  background-size: cover;
  background-position: center;
}

.card-body {
  padding: 24px;
}

.card-body h3 {
  font-size: 20px;
  margin-bottom: 8px;
  color: #fff;
}

.card-body p {
  color: #999;
  font-size: 14px;
}

/* === Gallery === */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 12px;
}

.gallery-item {
  border-radius: 4px;
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 4/3;
  background: #1a1a1a;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}

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

/* === Video Grid === */
.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}

.video-item video,
.video-item iframe {
  width: 100%;
  aspect-ratio: 16/9;
  border-radius: 6px;
  background: #000;
}

.video-item iframe {
  border: none;
}

/* === Downloads === */
.downloads {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.download-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: #1a1a1a;
  border: 1px solid #333;
  border-radius: 6px;
  color: #e0e0e0;
  font-size: 14px;
  transition: all 0.3s;
}

.download-btn:hover {
  border-color: #e63230;
  background: #222;
}

.dl-icon {
  font-size: 20px;
}

/* === Contact === */
.contact-section {
  text-align: center;
}

.contact-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.contact-email a {
  font-size: clamp(20px, 3vw, 32px);
  font-weight: 700;
  color: #e63230;
  transition: opacity 0.3s;
}

.contact-email a:hover {
  opacity: 0.8;
}

.contact-locations {
  font-size: 16px;
  color: #888;
  letter-spacing: 2px;
}

.contact-brand {
  font-size: 14px;
  color: #555;
  text-transform: uppercase;
  letter-spacing: 3px;
}

/* === Footer === */
.footer {
  text-align: center;
  padding: 24px;
  border-top: 1px solid #1a1a1a;
  color: #555;
  font-size: 13px;
}

/* === Lightbox === */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0,0,0,0.95);
  align-items: center;
  justify-content: center;
}

.lightbox.active {
  display: flex;
}

.lightbox-img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  background: none;
  border: none;
  color: #fff;
  font-size: 36px;
  cursor: pointer;
  padding: 12px;
  transition: opacity 0.3s;
  z-index: 2001;
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
  opacity: 0.7;
}

.lightbox-close { top: 16px; right: 24px; }
.lightbox-prev { left: 24px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 24px; top: 50%; transform: translateY(-50%); }

/* === Mobile === */
@media (max-width: 768px) {
  .nav { display: none; }
  .nav.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: rgba(10,10,10,0.97);
    padding: 20px 24px;
    gap: 16px;
  }
  .nav-toggle { display: block; }

  .gallery {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 8px;
  }

  .section { padding: 48px 16px; }

  .product-cards {
    grid-template-columns: 1fr;
  }

  .video-grid {
    grid-template-columns: 1fr;
  }
}
