/* Navbar container */
.navbar {
  overflow: hidden;
  background-color: #FFD580; /* ส้มอ่อน */
  border-radius: 10px;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  margin-bottom: 20px;
}

/* Links inside the navbar */
.navbar a {
  float: left;
  font-size: 16px;
  color: #333;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
  transition: background-color 0.3s ease, color 0.3s ease;
  border-radius: 8px;
}

/* Dropdown container */
.dropdown {
  float: left;
  overflow: hidden;
}

/* Style for dropdown button */
.dropdown .dropbtn {
  font-size: 16px;  
  border: none;
  outline: none;
  color: #333;
  padding: 14px 16px;
  background-color: inherit;
  font-family: inherit;
  margin: 0;
  transition: background-color 0.3s ease, color 0.3s ease;
  border-radius: 8px;
}

/* Hover effects */
.navbar a:hover, .dropdown:hover .dropbtn {
  background-color: #FFB347; /* ส้มเข้มขึ้นเมื่อ hover */
  color: white;
}

/* Dropdown content (hidden by default) */
.dropdown-content {
  display: none;
  position: absolute;
  background-color: #fff;
  min-width: 180px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
  z-index: 1;
  border-radius: 10px;
  overflow: hidden;
  margin-top: 2px;
}

/* Links inside the dropdown */
.dropdown-content a {
  float: none;
  color: #333;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  text-align: left;
  transition: background-color 0.3s ease, color 0.3s ease;
}

/* Hover on dropdown items */
.dropdown-content a:hover {
  background-color: #FFDEAD; /* สีอ่อนเมื่อ hover */
  color: #000;
}

/* Show the dropdown menu on hover */
.dropdown:hover .dropdown-content {
  display: block;
}
