/* =========================
   CATEGORY PAGE BASE STYLES
   ========================= */

/* Gradient background and centered layout */
.category-page {
  background: linear-gradient(135deg, #000, #3498db);
  flex: 1; /* Fill the remaining space in main */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px; /* Reduced padding to avoid extra height */
  box-sizing: border-box;
  min-height: calc(100vh - 140px);
}


/* Heading styling */
.category-page h1 {
  margin-bottom: 20px;
  color: #fff;
  font-size: 2.5rem;
}

/* Container for the grid */
.packages-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

/*
  Grid for package cards.
  Here we use a fixed column width (280px) so cards won’t stretch.
*/
/* Same layout as .categories-grid */
/* Packages Grid (identical to categories grid) */
/* Packages Grid: Fixed card width of 300px with a 20px gap */
.packages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, 300px);
  gap: 20px;
  justify-content: center;
  margin: 20px auto;
  max-width: 1200px;
}

/* Package Card: Fixed dimensions 300px x 283.91px */
.package {
  width: 300px;
  height: 283.91px;
  background-color: #1e1e1e;
  border: 2px solid #3498db;
  border-radius: 10px;
  padding: 10px; /* Adjust padding as needed */
  box-sizing: border-box;
  text-align: center;
  overflow: hidden; /* Hide overflowing content */
  transition: transform 0.3s;
}
.package:hover {
  transform: scale(1.05);
}

/* Package Image: Fixed height for images, adjust margin for spacing */
.package img {
  height: 120px;
  width: auto;
  margin-bottom: 10px;
  border-radius: 5px;
  object-fit: contain;
}

/* Package Title */
.package h3 {
  margin: 5px 0;
  font-size: 1.3rem;
}

/* Optional: Style for the 'View More' button can remain the same */
/*.cta-button,
.view-more-btn {
  display: inline-block;
  margin-top: 10px;
  padding: 8px 16px;
  background-color: #3498db;
  color: #fff;
  border-radius: 5px;
  text-decoration: none;
  transition: background-color 0.3s, color 0.3s;
}
.cta-button:hover,
.view-more-btn:hover {
  background-color: #fff;
  color: #3498db;
}
*/



/* If using a wrapper for images */
.category-img img {
  height: 120px;
  width: auto;
  margin-bottom: 15px;
  border-radius: 5px;
  object-fit: contain;
}

/* Package title */
.package h3 {
  margin-top: 0;
  font-size: 1.5rem;
}

/* Button styling */
/*.cta-button {
  display: inline-block;
  margin-top: 15px;
  padding: 10px 20px;
  background-color: #3498db;
  color: #fff;
  border-radius: 5px;
  text-decoration: none;
  transition: background-color 0.3s, color 0.3s;
}
.cta-button:hover {
  background-color: #fff;
  color: #3498db;
}
*/