@charset "utf-8";
/* CSS Document */

.gsproductmenu-container {
  position: relative;
  width: 100%;
  height: 575px;
  display: flex;
  background-color: #2e383c;
  padding: 20px;
}

.gsproductmenu-panel-wrapper {
  display: flex;
  width: 100%;
  height: 100%;
  gap: 20px;
}

.gsproductmenu-panel {
  position: relative;
  height: 100%;
  overflow: hidden;
  transition: flex 0.7s ease;
  flex: 1;
  border-radius: 20px;
  cursor: pointer;
  filter: grayscale(100%);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.gsproductmenu-panel.gsproductmenu-active {
  flex: 0 0 70%; /* Active panel takes 70% width */
  filter: grayscale(0%);
}

.gsproductmenu-panel:not(.gsproductmenu-active) {
  flex: 0 0 15%; /* Inactive panels take 15% width each */
}

.gsproductmenu-panel-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  transition: transform 0.7s ease;
}

.gsproductmenu-panel:hover .gsproductmenu-panel-bg {
  transform: scale(1.05);
}

.gsproductmenu-logo-container {
  position: relative;
  width: 100%;
  display: flex;
  justify-content: center;
  padding-top: 40px;
  z-index: 10;
}

/* Specific logo classes */
.gsproductmenu-board-logo,
.gsproductmenu-knowledge-logo,
.gsproductmenu-bidding-logo {
  width: 204px;
  height: auto;
  filter: none;
  transition: transform 0.7s ease;
}

.gsproductmenu-content {
  position: relative;
  color: white;
  z-index: 10;
  text-align: center;
  width: 80%;
  margin: auto;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease 0.4s, transform 0.5s ease 0.4s;
  visibility: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  margin-top: auto;
  margin-bottom: 40px;
}

.gsproductmenu-active .gsproductmenu-content {
  opacity: 1;
  transform: translateY(0);
  visibility: visible;
}

.gsproductmenu-heading {
  font-size: 2.2rem;
  letter-spacing: 2px;
  margin-bottom: 15px;
  font-weight: 300;
  text-transform: uppercase;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.9);
  color: #FFF;
}

.gsproductmenu-paragraph {
  font-size: 1.7rem;
  margin-bottom: 20px;
  line-height: 1.5;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
  color: #FFF;
	font-weight: 400;
}

.gsproductmenu-btn {
  display: inline-block;
  padding: 12px 25px;
  background-color: rgba(105, 217, 185, 0.85);
  color: white;
  text-decoration: none;
  border-radius: 30px;
  font-weight: 600;
  transition: background-color 0.3s ease;
	 transition: background-color 0.3s ease, transform 0.3s ease;
}

.gsproductmenu-btn:hover {
  background-color: #2e383c;
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* Overlay to darken images slightly */
.gsproductmenu-panel::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.2) 50%, rgba(0,0,0,0.1) 100%);
  z-index: 1;
}

/* Background colors for preview */
#panel1 .gsproductmenu-panel-bg {
  background-color: #336699;
}

#panel2 .gsproductmenu-panel-bg {
  background-color: #669933;
}

#panel3 .gsproductmenu-panel-bg {
  background-color: #993366;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .gsproductmenu-container {
    height: auto;
    min-height: 575px;
  }
  
  .gsproductmenu-panel-wrapper {
    flex-direction: column;
  }
  
  .gsproductmenu-panel {
    height: 150px;
  }
  
  .gsproductmenu-panel.gsproductmenu-active {
    height: 350px;
    flex: 0 0 350px;
  }
  
  /* Reset flex basis for mobile */
  .gsproductmenu-panel:not(.gsproductmenu-active) {
    flex: auto;
  }
  
  .gsproductmenu-heading {
    font-size: 2rem;
  }
  
  .gsproductmenu-paragraph {
    font-size: 1.5rem;
  }
  
  .gsproductmenu-board-logo,
  .gsproductmenu-knowledge-logo,
  .gsproductmenu-bidding-logo {
    width: 204px;
  }
}

/* Additional CSS for mobile view */
@media (max-width: 768px) {
  .gsproductmenu-panel {
    margin-bottom: 20px;
    height: auto;
    min-height: 300px;
  }
  
  /* Force all panels to be visible and colorful in mobile view */
  .gsproductmenu-panel.gsproductmenu-mobile-view {
    filter: grayscale(0%) !important;
  }
  
  .gsproductmenu-panel.gsproductmenu-mobile-view .gsproductmenu-content {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateX(0) !important;
    pointer-events: all !important;
  }
}

@media (max-width: 768px) {
  .gsproductmenu-panel {
    transition: none; /* Remove transition on mobile */
    margin-bottom: 20px;
    height: auto;
    min-height: 360px;
  }
  
  .gsproductmenu-panel.gsproductmenu-active {
    transition: none; /* Also remove transition for active panel */
    height: auto; /* Allow height to be determined by content */
    min-height: 450px;
  }
  
  /* Force all panels to be visible and colorful in mobile view */
  .gsproductmenu-panel {
    filter: grayscale(0%) !important; /* Always show in color on mobile */
  }
  
  .gsproductmenu-content {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
    transition: none; /* Remove transition for content */
  }
}

@media (max-width: 500px) {
  .gsproductmenu-panel {

    min-height: 450px;
  }
  
  .gsproductmenu-panel.gsproductmenu-active {

    min-height: 490px;
  }
  
 
}