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

body {
  font-family: Arial, sans-serif;
  background-color: #0b1d3a; /* Navy blue */
  color: #f2f2f2; /* Light text */
  padding: 20px;
  font-size: 19px; /* Scaled up for readability */
}

/* Header */
header {
  background-color: #2a2a2a;
  padding: 20px;
  text-align: center;
  color: #F0EAD6;
  text-shadow: 0 0 8px #00bfff;
  font-size: 2.4em; /* Increased from default */
  font-weight: bold;
}

/* Search Bar */
.search-bar {
  display: flex;
  justify-content: center;
  margin: 20px 0;
  flex-wrap: wrap;
}

.search-bar select {
  padding: 10px;
  background-color: #e6f2ff; /* Light bright blue */
  border: none;
  border-radius: 5px 0 0 5px;
  color: #000;
}

.search-bar input[type="text"] {
  padding: 10px;
  width: 300px;
  border: none;
}

.search-bar button,
.search-bar input[type="submit"] {
  padding: 10px 20px;
  background-color: #3CB371; /* Medium green */
  color: white;
  border: none;
  border-radius: 0 5px 5px 0;
  cursor: pointer;
}

/* Product Grid */
.product-grid,
.container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 40px;
  margin-top: 20px;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

/* Product Card */
.card,
.product-box {
  background-color: #1e3a5f; /* Bright blue box face */
  padding: 22px;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 0 10px #000;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 420px; /* Scaled up for visual balance */
  overflow: hidden;
}

.card:hover,
.product-box:hover {
  transform: scale(1.05);
  box-shadow: 0 0 20px #00ffff; /* Neon glow */
}

/* Ensure links inside boxes don't flash blue */
.card a,
.product-box a {
  text-decoration: none;
  color: inherit;
}

/* Product Images */
.product-box img {
  max-height: 260px;
  object-fit: contain;
  margin-bottom: 10px;
  border-radius: 4px;
}

/* Product Text */
.product-box p {
  font-size: 1.15em;
  line-height: 1.3;
  margin: 0;
  padding: 0 5px;
}

/* Badge */
.badge {
  background-color: #3CB371; /* Medium green */
  color: white;
  padding: 5px 10px;
  border-radius: 20px;
  font-size: 0.9em;
  margin-bottom: 10px;
  display: inline-block;
  box-shadow: 0 2px 5px rgba(0,0,0,0.3);
}

/* Footer */
footer {
  background-color: #2a2a2a; /* Match header */
  color: gold; /* Gold tribute text */
  text-align: center;
  padding: 20px;
  margin-top: 40px;
  font-size: 0.9em;
}

