/* ==========================
        NAVIGATION BAR
========================== */

.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;

  width: 100%;
  padding: 18px 0;

  /* Match Home Page Galaxy Header */
  background: linear-gradient(135deg, #080d2d, #15164b, #29205f);

  border-bottom: 2px solid #e9bd3f;

  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
}

/* Container */

.navbar .container {
  max-width: 1200px;

  margin: auto;

  padding: 0 40px;

  display: flex;

  justify-content: space-between;

  align-items: center;
}

/* Logo */

.logo-text {
  font-family: "Cormorant Garamond", serif;

  font-size: 1.8rem;

  font-weight: 700;

  color: #f8f3e7;

  letter-spacing: 1px;
}

/* Navigation Links */

.nav-links {
  display: flex;

  gap: 35px;

  list-style: none;

  margin: 0;

  padding: 0;
}

.nav-links li {
  list-style: none;
}

.nav-links a {
  position: relative;

  text-decoration: none;

  font-family: "Cormorant Garamond", serif;

  font-size: 1.2rem;

  font-weight: 700;

  letter-spacing: 1.5px;

  text-transform: uppercase;

  color: #f8f3e7;

  transition: 0.3s ease;
}

/* Hover */

.nav-links a:hover {
  color: #e9bd3f;
}

/* Gold underline */

.nav-links a::after {
  content: "";

  position: absolute;

  bottom: -8px;

  left: 50%;

  width: 0;

  height: 3px;

  background: #e9bd3f;

  transform: translateX(-50%);

  transition: 0.3s ease;
}

.nav-links a:hover::after {
  width: 70%;
}

/* Active Page */

.nav-links a.active {
  color: #e9bd3f;
}

.nav-links a.active::after {
  width: 70%;
}

/* Mobile */

@media (max-width: 768px) {
  .navbar .container {
    flex-direction: column;

    gap: 15px;
  }

  .nav-links {
    flex-wrap: wrap;

    justify-content: center;

    gap: 15px;
  }
}































/* NAVIGATION */

.navbar .container {
    max-width:1200px;
    margin:auto;
}


.nav-links {

    display:grid;

    grid-template-columns:
    repeat(3, 1fr)
    auto
    repeat(3, 1fr);

    align-items:center;

    gap:30px;

    list-style:none;

    padding:0;
    margin:0;

}


.nav-links li {
    text-align:center;
}


/* CENTER LOGO */

.logo-center {

    grid-column:4;

}


.logo-text {

    font-family:"Cormorant Garamond", serif;

    font-size:1.8rem;

    font-weight:700;

    color:#f8f3e7;

    white-space:nowrap;

}



/* LINKS */

.nav-links a {

    text-decoration:none;

    color:#f8f3e7;

    font-family:"Cormorant Garamond", serif;

    font-size:1.2rem;

    font-weight:bold;

    text-transform:uppercase;

    letter-spacing:1.5px;

    transition:.3s;

}


.nav-links a:hover {

    color:#e9bd3f;

}



/* MOBILE */

@media(max-width:768px){

    .nav-links {

        display:flex;

        flex-wrap:wrap;

        justify-content:center;

    }


    .logo-center {

        order:-1;

        width:100%;

    }

}