/* glass-header.css */

#sticky-header {
  background: rgba(255, 255, 255, 0.5) !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  z-index: 1030;
  transition: background 0.3s ease, backdrop-filter 0.3s ease;
}

/* Glass effect for sticky header */

#sticky-header {
  background: rgba(255, 255, 255, 0.6); /* Transparent white */
  backdrop-filter: blur(10px); /* Blur effect */
  -webkit-backdrop-filter: blur(10px); /* For Safari */
  border-bottom: 1px solid rgba(255, 255, 255, 0.3); /* Optional subtle border */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05); /* Optional shadow */
  z-index: 1030;
}

@media (max-width: 767.98px) {
  .header {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    z-index: 1030;
  }

}


@media (max-width: 767.98px) {
  .header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1030;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    margin: 0;        /* ✅ ensure no margin */
    padding: 0.75rem 1rem;  /* or set your desired padding */
  }

  main {
    padding-top: 100px; /* ✅ this pushes content below the fixed header */
  }
}


/* Animated modern burger button */
.burger {
  width: 28px;
  height: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 1100;
}

.burger span {
  display: block;
  height: 2px;
  width: 100%;
  background: #111;
  border-radius: 2px;
  transition: all 0.3s ease-in-out;
}

/* Animate to X when active */
.burger.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.burger.open span:nth-child(2) {
  opacity: 0;
}

.burger.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

