/* The next 2 lines of CSS are the ones that standardized the hamburger menu being appropriately set in upper right */
/* These 2 lines of CSS code a VERY important to having a consistent and clean interface on mobile devices */
* { margin: 0; padding: 0; box-sizing: border-box; }
html, body { width: 100%; }


/* GLOBAL STYLES */
body {
  font-family: 'League Spartan', sans-serif;
  background-color: white;
  color: #333;
  line-height: 1.6; /* Adjust line-height for consistent row spacing */
}

/* RESET STYLES */
body, h1, h2, p, ul, li {
  margin: 0;
  padding: 0;
  list-style: none;
  font-family: 'Roboto', sans-serif;
}

/* HEADER STYLES */
header {
  background-color: #FF7E00;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 20px;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.nav-left {
  display: flex;
  align-items: center;
}

.logo {
  height: 60px;
  vertical-align: middle;
}

.nav-text {
  color: white;
  font-size: 24px;
  font-weight: bold;
  margin-left: 10px;
}

/* MENU TOGGLE */
.menu-toggle {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  width: 30px;
  height: 25px;
  cursor: pointer;
  margin-right: 60px;
}

.menu-toggle .bar1, 
.menu-toggle .bar2, 
.menu-toggle .bar3 {
  width: 100%;
  height: 4px;
  background-color: white;
  transition: 0.3s;
}

/* SIDEBAR STYLES */
.sidebar {
  height: calc(100% - 60px);
  width: 0;
  position: fixed;
  z-index: 1001;
  top: 60px;
  right: 0;
  background-color: #FF7E00;
  overflow-x: hidden;
  transition: 0.5s;
  padding-top: 20px;
}

.sidebar a {
  padding: 10px 30px;
  text-decoration: none;
  font-size: 30px;
  color: white;
  display: block;
  transition: 0.3s;
}

.sidebar a:hover {
  background-color: #E87300;
}

.sidebar .close-btn {
  position: absolute;
  top: 20px;
  right: 25px;
  font-size: 36px;
}

.sidebar.active {
  width: 250px;
}

/* FORM STYLES */
.contact-form {
  background-color: #fff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
  max-width: 900px;
  width: 100%;
  margin-top: 80px;
  margin: 80px auto;
  text-align: center;
}

/* Consistent spacing between form elements */
.contact-form h1, .contact-form h2, .contact-form h3, .contact-form p {
  margin-bottom: 20px; /* Ensures consistent space below each heading or paragraph */
  line-height: 1.6; /* Ensures consistent line spacing within paragraphs */
}

.input-group {
  margin-bottom: 15px;
  text-align: left;
}

.input-group label {
  display: block;
  margin-bottom: 5px;
  font-weight: bold;
}

.input-group input,
.input-group select {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 16px;
}

/* BUTTON STYLES */
.button-row {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-top: 20px;
}

.button-row button {
  padding: 10px 30px;
  font-size: 16px;
  cursor: pointer;
}

button[type="button"] {
  width: 100%;
  padding: 15px;
  background-color: #6141ac;
  color: white;
  border: none;
  border-radius: 5px;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  margin-bottom: 20px;
}

button[type="button"]:hover {
  background-color: #4E348A;
}

/* TABLE STYLES */
table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 auto;
}

table th, table td {
  padding: 10px;
  text-align: left;
  border: 1px solid #ddd;
}

table th {
  background-color: #6141ac;
  color: white;
}

/* INVENTORY LIST */
#inventory-list {
  background-color: white;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
  max-width: 900px;
  width: 100%;
  margin: 30px auto;
  text-align: left;
}

#inventory-list h3 {
  margin-bottom: 20px;
  font-size: 24px;
  font-weight: bold;
  text-align: center;
}

/* RESPONSIVE STYLES */
@media (max-width: 600px) {
  header {
    padding: 10px 15px;
  }

  .menu-toggle {
    margin-right: 15px;
  }

  .sidebar {
    padding-top: 15px;
  }
}
