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

/* Body */
body {
  font-family: 'Orbitron', sans-serif;
  background: linear-gradient(135deg, #0f0c29, #302b63, #24243e);
  color: #fff;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Header */
.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  background: rgba(0,0,0,0.8);
  border-bottom: 2px solid #ff00cc;
  position: relative;
}

.logo a {
  font-family: 'Press Start 2P', cursive;
  font-size: 1.4rem;
  color: #ff00cc;
  text-decoration: none;
  text-shadow: 0 0 8px #ff00cc;
}

.logo img {
  height: 30px;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.nav-menu #nav-links {
  display: flex;
  gap: 1rem;
}

.nav-menu a {
  color: #00eaff;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.nav-menu a:hover {
  color: #ff00cc;
}

.cart {
  display: flex;
  align-items: center;
  background: #111;
  padding: 0.4rem 0.8rem;
  border-radius: 20px;
  border: 1px solid #ff00cc;
  margin-left: 1rem;
}

.cart span {
  font-weight: bold;
  color: #00ff99;
}

.hamburger {
  display: none;
  font-size: 1.8rem;
  cursor: pointer;
}

/* Product Showcase */
.product-detail {
  max-width: 1200px;
  margin: 2rem auto;
  padding: 0 1rem;
}

.product-showcase {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
}

.product-image {
  flex: 1 1 400px;
  padding: 1rem;
  background: rgba(0,0,0,0.85);
  border-radius: 12px;
  box-shadow: 0 0 10px #00eaff, 0 0 15px #ff00cc;
}

.product-image img {
  width: 100%;
  border-radius: 12px;
}

.product-description {
  flex: 1 1 400px;
}

.product-description h2 {
  color: #00eaff;
  text-shadow: 0 0 8px #00eaff;
  margin-bottom: 1rem;
}

.product-description p, .product-description ul {
  margin-bottom: 1rem;
}

.product-description ul {
  list-style: disc;
  margin-left: 1.5rem;
}

.product-description button {
  background: #ff00cc;
  border: none;
  color: #fff;
  padding: 0.7rem 1.5rem;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.product-description button:hover {
  background: #00eaff;
  transform: scale(1.05);
}

/* Calculator Section */
.calculator-section {
  background: rgba(0,0,0,0.85);
  padding: 2rem;
  margin-top: 2rem;
  border-radius: 12px;
  box-shadow: 0 0 10px #00eaff, 0 0 15px #ff00cc;
}

.calculator-section h3 {
  color: #ff00cc;
  text-align: center;
  margin-bottom: 1rem;
  text-shadow: 0 0 6px #ff00cc;
}

.calculator label {
  display: block;
  margin-top: 1rem;
  color: #00eaff;
}

.calculator select {
  width: 100%;
  padding: 0.5rem;
  background: #111;
  color: #00eaff;
  border: 1px solid #ff00cc;
  border-radius: 8px;
  margin-top: 0.5rem;
}

.total {
  margin-top: 1.5rem;
  font-size: 1.2rem;
  color: #00ff99;
  text-align: center;
}

.button {
  display: block;
  width: 100%;
  padding: 0.75rem;
  margin-top: 1rem;
  background: #ff00cc;
  border: none;
  border-radius: 8px;
  color: #fff;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.button:hover {
  background: #00eaff;
  transform: scale(1.05);
}

/* Footer */
.site-footer {
  background: rgba(0,0,0,0.85);
  border-top: 2px solid #ff00cc;
  text-align: center;
  padding: 1rem;
  margin-top: auto;
}

/* Responsive */
@media (max-width: 768px) {
  .product-showcase {
    flex-direction: column;
    gap: 1rem;
  }

  .product-image, .product-description {
    flex: 1 1 100%;
  }

  .hamburger {
    display: block;
  }

  #nav-links {
    display: none;
    flex-direction: column;
    gap: 1rem;
    position: absolute;
    top: 100%;
    right: 0;
    background: rgba(0,0,0,0.9);
    padding: 1rem;
    border: 1px solid #ff00cc;
    border-radius: 8px;
  }

  #nav-links.active {
    display: flex;
  }
}

@media (max-width: 768px) {
  .nav-menu #nav-links {
    position: absolute;
    top: 100%;
    right: 0;
    background: rgba(0,0,0,0.95);
    flex-direction: column;
    width: 220px;
    display: none;          /* 👈 HIDDEN BY DEFAULT */
    padding: 1rem;
    border: 1px solid #ff00cc;
    border-radius: 8px;
    z-index: 1000;
  }
  .nav-menu #nav-links.active {
    display: flex;          /* 👈 ONLY SHOW WHEN ACTIVE */
  }

}

@media (max-width: 480px) {
  .product-detail {
    padding: 0 0.5rem;
  }

  .product-description h2 {
    font-size: 1.2rem;
  }

  .calculator-section {
    padding: 1rem;
  }
}

.calculator input,
.calculator textarea {
  width: 100%;
  padding: 0.6rem;
  margin-top: 0.5rem;
  background: #111;
  color: #00eaff;
  border: 1px solid #ff00cc;
  border-radius: 8px;
  font-family: 'Orbitron', sans-serif;
}

.calculator textarea {
  resize: vertical;
}

/* ========================= */
/* IMAGE SLIDER (FINAL) */
/* ========================= */

.image-slider {
  position: relative;
  width: 100%;
  height: 500px;
  overflow: hidden;
  border-radius: 12px;
}

/* Images */
.image-slider img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;          /* FULL BLEED */
  opacity: 0;
  transition: opacity 0.4s ease;
}

.image-slider img.active {
  opacity: 1;
}

/* Buttons */
.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;

  background: rgba(0,0,0,0.55);
  border: 2px solid #00eaff;
  color: #00eaff;
  font-size: 1.8rem;
  padding: 0.25rem 0.55rem;
  cursor: pointer;
  border-radius: 10px;

  opacity: 0;
  pointer-events: none;

  transition: 
    opacity 0.2s ease,
    transform 0.2s ease,
    background 0.2s ease;
}

/* Show arrows on hover */
.image-slider:hover .slider-btn {
  opacity: 1;
  pointer-events: auto;
}

.slider-btn:hover {
  background: #00eaff;
  color: #000;
  transform: translateY(-50%) scale(1.1);
}

.slider-btn.prev {
  left: 12px;
}

.slider-btn.next {
  right: 12px;
}

/* Mobile */
@media (max-width: 768px) {
  .image-slider {
    height: 220px;
  }

  .slider-btn {
    font-size: 1.5rem;
  }
}
