.navbar {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  background-color: transparent;
  z-index: 1000;
  padding: 1rem 0;
  transition: background-color 0.3s ease;
}

.navbar-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.navbar img {
  width: 240px;
  height: auto;
}

.navigation ul {
  list-style: none;
  display: flex;
  gap: 2rem;
  margin: 0;
  padding: 0;
}

.navigation a {
  display: block;
  padding: 0.5rem 1rem;
  border-radius: 30px;
  text-decoration: none;
  color: #ffffff;
  background-color: #c42021;
  transition: transform 0.3s ease;
  font-size: large;
}

.navigation a:hover {
  transform: scale(1.05);
}

.menu-toggle {
  display: none;
  font-size: 2rem;
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
}

.navbar-container button {
  background: none;
  border: none;
  cursor: pointer;
}

@media (max-width: 768px) {
  .menu-toggle {
    display: block;
    position: relative;
    z-index: 3100;
    font-size: 2.5rem;
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
    padding: 0.5rem 1rem;
  }

  .navigation {
    position: absolute;
    top: calc(100% + 8px);
    right: 2rem;
    left: auto;
    max-height: 70vh;
    overflow-y: auto;

    background: rgba(196, 32, 33, 0.92);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.28);
    border-radius: 12px;
    padding: 0.75rem;

    z-index: 3050;

    opacity: 0;
    transform: translateY(-8px);
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
  }

  .navigation.active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  .navigation ul {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin: 0;
    padding: 0;
    list-style: none;
  }

  .navigation a {
    display: block;
    color: #fff;
    border-radius: 0;
    border-bottom: 1px solid #fff;
    background: transparent;
    box-shadow: none;
    text-decoration: none;
    transition: background-color 0.15s ease, transform 0.06s ease-in-out;
  }

  .navigation a:hover {
    background: var(--nav-surface-hover);
    transform: translateY(-1px);
  }
}
