@charset "utf-8";
/* CSS Document */
/* =====================
   hardware.css
   ===================== */

.hw-hero {
  text-align: center;
  padding: 80px 40px 40px 40px;
  position: relative;
  z-index: 1;
}

.hw-title {
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
               "Segoe UI", Roboto, sans-serif;
  font-size: 4em;
  color: ghostwhite;
  margin: 0 0 16px 0;
  background: linear-gradient(to right, #ffffff 0%, #ffffff 45%, #c040ff 65%, #a020f0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
	margin-top: -40px;
}

.hw-subtitle {
  color: #D8B4FF;
  font-family: system-ui, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 1.1em;
  max-width: 600px;
  margin: 0 auto;
}

.hw-content {
  display: flex;
  flex-direction: row;
  gap: 40px;
  padding: 40px;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  box-sizing: border-box;
  align-items: flex-start;
}

/* LEFT image column */
.hw-images {
  display: flex;
  flex-direction: column;
  gap: 20px;
  flex: 1.5;
}

.hw-img-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(160, 32, 240, 0.35);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.35),
              0 0 15px rgba(160, 32, 240, 0.08);
}

.hw-img-card img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.hw-img-card:hover img {
  transform: scale(1.03);
}

.hw-img-card span {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 10px 16px;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(6px);
  color: #D8B4FF;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
               "Segoe UI", Roboto, sans-serif;
  font-size: 13px;
}

/* RIGHT description boxes */
.hw-descriptions {
  display: flex;
  flex-direction: column;
  gap: 20px;
  flex: 1;
}

.hw-desc-box {
  padding: 24px;
  box-sizing: border-box;
  transition: box-shadow 0.4s ease, transform 0.4s ease;
}

.hw-desc-box:hover {
  box-shadow: 0 0 20px rgba(160, 32, 240, 0.3);
  transform: translateY(-3px);
}

.hw-desc-box h2 {
  font-size: 1.4em;
  padding-top: 0;
  margin-bottom: 10px;
  color: #D8B4FF;
}

.hw-desc-box p {
  color: #D8B4FF;
  font-size: 14px;
  line-height: 1.7;
  max-width: 100%;
}
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.lightbox.open {
  opacity: 1;
  pointer-events: all;
}

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.lightbox-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  transform: scale(0.9);
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.lightbox.open .lightbox-content {
  transform: scale(1);
}

#lightbox-img {
  max-width: 85vw;
  max-height: 80vh;
  object-fit: contain;
  border-radius: 16px;
  border: 1px solid rgba(160, 32, 240, 0.4);
  box-shadow: 0 0 40px rgba(160, 32, 240, 0.3),
              0 20px 60px rgba(0, 0, 0, 0.6);
}

.lightbox-caption {
	 font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
               "Segoe UI", Roboto, sans-serif;
  color: #D8B4FF;
  font-size: 14px;
  opacity: 0.8;
}

.lightbox-close {
  position: absolute;
  top: -16px;
  right: -16px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #a020f0;
  border: none;
  color: white;
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease, transform 0.3s ease;
}

.lightbox-close:hover {
  background: #c040ff;
  transform: scale(1.1);
}

.hw-img-card {
  cursor: pointer;
}

.hw-img-card:hover img {
  transform: scale(1.03);
}

