header {
    top: 0; left: 0; 
    right: 0; 
    z-index: 1000;
    background: transparent; 
    align-items: center;
    padding: 1rem 0; 
    font-weight: 500; 
    letter-spacing: 0.05em;
}

.site-header {
  position: fixed;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  width: 100%;
  padding: 1rem;
  z-index: 1000;
  background-color: transparent;
  color: white;
}

/* .site-header {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 1rem;
  position: fixed;
  width: 100%;
  z-index: 1000;
} */

.site-header.solid {
    background-color: rgba(0, 0, 0, 0.9);
    transition: background-color 0.3s ease;
}


.main-nav {
  display: none;
  justify-self: start;
}


.menu{
    list-style: none;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    text-align: left;
    flex-direction: column;
    z-index: 1000;
    background-color: black;
    margin-left: 0;
    padding-left: 0;
}

.menu li a {
    display: inline-block;
  color: white;
  text-decoration: none;
  font-weight: 500; /* Default weight */
  transition: all 0.2s ease;
  border-bottom: none;
}

.menu li a:hover {
  transform: scale(1.1);
  font-weight: 500;     /* Bold on hover */
  text-decoration: none; /* Prevent underline on hover */
}

.menu li a[aria-current="page"] {
  font-weight: 700;
  border-bottom: 2px solid white; /* Underline current page only */
}
.menu-toggle {
  
  position: fixed;
  top: 0.5rem;
  right: 0rem;
  background: none;
  border: none;
  color: white;
  font-size: 2.5rem;
  font-weight: 700;
  z-index: 2001;
  display: block;
  cursor: pointer;
}
body.modal-open .menu-toggle {
  display: none;
}

.logo {
    position: relative; 
    height: 10px;
    align-items: center;
    justify-content: center; 
}


.social-icons {
    display: none;
    align-items: center;
    justify-content: flex-end;
    gap: 0.75rem;
    padding: 0;
    height: auto;
}

.social-icons a {
  display: inline-block;
  width: 2rem;
  height: 2rem;
  transition: transform 0.2s ease, fill 0.2s ease;
  color: white; /* fallback if fill doesn't apply */
}

.social-icons a svg {
  width: 100%;
  height: 100%;
  display: block;
  fill: currentColor;
  transition: transform 0.2s ease;
}

.social-icons a:hover {
  transform: scale(1.25); /* enlarges the icon smoothly */
  color: #fff; /* optional: change color on hover */
}

.logo img {
  max-height: 4rem !important;
  height: 3.5rem !important;
  width: 4.5rem !important;
  align-items: center;
  justify-content: center;
  display: block;
  margin-top: -1rem;
  /* margin-left: -0.5rem; */
}
.logo-wrapper {
  padding-top: 2rem;
  padding-bottom: 1rem;
  grid-column: 2;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2002;
  width: 100%;
}

.logo-center-inner {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

header nav a.active,
header nav a[aria-current="page"] {
  border-bottom: 2px solid #fff;
  padding-bottom: 2px;
}
/* Fullscreen mobile menu (hidden by default) */
.mobile-menu-overlay {
  position: fixed;
  inset: 0;
  background: rgb(125, 192, 207);
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 2000;
  /* padding: 1rem; */
}

.mobile-menu-overlay.open {
  display: flex;
}

/* Close button */
.close-menu {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: none;
  border: none;
  color: white;
  font-size: 2rem;
  cursor: pointer;
}

/* Mobile nav links */
.mobile-menu-links {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: center;
}

.mobile-menu-links li {
  margin: 0.5rem 0;
}

.mobile-menu-links a {
  color: white;
  font-size: 2rem;
  text-decoration: solid;
  /* text-decoration: none; */
}

/* Socials in mobile menu */
.mobile-social-icons {
  position: absolute;
  bottom: 2rem;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  height: auto;
  padding-top: 1rem;
}

.mobile-social-icons .social-icons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  align-items: center;
}

.mobile-social-icons a,
.mobile-social-icons a svg {
  color: white;
  fill: white;
  width: 3rem;
  height: 5rem;
}

@media (min-width: 1010px) {
    /* Show these social icons only on desktop */
  .mobile-menu-overlay .mobile-social-icons {
    display: none;
  }

    .site-header {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding-top: 0rem;
        padding-bottom: 0rem;
    }
.site-header > .social-icons {
    display: flex;
  }
    .menu-toggle{
        display: none;
    }

    .main-nav {
    display: block;
  }
  .main-nav.active{
    display: block;
}

    .menu{
        flex-direction: row;
        gap: 20px;
        background-color: transparent;
    }

    .logo {
        position: static; 
        transform: none; 
        margin: 0 auto 1rem;
        height: 10px;
    }
    .logo img {
        max-height: 4rem !important;
        height: 4rem !important;
        width: 5rem !important;
        align-items: center;
        justify-content: center;
        display: block;
        margin-top: -1rem;
    }
      .logo-wrapper {
    position: static;
    justify-content: center;
      padding-top: 1rem;
  padding-bottom: 0rem;
  }

  .logo-center-inner {
    position: static;
    transform: none;
  }
}