/* Modern sidebar navigation styles for hamburger menu */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: #fff;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 2rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}
.header__logo .logo__link {
  font-family: "Playfair Display", serif;
  font-size: 1.7rem;
  font-weight: 600;
  color: #222;
  text-decoration: none;
}
.logo__sub1 {
  color: aqua;
}
.logo__sub2 {
  color: #222;
  font-size: 1rem;
}
.header__menu-btn {
  background: none;
  font-weight: 100;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 0.5rem;
}
.header__bar {
  width: 28px;
  height: 3px;
  background: #222;
  border-radius: 2px;
}
.sidebar {
  position: fixed;
  top: 0;
  right: 0;
  width: 320px !important;
  height: 100vh;
  background: #232946 !important; /* match about.html sidebar color */
  box-shadow: -2px 0 8px rgba(0, 0, 0, 0.08);
  z-index: 2000;
  display: flex;
  flex-direction: column;
  padding-top: 2.5rem;
  transition: transform 0.45s cubic-bezier(0.77, 0, 0.175, 1);
}
.sidebar.closing {
  transition: transform 1s cubic-bezier(0.77, 0, 0.175, 1);
}
.sidebar[hidden] {
  transform: translateX(100%);
  transition: transform 0.45s cubic-bezier(0.77, 0, 0.175, 1);
}
.sidebar__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  font-size: 2rem;
  color: #fff !important;
  cursor: pointer;
  line-height: 1;
  padding: 0.25rem 0.75rem;
  outline: none;
  transition: color 0.3s;
}
.sidebar__close:hover {
  outline: none;
  color: #51eaea !important;
}
.sidebar__nav {
  list-style: none;
  padding: 0;
  margin: 0;
  animation: fadeInSidebar 0.7s;
}
.sidebar__item {
  margin: 1.5rem 0;
  text-align: left;
}
.sidebar__item a,
.sidebar__nav a {
  font-family: "Nunito", sans-serif;
  color: #fff !important;
  font-size: 1.1rem;
  font-weight: 400;
  letter-spacing: 0.03em;
  text-decoration: none;
  padding: 0.75rem 1.5rem;
  display: block;
  border-radius: 8px;
  transition: background 0.3s, color 0.2s;
}
.sidebar__item a:hover,
.sidebar__nav a:hover,
.sidebar__item a:focus,
.sidebar__nav a:focus {
  color: #51eaea !important;
  background: rgba(255, 255, 255, 0.08);
}
.sidebar__item a.active,
.sidebar__nav a.active {
  color: #007bff;
  border-left: 4px solid #007bff;
  font-weight: 700;
}
@keyframes fadeInSidebar {
  from {
    opacity: 0;
    transform: translateX(40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
@media (max-width: 991px) {
  .header {
    padding: 0.75rem 1rem;
  }
  .sidebar {
    width: 80vw !important;
  }
}
body {
  padding-top: 70px;
}
