/* Header Advanced */
header {
  background-color: #ffcc00;
  padding: 15px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
}
.header-container {
  width: 90%;
  margin: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.nav-links {
  list-style: none;
  display: flex;
  gap: 20px;
}
.nav-links li {
  position: relative;
}
.nav-links li a {
  text-decoration: none;
  color: #333;
  font-weight: bold;
}
.dropdown-menu {
  display: none;
  position: absolute;
  background-color: #fff;
  top: 30px;
  left: 0;
  list-style: none;
  padding: 10px 0;
  border-radius: 5px;
  box-shadow: 0px 5px 15px rgba(0,0,0,0.2);
}
.dropdown-menu li a {
  display: block;
  padding: 5px 20px;
  color: #333;
}
.dropdown:hover .dropdown-menu {
  display: block;
}
.header-icons {
  display: flex;
  align-items: center;
  gap: 15px;
}
#search-bar {
  padding: 5px 10px;
  border-radius: 5px;
  border: 1px solid #ccc;
}
.cart-icon {
  font-size: 20px;
}
.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
}
.menu-toggle .bar {
  height: 3px;
  width: 25px;
  background-color: #333;
  margin: 4px 0;
  border-radius: 3px;
}

/* Footer Advanced */
footer {
  background-color: #333;
  color: #fff;
  padding: 50px 0 20px 0;
}
.footer-container {
  width: 90%;
  margin: auto;
}
.footer-columns {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 30px;
}
.footer-col h3 {
  margin-bottom: 15px;
}
.footer-col ul {
  list-style: none;
  padding: 0;
}
.footer-col ul li a {
  text-decoration: none;
  color: #fff;
  display: block;
  margin: 5px 0;
  transition: color 0.3s;
}
.footer-col ul li a:hover {
  color: #ffcc00;
}
#newsletter-form input {
  padding: 8px;
  border-radius: 5px;
  border: none;
  margin-right: 5px;
}
#newsletter-form button {
  padding: 8px 15px;
  border: none;
  border-radius: 5px;
  background-color: #ffcc00;
  cursor: pointer;
}
.footer-bottom {
  margin-top: 30px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}
.footer-bottom .social-links a {
  margin: 0 10px;
  color: #fff;
  text-decoration: none;
}
.footer-bottom .social-links a:hover {
  color: #ffcc00;
}

/* Responsive */
@media(max-width:768px){
  .nav-links {
    position: absolute;
    top: 60px;
    left: -100%;
    flex-direction: column;
    background-color: #ffcc00;
    width: 100%;
    transition: left 0.3s ease;
  }
  .nav-links.active {
    left: 0;
  }
  .menu-toggle {
    display: flex;
  }
  .footer-columns {
    flex-direction: column;
    gap: 20px;
  }
}
