/* General Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scrollbar-color: #555 #222; /* Thumb color, Track color */
}
/*Color list*/
/*white = #e3e3e3*/
/*black = #121212*/
/*highlight = #0084ff*/
/*unused silver = #b3b3b3*/
/*unused onyx = #424242*/

/* Body Styling */
body {
  padding-top: 80px; /* Adjust this to match your navbar's height */
  font-family: "Roboto", serif;
  /*background-image: url("/img/background.png");*/
  background-repeat: no-repeat;
  background-size: cover;
  color: #e3e3e3; /*white*/
  background-color: #121212;
}

/* Base Navbar Styling */
.header {
  background-image: url("/img/navbar-bg.png");
  background-repeat: repeat;
  background-size: cover;
  width: 100%;
  height: 70px; /* Fixed height prevents layout shift */
  padding: 10px 20px;
  position: fixed; /* Always fixed to prevent shifting */
  top: 0;
  left: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: opacity 0.5s ease-in-out;
}

/* Home button settings */
.header a.logo {
  font-size: 26px;
  font-weight: bold;
  color: #e3e3e3;
  text-decoration: none;
}
/*Blue Hover colour effect on home button AND dropdown list items*/
.header a:hover {
  color: #0084ff;
}

.header-right {
  display: flex;
  align-items: center;
}

/* Dropdown list position */
.dropdown {
  position: relative;
}

.dropbtn {
  background-color: transparent;
  color: #e3e3e3;
  text-align: center;
  padding: 20px 80px;
  font-size: 20px;
  font-weight: bold;
  border: none;
  cursor: pointer;
  border-image: linear-gradient(to bottom, #e3e3e3 0%, #000309 100%) 1;
  border-left-style: ridge;
}

/* Sticky Navbar */
.sticky {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  height: 70px; /* Ensures no layout shift */
}

/* Fade out background image when scrolling */
.scrolled {
  opacity: 0.2;
}

/* Fade back in when hovering */
.header:hover {
  opacity: 1 !important;
}

/* Hover effect for Main Menu buttons */
.dropbtn:hover {
  color: #0084ff;
}

/* Dropdown Content */
.dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  z-index: 1000;
}

.dropdown-content a {
  color: #e3e3e3;
  padding: 10px 15px;
  text-decoration: none;
  display: block;
}

.dropdown-content a:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

/* Show dropdown on hover over Main Menu buttons */
.dropdown:hover .dropdown-content {
  display: block;
}

/* Mobile Burger Menu */
.menu-toggle {
  display: none;
  font-size: 24px;
  background: none;
  border: none;
  color: #e3e3e3;
  cursor: pointer;
}

/* Mobile repsonsive CSS */
@media screen and (max-width: 768px) {
  .menu-toggle {
    display: block;
  }
	/* Mobile - */
  .header-right {
    display: none;
    flex-direction: column;
    width: 100%;
    background: rgba(0, 0, 0, 0.9);
    position: absolute;
    top: 60px;
    left: 0;
    padding: 10px 0;
  }
	/* Mobile - */
  .header-right.show {
    display: flex;
  }
	/* Mobile - */
  .dropdown {
    width: 100%;
    text-align: center;
  }
	/* Mobile - */
  .dropdown-content {
    position: relative;
    width: 100%;
    background: none;
  }
	/* Mobile - */
  .dropbtn {
    width: 100%;
    padding: 15px;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    border-bottom: 1px solid #e3e3e3;
  }
	/* Mobile - drop down list hover */
  .dropbtn:hover {
    color: #0084ff;
  }
	/* Mobile - */
  .dropdown-content a {
    padding: 12px;
    text-align: center;
    background: rgba(0, 0, 0, 0.9);
  }
}
