@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;600;800&family=Exo+2:wght@300;400;600&display=swap');

* { box-sizing: border-box; }

* { box-sizing: border-box; }

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 9000;
  transition: background 0.4s, backdrop-filter 0.4s;
}

.site-header.scrolled {
  background: #2f6df6;
  background: rgba(11, 108, 187, 0.411); 
  backdrop-filter: blur(10px);
  border-bottom: none;
}

.header-inner {
  max-width: 1200px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 48px;
}

.header-logo img {
  width: 52px;
  height: 52px;
  object-fit: contain;
  filter: drop-shadow(0 0 10px rgba(0,220,255,0.5));
  transition: filter 0.3s;
}

.header-logo img:hover {
  filter: drop-shadow(0 0 18px rgba(0,220,255,0.9));
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 36px;
}

.site-nav a,
.mobile-nav a {
  font-family: 'Orbitron', sans-serif !important;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(180,235,255,0.8);
  text-decoration: none;
  position: relative;
  /* padding-bottom: 4px; */
  transition: color 0.3s;
}
.fest-nav-btn {
  padding: 10px 16px;
  border-radius: 8px;
  background: linear-gradient(45deg, #00eaff, #0077ff);
  color: rgb(0, 0, 0) !important;
  font-weight: bold;
display: inline-flex;
justify-content: center;
align-items: center;
}
.site-nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #00e8ff, #2f6df6);
  border-radius: 2px;
  transition: width 0.3s ease;
}

.site-nav a:hover,
.site-nav a.active {
  color: #00e8ff !important;
}

.site-nav a:hover::after,
.site-nav a.active::after {
  width: 100%;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
  z-index: 9100mo;
}

.hamburger span {
  display: block;
  width: 26px;
  height: 2px;
  background: #00e8ff;
  border-radius: 2px;
  transition: all 0.35s ease;
}

.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* The Mobile Sidebar Container */
#mobileNav {
  position: fixed;
  top: 0;
  right: 0;
  width: 280px;          /* Width of the sidebar */
  height: 100vh;         /* Full viewport height */
    background: rgba(11, 108, 187, 0.411); 
  backdrop-filter: blur(10px);
 /* Change to your theme color */
  z-index: 1000;
  display: flex;
  flex-direction: column;
  padding: 80px 20px;    /* Top padding to clear the header */
  box-shadow: -2px 0 10px rgba(0,0,0,0.1);
  border-radius: 5px;
  
  /* The Secret Sauce: Start off-screen to the right */
  transform: translateX(100%);
  transition: transform 0.3s ease-in-out;
}

/* When the JavaScript adds the .open class */
#mobileNav.open {
  transform: translateX(0);
}

/* Styling the links inside the sidebar */
#mobileNav a {
  text-decoration: none;
  color: #a4afb1;
  font-size: 1.2rem;
  padding: 15px 0;
  border-bottom: 1px solid #eee;
}

#mobileNav a.active {
  color: #00b7ff; /* Highlight color for current page */
  font-weight: bold;
}
@media (max-width: 768px) {
  .header-inner {
    padding: 14px 24px;
  }

  .site-nav {
    display: none;
  }

  .hamburger {
    display: flex;
  }
}

@media (max-width: 480px) {
  .header-inner {
    padding: 12px 16px;
  }

  .header-logo img {
    width: 42px;
    height: 42px;
  }
  #mobileNav {
    max-width:50vw;
  }
  #mobileNav a {
    font-size: .8rem;
  }
}
