.navbar {
  width: 100%;
  position: relative; /* KEY */
  top: 0;
  z-index: 10;
  transition: background-color 0.3s, color 0.3s;
}

/* Transparent only for homepage */
.navbar-transparent {
  background-color: transparent;
  color: rgb(255, 255, 255);
}

/* Colored for other pages */

/* ========================= */
/* TOP BAR (CONTACT INFO) */
/* ========================= */

.topBar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  position: sticky;
  top: 0;
  left: 0;
  z-index: 1000;
}

/* LEFT HALF – RED */
.contactInfo {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  width: 80%;
  background-color: #b00000;
  padding: 6px 20px;
}

.contactInfo a {
  color: #ffffff;
  text-decoration: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
}

.contactInfo a:hover {
  color: #ffe5e5;
}

/* RIGHT HALF – NAVY */
.socials {
  width: 20%;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 15px;
  background-color: #000000;
  padding: 8px 20px;
  color: #ffffff;
  clip-path: polygon(
    0 0,          /* top-left (unchanged) */
    100% 0,       /* top-right */
    100% 100%,    /* bottom-right */
    -5% 100%      /* bottom-left (outer / sticks out) */
  );
}

/* ========================= */
/* BOTTOM BAR (LOGO + LINKS) */
/* ========================= */

.bottomBar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 20px;
  position: relative;
  gap: 40px; /* brings links closer to logo */
}

.logo {
  font-size: 20px;
  font-weight: bold;
}

.logo img {
  width: 200px;
  height: auto;
}

.links {
  display: flex;
  gap: 25px;
}

.link {
  cursor: pointer;
  transition: color 0.3s ease;
  color: inherit; /* inherit from navbar color */
  text-decoration: none;
  font-size: 18px;
  color:white
}

.link:hover {
  color: #e00000;
}

.link.active {
  color: #e00000;
}

/* ========================= */
/* MENU TOGGLE */
/* ========================= */

.menuToggle {
  display: none;
  font-size: 24px;
  cursor: pointer;
}

/* ========================= */
/* RESPONSIVE */
/* ========================= */

@media (max-width: 769px) {
  .menuToggle {
    display: block;
  }

  .links {
    display: none;
    flex-direction: column;
    background-color: rgb(0, 0, 0);
    position: absolute;
    top: 100%;
    right: 20px;
    padding: 15px;
    gap: 15px;
  }

  .links.show {
    display: flex;
    z-index: 9999;
  }

  .topBar {
    flex-wrap: wrap;
  }

  .socials {
    width: 100%;
  }

  .contactInfo {
    width: 100%; 
  }
}
