/* Fixed/sticky icon bar (vertically aligned 50% from the top of the screen) */
.icon-bar {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1000; /* Ensure the icon bar is above other content */
}

/* Style the icon bar links */
.icon-bar a {
  display: block;
  text-align: center;
  padding: 16px;
  transition: all 0.3s ease;
  color: white;
  font-size: 20px;
}

/* Style the social media icons with color, if you want */
.icon-bar a:hover {
  background-color: #000;
}

.facebook {
  background: #3b5998;
  color: white;
}

.twitter {
  background: #55acee;
  color: white;
}

.google {
  background: #dd4b39;
  color: white;
}

.linkedin {
  background: #007bb5;
  color: white;
}

.youtube {
  background: #bb0000;
  color: white;
}

.instagram {
  background: #e4405f;
  color: white;
}

.whatsapp {
  background: #25d366;
  color: white;
}

/* Media query for mobile devices */
@media (max-width: 768px) {
  .icon-bar {
    bottom: 0;
    top: auto; /* Remove the fixed top position */
    transform: none; /* Remove the vertical centering */
    width: 100%; /* Ensure the icon bar spans the width of the screen */
  }

  .icon-bar a {
    width: 12.5%; /* Adjust width to fit all icons in one row */
    float: left; /* Align the icons horizontally */
  }
}

/* Lightbox Styles */
.lightbox {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  z-index: 1000;
}

.lightbox-content {
  position: relative;
  width: 80%;
  max-width: 900px;
  margin: 50px auto;
  text-align: center;
  color: white;
}

.lightbox-close {
  position: absolute;
  top: 10px;
  right: 15px;
  color: white;
  font-size: 30px;
  cursor: pointer;
}

.lightbox-prev,
.lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: white;
  font-size: 40px;
  cursor: pointer;
  user-select: none;
  padding: 10px;
}

.lightbox-prev {
  left: 10px;
}

.lightbox-next {
  right: 10px;
}

#lightbox-img {
  max-width: 100%;
  max-height: 80vh;
}
