/* Reset some default styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: #b3dceb;
  color: #333;
  padding: 20px;
  text-align: center;
  transition: opacity 0.5s ease;
}

/* Logo */
.logo-container {
  background-color: #ffe8b3; /* soft light yellow-gold */
  padding: 20px 40px;
  border-radius: 20px;
  display: inline-block;
  animation: goldPulse 3s infinite ease-in-out;
  box-shadow: 0 0 15px rgba(255, 215, 0, 0.6);
}

.logo-top img {
  width: 300px;
  height: auto;
  margin-bottom: 20px;
  border-radius: 20px;
  animation: goldPulse 3s infinite ease-in-out;
}

/* Search Wrapper (logo, search bar and magnifier button) */
.search-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 55px;
  margin-bottom: 40px; /* <<< add this to create space! */
}

/* Search Bar */
#searchInput {
  width: 600px; /* <<< Make the search bar wider! */
  height: 50px;
  padding: 12px 20px;
  font-size: 16px;
  border: 2px solid #ccc;
  border-radius: 8px;
  outline: none;
  transition: all 0.3s ease;
}

/* Make it responsive for smaller screens */
@media (max-width: 768px) {
  #searchInput {
    width: 80%; /* Adapt on phones and tablets */
  }
}

/* Search Button (magnifying glass) */
.search-button {
  background: none;
  border: none;
  margin-left: 8px;
  cursor: pointer;
}

.logo-magnify {
  width: 50px;
  height: 50px;
}

/* Product Grid */
.product-area {
    background-color: #e6e6e6; /* soft light grey */
    border-radius: 15px;
    padding: 30px 20px;
    margin: 30px auto;
    width: 95%;
    max-width: 2540px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
.product-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
  margin-bottom: 20px;
}

.product-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* Push button to the bottom */
    align-items: center;
    width: 250px;
    height: 370px; /* 👈 Fixed height for all cards */
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    padding: 20px;
    transition: transform 0.3s;
}

.product-card img {
    max-width: 100%;
    max-height: 160px; /* 👈 Limit image size */
    object-fit: contain;
}

.product-card h2 {
    font-size: 1rem;
    text-align: center;
    margin: 10px 0;
    flex-grow: 1; /* 👈 Fills empty space if text is short */
}
.price-button {
    display: inline-block;
    background-color: #007bff; /* Nice blue */
    color: #fff;
    text-decoration: none; /* Remove underline */
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 0.9rem;
    margin-top: auto; /* Push it down to the bottom of card */
    transition: background-color 0.3s, transform 0.3s;
}

.price-button:hover {
    background-color: #0056b3; /* Darker blue on hover */
    transform: scale(1.05); /* Slight pop effect */
}
/* Bottom Section (review + stars) */
.bottom-section {
  margin-top: 10px;
}
.review-section {
  background-color: rgba(1, 1, 25, 0.65);
  border-radius: 10px;
  padding: 20px;
  margin-top: 40px;
  margin-bottom: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.review-link {
  font-size: 1.3rem;
  font-weight: bold;
  color: rgb(255, 234, 162);
  text-decoration: none;
  display: block;
  margin-bottom: 10px;
}

.review-link:hover {
  text-decoration: underline;
}

/* Star Rating */
.star-rating {
  display: flex;
  justify-content: center;
  margin-top: 8px;
}

.star {
  font-size: 2rem;
  color: #ccc;
  cursor: pointer;
  transition: color 0.3s ease;
}

.star.hover,
.star.selected {
  color: gold;
}

/* Footer */
.site-footer {
  margin-top: 20px;
  padding: 10px 0;
  font-size: 0.9rem;
  background-color: rgba(1, 1, 25, 0.30);
  border-radius: 8px;
}
@keyframes goldPulse {
  0% {
    box-shadow: 0 0 5px rgba(255, 215, 0, 0.4), 0 0 15px rgba(255, 215, 0, 0.3);
    background-color: #ffe8b3;
  }
  50% {
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.9), 0 0 60px rgba(255, 215, 0, 0.8);
    background-color: #ffeb99; /* slightly brighter yellow at pulse peak */
  }
  100% {
    box-shadow: 0 0 5px rgba(255, 215, 0, 0.4), 0 0 15px rgba(255, 215, 0, 0.3);
    background-color: #ffe8b3;
  }
}

