.main-header {
  background: #7D1C30;
  width: 100%;
  position: relative;
  z-index: 100;
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 100vw;
  margin: 0 auto;
  padding: 0rem 50px;
  position: relative;
  height: 100px;
}

.nav-group {
  display: flex;
  gap: 5rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.nav-left {
  margin-right: auto;
}

.nav-right {
  margin-left: auto;
}

.navbar a,
.navbar a:visited {
  color: #F7E2C9;
  text-decoration: none;
  font-size: 1.1rem;
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  transition: color 0.2s;
}

.navbar a:hover {
  color: #fff;
}

.navbar #active{
  color: #E08C27;
  font-weight: bolder;
  font-size: larger;
}

.navbar-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 2.5rem;
  min-width: 80px;
}

.navbar-logo img {
  height: 120px;
  width: auto;
  display: block;
  margin-top: 30px;      /* Pulls it down */
  margin-bottom: -60px;  /* Pulls it outside the header */
  border-radius: 50%;
  box-shadow: 0 4px 15px black;
}

/* Hamburger menu button */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  background: none;
  border: none;
  cursor: pointer;
  margin-left: 1rem;
  z-index: 102;
  width: 40px;
  height: 40px;
  position: relative;
}

.nav-toggle span {
  display: block;
  width: 28px;
  height: 3px;
  margin: 2.5px 0;
  background: #F7E2C9;
  border-radius: 2px;
  transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

/* Hamburger to X animation */
.nav-toggle.open span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
.nav-toggle.open span:nth-child(2) {
  opacity: 0;
}
.nav-toggle.open span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* Mobile menu */
.mobile-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0; right: 0;
  background: #7D1C30;
  padding: 1rem 0;
  box-shadow: 0 6px 18px rgba(0,0,0,0.12);
}

.mobile-menu ul {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: center;
}

.mobile-menu ul li {
  margin: 1rem 0;
}

.mobile-menu a {
  color: #F7E2C9;
  font-size: 1.2rem;
  text-decoration: none;
  font-family: 'Montserrat', sans-serif;
}

/* Responsive styles */
@media (max-width: 1024px) {
  .navbar {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 100vw;
  margin: 0 auto;
  padding: 0rem 50px;
  position: relative;
  height: 30px;
}

  .nav-left,
  .nav-right {
    display: none; /* Hide normal nav links */
  }
  .navbar-logo {
    margin: 0 auto;
    z-index: 100;
  }
  .nav-toggle {
    display: flex; /* Show hamburger */
    position: absolute;
    right: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
  }
  .mobile-menu {
    display: none;
  }
  .mobile-menu.open {
    padding-top: 60px;
    display: block;
    padding-bottom: 30px;
  }
  .navbar {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 100vw;
  margin: 0 auto;
  padding: 0.5rem 50px;
  position: relative;
}

  .navbar-logo img {
  height: 65px;
  width: auto;
  display: block;
  margin-top: 30px;      /* Pulls it down */
  margin-bottom: -10px;  
  }

  .mobile-menu a {
  color: #F7E2C9;
  font-size: 14px;
  text-decoration: none;
  font-family: 'Montserrat', sans-serif;
}

.mobile-menu #active{
  color: #E08C27;
  font-weight: bold;
  font-size: large;
}
}
