/* =====================================================
   Axial Power Energy — Products CSS
   Shared styles for all /products/*.html pages
   ===================================================== */

:root {
  --bg: #07080c;
  --card: #0c0f18;
  --text: #f2f5ff;
  --muted: rgba(242, 245, 255, 0.65);
  --line: rgba(242, 245, 255, 0.12);
  --accent: #ffd24a;
  --r: 18px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial,
    sans-serif;
  background: var(--bg);
  color: var(--text);
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

/* =====================================================
   PRODUCT LAYOUT
   ===================================================== */

.productLayout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 48px;
  padding: 64px 0;
}

/* =====================================================
   SIDE NAVIGATION
   ===================================================== */

.productNav {
  position: sticky;
  top: 120px;
  padding-left: 18px;
  border-left: 2px solid var(--line);
}

.productNav h4 {
  margin: 0 0 18px;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(242, 245, 255, 0.55);
}

.productNav a {
  display: block;
  padding: 8px 0;
  font-size: 14px;
  color: var(--muted);
  border-left: 2px solid transparent;
  padding-left: 10px;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.productNav a:hover {
  color: var(--text);
}

.productNav a.active {
  color: var(--accent);
  border-left-color: var(--accent);
}

/* =====================================================
   CONTENT
   ===================================================== */

.productContent h1 {
  font-size: 44px;
  letter-spacing: -0.02em;
  margin: 0 0 14px;
}

.lead {
  max-width: 60ch;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 40px;
}

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 26px;
  margin-bottom: 40px;
}

.card h2 {
  margin: 0 0 10px;
  font-size: 22px;
}

.card p {
  color: var(--muted);
  line-height: 1.6;
}

.card ul {
  margin: 14px 0 0;
  padding-left: 18px;
}

.card li {
  margin-bottom: 8px;
  color: var(--muted);
}

/* =====================================================
   PHOTO GRID + LIGHTBOX
   ===================================================== */

.photoGrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 18px;
}

.photoGrid img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 14px;
  cursor: pointer;
  transition: transform 0.25s ease;
}

.photoGrid img:hover {
  transform: scale(1.02);
}

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

.lightbox img {
  max-width: 92%;
  max-height: 92%;
  border-radius: 14px;
}

/* =====================================================
   DOWNLOAD LINKS (PDFs)
   ===================================================== */

.downloads {
  margin-top: 14px;
}

.downloads a {
  display: inline-block;
  margin-right: 18px;
  font-size: 13px;
  color: var(--accent);
}

.downloads a:hover {
  text-decoration: underline;
}

/* =====================================================
   RESPONSIVE
   ===================================================== */

@media (max-width: 900px) {
  .productLayout {
    grid-template-columns: 1fr;
  }

  .productNav {
    display: none;
  }

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

  .productContent h1 {
    font-size: 34px;
  }
}
.productContent h1 {
  font-family: "Playfair Display", serif;
}
