body {
  font-family: Arial, sans-serif;
  background-color: #1c1c1c; /* Black background */
  color: white;
  margin: 0;
  padding: 0;
}

.hero img {
  width: 100%;
  height: auto;
}

/* --------------------------------- Color Bars ------------------------------------*/
.color-bar {
  height: 10px;
}

.purple-bar {
  background-color: #800080;
}

.gold-bar {
  background-color: #f1c40f;
}


/* ------------------------------- Style the navbar --------------------------------*/
.navbar {
    display: flex;
    justify-content: flex-start;
    background-color: #333;
    padding: 8px 0; /* Reduce top and bottom padding */
    height: auto; /* Let it size naturally */
}

.navbar a {
    color: white;
    text-decoration: none;
    padding: 8px 15px;
    line-height: 1.2; /* Reduce spacing inside links */	
    font-size: 18px;
}

.navbar a:hover {
    background-color: #555;
    border-radius: 5px;
}


/* ------------------------------ Category Showcase ------------------------------*/
/* ------------------------------ Category Showcase ------------------------------*/
.category-showcase {
    text-align: center;
    padding: 20px; /* Keep spacing around */
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); /* Responsive */
    gap: 30px; /* Ensure uniform spacing between buttons */
    justify-items: center;
    align-items: start; /* Ensures grid items respect height properly */
}

/* Individual category buttons */
.category-item {
    border: 3px solid gold; /* Gold outline */
    text-align: center;
    background-color: #222;
    border-radius: 8px;
    padding: 15px;
    transition: border-color 0.3s;
    width: 220px; /* Match button size */
    height: auto; /* Allow flexibility for text wrapping */
    min-height: 250px; /* Prevent overlapping issues */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center; /* Centers content */
    box-sizing: border-box; /* Prevents height issues from padding */
}

/* Scale effect on hover */
.category-item:hover {
    border-color: purple; /* Purple on hover */
}

/* Make the entire button clickable */
.category-link {
    display: block;
    text-decoration: none;
    color: white;
}

/* Category images */
.category-item img {
    width: 160px; /* Adjusted for better proportion */
    height: 160px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 10px;
    flex-shrink: 0; /* Prevents image from resizing in flexbox */
}

/* Text under the images */
.category-item span {
    display: block;
    font-size: 16px;
    font-weight: bold;
    margin-top: auto; /* Pushes text to bottom */
}

/* Ensure proper stacking and spacing on smaller screens */
@media (max-width: 768px) {
    .category-showcase {
        grid-template-columns: 1fr; /* One column on small screens */
    }
}



/* -------------------------TITLE:  EXPLORE OUR PRODUCTS--------------- */
h1 {
    text-align: center;
    padding-left: 20px; /* Moves text away from left margin */
    padding-right: 20px; /* Keeps it balanced */
    margin-top: 20px; /* Add spacing from the color bar */
}

/* ------------------------ STARBURST ----------------------------------*/
#starburst {
  position: fixed; /* Keep it in place */
  top: 55px; /* Adjust this to align inside the banner */
  right: 15px; /* Adjust horizontal placement if needed */
  width: 80px; /* Keep consistent size */
  height: auto;
  z-index: 9999 !important; /* Ensure it's always on top */  
  transition: transform 0.1s linear; /* Smooth rotation */
  animation: glowPulse 1.5s infinite alternate; /* Add pulse effect */
}

@keyframes rotateStar {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@keyframes glowPulse {
  0%, 100% { filter: drop-shadow(0px 0px 8px gold); }
  50% { filter: drop-shadow(0px 0px 14px gold); } 
}

/* Shrink the starburst on smaller screens */
@media (max-width: 768px) {  
  #starburst {
    width: 65px;
    height: auto;
    will-change: transform; /* Optimize for smoother performance */
    z-index: 9999 !important; /* Ensure it stays on top even on mobile */	
  }

  #starburst-container {
    top: 165px; /* Adjust position slightly if needed */
    right: 15px;
  }  
}