/* General Styles */
body {
  margin: 0;
  font-family: Arial, sans-serif;
  background-image: url(../img/texture-repeat.jpg);
  color: #fff;
}

.main-header {
  background-image: url(../img/texture-repeat.jpg);
  position: fixed;
  width: 100%;
  z-index: 1000;
  top: 0;
  left: 0;
}

/* Top Bar Styles */
.top-bar {
  display: flex;
  justify-content: space-around;
  align-items: center;
  width: 100%;
  margin: auto;
  padding: 10px 0;
  border-bottom: 1px solid #333;
}

.top-bar .left {
  display: flex;
  align-items: center;
  gap: 15px;
  width: 16%;
}

.top-bar .left button {
  background: none;
  border: none;
  cursor: pointer;
  position: relative;
  z-index: 150;
}

.top-bar .left select {
  background: #1d1d1d;
  color: #fff;
  border: 1px solid #555;
  padding: 5px 10px;
  border-radius: 4px;
}

.top-bar .left .main-menu {
  display: flex;
  gap: 15px;
}

.top-bar .left .main-menu a {
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  padding: 10px;
  border-radius: 5px;
}

.top-bar .left .main-menu a:hover {
  background-color: #333;
  color: #f76f01;
}

.top-bar .middle img {
  height: 50px;
}

.top-bar .right{
  width: 16%;
  text-align: right;
}

.top-bar .right button {
  background: none;
  border: none;
  cursor: pointer;
}

/* Side Menu Styles */
.main-menu {
  position: fixed;
  top: 0;
  left: -25%;
  width: 25%;
  height: 100%;
  background: #1d1d1d;
  display: flex;
  flex-direction: column;
  padding: 80px 20px;
  transition: left 0.4s ease;
  border-right: 1px solid #333;
  z-index: 50;
}

.main-menu a {
  padding: 12px 0;
  border-bottom: 1px solid #333;
  color: #fff;
  text-decoration: none;
}

.main-menu a:hover {
  color: #f76f01;
}

.main-menu.show {
  left: 0;
}

/* Bottom Bar (Second Menu) */
.bottom-bar {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #1d1d1d;
  padding: 10px 0;
  border-bottom: 1px solid #333;
  flex-wrap: wrap;
  gap: 15px;
}

.bottom-bar a, .bottom-bar p {
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  padding: 8px 12px;
  border-radius: 4px;
  transition: background 0.3s ease, color 0.3s ease;
  margin: 0;
}

.bottom-bar a:hover,
.bottom-bar a.active {
  background-color: #333;
  color: #f76f01;
}

/* Mobile Button for Bottom Bar */
.bottom-bar-toggle {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 14px;
  padding: 10px 15px;
  cursor: pointer;
}

/* Mobile Responsive Styles */
@media (max-width: 991px) {
    .top-bar{
        justify-content: space-between;
    }
  .top-bar .left .main-menu {
    display: flex;
    width: 100%;
    left: -100%;
  }
  .top-bar .left .main-menu.show{
    left: 0px;
  }

  .top-bar .left select {
    display: none;
  }
}

@media (max-width: 768px) {
  .top-bar .middle img {
    height: 40px;
  }

  .bottom-bar-toggle {
    display: block;
    text-align: center;
    width: 100%;
  }

  .bottom-bar {
    flex-direction: column;
    align-items: flex-start;
    max-height: 0;
    overflow: hidden;
    padding: 0 20px;
    transition: max-height 0.4s ease, padding 0.4s ease;
  }

  .bottom-bar.show {
    max-height: 500px;  /* Enough to fit all items */
    padding: 10px 20px;
  }

  .bottom-bar a {
    width: 100%;
    padding: 10px 0;
  }
}
