/* ===== Global Reset ===== */
body {
  font-family: Arial, sans-serif;
  background: #0d0d0d;
  color: #e6e6e6;
  margin: 0;
  padding: 0;
}

/* ===== Header ===== */
header {
  text-align: center;
  padding: 2rem;
}
header h1 {
  font-size: 2rem;
  color: #ff0033;
  text-transform: uppercase;
  letter-spacing: 2px;
}
header p {
  color: #b3b3b3;
}

/* ===== Navigation Bar ===== */
nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
  background: #1a1a1a;
  padding: 1rem;
  border-bottom: 1px solid #333;
}
nav a {
  background: #0d0d0d;
  color: #e6e6e6;
  text-decoration: none;
  padding: 0.5rem 1.2rem;
  border-radius: 6px;
  border: 1px solid #333;
  transition: background 0.3s, transform 0.3s;
}
nav a:hover {
  background: #ff0033;
  color: #fff;
  transform: scale(1.05);
}

/* ===== Main Content ===== */
main {
  max-width: 1200px;
  margin: 2rem auto;
  padding: 1rem;
  text-align: center;
}
main h2 {
  font-size: 1.6rem;
  color: #ffcc00;
  margin-bottom: 1rem;
}
main p {
  color: #ccc;
  margin-bottom: 2rem;
}

/* ===== Gallery Grid ===== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.gallery-grid a {
  display: block;
  overflow: hidden;
  border-radius: 10px;
  border: 2px solid #333;
  transition: transform 0.3s, box-shadow 0.3s;
}
.gallery-grid img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}
.gallery-grid a:hover {
  transform: scale(1.05);
  box-shadow: 0 0 15px #ff0033;
}

/* ===== Product Grid (Shop Pages) ===== */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.product-card {
  background: #1a1a1a;
  border: 1px solid #333;
  border-radius: 10px;
  overflow: hidden;
  transition: box-shadow 0.3s, transform 0.3s;
  text-align: center;
  position: relative;
  padding-bottom: 1rem;
}
.product-card:hover {
  box-shadow: 0 0 15px #ff0033;
  transform: translateY(-5px);
}
.product-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}
.product-card h3 {
  margin: 0.5rem 0 0.3rem 0;
  font-size: 1.2rem;
  color: #ffcc00;
}
.main-price {
  color: #ff0033;
  font-weight: bold;
  margin-bottom: 0.5rem;
}
.price-grid {
  display: none;
  margin: 0.5rem 0;
  font-size: 0.9rem;
  color: #ccc;
  text-align: left;
  padding: 0 1rem;
}
.product-card:hover .price-grid {
  display: block;
}
.price-grid label {
  display: block;
  margin: 0.2rem 0;
  cursor: pointer;
}

/* ===== Buy Button ===== */
.buy-btn {
  display: inline-block;
  margin-top: 0.5rem;
  background: #ff0033;
  color: #fff;
  padding: 0.5rem 1.2rem;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s;
  cursor: pointer;
  border: none;
  width: 100%;
}
.buy-btn:hover {
  background: #cc0026;
}

/* ===== Footer ===== */
footer {
  text-align: center;
  padding: 2rem;
  font-size: 0.85rem;
  color: #666;
}
footer a {
  color: #999;
  text-decoration: none;
}
footer a:hover {
  color: #ff0033;
}

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .gallery-grid { grid-template-columns: 1fr; }
  .product-grid { grid-template-columns: 1fr; }
}
