﻿* { box-sizing: border-box; margin: 0; padding: 0; }

.navbar {
  background: #CED5B7;
  color: #972600;
  font-family: system-ui, sans-serif;
  position: relative;
  z-index: 9999;
  border-bottom: 1px solid #b5be9a;
}
.nav-container {
  max-width: 1100px; margin: 0 auto; padding: 0 1rem;
  display: flex; justify-content: center; align-items: center; height: 60px;
}
.nav-logo { color: #972600; text-decoration: none; font-size: 1.25rem; font-weight: bold; }
.nav-toggle { display: none; background: none; border: none; color: #972600; font-size: 1.5rem; cursor: pointer; }

.nav-menu { display: flex; list-style: none; gap: 1.5rem; align-items: center; }
.nav-link, .dropdown-toggle {
  color: #972600; text-decoration: none; background: none; border: none;
  font-size: 1rem; font-weight: 600; cursor: pointer; font-family: inherit;
}
.nav-link:hover, .dropdown-toggle:hover { color: #5e1700; text-decoration: underline; }

/* Dropdown (Desktop) */
.dropdown { position: relative; }
.dropdown-menu {
  display: none; position: absolute; top: 100%; left: 0;
  background: #dfe4ce; list-style: none; min-width: 190px;
  border: 1px solid #b5be9a;
  border-radius: 4px; box-shadow: 0 4px 12px rgba(0,0,0,0.15); z-index: 9999;
}
.dropdown-menu.show { display: block; }
.dropdown-link { display: block; padding: 0.65rem 1rem; color: #972600; text-decoration: none; font-weight: 500; }
.dropdown-link:hover { background: #c1caa6; color: #5e1700; }

/* Desktop hover support */
@media (min-width: 769px) {
  .dropdown:hover .dropdown-menu { display: block; }
}

/* Mobile Layout */
@media (max-width: 768px) {
  .nav-toggle { display: block; margin-left: auto; }
  .nav-menu {
    display: none; flex-direction: column; align-items: flex-start;
    position: absolute; top: 60px; left: 0; width: 100%;
    background: #CED5B7; padding: 1rem; gap: 0.75rem; z-index: 9999;
    border-bottom: 2px solid #b5be9a;
  }
  .nav-menu.active { display: flex; }
  .dropdown-menu {
    position: static; box-shadow: none; background: #dfe4ce;
    width: 100%; margin-top: 0.5rem;
  }
}
