/* --- Base Styles --- */
body {
  margin: 0;
  font-family: Arial, sans-serif;
}

/* Header Area */
.header-area {
  background: #f9cf46;
  border-top: 8px solid #d38800; /* Updated color if needed */
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 9999; /* High z-index to stay above all content */
}

/* Logo Section - Full Width */
.logo-bar {
  width: 100%;
  padding: 0;
  margin: 0;
}

.logo-bar img {
  width: 100%;   /* Full width */
  height: auto;  /* Maintain aspect ratio */
  display: block;
}

/* Navigation Bar */
.navbar {
  background: #ffcd2e;
  position: relative;
  z-index: 10000; /* Ensure menu overlays other content */
}

/* Menu List */
.nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

/* Desktop menu links height smaller */
@media (min-width: 769px) {
  .nav-list li a {
    padding: 6px 15px; /* Reduced height for desktop */
  }
}

/* Mobile menu links remain the same */
.nav-list li a {
  display: block;
  padding: 10px 20px;
  color: #333;
  text-decoration: none;
  font-weight: 600;
  text-transform: uppercase;
}

/* Hover and Active */
.nav-list li a:hover,
.nav-list li a.active {
  background: #d38800; /* Updated highlight color */
  color: #fff;
}

/* Mobile Menu Toggle Button */
.menu-toggle {
  background: #d38800;
  color: #fff;
}

/* --- Responsive Styles --- */
@media (max-width: 768px) {
  /* Mobile menu hidden by default */
  .nav-list {
    display: flex;
    flex-direction: column;
    text-align: center;
    background: #fbb028;
    position: absolute; /* Must be absolute */
    top: 100%;          /* Drop below header */
    left: 0;
    right: 0;
    z-index: 10000;     /* Above all other content */
    max-height: 0;      /* Hidden */
    overflow: hidden;
    border-top: 3px solid #d38800;
    transition: max-height 0.3s ease;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  }

  /* Show menu when toggled */
  .nav-list.show {
    max-height: 500px; /* Enough to fit all links */
  }

  /* Show toggle button */
  .menu-toggle {
    display: block;
  }
}

.menu-toggle:hover {
  background: #c27700; /* slightly darker shade */
}
