
@media screen and (max-width: 1000px) {

  body {
    overflow-x: hidden;
    width: 100%;
    position: relative;
  }

  .navbar-flex {
    padding: 15px 20px;
    background: #FAEACD;
    position: relative;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .logo img {
    height: 35px;
    width: auto;
  }

  .menu-toggle {
    display: block !important;
    width: 30px;
    height: 24px;
    background: none;
    border: none;
    padding: 0;
    position: relative;
    z-index: 1001;
    cursor: pointer;
    margin-right: 15px;
  }

  .hamburger {
    display: block;
    width: 30px;
    height: 2px;
    background: #1a3327;
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    transition: all 0.3s ease;
  }

  .hamburger::before,
  .hamburger::after {
    content: '';
    position: absolute;
    width: 30px;
    height: 2px;
    background: #1a3327;
    left: 0;
    transition: all 0.3s ease;
  }

  .hamburger::before {
    top: -8px;
  }

  .hamburger::after {
    bottom: -8px;
  }

  .menu-toggle.active .hamburger {
    background: transparent;
  }

  .menu-toggle.active .hamburger::before {
    transform: rotate(45deg);
    top: 0;
  }

  .menu-toggle.active .hamburger::after {
    transform: rotate(-45deg);
    bottom: 0;
  }

  nav {
    position: relative;
  }

  .navbar-menu {
    display: none;
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: #FAEACD;
    padding: 80px 0 20px;
    margin: 0;
    transition: right 0.3s ease;
    z-index: 1000;
    box-shadow: -2px 0 10px rgba(0,0,0,0.1);
  }

  .navbar-menu.active {
    display: block;
    right: 0;
  }

  .navbar-menu li {
    width: 100%;
    margin: 0;
    padding: 0;
    list-style: none;
  }

  .navbar-menu li a {
    display: block;
    padding: 15px 25px;
    color: #1a3327;
    text-decoration: none;
    font-size: 18px;
    font-weight: 600;
    font-family: 'DM Sans', sans-serif;
    border-bottom: 1px solid rgba(26, 51, 39, 0.1);
    white-space: normal;
    word-wrap: break-word;
    transition: background-color 0.3s ease;
  }

  .navbar-menu li a:hover {
    background-color: rgba(26, 51, 39, 0.05);
  }

  body.menu-open::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 999;
  }

  body.menu-open {
    overflow: hidden;
  }
}

@media screen and (max-width: 480px) {
  .navbar-menu {
    width: 100%;
  }

  .navbar-menu li a {
    font-size: 16px;
    padding: 12px 20px;
  }
}
