.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 10;
  border-bottom: 4px solid #fff;
  box-sizing: border-box;
  transition: all 0.3s ease;
  
  /* Initial transparent style */
  background: rgba(0, 0, 0, 0.25);
}

.header-spacer, .header {
  height: 10vh;
  min-height: 94px; 
  width: 100%;
}

.header.scrolled {
  background: rgba(0, 0, 0, 1); /* Opaque when scrolled */
  height: 8vh; /* Smaller height */
  min-height: 64px;
  box-shadow: 0px 5px 10px;
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  padding: 0 20px;
  box-sizing: border-box;
  transition: all 0.3s ease;
}

.logo img{
    height: 100%;
    margin-right: 35px;
}

.logo { height: 90%
}

.desktop-nav {
    flex: 1;
    margin-left: 30px;
    display: flex;
    align-items: center;
    gap: 24px;             /* Adds space between menu items */
}

.desktop-nav, .dropdown-content {
    list-style: none;      /* Removes bullet points */
    margin: 0;
    padding: 0;
}

.desktop-nav li {
    position: relative;
    margin-right: 0px;
}

.desktop-nav li:last-child {
    margin-right: 0;
}

.desktop-nav a {
    color: #fff;
    text-decoration: none;
    padding: 8px 12px;
    border-radius: 4px;
    transition: background 0.2s;
}

.desktop-nav a:hover {
    background: rgba(255,255,255,0.2);
}

.dropdown-content {
    display: none;
    position: absolute;
    background: rgba(44, 44, 44, 0.95);
    min-width: 140px;
    top: 100%;
    left: 0;
    border-radius: 0 0 6px 6px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}

.dropdown:hover .dropdown-content {
    display: block;
}

.dropdown-content a {
    display: block;
    padding: 12px 18px;
    color: #fff;
    text-decoration: none;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    transition: background 0.2s;
}

.dropdown-content a:last-child {
    border-bottom: none;
}

.dropdown-content a:hover {
    background: rgba(255,255,255,0.08);
}

.dropdown-content li {
    margin: 0;
}

.dropdown-content a {
    display: block;
    padding: 10px 16px;
}

.socials {
    margin-bottom: 0;
    display: flex;
    align-items: center;
    height: 100%;
}

.social-icon{
    height: 50%;
    aspect-ratio: 1/1;
    margin: 0 0 0 32px;
}
.social-icon img, .hamburger img {
    height: 100%;
    width: 100%;
    
    vertical-align: middle;
    transition: opacity 0.2s;
}

.social-icon:hover {
    opacity: 0.7;
}


.hamburger {
    height: 60%;
    aspect-ratio: 1/1;
    margin: 0 0 0 32px;
  cursor: pointer;
  display: none;
}

/* Mobile Nav */
.mobile-nav {
  position: fixed;
  top: 0;
  left: -180vw;
  width: 80vw;
  height: 100%;
  background: #222;
  color: white;
  overflow-y: auto;
  transition: left 0.3s ease;
  padding-top: 60px;
  z-index: 1000;
  display: none;
}

.mobile-nav ul {
  list-style: none;
  padding: 0;
}

.mobile-nav li a {
  display: block;
  padding: 15px 20px;
  color: white;
  text-decoration: none;
  border-bottom: 1px solid #444;
}

.close-btn {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 2em;
  cursor: pointer;
}

/* Mobile submenu */
.has-submenu-mobile .submenu-mobile {
  display: none;
  background: #333;
}

.has-submenu-mobile.active .submenu-mobile {
  display: block;
}

.submenu-mobile li a {
  padding-left: 30px;
}

/* Responsive */
@media (max-width: 1000px) {
  .desktop-nav {
    display: none;
  }

  .hamburger {
    display: block;
  }
  .mobile-nav {
    display: block;
  }
  .socials {
      display: none;
  }
}



