/* Header Styles */

#header-container {
    position: fixed; /* Make the header fixed */
    top: 0; /* Position it at the top */
    left: 0; /* Align it to the left */
    width: 100%; /* Make it full width */
    background-color: white; /* Set a background color */
    z-index: 1000; /* Ensure it stays above other content */
    padding: 0px; /* Add some padding for aesthetics */
    
}

body {
    padding-top: 130px; /* Add padding to the top of the body to prevent content from hiding behind the fixed header */
}




.product-banner {
  position: relative;
  width: 100%;
  height: 300px;
  min-height: 200px;
  max-height: 4000px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 10px 0 15px 0;
  border-radius: 12px;
  overflow: hidden;
}

.product-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.18); /* Soft dark overlay */
  z-index: 1;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;

}

.product-overlay img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 50%;
  display: block;
  opacity: 0.75;

}

.product-content {
  position: relative;
  z-index: 2;
  width: 100%;
  text-align: center;
  color: #ffffff;
  padding: 40px 10px;
}

.product-title {
  font-size: 60px;
  font-weight: 700;
  margin: 0 0 5px 0;
  letter-spacing: 2px;
}

.product-subtitle {
  font-size: 18px;
  font-weight: 400;
  margin: 0;
  letter-spacing: 1px;
}

@media (max-width: 700px) {
  .product-title {
    font-size: 32px;
  }
  .product-subtitle {
    font-size: 16px;
  }
  .product-content {
    padding: 24px 4px;
  }
}




/* Categories Section */

.handicraft-categories {
  padding: 20px 0;
}

.heading {
  text-align: center;
  font-size: 40px;
  padding-bottom: 30px;
}


.categories-grid {
  display: grid;
  grid-template-columns: repeat(9, 1fr); /* 9 per row */
  gap: 40px 40px;
  max-width: 1200px;
  margin: 0 135px;
  justify-items: center;
  margin: 0 auto;
  justify-content: center; /* This ensures centering when there are fewer items */
}

.category img {
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid #222;
  background: #fff;
  box-shadow: 0 4px 24px rgba(0,0,0,0.4);
  transition: transform 0.3s, box-shadow 0.3s;
}

.category img:hover {
  transform: scale(1.07);
  box-shadow: 0 8px 32px rgba(0,0,0,0.6);
}

.category-label {
  text-align: center;
  margin-top: 10px;
  font-size: 18px;
  color: #000000;
  letter-spacing: 1px;
}

@media (max-width: 1200px) {
  .categories-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 900px) {
  .categories-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 600px) {
  .categories-grid {
    grid-template-columns: 1fr;
  }
}




/* Featured Section */

.featured-section {
  text-align: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 30px;
}

/* Heading */
.heading {
  font-size: 32px;
  padding-bottom: 20px;
}

/* Description */
.description {
  margin: 0 0 20px;
  font-size: 16px;
  font-family: Arial, sans-serif;
}

/* Button */
.buttons {
  margin-bottom: 30px;
}

.btn {
  display: inline-block;
  padding: 10px 20px;
  background-color: #000;
  color: white;
  text-decoration: none;
  border-radius: 5px;
  transition: background-color 0.3s;
}

.btn:hover {
  background-color: #ffffff;
  color: black;
  transform: translateY(-3px);
  box-shadow: 0 6px 10px rgba(0, 0, 0, 0.2);
}

/* Columns */
.columns {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0;
  justify-content: flex-start;
}

.column {
  flex: 0 1 calc(25% - 23px); /* 4 columns per row, accounting for gap */
  max-width: calc(25% - 23px);
  margin-bottom: 20px;
  padding: 20px 5px;
  border-radius: 5px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.column img {
  width: 240px;
  height: 250px;
  object-fit: cover;
  border-radius: 5px;
  margin-bottom: 16px;
  border: 4px solid #222;
}

.column h3 {
  font-size: 20px;
  margin: 10px 0 6px 0;
  color: #222;
}

.column p {
  font-size: 15px;
  color: #555;
  margin: 0 0 10px 0;
  text-align: center;
}

.column .btn {
  margin-top: 10px; /* Ensure no extra margin above button */
}

@media (max-width: 1100px) {
  .column {
    flex: 0 1 calc(50% - 15px);
    max-width: calc(50% - 15px);
  }
}

@media (max-width: 900px) {
  .columns {
    flex-direction: column;
    gap: 20px;
  }
  .column {
    width: 100%;
    max-width: 350px;
    margin: 0 auto 20px auto;
  }
}

@media (max-width: 700px) {
  .column {
    flex: 0 1 100%;
    max-width: 100%;
  }
  .columns {
    gap: 20px;
  }
}
